FORUMS

Dr.Ketan Brings The S6 Theme Store To The Note 4

Dr.Ketan has submitted a video to the forums showing a functional port of the Galaxy S6 … more

Do You Have Insurance on Your Smartphone?

While affordable smartphones are becoming more available, the majority of high-end flagships … more

Apple Music Will Increase iTunes Match to 100,000 Songs

The battle for music streaming subscription dominance is starting to really heat … more

Xposed Framework Updated to v65

Xposed Framework is an extremely popular modification platform for Android, so much so that we included … more

[HOWTO] mount EMMC and External SD on CM7 as it is on Stock ROMs

42 posts
Thanks Meter: 20
 
By talmeida, Member on 14th March 2012, 01:51 AM
Post Reply Subscribe to Thread Email Thread
Hello Everyone.
In this post, I would like to show how to mount Internal SD card and External SD card when using Cyanogenmod 7 ROM.
I had some issues because CM7 mounts the internal SD card under /mnt/emmc and mounts external SD card under /mnt/sdcard.
As you know, there are many applications that download data using /mnt/sdcard as path and if you have CM7 way of mounting these apps won't work.

So to mount Internal SD card to /mnt/sdcard and External SD card to /mnt/sdcard/external_sd as it is done on Stock ROMs proceed with the following:

1 - Open the file /etc/vold.fstab with your preferred text editor (I use root Explorer) and find and modify the last lines as below an then save:

# internal sdcard
dev_mount emmc /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0

# external sdcard
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2

# otg sdcard
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0

#end line

2 - Open the file /system/build.prop with your preferred text editor and find and modify the following lines as it is show an then save:

# notify vold we have internal and external sd
ro.additionalmounts=/mnt/sdcard/external_sd
ro.vold.switchablepair=/mnt/sdcard/external_sd,/mnt/sdcard

3 - Reboot the phone and voilá

This procedure worked for me and I have no issues to mount both my Internal and External SD cards when plugging the phone on my laptop.
The Following 14 Users Say Thank You to talmeida For This Useful Post: [ View ]
 
 
14th March 2012, 04:08 PM |#2  
AllGamer's Avatar
Retired Forum Moderator
Flag buried under loads of work IRL
Thanks Meter: 1,592
 
Donate to Me
More
a good guide indeed for the CM7 ROM users

I did something similar for all my Gameloft games, EA games, Glu games, and DATA partition, and Download, and all the other stuff, basically i mounted everything off to my 64 GB SD card instead of internal SD

lets give this topic some flight time, stuck for a month, it'll come off by itself
also added to main INDEX
Last edited by AllGamer; 14th March 2012 at 04:11 PM.
14th March 2012, 06:19 PM |#3  
OP Member
Thanks Meter: 20
 
More
Thanks AllGamer...
15th March 2012, 03:38 PM |#4  
Senior Member
Flag pompano beach
Thanks Meter: 29
 
More
thanks, i was looking for something like this for a while.
16th March 2012, 01:05 AM |#5  
simple23227's Avatar
Senior Member
Thanks Meter: 72
 
More
Thanks so much for this. Thanks a bunch!!!
16th March 2012, 03:55 AM |#6  
OP Member
Thanks Meter: 20
 
More
ICS
Can someone who had flashed ICS Alpha builds tell us if this procedure works on them?
Thanks and I am glad I'd helped someone by doing this post :)
21st March 2012, 12:16 AM |#7  
jomeister15's Avatar
Senior Member
Thanks Meter: 604
 
Donate to Me
More
Testing this out right now on Isotope, let's all keep our fingers crossed.
The Following User Says Thank You to jomeister15 For This Useful Post: [ View ]
21st March 2012, 06:25 PM |#8  
ngu's Avatar
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by talmeida

Hello Everyone.
In this post, I would like to show how to mount Internal SD card and External SD card when using Cyanogenmod 7 ROM.
I had some issues because CM7 mounts the internal SD card under /mnt/emmc and mounts external SD card under /mnt/sdcard.
As you know, there are many applications that download data using /mnt/sdcard as path and if you have CM7 way of mounting these apps won't work.

So to mount Internal SD card to /mnt/sdcard and External SD card to /mnt/sdcard/external_sd as it is done on Stock ROMs proceed with the following:

1 - Open the file /etc/vold.fstab with your preferred text editor (I use root Explorer) and find and modify the last lines as below an then save:

# internal sdcard
dev_mount emmc /mnt/sdcard 28 /devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0

# external sdcard
dev_mount sdcard /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2/mmc2

# otg sdcard
usb_mount sdcard2 /mnt/sdcard/usbStorage auto /devices/platform/msm_hsusb_host.0

#end line

2 - Open the file /system/build.prop with your preferred text editor and find and modify the following lines as it is show an then save:

# notify vold we have internal and external sd
ro.additionalmounts=/mnt/sdcard/external_sd
ro.vold.switchablepair=/mnt/sdcard/external_sd,/mnt/sdcard

3 - Reboot the phone and voilá

This procedure worked for me and I have no issues to mount both my Internal and External SD cards when plugging the phone on my laptop.

does it work for other devices cm7 roms??
22nd March 2012, 12:53 AM |#9  
Senior Member
Flag Bronx, NY
Thanks Meter: 20
 
More
tried it and didn't work for me. Might have typed it wrong. Will try again.

I only used the file browser to see if i can access both the emmc and the sd card but could only get to the emmc
Last edited by drzplaya1121; 22nd March 2012 at 01:00 AM.
4th April 2012, 10:04 AM |#10  
multipol's Avatar
Senior Member
Flag Varese
Thanks Meter: 18
 
More
I will try...
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes