• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Change SD card path

LucasBS

Newbie
How can I change the path that Android "sees" the SD card

Right now it's device/storage/sdcard1

Back on android 2 it was and absolute path... was a Root Unit

Many apks don't recognize the SD the way it is now
They only see crap like /storage/emulated/legacy, or storage/emulated/0
(the internal storage partition, I believe)

How to solve that ?
 
The "correct" way to solve it would be to ask the app developers to update their apps ;).

Actually I'm not entirely joking. There have been standard addresses for "internal SD" (i.e. emulated, /storage/sdcard0) and actual removable SD (/storage/sdcard1) for a couple of years now, and many developers are able to use them just fine. But if someone leaves the address hard-coded as the Android 2-style "/sdcard" then that will use internal storage. That legacy path points to internal because many devices don't have anything else anyway.

To change this yourself you will need root, and a ROM which supports init.d scripts would be my guess. I'd certainly advise taking a full backups (nandroid as well as Titanium) before attempting this, then remember that if you update the ROM you'll need to reassign the path (or paths) again.

(My own opinion of the multiple paths to the same place in the Android filestructure is unprintable by the way. I understand why they provided legacy support, but they've made it messier than it needs to be, and personally I'd have phased that out by now.)
 
I've recently rooted

Would you point me to any tutorial for this init.d managing ?

I've already partitioned the SD thinking about this question

Also (Already asking too much, I know), could there be any method where I dont neet to change the rom ?


I couldnt agree more with the messy adjective
And those many mounting points


By the way, the apps in question are abandonware
And good
ColorDict and MapDroyd
They are android 2 old, or even before
Search for yourself: you will find that no replacement software has been brought to life for those two and their features
 
Last edited:
It's generally kernel support that's needed for init.d, but most people only change kernels when they start changing ROMs. This old XDA thread looks like it might help though: http://forum.xda-developers.com/showthread.php?t=1933849

I'd certainly recommend taking a nandroid backup (i.e. a backup made by your custom recovery) before trying any of this. Modifying system software without doing that is a high-risk business.

Do these apps generate a lot of data? Just wondering why they can't just use the emulated internal SD card (/sdcard)?
 
Notoriously lazy devs do a straight port from iOS and don't look back.

Hehe
I forgive them...
They deserve a rest after making those exceptional apps I'm using
And from scratch!
Afterall, crApple doesn't even support a vital thing as an ext SD



They do not generate data: they read

MapDroyd is a map reader. But the maps must to stay on the internal memory, or it won't find it
(my country consumes 50 MB... extremely compact for a continent-size thing. Anyway... this app doesn't consume much)

ColorDict is the second app
It takes over half GB of data
So you see how comprehensive database it has...

And suffers the same disease: the database must stay on the internal memory
That's what I'm trying to figure, because my internal memory is going out of memory



I'll read the link you've passed
Got my recovery modded already and the ROM in my safe


Forgot to mention before:
I've tried
FolderMount app, but it doesn't work or is not supposed to do what I'm trying
Links2SD didn't work either (or, once again, I am misunderstanding what this app is proposed to do (probably))

UPDATE:
init.d supported alright
IF happens that you guys know the next step, make it rain !

(that or any other method you might know to achieve my objective)


I could google all this instead of being here asking, but for staters, I wouldn't even know the keywords to search for
Second, I'll ask experts first

Thanks for the help
 
Last edited:
Google -

site:androidforums.com change sd card path (your phone model) root init.d

May be all you need - or may help with other search terms.

The mod name may vary by developer but the description will likely show if there.

:)
 
I have colordict 4.3 and it only uses up like 60mb on my phone, and I have several add on dictionaries installed. Weird that yours take up half a gig?
 
Yep

Eight different dictionaries: 380MB

Wasn't relevant to mention, but I have a second dictionary app data that I keep on the same folder, even tought this one supports folder changing, adding more 400 MB... french, italian, german...



You know
I was following EarlyMon's orientations, but I gave up

Whatever I find on threads is people that want to move their apps to SD. Apps whose data stay on the android/data folder (which, if I'm interpreting correctly, is the android standard... something like Program Files (x86))
Their cases are different than mine because the data read by those apps is not stuffed into some folders like com.colordict. NO, it's a completely mobile/portable folder
And that's the reason why Links2SD won't detect any data

Or yet, I find people willing to completely invert the SD/internal logic

All these threads present the same solution: FolderMount and Links2SD
Which I'm still struggling on the use, but losing patience

FolderMount and my file explorers are unable to handle the sdext2 partition, the place I want files to go.
I'm still investingating if I created this partition correctly... or even if my root is not rooted...



UPDATE:

Now I got to think that I had no reason to put stuff on sdext2

:goofydroid:


And indeed: FolderMount works shiny and perfectly on the normal SD
Yay !

Now I only need a way to make these mounting points / symbolic links permanent (no need to rely on a apk)

My problem is almost solved
 
Last edited:
Back
Top Bottom