[Q] Swap Internal memory and MicroSD - Ornate TrueSmart

Hello,
I have seen a post on G+ (https://plus.google.com/+MariuszKraus/posts/1BRdDeF9d1W) and also remember people discussing during KS that one could "swap" the Internal SD Card (in other words the space that makes up the 8GB) with the EXTERNAL SD (MicroSD) card memory.
I have already installed a 32Gb MicroSD which I have been using since I got my TS.
As I intend to put a 64Gb MicroSD in my TS and since I have already almost reached the "out of memory" state, I want to do this swap.
Has anybody tried it? Could you share the method in a step-by-step way here?
Will I end up with 8GB's of program memory (that is going to be used automatically for app installations and other android internal tasks)?
Do I need to copy the current contents of the Internal and/or External space in order to subsequently copy it back once the swap is done?
Do I also need to copy the contents of the main memory in order to copy it back afterwards or is that not affected at all?
If I do a Titanium backup, can that be used to restore everything back to normal? Will it restore to the "swapped" places?
Many thanks for any and all help
Christos

I have swapped internal sd with external sd
I have done this on my omate truesmart US extreme with 5/27 firmware with OTA update.
I will answer some of your questions in this post and if still interested I will post a how-to with my vold.fstab file.
This mod REQUIRES ROOT.
This will not change the amount of app space internal to the phone. To do that you would have to reparation the internal 8gb emmc.
This will only swap the pointer (mount point) of the internal (called sdcard) partition with the external microsd (called sdcard2).
This is best done on fresh device with out any apps moved to SD. You need to copy the contents of the internal sdcard to the external before editing the vold.fstab file.
You do not need to do anything with the main memory. The only change to it will be the edited vold.fstab.
I don't know the answer the titanium backup question. But it is not needed to perform this mod. HAVE A FULL BACK OF YOUR DEVICE by all means but this little mod is pretty simple and undo-able.
If you do the mod remember to change the SAVE location of data in your apps. For example on the truesmart the is a option to save files to internal or sdcard in settings. This will need to be set to internal if you had set it to sdcard before the swap.
Here is my edited vold.fstab file:
---------------------------------------
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
### - SDCARD SWAP MOD
### dev_mount sdcard /storage/sdcard0 [email protected] /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
dev_mount sdcard2 /storage/sdcard1 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard /storage/sdcard0 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
------------------------------------------------------
All that is being done is swapping the labels and mount points of the 2 "sd cards".
I suggest finding, reading, understanding another guide on the internet for a detailed how-to.

Related

Format internal SD to ext3 ?

In order to allow symlinking I want to format the internal 11GB /mnt/sdcard to ext3.
One way is backupping everything to a laptop over USB, then reformatting it from Linux by gparted (or Disk Utility from Mac OS with Macfusion ext3 plugin) . So far so good.
But then remounting it on the SGS2 will probably issue an error as Android does probably not automount it.
Is the only way rooting it and then edit /etc/fstab if that exists on the device ?
Who knows ?
Hi,
how did you manage to partition the internal memory?
I too am trying to reformat it, but gparted shows the partiton as "unallocated". The external SD card also appears as "unallocated" in gparted when the phone is connected through the USB cable.
I can access all the files from the internal/external "cards" though.
PS: I'm using a Galaxy W, sorry for posting here but I couldn't find a specific section for my phone.
PS2: I found /etc/vold.fstab (there is no /etc/fstab), and the partitons are mounted like this:
-------------------------------------
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
dev_mount sdcard /mnt/sdcard 28 /devices/platform/msm_sdcc.2/mmc_host/mmc1
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/msm_sdcc.4/mmc_host/mmc2
------------------------------
So no references to the file systems used, maybe the mount should work after reformatting?

UPDATE: Modify vold.fstab file to swap internal/external storage card. Fixed

So this file stored in /system/etc determines what type of storage sdcard and sdcard2 will be identified as. Basically sdcard2 becomes ext_sd.
While most applications are fine with using our phone's internal storage as the primary, google music does not and cannot find any music on my removable SD card. As soon as I copy it to internal it finds it right away. by modding this file, we can essentially have our removable SD card seen as primary storage and the internal secondary or as an external card.
It looks like they sucessfully made this change on the Rezound (http://forum.xda-developers.com/showthread.php?t=1383330 by changing the following:
dev_mount sdcard /mnt/sdcard 37 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard2 /mnt/sdcard/ext_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
to this:
dev_mount sdcard2 /mnt/sdcard/ext_sd 37 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
I mirrored this change by making ours:
dev_mount sdcard /mnt/sdcard 36 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard2 /mnt/sdcard/ext_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
to this:
dev_mount sdcard2 /mnt/sdcard/ext_sd 36 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
EDIT: 4/29
Got it working! sorta.. The phone now recognizes the physical storage card as internal phone storage and the internal phone storage as the ext_sd card. Google music finds all music. I have to add a few things to the vold.fstab file to allow a computer to see the actual internal storage card when using the phone in usb storage mode. If you would like to try it, unzip the attached modified.vold.fstab.zip file and push the file to /system/etc via adb after deleting the old one. I have also included the stock one in this post.
KEEP IN MIND: If you wipe internal storage with your phone with this mod in place, you may wipe your SD CARD. Make sure you flash back to the stock file, or just don't use the wipe internal storage feature.
Interesting concept.. Curious if it would actually work for us.
Would be nice to have my 32GB card as my primary.
I've modded my own and the settings are definitely in that file because my SD card dissapeared. Of course it was because I didn't do it correctly to match our phone but I would love to find the right settings.
Here is a fix they made for the droid x2
http://forum.xda-developers.com/showthread.php?t=1229294
Sent from my HTC_Amaze_4G using XDA
Any dev help? 187 views.. so I know I am not the only person that would like to be able to do this.
meh did it myself. Updated first post. I will modifiy to include being able to view actual internal storage via usb storage mode later today.
So what this does is have everything download and work off of only the external sd card?
Thanks for the files. I'll give then a try.
$sudo make me a sandwich
It doesn't download anything. It does exactly what the thread title and first post say. The external SD card identifies as the internal or /sdcard and the internal SD or phone storage identifies as /sdcard/ext_sd.
Check storage in system settings. Phone storage becomes your external cars, in my case a 32gb card. The internal SD card becomes the external SD removable storage. The main purpose that I did it was to have Google music see my music files on my physical 32gb storage card.
superevilllama said:
It doesn't download anything. It does exactly what the thread title and first post say. The external SD card identifies as the internal or /sdcard and the internal SD or phone storage identifies as /sdcard/ext_sd.
Check storage in system settings. Phone storage becomes your external cars, in my case a 32gb card. The internal SD card becomes the external SD removable storage. The main purpose that I did it was to have Google music see my music files on my physical 32gb storage card.
Click to expand...
Click to collapse
I never said it downloaded anything. What I meant to say is, does this mod makes the SD card the only download path? Basically only having one storage place which will be the external SD card.
But I see you already confirmed it. I will try this.
Hi all,
I have uploaded my file here as i am lost on what needs t be edited in order to have my 16gb external as main or internal on my zopo 200.
Would anyone be kind enough to explain what needs to be edited.
Once i do this, do i need to reinstall ROM and re-root again which i do not mind as the phone is basically new and nothing much installed.
Best wishes
Pete :good:
Wingchundub said:
Hi all,
I have uploaded my file here as i am lost on what needs t be edited in order to have my 16gb external as main or internal on my zopo 200.
Would anyone be kind enough to explain what needs to be edited.
Once i do this, do i need to reinstall ROM and re-root again which i do not mind as the phone is basically new and nothing much installed.
Best wishes
Pete :good:
Click to expand...
Click to collapse
Hi guys,
same here with my X26i. Same vold.fstab as your, but how to modify to use my 32gb sd card?
Thanks
I think it's in the first post
Sent from my HTC_Amaze_4G using xda premium
superevilllama said:
So this file stored in /system/etc determines what type of storage sdcard and sdcard2 will be identified as. Basically sdcard2 becomes ext_sd.
While most applications are fine with using our phone's internal storage as the primary, google music does not and cannot find any music on my removable SD card. As soon as I copy it to internal it finds it right away. by modding this file, we can essentially have our removable SD card seen as primary storage and the internal secondary or as an external card.
It looks like they sucessfully made this change on the Rezound (http://forum.xda-developers.com/showthread.php?t=1383330 by changing the following:
dev_mount sdcard /mnt/sdcard 37 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard2 /mnt/sdcard/ext_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
to this:
dev_mount sdcard2 /mnt/sdcard/ext_sd 37 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
I mirrored this change by making ours:
dev_mount sdcard /mnt/sdcard 36 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard2 /mnt/sdcard/ext_sd auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
to this:
dev_mount sdcard2 /mnt/sdcard/ext_sd 36 /devices/platform/msm_sdcc.1/mmc_host/mmc0
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc2
EDIT: 4/29
Got it working! sorta.. The phone now recognizes the physical storage card as internal phone storage and the internal phone storage as the ext_sd card. Google music finds all music. I have to add a few things to the vold.fstab file to allow a computer to see the actual internal storage card when using the phone in usb storage mode. If you would like to try it, unzip the attached modified.vold.fstab.zip file and push the file to /system/etc via adb after deleting the old one. I have also included the stock one in this post.
KEEP IN MIND: If you wipe internal storage with your phone with this mod in place, you may wipe your SD CARD. Make sure you flash back to the stock file, or just don't use the wipe internal storage feature.
Click to expand...
Click to collapse
hey i did this....but now my phone is not starting.....wht to do now?
SD as internal storage
She could anyone help with editing vold.fstab to exchange storage to the SD card as an internal storage? :good:
# Copyright (C) 2009 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
## Vold 2.0 fstab for HTC Dream or Sapphire
#
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/ext_sdcard auto /devices/platform/hi_mci.0/mmc_host/mmc1
dev_mount usbotg /mnt/usb auto /devices/hisik3-usb-otg/usb1
Android: 4.0.4
zp200+
My original vold.fstab:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I only change this lines:
dev_mount sdcard /mnt/sdcard2 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
This worked perfectly, but when I move apps to the internal memory of the phone message said that was not possible because they did not have enough space. 64GB sdcard!
Any idea how to fix it !?
Tks !!
Hello guys,
This is the vold.fstab of my tablet, a P10AN01 with a Vegabean ROM. It have 300mb of internal memory and this ROM takes more or less a half of this. I've searched the two lines to change but.... ...I've missed something or this tablet doesn't have option to swith?
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard auto /devices/platform/sdhci-tegra.3/mmc_host/mmc3
# THIS IS NOT NEEDED
# dev_mount system_usb /mnt/usb/system_usb auto /devices/platform/tegra-ehci.0/usb
# Dock usb ports
dev_mount usb0 /mnt/usb/usb0 auto /devices/platform/tegra-ehci.2/usb0
dev_mount usb1 /mnt/usb/usb1 auto /devices/platform/tegra-ehci.2/usb1
dev_mount usb2 /mnt/usb/usb2 auto /devices/platform/tegra-ehci.2/usb2
dev_mount usb3 /mnt/usb/usb3 auto /devices/platform/tegra-ehci.2/usb3
# Usb host mode
dev_mount usbdisk /mnt/usbdisk auto /devices/platform/tegra-ehci
Sorry by my english,
Marcos Lyra
I did that (changed the vold.fstab file) and now I'm on boot loop...when accessing the recovery mode, only adb sideload cmd is available and I can't do nothing.
Any help?
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
#dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/rda-mmc.0/mmc_host/mmc0
dev_mount udisk /mnt/udisk auto /devices/platform/musb-rda.0/musb-hdrc/usb1/1-1/1-1:1.0
## 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
mine sir is auto what can i do

[Q] Swapping Internal and External SD

I recently purchased Karbonn A18 and am facing two problems relating to mounting of SD cards... My phone has 2 GB internal storage and I have inserted 32 GB micro-SD in it...
1. My phone's internal SD does not show up normally... In x-plore I need to browse to root/mnt/sdcard to access 2GB internal storage.
2. My phone only allows moving applications to internal SD and not external SD... and even though I have managed to move some programs to external SD, their data is still present in internal SD which is insufficient for huge games...
I have read somewhere that it is possible to swap internal SD with external SD with some modifications in vold.fstab file... However due to lack of knowledge about android file system and after numerous attempts, I have failed to do so... I hope someone with expertise may help me out... Thanks in advance...
The following is my vold.fstab file:
Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1

Problem mounting Internal SD

I recently purchased Karbonn A18 and am facing problem relating to mounting of internal SD card... My phone has 2 GB internal storage and I have inserted 32 GB micro-SD in it... My phone's internal SD does not show up normally... In x-plore I need to browse to root/mnt/sdcard to access 2GB internal storage... Which means if I store any media on it, it would not show up in media players as it is a part of root directory... when I connect my phone in USB storage mode, both the drives pop up on my computer... furher, x-plore shows 2 same partitions of my 32 GB external micro-SD (see the attached screenshot)...
The following is my vold.fstab file:
Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /mnt/sdcard [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
Can anyone help me in mounting my internal SD as a separate drive on phone??
Hey,
I am facing a related (possibly) problem. I also have the sdcard (internal) showing up only under /mnt/sdcard, and not as a separate card. Also, I have problem installing big games (such as frontline commando or dead trigger) - market keeps crashing. Are you facing any such problems?
Any solutions or tips you have tried so far?
Cheers,
magesha
EDIT/Update: This could be a potentially serious problem, I found that I am not able to move any apps to the interal sd card storage. It says there is not enough space, although I have only used up like 100MB of the 2GB+ space. Also, it is showing up weird under root explorer. although I am able to see the main folder (/mnt/sdcard/), I am not able to see any of the contents (such as my camera pictures and other files I put from my pc). I am able to see these files from X-plore. It is very weird.
EDIT2: I put a 16GB card and it shows up under X-plore but it doesn't show up in system settings, and it doesn't open in root explorer (it says the partition is not mounted or something). I am still not able to move any apps out of the internal ROM so my phone has become very slow now

[Q] Please // how i can install GTA 3 in externel SDcard

i have 400MO free in my internel memory card
but the gta 3..(1.40GO)
So my internel card can't support it //
i wana install this game in the externel sd card .. (4go)
Please // solve me //
swap your internal memory with your external sd
Hay friend i guess you need to swap your internal memory with your external sd card so your internal memory (with small space) become external "sd card1" or "ext.sd card" what ever the name is , and your external sd (with the bigger memory) becomes internal memory "sd card0", i think there is a lot of threads talks about that ,the way to do that changes from device to device a little bit , search for the way to do it on your device, anyway for my device i needed to have root access and then edit the file , this file was on my device at this path /etc/vold.fstab so i did this (it might work for you because this is the general idea of doing it) :
1- i made a copy of the file vold.fstab in case it did't work i return it like it was using ES File Explorer (I have root access as i sayed)
2- i edited the file do that using any text editor,now the original vold.fstab file was like this before changing any thing :
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /storage/sdcard0 [email protected] /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
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
And then i swaped the name of my internal card with the name of my external card so it's mounted in its place (become the first sd card) it's become like this after editing it
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
## Example of a standard sdcard mount for the emulator / Dream
# Mounts the first usable partition of the specified device
dev_mount sdcard /storage/sdcard1 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard0 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
## Example of a dual card setup
# dev_mount left_sdcard /mnt/sdcard1 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host/mmc0
# dev_mount right_sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.2/mmc_host/mmc2
## Example of specifying a specific partition for mounts
# dev_mount sdcard /mnt/sdcard 2 /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
so as you see the replacing was at the line 17 and 18 (they might be different lines for you but with a similar text) i replaced the name of my external card wich is sdcard1 with the name of my internal storage sdcard0 , also the names in your device may be different but the idea is the same these are the tow lines before and after the replacment so you know what lines to search for and edit they should be very similar to these :
before
dev_mount sdcard /storage/sdcard0 [email protected] /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
after
dev_mount sdcard /storage/sdcard1 [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-msdc.0/mmc_host
dev_mount sdcard2 /storage/sdcard0 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-msdc.1/mmc_host
Nothing else changed, after that i saved the file and restart the device and the sd card become my internal storage and the internal become the external sd card.
Now that worked for me to replace my inernal and external card it should work for you, just be careful i'm not responsible for any damage might happen to your device if that didn't work , do a backup of the file before editing it in case some thing goes wrong ,so you can return the file as it was, and if this worked for you press the thanks button , and then install what ever games you like on your sd card what ever size it is.

Categories

Resources