How to open / modify "vold" and "sdcard" file, Android KitKat 4.4.4 - General Questions and Answers

How to open / modify "vold" and "sdcard" file, Android KitKat 4.4.4
I have a Zopo zp999 and zp920.
On both devices the external sdcard is sdcard0 and the internal card is sdcard1, so all of the apps are installed on the slow external sdcard and the external card is recognized as the internal card..
I looked after for a way to swap these cards and on most smartphones there is a vold.fstab where i could change this - but not on my zopo phones.
on an earlier FW of the zp999 the cards have been in the (for me) correct order (internal sdcard0, external sdcard1) and when i took the two files from /system/bin "vold" and "sdcard" of the old FW to the new one, the order of the sdcards was correct.
for the zp920 is workaround is not possible, now i am searching for a way to open and modify these two files.
can anyone help me with this - please?

i tried to change the fstab / fstab.nand / fstab.fat.nand from the boot.img from:
Code:
...
/devices/mtk-msdc.0/11230000.MSDC0 auto vfat defaults voldmanaged=sdcard0:[email protected],noemulatedsd
/devices/mtk-msdc.0/11240000.MSDC1 auto vfat defaults voldmanaged=sdcard1:auto
...
to
Code:
...
/devices/mtk-msdc.0/11230000.MSDC0 auto vfat defaults voldmanaged=sdcard1:[email protected],noemulatedsd
/devices/mtk-msdc.0/11240000.MSDC1 auto vfat defaults voldmanaged=sdcard0:auto
...
with the "Android Kitchen" and cygwin
but after repacking the boot.img and flashing it back to the phone, the phone is stock in a bootloop.
maybe the unpacking / packing is wrong with my boot.img and Android Kitchen / cygwin (there are no errors)
i tried with both, the original boot.img and a boot.img from a marsapa custom rom.

i have same problem like yours..hope someone can help..
i want the internal storage be the sdcard0..

Any progress on this? From what I figured out so far it seems that MSDC0 is the internal sd card. So from the fstab you would expect the internal sd card to always be mounted to SDCARD0. But once you insert the external sd card the internal sd card becomes SDCARD1 and the external sd card becomes SDCARD0. This cannot be the intended behaviour as it breaks file paths for apps

Related

[SOLVED]i9003 internal sd card unavailabl

