[TUTORIAL][KK4.4][ICS/JB][Root] How to switch internal and ext SD

Nikorasu

Senior Member
Jan 2, 2010
327
103
63
[Feb.2014]

Just want to update that only Method 1 (Root External 2 Internal SD ) semi-works for KitKat 4.4 but sdcard0 (internal) and sdcard1(external) are mounted as the same internal card. This means there is no access to the original internal sd card. I am running SlimKat with BMM.

Method 2 doesn't work for KK4.4.

Note:

1) After installing JBX 3.0, both cards will be mounted as internal. I'm not sure why.
2) If you have apps that needs to be ran at startup (like 2x battery, screebl, and etc) but doesn't seem to be starting up on boot after using this method, move them to internal phone storage using Apps2SD program.

*** please update if anyone manages to make internal sd work, or workarounds with JBX ***



----- Below is old post for ICS and JB -----

METHOD 1
Use this at your own risk. I performed this on my rooted ICS razr asia and it is working fine. Please backup your own RAZR with nandroid and/or your SD internal and ext files first in case things go wrong. I am not responsible if things go wrong.

This is for stock rom. Cyanogenmod or other custom roms may have different mnt names.



1) Install Root External 2 Internal SD
https://play.google.com/store/apps/details?id=eu.codlab.int2ext

2) Run app, grant root access and click settings on top right corner

3) Click original internal mounting point.
Make sure it's /mnt/sdcard

4) Click original external mounting point.
Change to /mnt/sdcard-ext

5) Click ext. sdcard device access.
Change to /dev/block/vold/179:97

6) Check Use per default: Check to use custom attributes

7) Check send rescan

8) Click to left corner to go back splash page.

9) Click External>Internal

10) Check At boot

11) Click At boot if init.d enable!


If there are any problems, please post.



---------------------- UPDATE!!!! -----------------------

METHOD 2:
Just tried works as well. I am using this as of now.
http://forum.xda-developers.com/showthread.php?t=2045778


Read the post below by romdroid. to use directory bind.
 

Attachments

Last edited:

3picide

Member
May 3, 2012
13
3
0
Use this at your own risk. I performed this on my rooted ICS razr asia and it is working fine. Please backup your own RAZR with nandroid and/or your SD internal and ext files first in case things go wrong. I am not responsible if things go wrong.

This is for stock rom. Cyanogenmod or other custom roms may have different mnt names.



1) Install Root External 2 Internal SD
https://play.google.com/store/apps/details?id=eu.codlab.int2ext

2) Run app, grant root access and click settings on top right corner

3) Click original internal mounting point.
Make sure it's /mnt/sdcard

4) Click original external mounting point.
Change to /mnt/sdcard-ext

5) Click ext. sdcard device access.
Change to /dev/block/vold/179:97

6) Check Use per default: Check to use custom attributes

7) Check send rescan

8) Click to left corner to go back splash page.

9) Click External>Internal

10) Check At boot

11) Click At boot if init.d enable!


If there are any problems, please post.
Thanks! This should help running CM10 since they have made ext internal in preparation for SafeStrap 3. My external is mainly for music.
 

Nikorasu

Senior Member
Jan 2, 2010
327
103
63
Thanks! This should help running CM10 since they have made ext internal in preparation for SafeStrap 3. My external is mainly for music.
Do note that using this app, the switch is only made after the phone have booted up. In custom recovery, int/ext should NOT be switched even if you have installed this app.

I do wish that there is a permanent solution to this though.
 
Last edited:

marcozm

Member
Jul 4, 2012
39
5
0
Use this at your own risk. I performed this on my rooted ICS razr asia and it is working fine. Please backup your own RAZR with nandroid and/or your SD internal and ext files first in case things go wrong. I am not responsible if things go wrong.

This is for stock rom. Cyanogenmod or other custom roms may have different mnt names.



1) Install Root External 2 Internal SD
https://play.google.com/store/apps/details?id=eu.codlab.int2ext

2) Run app, grant root access and click settings on top right corner

3) Click original internal mounting point.
Make sure it's /mnt/sdcard

4) Click original external mounting point.
Change to /mnt/sdcard-ext

5) Click ext. sdcard device access.
Change to /dev/block/vold/179:97

6) Check Use per default: Check to use custom attributes

7) Check send rescan

8) Click to left corner to go back splash page.

9) Click External>Internal

10) Check At boot

11) Click At boot if init.d enable!


If there are any problems, please post.
hoooo funciona perfecto, work nice!!
 

stevenb82

New member
Nov 24, 2012
4
0
0
Melbourne
This works, but when I reboot it doesn't automatically mount the sd card again. I'm worried that if I surpass the 2gb limit when I restart the phone it will brick itself.. Is that right or wrong? If you know of a way to ensure it auto mounts on reboot, please let me know.. Thanks.
 

Nikorasu

Senior Member
Jan 2, 2010
327
103
63
This works, but when I reboot it doesn't automatically mount the sd card again. I'm worried that if I surpass the 2gb limit when I restart the phone it will brick itself.. Is that right or wrong? If you know of a way to ensure it auto mounts on reboot, please let me know.. Thanks.
Sometimes it takes a while to mount on startup, not immediately.

You won't brick the phone using this app because you can actually boot the phone without any sdcards mounted.

If it doesn't work well, uninstall-reinstall the app and redo the steps provided.
 

TiGuy82

Senior Member
Jun 11, 2008
523
86
0
I have the same issue. After the reboot I lose the External SD as primary storage.

Sent from my XT885 using Tapatalk 2
 
