Post Reply

[MOD]External SD as Primary/Internal

OP pajn

13th March 2012, 08:27 PM   |  #1  
pajn's Avatar
OP Senior Member
Thanks Meter: 107
 
231 posts
Join Date:Joined: Aug 2009
More
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, 3237 views)
File Type: zip switchSD.zip - [Click for QR Code] (132.4 KB, 6084 views)
File Type: zip SDinFolder.zip - [Click for QR Code] (132.5 KB, 1175 views)
Last edited by stylez; 19th August 2012 at 02:35 AM.
The Following 14 Users Say Thank You to pajn For This Useful Post: [ View ]
13th March 2012, 09:42 PM   |  #2  
Senior Member
Thanks Meter: 20
 
189 posts
Join Date:Joined: May 2008
More
work perfect eclipce 1.3 via GSM

Sent from my XT910 using Tapatalk
14th March 2012, 09:03 AM   |  #3  
therazrguy's Avatar
Senior Member
Thanks Meter: 409
 
398 posts
Join Date:Joined: Dec 2011
More
what is the advantage of doing this?
14th March 2012, 02:36 PM   |  #4  
pajn's Avatar
OP Senior Member
Thanks Meter: 107
 
231 posts
Join Date:Joined: Aug 2009
More
Quote:
Originally Posted by therazrguy

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.
14th March 2012, 03:35 PM   |  #5  
Junior Member
Thanks Meter: 1
 
3 posts
Join Date:Joined: Aug 2009
Quote:
Originally Posted by pajn

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?
14th March 2012, 04:24 PM   |  #6  
pajn's Avatar
OP Senior Member
Thanks Meter: 107
 
231 posts
Join Date:Joined: Aug 2009
More
Quote:
Originally Posted by sletta

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: [ View ]
14th March 2012, 07:36 PM   |  #7  
Junior Member
Thanks Meter: 1
 
3 posts
Join Date:Joined: Aug 2009
Quote:
Originally Posted by pajn

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!
15th March 2012, 01:06 AM   |  #8  
Junior Member
Thanks Meter: 0
 
7 posts
Join Date:Joined: May 2009
it this just a edited vold.fstab file? or is there more to it?
15th March 2012, 04:01 PM   |  #9  
pajn's Avatar
OP Senior Member
Thanks Meter: 107
 
231 posts
Join Date:Joined: Aug 2009
More
Quote:
Originally Posted by Boomer187um

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: [ View ]
15th March 2012, 04:10 PM   |  #10  
Senior Member
Thanks Meter: 37
 
214 posts
Join Date:Joined: Feb 2010
Will we need to reflash this after flashing any roms or are we all set until we undo it manually?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Droid RAZR Android Development by ThreadRank