hi all
my 9003 telling me the internal and external SD unavailable as you can see on the attached photo
i have 8gb card it's working fine on my pc and other nokia phone .
when i try the parted command from adb shell i can access the external card on /dev/block/mmcblk0p1
but i can't see the internal memory on /dev/block/mmcblk1p1 as the entry shows on the /etc/vold.conf .
can't mounted or formatted from UI or recovery mode
am running XXKPH with CF-ROOT-XXKPH-21.08.2011
also tried different firmware with re-partition but no luck
i think it's internal hardware problem
please advice
thanks
problem solved for now , i can get some storage space from my external mmc
as the phone can't detect the internal mmcblk1p1 and no storage space was available internal nor external seems it's h/w issue.
1st i used parted to make partition on my external mmc from the adb shell
2nd edit the vold.fstab
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
#end line ## keep this line
3rd edit the /etc/fstab
/dev/block/stl11 /cache rfs rw
/dev/block/mmcblk0p2 /data rfs rw
/dev/block/stl10 /datadata rfs rw
/dev/block/stl9 /system rfs rw
/dev/block/mmcblk0p1 /sdcard auto rw
now i have 4gb from my external mmc mapped to the internal , i can install apps and use my camera again
you are my saviour. i got same prob as you. now its working after follow your step.
PLease guide me as I am new to it that how could I Reterive my Internal Memory.
look at the top post!!
Hello ahmedjust
i want to know how to 2nd edit the vold.fstab plaese help me? aed when i give # internal sdcard
says internal : not found how to solved this problem?
i solved it by changing the phone
I have this problem too, I think Internal hardisk has problem .
Same Problem, I guess
Hi all,
I think i have the same issue..my SD card is not being detected , its sayin "Mount SD Card" and that field is disabled probably because it doesnt know that its there even though i have an external 16 GB card inserted..
fyi here are the specs :
model : GT-I9003
Android version : 2.3.7
Internal Memory : 1.87GB
SD Card : Unavailable
Baseband : I9003XXKPQ
ROM : MIUI 2.3.30
Here is the thing, i have flashed my phone about a 100 times, with various ROMS including stock XXKPE,XXKPQ (latest) and still no success
Also, the funny thing is, only 12 gb of my 16 gb external sd is usable so im guessing the 4 gb is being used internally by the phone for the default 2 + 2 gb of samsung galaxy s
on reboot to recovery, when i go to --> install from sd card, it says E: cant mount \sdcard
whereas when i go to --> install from internal sd card, it shows me all the files,folders on my external sd card
Another thing ive seen is when trying to clear cache it says :
E:format_volume: rfs format failed on /dev/block/mmcblk0p3
-------------
Now all said and done, i just wanted some sort of idea whether i should go ahead with this solution because im very sure its the same problem..ive inserted my external sd card on other samsung galaxy s and it works fine..and ive tried inserting other external sd cards onto my phone but it doesnt get mounted..
Thanks!
Same Problem
I think I have the same problem! Will report back if the solution works! It seemed so bazaar, I didn't think anyone else had it.
ahmedjust said:
hi all
my 9003 telling me the internal and external SD unavailable as you can see on the attached photo
i have 8gb card it's working fine on my pc and other nokia phone .
when i try the parted command from adb shell i can access the external card on /dev/block/mmcblk0p1
but i can't see the internal memory on /dev/block/mmcblk1p1 as the entry shows on the /etc/vold.conf .
can't mounted or formatted from UI or recovery mode
am running XXKPH with CF-ROOT-XXKPH-21.08.2011
also tried different firmware with re-partition but no luck
i think it's internal hardware problem
please advice
thanks
problem solved for now , i can get some storage space from my external mmc
as the phone can't detect the internal mmcblk1p1 and no storage space was available internal nor external seems it's h/w issue.
1st i used parted to make partition on my external mmc from the adb shell
2nd edit the vold.fstab
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
#end line ## keep this line
3rd edit the /etc/fstab
/dev/block/stl11 /cache rfs rw
/dev/block/mmcblk0p2 /data rfs rw
/dev/block/stl10 /datadata rfs rw
/dev/block/stl9 /system rfs rw
/dev/block/mmcblk0p1 /sdcard auto rw
now i have 4gb from my external mmc mapped to the internal , i can install apps and use my camera again
Click to expand...
Click to collapse
ihave a same problem but in step 2 edit the vold.fstab
i cant because there is no way to replace vold.fstab root explorer dosent run and adb cant get sdcard for replace vol.fstab anyone can help?
kghai3 said:
Hi all,
I think i have the same issue..my SD card is not being detected , its sayin "Mount SD Card" and that field is disabled probably because it doesnt know that its there even though i have an external 16 GB card inserted..
fyi here are the specs :
model : GT-I9003
Android version : 2.3.7
Internal Memory : 1.87GB
SD Card : Unavailable
Baseband : I9003XXKPQ
ROM : MIUI 2.3.30
Here is the thing, i have flashed my phone about a 100 times, with various ROMS including stock XXKPE,XXKPQ (latest) and still no success
Also, the funny thing is, only 12 gb of my 16 gb external sd is usable so im guessing the 4 gb is being used internally by the phone for the default 2 + 2 gb of samsung galaxy s
on reboot to recovery, when i go to --> install from sd card, it says E: cant mount \sdcard
whereas when i go to --> install from internal sd card, it shows me all the files,folders on my external sd card
Another thing ive seen is when trying to clear cache it says :
E:format_volume: rfs format failed on /dev/block/mmcblk0p3
-------------
Now all said and done, i just wanted some sort of idea whether i should go ahead with this solution because im very sure its the same problem..ive inserted my external sd card on other samsung galaxy s and it works fine..and ive tried inserting other external sd cards onto my phone but it doesnt get mounted..
Thanks!
Click to expand...
Click to collapse
its the same problem mate... see my post here... now my problem solved using above method.. the only thing is, every time the device restart or on from battery drained, need to configure everything back including APN for data connectivity..
---------- Post added at 10:31 PM ---------- Previous post was at 10:19 PM ----------
kasra_eminem said:
ihave a same problem but in step 2 edit the vold.fstab
i cant because there is no way to replace vold.fstab root explorer dosent run and adb cant get sdcard for replace vol.fstab anyone can help?
Click to expand...
Click to collapse
install any root kernel into your phone 1st.. then put it into recovery mode.. connect to pc and run android sdk... type command "adb push c:\(location of vold.fstab file in your pc) \system\etc\" and enter.. type without the " and ().. this way you will push the file from your pc into your phone and it will replace the previous one..
example : adb push c:\users\anplugged\desktop\vold.fstab /system/etc/
have a try mate.. good luck...
thanks to you.
ahmedjust said:
hi all
my 9003 telling me the internal and external SD unavailable as you can see on the attached photo
i have 8gb card it's working fine on my pc and other nokia phone .
when i try the parted command from adb shell i can access the external card on /dev/block/mmcblk0p1
but i can't see the internal memory on /dev/block/mmcblk1p1 as the entry shows on the /etc/vold.conf .
can't mounted or formatted from UI or recovery mode
am running XXKPH with CF-ROOT-XXKPH-21.08.2011
also tried different firmware with re-partition but no luck
i think it's internal hardware problem
please advice
thanks
problem solved for now , i can get some storage space from my external mmc
as the phone can't detect the internal mmcblk1p1 and no storage space was available internal nor external seems it's h/w issue.
1st i used parted to make partition on my external mmc from the adb shell
2nd edit the vold.fstab
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
#end line ## keep this line
3rd edit the /etc/fstab
/dev/block/stl11 /cache rfs rw
/dev/block/mmcblk0p2 /data rfs rw
/dev/block/stl10 /datadata rfs rw
/dev/block/stl9 /system rfs rw
/dev/block/mmcblk0p1 /sdcard auto rw
now i have 4gb from my external mmc mapped to the internal , i can install apps and use my camera again
Click to expand...
Click to collapse
thanks mate... This solved my issue... Just one more thing can use more than 4gb from the external sd?
redcarullo said:
thanks mate... This solved my issue... Just one more thing can use more than 4gb from the external sd?
Click to expand...
Click to collapse
can I answer your question on behalf of ahmedjust....? yes you can mate as long as you have sufficient space on your external SD...
anplugged said:
can I answer your question on behalf of ahmedjust....? yes you can mate as long as you have sufficient space on your external SD...
Click to expand...
Click to collapse
how? i need guidance please
redcarullo said:
how? i need guidance please
Click to expand...
Click to collapse
1st of all, of course you'll need a larger capacity of SD.. i.e 16gb..
to increase the external memory space, edit the 1st partition of fat32 format.. in the picture posted by ahmedjust, he created :
start end
32.8kb 4702mb <--increase the end figure to get more space on external..
But the following 3 partition must have +/- space as seen on the pic..
You just need to do the math to divide the space...
Good Luck..
Help
hi,
i was flashing poseidon rom on xxkpq when suddenly my internal sd card and external sd card just disappeared ...
could this help me solve my problem .
Thanks
plz help me i am not able to partition the external sd.
My problem: modified my phone as described in #1.
Phone boots fine, but whenever I install an app it just reboots. Any ideas?
Did you know? Editing /etc/fstab is pointless. Every time you reboot, it is replaced by a default one.
oz42 said:
Did you know? Editing /etc/fstab is pointless. Every time you reboot, it is replaced by a default one.
Click to expand...
Click to collapse
That is not true. I am a user of modified fstab file and it has been very useful to me because it saved my phone from being totally useless. I used to have "pseudo resets" errors, "sd card unexpectedly removed" errors, "force closes", but now my phone is 99% OK (1% = my internal SD is destroyed already :laugh: ). But no more errors encountered after using modified fstab, very stable for 3 weeks and counting.

how do i get internal storage to show on miui without a sdcard?

how do i get internal storage to show on miui without a sdcard?
What exactly do you mean show?
Sent from my LG-P999 using xda premium
I believe I may be having same issue so i will explain. My phone after flashing to MIUI cannot jse a sd card I put in for what ever reason when I insert one it gets super hot and just tells me card is ready for removal with no way to mount. Before Rom Manager would allow me to use internal memory for roms or downloads from browser but after miui I cannot even find the internal memory. We just want a way to access it.
Just flashed miui on my G2x and an experiencing the same problem...
If you don't have an SD card and want to make the internal SD act as the external click here and flash the external secondary miui one.
I want to try the MOD you posted but can't download it to phone because of no sdcard problem.
ahddm said:
I want to try the MOD you posted but can't download it to phone because of no sdcard problem.
Click to expand...
Click to collapse
What I did was restore to gingerbread or cm7. (basically a ROM that can discover the internal sd.) Then i connected it to my computer, put the mod and MIUI on my internal SD, wiped data, wiped cache, flashed miui, flashed the mod and bingo
I think I have a solution for you. You will need a file manager with a text editor built in like Root Explorer. Brows to /system/etc and open vold.fstab. This is the file that tells the OS where to mount the storage. Yours is most likely trying to mount the internal on the external sd which is default. All you have to do to change this is to change the vold.fstab from this:
Code:
# Internal SD card
dev_mount emmc /mnt/sdcard/_InternalSD 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
# External SD card
dev_mount sdcard /mnt/sdcard auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
To this:
Code:
# Internal SD card
dev_mount emmc /mnt/sdcard 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
# External SD card
dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1

[SOLVED] How to use External SD instead of Internal Storage of MSI Enjoy Tablet

Problem:
After Upgrading to 0224 official MSI ROM, you'll have a new issue with the SD card, it means your SD card is totally unusable and all the apps know the internal 4GB memory (in fact about 2GB) as the primary and the only alternative memory of device, so all related data files will be on "storage/Android/data/".
Solution:
With this modification we'll completely switch the Internal Storage of the device (4GB) with your External SD card (up to 32GB) and after this all the data files will be on "External SD/Android/data/"; but the only issue is for the labels, after switching:
4GB Internal Storage as external_sd ("/mnt/extrenal_sd')
(up to)32GB External SD as flash or sdcard ("/mnt/storage")
Requirements:
1- Root access (use Gingerbreak, see here)
2- Root Explorer or any app you can modify the file "/system/etc/vold.fstab" with
3- Overwriting the attached file or simply changing the codes as below and Reboot:
Before:
Code:
dev_mount flash /mnt/storage 1 /devices/virtual/mtd/mtd9/mtdblock9
dev_mount sdcard /mnt/external_sd auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
After:
Code:
dev_mount sdcard /mnt/external_sd auto /devices/virtual/mtd/mtd9/mtdblock9
dev_mount flash /mnt/storage 1 /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
talk about persistence...
Many thanks goldie, I will try this out later.
Regards
Is this SD card problem still an issue with the latest 0306 firmware? I'm about to upgrade.
bradfree63 said:
Is this SD card problem still an issue with the latest 0306 firmware? I'm about to upgrade.
Click to expand...
Click to collapse
I found this Issue on the latest Enjoy10's firmware 0224. you can try the latest ver. for your tab; any problem by the storage, just try my way!

[MOD][SWAP]Swap Internal SD card and External SD card of most of the Android™ device

This feature is now native in Android 6.0, just follow the below steps to turn External SD card into Internal storage on Marshmallow
Go to “Settings” --> then select “Storage”.
Select SD Card and then tap the menu button on top-right corner or your native menu button and select “Settings” from there.
Select “Format as Internal”
Select “Erase & Format”.
Wait for some time as your SD card will be formatted.
Reboot the device.
The below method no longer work on any of the new devices running KitKat and later. Please don't use this method anymore else you would mess up your storage system ​EDIT: This doesn't seem to work on SAMSUNG devices so please don't try on them. This works on most of the MediaTek devices and few Sony devices. If you were able to successfully swap please mention your device name.Don't forget to read the warning.
Warning: Please do a complete CWM Backup of your device, so that if anything goes wrong you can revert back to original state. Please don't blame me if you forget to do a complete CWM Backup
I have a phone with me Xperia J and it has only 2 GB of Internal memory for apps but data for few HD games like NFSMW is 1.8 GB i.e nearly 2 GB and if I paste the data in external SD then it will not be detected, then how can we install and play these HD games on devices like these?
The only solution to this is swapping Android's external and internal SD cards so that I can get my SD card's size as internal memory.
Discliamer:I am not responsible if you mess up with your phone, for bricked phones and dead sd cards. Try this on your own risk.
Then how can we do this?
Its very simple by modifying the code in vold.fstab file which is present in ext folder of Android's system folder.
This file so called vold.fstab has mounting information for the device to mount the SD cards so change the code to swap the SD cards so that ext_card will be mounted as sdcard and sdcard will be mounted as ext_card.
Note: This will work on any Android phone with internal and external SD cards.
Here is the procedure with an example I have done on Xperia J's vold.fstab file.
1. First of all your phone must be ROOTED, If its not then STOP here and get the Root first.
2. Download Root Explorer or any other such explorer which can explore root directory of device.
3. Navigate to system/etc folder mount it as rw(read/write).
4. There you will find vold.fstab file, copy it to your sdcard.
5. Then in your PC open the file in an Text Editor.
6. Find the lines like these,
Code:
dev_mount sdcard /mnt/sdcard [email protected] /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard2 /mnt/ext_card auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
7. Replace sdcard with ext_card and ext_card with sdcard in those two lines.
8. Again navigate to system/etc change the name of the current vold.fstab file to vold.fstab.old (backup).
9. Paste the new edited vold.fstab file there and long press on it you will get a menu from there change the permissions to "rw_r_ _r_ _" this is important.
10. Reboot the system.
11. If you want to restore changes, delete the edited vold.fstab file and rename the vold.fstab.old file as vold.fstab and reboot.
All the best.
Great fix for common problem
But I need some help. When I open the text file on my PC I am not sure which lines to swap. Any assistance will be appreciated.I am attaching a copy of my text file. Thanks
Techno'CRACKS' said:
I have a phone with me Xperia J and it has only 2 GB of Internal memory for apps but data for few HD games like NFSMW is 1.8 GB i.e nearly 2 GB and if I paste the data in external SD then it will not be detected, then how can we install and play these HD games on devices like these?
The only solution to this is swapping Android's external and internal SD cards so that I can get my SD card's size as internal memory.
Discliamer:I am not responsible if you mess up with your phone and for bricked phones and dead sd cards.
Then how can we do this?
Its very simple by modifying the code in vold.fstab file which is present in ext folder of Android's system folder.
This file so called vold.fstab has mounting information for the device to mount the SD cards so change the code to swap the SD cards so that ext_card will be mounted as sdcard and sdcard will be mounted as ext_card.
Note: This will work on any Android phone with internal and external SD cards.
Here is the procedure with an example I have done on Xperia J's vold.fstab file.
1. First of all your phone must be ROOTED, If its not then STOP here and get the Root first.
2. Download Root Explorer or any other such explorer which can explore root directory of device.
3. Navigate to system/etc folder mount it as rw(read/write).
4. There you will find vold.fstab file, copy it to your sdcard.
5. Then in your PC open the file in an Text Editor.
6. Find the lines like these,
7. Replace sdcard with ext_card and ext_card with sdcard in these two lines.
8. Again navigate to system/etc change the name of the current vold.fstab file to vold.fstab.old (backup).
9. Paste the new edited vold.fstab file there and long press on it you will get a menu from there change the permissions to "rw_r_ _r_ _" this is important.
10. Reboot the system.
11. If any thing goes wrong, delete the edited vold.fstab file and rename the vold.fstab.old file as vold.fstab and reboot.
Click to expand...
Click to collapse
Replace sdcard with sdcard2 and viceversa in your vold.fstab
Sent from my Micromax A110 using xda app-developers app
Techno'CRACKS' said:
I have a phone with me Xperia J and it has only 2 GB of Internal memory for apps but data for few HD games like NFSMW is 1.8 GB i.e nearly 2 GB and if I paste the data in external SD then it will not be detected, then how can we install and play these HD games on devices like these?
The only solution to this is swapping Android's external and internal SD cards so that I can get my SD card's size as internal memory.
Discliamer:I am not responsible if you mess up with your phone and for bricked phones and dead sd cards.
Then how can we do this?
Its very simple by modifying the code in vold.fstab file which is present in ext folder of Android's system folder.
This file so called vold.fstab has mounting information for the device to mount the SD cards so change the code to swap the SD cards so that ext_card will be mounted as sdcard and sdcard will be mounted as ext_card.
Note: This will work on any Android phone with internal and external SD cards.
Here is the procedure with an example I have done on Xperia J's vold.fstab file.
1. First of all your phone must be ROOTED, If its not then STOP here and get the Root first.
2. Download Root Explorer or any other such explorer which can explore root directory of device.
3. Navigate to system/etc folder mount it as rw(read/write).
4. There you will find vold.fstab file, copy it to your sdcard.
5. Then in your PC open the file in an Text Editor.
6. Find the lines like these,
7. Replace sdcard with ext_card and ext_card with sdcard in these two lines.
8. Again navigate to system/etc change the name of the current vold.fstab file to vold.fstab.old (backup).
9. Paste the new edited vold.fstab file there and long press on it you will get a menu from there change the permissions to "rw_r_ _r_ _" this is important.
10. Reboot the system.
11. If any thing goes wrong, delete the edited vold.fstab file and rename the vold.fstab.old file as vold.fstab and reboot.
Click to expand...
Click to collapse
Hi!
If it's not a problem can you modify my vold.fstab for me thanks.
My Device is a Sony Xperia E
Here is the link for my vold.fstab: http://www.mediafire.com/download/3wq6d5kr8wcy673/vold.fstab
edit: tried it manually nothing happens!
Trying to swap external with internal on Sony Xperia Z
Hi there - I'm very new to this forum - and I have looked everywhere for a solution but cannot find it.
Sony Xperia Z - 6603 with Android version 4.2.2 - Build number 10.3.1.A.0.244
Problem: Want to change internal memory with 64GB external MicroSD card because I use to many applications on my phone and it constantly reports that it is running out of storage when installing more apps.
What have I tried so far: I've rooted the phone - and I've looked at the vold.fstab
Here is what it says in the file:
dev_mount ext_card /storage/removable/sdcard1
auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount usbdisk /storage/removable/usbdisk
auto /devices/platfrom/msm_hsusb_host
What do I have to change in this vold.fstab in directory /system/etc to make is swap my external SD card with the internal memory?
It does not show in the file that there is a /sdcard0 or even a /sdcard
Any help would be appreciated as I'm already been trying loads that all do not work - simply because they either only work with 4.2.1 or another builds.
If there is a thread that has already solved this problem then please direct me to that - again, I could not find it anywhere.
Thanks
cptnkirk said:
Hi there - I'm very new to this forum - and I have looked everywhere for a solution but cannot find it.
Sony Xperia Z - 6603 with Android version 4.2.2 - Build number 10.3.1.A.0.244
Problem: Want to change internal memory with 64GB external MicroSD card because I use to many applications on my phone and it constantly reports that it is running out of storage when installing more apps.
What have I tried so far: I've rooted the phone - and I've looked at the vold.fstab
Here is what it says in the file:
dev_mount ext_card /storage/removable/sdcard1
auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount usbdisk /storage/removable/usbdisk
auto /devices/platfrom/msm_hsusb_host
What do I have to change in this vold.fstab in directory /system/etc to make is swap my external SD card with the internal memory?
It does not show in the file that there is a /sdcard0 or even a /sdcard
Any help would be appreciated as I'm already been trying loads that all do not work - simply because they either only work with 4.2.1 or another builds.
If there is a thread that has already solved this problem then please direct me to that - again, I could not find it anywhere.
Thanks
Click to expand...
Click to collapse
Did you manage to swap storage with 4.2 yet ?
cptnkirk said:
Here is what it says in the file vold.fstab
dev_mount ext_card /storage/removable/sdcard1
auto /devices/platform/msm_sdcc.3/mmc_host
dev_mount usbdisk /storage/removable/usbdisk
auto /devices/platfrom/msm_hsusb_host
What do I have to change in this vold.fstab in directory /system/etc to make is swap my external SD card with the internal memory?
It does not show in the file that there is a /sdcard0 or even a /sdcard
Any help would be appreciated as I'm already been trying loads that all do not work - simply because they either only work with 4.2.1 or another builds.
If there is a thread that has already solved this problem then please direct me to that - again, I could not find it anywhere.
Thanks
Click to expand...
Click to collapse
I found same line in my Xperia Z1
Please tell us what is the coding for these kind of lines ?????
i followed the guide but now my device won't lead, android boot screen is on for ages and it wont load up the system.
"11. If any thing goes wrong, delete the edited vold.fstab file and rename the vold.fstab.old file as vold.fstab and reboot."
Well i can't do that since my system wont load up and only thing i can do is go into recovery mode. Any tips how i can swap it back since i can't access the storage from intrnal sd or boot the phone? Did i brick the device?
alscaul said:
i followed the guide but now my device won't lead, android boot screen is on for ages and it wont load up the system.
"11. If any thing goes wrong, delete the edited vold.fstab file and rename the vold.fstab.old file as vold.fstab and reboot."
Well i can't do that since my system wont load up and only thing i can do is go into recovery mode. Any tips how i can swap it back since i can't access the storage from intrnal sd or boot the phone? Did i brick the device?
Click to expand...
Click to collapse
Try doing a factory reset, if that doesn't work; flash a new ROM
alscaul said:
i followed the guide but now my device won't lead, android boot screen is on for ages and it wont load up the system.
"11. If any thing goes wrong, delete the edited vold.fstab file and rename the vold.fstab.old file as vold.fstab and reboot."
Well i can't do that since my system wont load up and only thing i can do is go into recovery mode. Any tips how i can swap it back since i can't access the storage from intrnal sd or boot the phone? Did i brick the device?
Click to expand...
Click to collapse
you need to flash the old vold.fstab file through CWM recovery
just put the file in a flashable zip and flash it with cwm recovery
Help
Techno'CRACKS' said:
I have a phone with me Xperia J and it has only 2 GB of Internal memory for apps but data for few HD games like NFSMW is 1.8 GB i.e nearly 2 GB and if I paste the data in external SD then it will not be detected, then how can we install and play these HD games on devices like these?
The only solution to this is swapping Android's external and internal SD cards so that I can get my SD card's size as internal memory.
Discliamer:I am not responsible if you mess up with your phone and for bricked phones and dead sd cards.
Then how can we do this?
Its very simple by modifying the code in vold.fstab file which is present in ext folder of Android's system folder.
This file so called vold.fstab has mounting information for the device to mount the SD cards so change the code to swap the SD cards so that ext_card will be mounted as sdcard and sdcard will be mounted as ext_card.
Note: This will work on any Android phone with internal and external SD cards.
Here is the procedure with an example I have done on Xperia J's vold.fstab file.
1. First of all your phone must be ROOTED, If its not then STOP here and get the Root first.
2. Download Root Explorer or any other such explorer which can explore root directory of device.
3. Navigate to system/etc folder mount it as rw(read/write).
4. There you will find vold.fstab file, copy it to your sdcard.
5. Then in your PC open the file in an Text Editor.
6. Find the lines like these,
7. Replace sdcard with ext_card and ext_card with sdcard in these two lines.
8. Again navigate to system/etc change the name of the current vold.fstab file to vold.fstab.old (backup).
9. Paste the new edited vold.fstab file there and long press on it you will get a menu from there change the permissions to "rw_r_ _r_ _" this is important.
10. Reboot the system.
11. If any thing goes wrong, delete the edited vold.fstab file and rename the vold.fstab.old file as vold.fstab and reboot.
Click to expand...
Click to collapse
I did exactly what you said with GT-N5110, rooted and running 4.2.2, and now when i boot it it gets stuck at the SAMSUNG glowing logo. I wiped all the data and that didnt work. Any suggestions???
KStriker8 said:
I did exactly what you said with GT-N5110, rooted and running 4.2.2, and now when i boot it it gets stuck at the SAMSUNG glowing logo. I wiped all the data and that didnt work. Any suggestions???
Click to expand...
Click to collapse
You might have had your home launcher installed in your internal memory. Try calling yourself and see if the phone responds.
Techno'CRACKS' said:
I have a phone with me Xperia J and it has only 2 GB of Internal memory for apps but data for few HD games like NFSMW is 1.8 GB i.e nearly 2 GB and if I paste the data in external SD then it will not be detected, then how can we install and play these HD games on devices like these?
The only solution to this is swapping Android's external and internal SD cards so that I can get my SD card's size as internal memory.
Discliamer:I am not responsible if you mess up with your phone and for bricked phones and dead sd cards.
Then how can we do this?
Its very simple by modifying the code in vold.fstab file which is present in ext folder of Android's system folder.
This file so called vold.fstab has mounting information for the device to mount the SD cards so change the code to swap the SD cards so that ext_card will be mounted as sdcard and sdcard will be mounted as ext_card.
Note: This will work on any Android phone with internal and external SD cards.
Here is the procedure with an example I have done on Xperia J's vold.fstab file.
1. First of all your phone must be ROOTED, If its not then STOP here and get the Root first.
2. Download Root Explorer or any other such explorer which can explore root directory of device.
3. Navigate to system/etc folder mount it as rw(read/write).
4. There you will find vold.fstab file, copy it to your sdcard.
5. Then in your PC open the file in an Text Editor.
6. Find the lines like these,
7. Replace sdcard with ext_card and ext_card with sdcard in these two lines.
8. Again navigate to system/etc change the name of the current vold.fstab file to vold.fstab.old (backup).
9. Paste the new edited vold.fstab file there and long press on it you will get a menu from there change the permissions to "rw_r_ _r_ _" this is important.
10. Reboot the system.
11. If any thing goes wrong, delete the edited vold.fstab file and rename the vold.fstab.old file as vold.fstab and reboot.
Click to expand...
Click to collapse
I use ACER Liquid E2 , and I can not found line at step 7 could you help me ?
Want to change internal memory with 16GB external MicroSD card
Hello Team,
First of would like to thank you all for doing this great job.
i am following xda-developers.com since 3 years and more...
when i had my first android mobile.
Samsung Galaxy Y
Then moved to Samsung Galaxy S2
then Karbonn A9
Currently i am using my Sony Xperia M
i have followed your current forum, the only problem arouse here is when i try to mount the system/etc folder as read/write.
cellphone reboots (i understand it's required for better purpose)
however the mount permission doesn't change, it's still the same.
due to which i am not able to paste the edit vold.fstab file under system/etc folder.
Please help me on this, i would like to get this fix asap.
bcoz of which i can't play games on this.
I am missing my karbonn a9
i used to play asphalt 7, NFS, Modern Combat 4, assassin's creed.
Regards,
Farhan.
[email protected]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Techno'CRACKS' said:
I have a phone with me Xperia J and it has only 2 GB of Internal memory for apps but data for few HD games like NFSMW is 1.8 GB i.e nearly 2 GB and if I paste the data in external SD then it will not be detected, then how can we install and play these HD games on devices like these?
The only solution to this is swapping Android's external and internal SD cards so that I can get my SD card's size as internal memory.
Discliamer:I am not responsible if you mess up with your phone and for bricked phones and dead sd cards.
Then how can we do this?
Its very simple by modifying the code in vold.fstab file which is present in ext folder of Android's system folder.
This file so called vold.fstab has mounting information for the device to mount the SD cards so change the code to swap the SD cards so that ext_card will be mounted as sdcard and sdcard will be mounted as ext_card.
Note: This will work on any Android phone with internal and external SD cards.
Here is the procedure with an example I have done on Xperia J's vold.fstab file.
1. First of all your phone must be ROOTED, If its not then STOP here and get the Root first.
2. Download Root Explorer or any other such explorer which can explore root directory of device.
3. Navigate to system/etc folder mount it as rw(read/write).
4. There you will find vold.fstab file, copy it to your sdcard.
5. Then in your PC open the file in an Text Editor.
6. Find the lines like these,
7. Replace sdcard with ext_card and ext_card with sdcard in these two lines.
8. Again navigate to system/etc change the name of the current vold.fstab file to vold.fstab.old (backup).
9. Paste the new edited vold.fstab file there and long press on it you will get a menu from there change the permissions to "rw_r_ _r_ _" this is important.
10. Reboot the system.
11. If any thing goes wrong, delete the edited vold.fstab file and rename the vold.fstab.old file as vold.fstab and reboot.
Click to expand...
Click to collapse
Need help
Brother, I am using spice mi 425 mobile running on ICS version. The vold.fstab file is very different from your version. Please kindly look into it and check whether it can be modified, so that my external can be swapped into internal and vice verse..
I am very new at rooting and hacking android stuff..
But i really want to expand my 2gb internal storage to 16gb.
Sony Xperia E Single Sim C1505
So i tried to change the lines a few times.. but nothing happened :/
Here is my vold file.. could you please take a look at it, modify it and send it via PM back to me?
I would be really happy :>
Thanks guys :good:
erm blur here..hope anyone here can help me to edit this ..vold.fstab from my s2 device
Help I messed up...
I edited my void.stf
## 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/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
By changing sdcard auto into ext_card and
sdcard1 to sdcard 2 and vice versa but now I'm all messed up...
My phone is unable to detect my sdcard anymore what should I do help me please
help me please :">
Techno'CRACKS' said:
I have a phone with me Xperia J and it has only 2 GB of Internal memory for apps but data for few HD games like NFSMW is 1.8 GB i.e nearly 2 GB and if I paste the data in external SD then it will not be detected, then how can we install and play these HD games on devices like these?
The only solution to this is swapping Android's external and internal SD cards so that I can get my SD card's size as internal memory.
Discliamer:I am not responsible if you mess up with your phone and for bricked phones and dead sd cards.
Then how can we do this?
Its very simple by modifying the code in vold.fstab file which is present in ext folder of Android's system folder.
This file so called vold.fstab has mounting information for the device to mount the SD cards so change the code to swap the SD cards so that ext_card will be mounted as sdcard and sdcard will be mounted as ext_card.
Note: This will work on any Android phone with internal and external SD cards.
Here is the procedure with an example I have done on Xperia J's vold.fstab file.
1. First of all your phone must be ROOTED, If its not then STOP here and get the Root first.
2. Download Root Explorer or any other such explorer which can explore root directory of device.
3. Navigate to system/etc folder mount it as rw(read/write).
4. There you will find vold.fstab file, copy it to your sdcard.
5. Then in your PC open the file in an Text Editor.
6. Find the lines like these,
7. Replace sdcard with ext_card and ext_card with sdcard in these two lines.
8. Again navigate to system/etc change the name of the current vold.fstab file to vold.fstab.old (backup).
9. Paste the new edited vold.fstab file there and long press on it you will get a menu from there change the permissions to "rw_r_ _r_ _" this is important.
10. Reboot the system.
11. If any thing goes wrong, delete the edited vold.fstab file and rename the vold.fstab.old file as vold.fstab and reboot.
Click to expand...
Click to collapse
Can you guys please edit it for me :">
Seems like the step no. 6 is missing the information required..

[TWRP][TUT] How to mount an SD card to a folder in TWRP recovery

Hell-o m8s.
It's annoying that some TWRP recoveries (for specific phones) don't mount SD cards properly (actually always)(and for me it's showing both internal&external storage but with the same capacity/empty space and when I select my card it uses the internal storage instead, if you know how to fix it pls tell me).
Anyway here I found how to mount an SD card to a folder in TWRP:
- In recovery mode (TWRP) go to "Advanced --> File Manager" and find an empty folder (you can choose any empty folder you want even in your internal storage) get its name/directory (in my case I used "/sdcard1")
hit back and go to "Terminal" (which is "Advanced --> Terminal")
in Terminal type this command:
mount -rw /dev/block/mmcblk1p1 "/yourEmptyFolder'sDirectory"
example:
mount -rw /dev/block/mmcblk1p1 /sdcard1
if it doesn't work make sure you've entered the correct block of
your SD card (normally the block's name is "mmcblk1p1" but it could be different sometimes) or try mounting the system partition from "Mount"
The folder will be unmounted when you exit/restart TWRP so if you want to use your card in TWRP again type the command again.
(it's not as helpful as it looks, but there are some uses for it like:
copying files from a computer when MTP is not working for some reason or copying files from the internal storage directly to your SD card, and copying backups and ROMs, saving storage...etc.)
BTW you can't Backup your device directly to your card, you'll have to move it to your SD, and if you want to use the backup copy it to your internal storage (in the TWRP folder).
Hope it helped you.

Categories

Resources