Last edited:

sullytrny

Senior Member
Dec 24, 2006
557
51
0
Saranac Lake
If the v is jelly bean, the vold file uses sdcard0 & sdcard1 . Just swap them instead. It works on every thing I own that has an extra slot except my Samsung tab 2 so far.

KFHD - XT912 - NEXUS ONE - GT3113 - COLBY
 

TiGuy82

Senior Member
Jun 11, 2008
523
86
0
If the v is jelly bean, the vold file uses sdcard0 & sdcard1 . Just swap them instead. It works on every thing I own that has an extra slot except my Samsung tab 2 so far.

KFHD - XT912 - NEXUS ONE - GT3113 - COLBY
This is my original file.

Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
## 

#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point[:[asec_point]:[lun_point]]> <part> <sysfs_path1...> 
## label        - Label for the volume
## mount_point  - Where the volume will be mounted
## asec_point   - Whether asec mount is needed for this value, if not, use "none"
##                  Else, supply a folder name under /mnt/secure/
##                  If not supplied, "asec" will used by default
##                  If supplied, /mnt/secure/asec_point will be used
##                    This is for further extension, not needed now
## lun_point    - The target lun device for this volume. If not supplied, will use
##                  /sys/devices/platform/usb_mass_storage/lun0/file
##                  else, will use /sys/devices/platform/usb_mass_storage/lun_point/file
## part         - Partition # (1 based), or 'auto' for first usable partition.
##                  For a disk with only 1 partition, use '1' is different to 'auto'
##                  Using 1, will not re-write its partition table when formatting
## <sysfs_path> - List of sysfs paths to source devices
######################

# external sd card
#IKYTZUSC-223, a21165, 16 April 2012
dev_mount sdcard-ext /mnt/sdcard-ext:none: auto /devices/platform/goldfish_mmc.0 /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0
# internal eMMC
# dev_mount sdcard /mnt/sdcard:: 25 /devices/platform/omap/omap_hsmmc.1/mmc_host/mmc1

## Example of a dual card setup
# dev_mount left_sdcard  /sdcard1  auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# dev_mount right_sdcard /sdcard2  auto /devices/platform/goldfish_mmc.1 /devices/platform/msm_sdcc.3/mmc_host/mmc1

## Example of specifying a specific partition for mounts
# dev_mount sdcard /sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1


# flash drive connection through hub connected to USB3
dev_mount usbdisk_1.1.1 /mnt/usbdisk_1.1.1 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.1.1
dev_mount usbdisk_1.1 /mnt/usbdisk_1.1 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.1
dev_mount usbdisk_1.2 /mnt/usbdisk_1.2 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.2
dev_mount usbdisk_1.3 /mnt/usbdisk_1.3 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.3
dev_mount usbdisk_1.4 /mnt/usbdisk_1.4 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.4
dev_mount usbdisk_1.5 /mnt/usbdisk_1.5 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.5
dev_mount usbdisk_1.6 /mnt/usbdisk_1.6 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.6
dev_mount usbdisk_1.7 /mnt/usbdisk_1.7 auto /devices/platform/omap/musb-omap2430/musb-hdrc/usb3/3-1/3-1.7
Then I change to this and my SD Card stop to being detected:

Code:
# external sd card
#IKYTZUSC-223, a21165, 16 April 2012
dev_mount sdcard-ext /mnt/sdcard:none: auto /devices/platform/goldfish_mmc.0 /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0
# internal eMMC
# dev_mount sdcard /mnt/sdcard-ext:: 25 /devices/platform/omap/omap_hsmmc.1/mmc_host/mmc1
 

AwesomeApples

New member
May 26, 2013
1
0
0
It kinda Worked HELP ASAP

i did every step and it was successful but i wasn't able to install apps. it said that i need to clear more space. even tho it said i had lots of space!... please HELP ASAP!! i tried doing the steps again but it didnt fix it.. and i also tried to reboot the device. but tht didnt help. the device im trying to use it on is the Motorola Razr V XT885.
 

Djripper66

Senior Member
Jan 9, 2014
89
8
28
Boot problem

Hello i have done everything everyth8ng works fine just wont automatically run when i boot even though the on boot is checked
 

Nikorasu

Senior Member
Jan 2, 2010
327
103
63
Updated first post with:

[Feb.2014]

Just want to update that only Method 1 (Root External 2 Internal SD ) semi-works for KitKat 4.4 but sdcard0 (internal) and sdcard1(external) are mounted as the same internal card. This means there is no access to the original internal sd card. I am running SlimKat with BMM.

Method 2 doesn't work for KK4.4.

Note:

1) After installing JBX 3.0, both cards will be mounted as internal. I'm not sure why.
2) If you have apps that needs to be ran at startup (like 2x battery, screebl, and etc) but doesn't seem to be starting up on boot after using this method, move them to internal phone storage using Apps2SD program.

*** please update if anyone manages to make internal sd work ***
 
Last edited:

Nikorasu

Senior Member
Jan 2, 2010
327
103
63
Hello i have done everything everyth8ng works fine just wont automatically run when i boot even though the on boot is checked
Make sure the app is not installed in SD card, move it to phone storage.
Note that I'm not the developer of the app, I simply chanced upon it and sharing with everyone.
 

Khayrou

Member
May 21, 2012
6
0
0
help!!

hello
i have galaxy s duos gt7562 1.7GB for internal and 32GB for external.
i do settings as the instructions but : my external sd card become internal(1.7GB) and my internal stay 1.7 GB
what 's the problem