Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,957 Members 54,612 Now Online
XDA Developers Android and Mobile Development Forum

mount sdcard to /sdcard

Tip us?
 
sams-roots
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Apr 2014
Default mount sdcard to /sdcard

is there anyway to mount the real sdcard to /sdcard?

i tried to edit the vold.fstab, but it just bootloop on the animation.


http://forum.xda-developers.com/show...1&postcount=14

he is mounting to "/mnt/sdcard" while i used "/sdcard"

Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
where should it be mount to or is it because of different phone?
 
k1mu
Old
#2  
k1mu's Avatar
Recognized Contributor
Thanks Meter 1,551
Posts: 1,908
Join Date: Apr 2011
Location: Virginia

 
DONATE TO ME
Quote:
Originally Posted by sams-roots View Post
is there anyway to mount the real sdcard to /sdcard?

i tried to edit the vold.fstab, but it just bootloop on the animation.


http://forum.xda-developers.com/show...1&postcount=14

he is mounting to "/mnt/sdcard" while i used "/sdcard"

Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
where should it be mount to or is it because of different phone?
/sdcard is normally a symbolic link pointing to /storage/emulated/legacy

There's an internal "sdcard" that normally gets mounted onto /mnt/shell/legacy from /init.qcom.rc - that's symlinked to /storage/emulated/legacy in that same file. It also appears to start up a daemon that re-mounts the internal "sdcard".

What are you trying to do? Normally the external SDcard is mounted to /mnt/extSdCard, so you should just store data there rather than /sdcard.

(Or /mnt/sdcard, /mnt/shell/legacy, /storage/emulated/legacy, or any of the other things simlinked to the internal sdcard.)
My Android devices:
vzw Samsung Galaxy S4 stock NC5 rooted
Samsung Galaxy Tab 2 10.1, also stock but rooted.

VZ Droid Incredible 2 rooted but otherwise stock.
Samsung Galaxy Tab 10.1
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes