[Q] Swapping Internal and External SD - Android Q&A, Help & Troubleshooting

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

Related

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

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] 10e vold.fstab

I'm trying to swap my external sd with the internal sd. I've been playing with the vold.fstab file, using quite a few examples I've found but after rebooting I keep getting sd not mounted when I try to access it through root explorer. I want to make this into a monster ebook reader with about 10gb of books but all the readers want to rewrite the books they find to the internal sd.
Heres the ICS 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
#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/virtual/block/loop0 /nfdisk/fat.bin
#dev_mount idisk /mnt/idisk 1 /devices/platform/v8-sdio.2/mmc_host/mmc0
dev_mount external_sd /mnt/sdcard/external_sd auto /devices/platform/v8-sdio.0/mmc_host/mmc1
dev_mount udisk /mnt/udisk auto /devices/platform/vc088x-ehci/usb1 /devices/platform/musb-hdrc/usb2 /devices/platform/musb-hdrc/usb3
## 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
Does anyone know how to rewrite the dev_mount lines to get this accomplished?

[Q] vold.fstab multiple partitions on same device not working

I'm running CM 10.1.3 stable. This is the original vold.fstab :
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
######################
# internal sdcard
dev_mount sdcard0 /storage/sdcard0 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 nonremovable,encryptable
# external sdcard
dev_mount sdcard1 /storage/sdcard1 auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# USB storage device
dev_mount usbdisk /storage/usbdisk auto /devices/platform/s3c_otghcd/usb
I've created a second exFAT partition on my SD card and have modded my vold.fstab to :
Code:
# internal sdcard
dev_mount sdcard0 /storage/sdcard0 2 /devices/platform/s3c-sdhci.2/mmc_host/mmc1
# external sdcard
dev_mount sdcard1 /storage/sdcard1 1 /devices/platform/s3c-sdhci.2/mmc_host/mmc1
My intention is to mount the second exFAT SD card partition in place of the emmc. The second exFAT partition is successfully mounted as sdcard0 but the first partition (the regular sdcard1) is not mounted anymore.
If I swap the partition numbers 2 & 1 then the first SD card partition is successfully mounted as sdcard0. So it looks like if multiple entries use the same sysfs device then only the first one is taking effect.
same sh*t :crying:

[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