Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,442 Members 39,868 Now Online
XDA Developers Android and Mobile Development Forum

[MOD]External SD as Primary/Internal

Tip us?
 
pajn
Old
(Last edited by stylez; 19th August 2012 at 02:35 AM.)
#1  
pajn's Avatar
Senior Member - OP
Thanks Meter 107
Posts: 231
Join Date: Aug 2009
Prompt [MOD]External SD as Primary/Internal

This is a simple mod to make the external SDcard mount as the primary/internal (/sdcard)
and the internal is mounted as the secondary (/sdcard-ext)

This should work on most (all?) roms but is only tested on MIUIv4 with a GSM RAZR

Just flash the switchSD.zip
To revert the effect, flash reswitchSD.zip

Requested by lukas77 external sd mounted in folder of internal (/sdcard/sdcard-ext)
Some problems though, after each boot you will have to remove and insert SD for it to mounts.
It is safe to remove SD because it isn't mounted but it's a bit of a hazzle.

Flash SDinFolder.zip to revert, just flash reswitchSD.zip as above.

make shore before flashing that you don't have any file or folder named sdcard-ext on internal sdcard.

EDIT:
I have been away for a while and came back to a thread full of pproblems and a bunch of PMs.
Unfortuneatly I don't have time to ivestigate the problems or fix for newer builds.
My recomendations for everyone is: Do Not Use It unless you'r realy know what your doing and can fix it for your build.
Attached Files
File Type: zip reswitchSD.zip - [Click for QR Code] (132.4 KB, 3163 views)
File Type: zip switchSD.zip - [Click for QR Code] (132.4 KB, 5987 views)
File Type: zip SDinFolder.zip - [Click for QR Code] (132.5 KB, 1152 views)
The Following 14 Users Say Thank You to pajn For This Useful Post: [ Click to Expand ]
 
mydoom
Old
#2  
Senior Member
Thanks Meter 20
Posts: 187
Join Date: May 2008
work perfect eclipce 1.3 via GSM

Sent from my XT910 using Tapatalk
 
therazrguy
Old
#3  
therazrguy's Avatar
Senior Member
Thanks Meter 407
Posts: 398
Join Date: Dec 2011
what is the advantage of doing this?
 
pajn
Old
#4  
pajn's Avatar
Senior Member - OP
Thanks Meter 107
Posts: 231
Join Date: Aug 2009
Quote:
Originally Posted by therazrguy View Post
what is the advantage of doing this?
Some apps doesn't support external SD (Very noticeable on MIUI as music can't find music on external and file explorer only browses internal).
Some people (me) prefer a storage that is easily movable.

If you always have a larger SD inserted you'll probably find yourself a bit limited with the original mounting options.
 
sletta
Old
#5  
Junior Member
Thanks Meter 1
Posts: 3
Join Date: Aug 2009
Quote:
Originally Posted by pajn View Post
Some apps doesn't support external SD (Very noticeable on MIUI as music can't find music on external and file explorer only browses internal).
Some people (me) prefer a storage that is easily movable.

If you always have a larger SD inserted you'll probably find yourself a bit limited with the original mounting options.
Can this be done without damaging currently installed programs?
And what does this do? Symbolic links?
 
pajn
Old
#6  
pajn's Avatar
Senior Member - OP
Thanks Meter 107
Posts: 231
Join Date: Aug 2009
Quote:
Originally Posted by sletta View Post
Can this be done without damaging currently installed programs?
And what does this do? Symbolic links?
If you have programs (or games, mostly games) that is installed on your internal SD they will break. I guess games that download extra data to SD just will have to download it again though...

The good thing is that you can test and then just flash reswitchSD.zip if it didn't work.

This tells vold (the program responsible for mounting the storages) to mount external on /mnt/sdcard and internal on /mnt/sdcard-ext instead of the reverse.
No links.
The Following User Says Thank You to pajn For This Useful Post: [ Click to Expand ]
 
sletta
Old
#7  
Junior Member
Thanks Meter 1
Posts: 3
Join Date: Aug 2009
Quote:
Originally Posted by pajn View Post
If you have programs (or games, mostly games) that is installed on your internal SD they will break. I guess games that download extra data to SD just will have to download it again though...

The good thing is that you can test and then just flash reswitchSD.zip if it didn't work.

This tells vold (the program responsible for mounting the storages) to mount external on /mnt/sdcard and internal on /mnt/sdcard-ext instead of the reverse.
No links.
Works great! Thanks!
 
Boomer187um
Old
#8  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: May 2009
it this just a edited vold.fstab file? or is there more to it?
 
pajn
Old
#9  
pajn's Avatar
Senior Member - OP
Thanks Meter 107
Posts: 231
Join Date: Aug 2009
Quote:
Originally Posted by Boomer187um View Post
it this just a edited vold.fstab file? or is there more to it?
Just vold.fstab. That is all that is needed
The Following User Says Thank You to pajn For This Useful Post: [ Click to Expand ]
 
qoncept
Old
#10  
Senior Member
Thanks Meter 37
Posts: 209
Join Date: Feb 2010
Will we need to reflash this after flashing any roms or are we all set until we undo it manually?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes