Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Mount external1 as sdcard

OP hfase

24th February 2013, 09:32 AM   |  #1  
OP Senior Member
Thanks Meter: 40
 
102 posts
Join Date:Joined: Jan 2013
Donate to Me
More
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: http://forum.xda-developers.com/show...1786014&page=2



Sent from my XT897 using xda premium
Last edited by hfase; 1st March 2013 at 04:53 AM. Reason: Link and img.
The Following User Says Thank You to hfase For This Useful Post: [ View ]
3rd February 2014, 01:42 AM   |  #2  
manudo's Avatar
Senior Member
Flag Quesada
Thanks Meter: 35
 
415 posts
Join Date:Joined: May 2013
More
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.
jhgfjhgf1
4th February 2014, 10:43 AM   |  #3  
Guest
Thanks Meter: 0
 
n/a posts
Is there a permanent solution to this? All other methods don't work on Android 4.4
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes