Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,290 Members 46,560 Now Online
XDA Developers Android and Mobile Development Forum

Mount external1 as sdcard

Tip us?
(Last edited by hfase; 1st March 2013 at 03:53 AM.) Reason: Link and img.
Senior Member - OP
Thanks Meter 40
Posts: 100
Join Date: Jan 2013

Default Mount external1 as sdcard

Just thought I would share, I use these commands in a script to mount my external 32gb sdcard as /sdcard/.
Would be better if i could figure out how to get it to work as init.d however the external drive is mounted dead last in the boot order... Currently (without some init.d vodo) this needs to be manually "hot swaped" after boot.

umount /mnt/sdcard

mount -t vfat -o rw,umask=0000 /dev/block/vold/179:97 /mnt/sdcard

Note the numbers.. I learned these on another thread here but those numbers had to be changed for this phone.
More info on how to use these and the source for the original code here:

Sent from my XT897 using xda premium
Devices currently owned; L710, I605, XT897, P5210(x2) & A956
The Following User Says Thank You to hfase For This Useful Post: [ Click to Expand ]
manudo's Avatar
Senior Member
Thanks Meter 35
Posts: 414
Join Date: May 2013
Location: Quesada
This can damage all the internal storage?
I think about trying to mount ext to sdcard to flash something in recovery, because I need the sdcard but it can't be mounted by itself.
Can I get legal issues if I name a custom ROM like "Jelly Beans (sweetened with Splenda)"? Serious question. D:

Moto G (Stock KitKat 4.4.2)
Xperia Sola (Paranoid Android 1.6 - 4.0.4 ICS)

Currently busy because of college works and stuff, so I afk, sorry folks.
jhgfjhgf1 Old
Thanks Meter 0
Posts: n/a
Is there a permanent solution to this? All other methods don't work on Android 4.4
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes