Current time: 22-Oct-2016, 09:41 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial [Tutorial] How to swap internal sdcard0 by sdcard1 and what gains do we get of it
21-May-2014, 02:58 PM (This post was last modified: 21-May-2014 06:03 PM by dcadmin.)
Post: #1
[Tutorial] How to swap internal sdcard0 by sdcard1 and what gains do we get of it
Getting to notice how not that few have managed to brick their phones attempting to switch (or some wrongly call it re-partition) internal by external sd cards i decided to write this tutorial on how to do it the right way .

Basically all clone phones have a small internal memory and a monster processor that you wouldn't be able to get a use for in such case , also to note solutions like link2sd despite constantly improving still fail to copy everything over to sd and thus you will still consume much of your small internal sd card , finally even with link2sd you will not be able to download large game files because they persist to download to internal sd card , switching internal sdcard by external one might be the ultimate solution

**Attention : Failure on any step may cause your phone to soft brick , you can however follow my tutorial on how to unbrick it on

Requirements :
1-Root (usually clone phones are rooted by default , if not google rooting)
2-ES Explorer (found on google play at for your phone
4-Notepad ++ (found here l Most recent version at the time of writing)
5-Brain (if you can't catch up with me or feel these are too difficult then i can't help)

Presteps :
1-If possible all applications that you moved to internal sd card should be moved back to internal memory for the time being or else you will need to re-install unmoved apps (You can then move them back after the switch)
2-You will have to fully copy internal sd card 0 files to external sd card where you can use ES Explorer (Make Sure "Show Hidden Files" is set to "ON" in ES Explorer side bar accessed by pressing phone or device menu button or the globe icon top left of the screen to effectively copy everything)
3-As a suggestion keep the external sd card format to : Fat32 where you can maintain windows accessibility to which , the virtues to that is your ability to "Defragment" your sd card on Windows from time to time and gain blazing performance
4-Another Suggestion buying a "Class 10" sd card can add up to the blazing performance

Steps :
1-Launch ES Explorer on your phone
2-Press the menu button on your phone to show settings side bar (if your phone doesn't come with one press the globe icon top left of the screen)
3-Scroll to "Root Explorer" option and make sure it is "ON"
4-Press menu button back to hide settings side bar (or same globe icon)
5-Explore your way to /system/etc/ folder
6-Locate vold.fstab then long press it , hit the "More" icon down right and then "Share" , pick bluetooth and send it to your windows desk/laptop
7-Use Notepad ++ to edit the received file
8-Understanding vold.fstab format :
Quote:vold.fstab holds in general logical paths to you partitions and different other logical folders essential for system

partitions is a tech name given for memory that is dedicated for storage i.e internal sd card and external sd one

the hash (#) character is a mark that the following text is just for read purpose and should not be executed (you will find alot of ranted text there usually by developers)

our main focus should be the 2 lines that start by "dev_mount sdcard" and "dev_mount sdcard2"

the format of how these lines should be written is standard but may vary device to device

the format should go as follows :
dev_mount [Parition Name 0] [Partition System Name 0] [Partition Number 0] [Partition Path 0] [Partition System Path 0]
dev_mount [Parition Name 1] [Partition System Name 1] [Partition Number 1] [Partition Path 1] [Partition System Path 1]

another important thing to note is that androids systems usually start the count by ZERO and thus first partition should usually be partition 0

another thing about vold.fstab format is its ability to store and process "constances" i.e keyword that translates on processing the file into values , an example would be :
emmc@fat = 0
Auto = (Occupied External SD Card Slot where 99% it is equal to 1 not unless you have a device that takes 2 external sd cards)

so basically what we need is :
to keep [Parition Name 0] [Partition System Name 0] as is on line one
to keep [Parition Name 1] [Partition System Name 1] as is on line two
replace [Partition Number 0] by the number : 1
replace [Partition Number 1] by the constant : emmc@fat
replace [Partition Path 0] [Partition System Path 0] by [Partition Path 1] [Partition System Path 1] on line one
replace [Partition Path 1] [Partition System Path 1] by [Partition Path 0] [Partition System Path 0] on line two
Example :
Quote:a vold.fstab file that partition mount lines read :

dev_mount sdcard /storage/sdcard0 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard1 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host

should end up to be switched into :

dev_mount sdcard /storage/sdcard0 1 /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
dev_mount sdcard2 /storage/sdcard1 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
9-Save the file and bluetooth it back to your android device
10-Head to /system/etc path using your ES Explorer and long press the old vold.fstab till it is selected
11-Hit the rename icon and rename it into vold.fstab.backup
12-Head to the received vold.fstab file and copy / paste it back at the /system/etc folder
13-Long press it till it is selected
14-Press the "More" icon down right then press "Properties"
15-Press "Change" next to "Permissions"
16-The Line Owner : Tick Read , Tick Write , Untick Execute
17-The Line Group : Tick Read , Untick Write , Untick Execute
18-The Line Other : Tick Read , Untick Write , Untick Execute
19-Press "OK"
20-Reboot is required

On certain roms rise an issue where the home screen shortcuts keep renaming themselves into "com" names on every restart , to make the shortcut names hold their names correctly "Edit" each shortcut and add only 1 space by the end of the name
Find all posts by this user
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [TUT] [Tutorial] How to unbrick soft bricked MTK 65xx clone phones [Note 3,S4,S5,HTC One] nIGHTmAYOR 2 20,440 08-May-2014 10:23 PM
Last Post: nIGHTmAYOR

Forum Jump: