[SOLVED] How to use External SD instead of Internal Storage of MSI Enjoy Tablet - Miscellaneous Android Development

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!

Related

[Q] Questions about mount points and external SD cards

I posted this in another thread ... and realized it really shouldn't be there, but it should be in this forum, so sorry for the double post.
I modified my vold.fstab to mount my external SD card as internal. That did work (sort of) ... the phone see's my 16 GIG SD card as the internal "SD card", (but no more USB and the 5 GIG internal is now missing altogether, so I have the 1.5 GIG emmc and my 16 GIG ) I can live with that, but when I use Apps-2-SD program, it does not move the apps to my 16 GIG card, it says that it did, but the apps are still sitting on the phone's emmc. I have to manually move the apps via root explorer to my 16 GIG card. So something is still not correct, because apps-2-sd is not doing it. What could be causing this ?
One of the biggest blunders of all time was when LG decided to only allow their tiny 5 GIG internal "sdcard" to be the main / first mount point. WHAT WERE THEY THINKING ???
If anyone has any more thoughts or ideas about mounting external's as internal's, PLEASE speak up
Currently this is what the phone is reporting:
ROM: MIUI-109300
Kernel: Cyanogenmod-2.6.32.45
Storage: Internal - 1.50 / SD Card 16 GIG
This is my current vold.fstab
# 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
.
Has anyone tried this method: http://forum.xda-developers.com/showthread.php?t=1158377 ??
Please post your results.

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

External SD Card

How do you move apps and data to to external sd card on P920?
My internal sd card is full, so bought an external one, but can't move any of the apps to external, every-time I try "move to sd card" gives out error memory is full no space to move. I know internal is full but how can I ask it to move it to external? Which for the moment is sitting there doing nothing.
Thanks
You can't move apps to the ext. SD, just to internal sd card. The ext. SD is for your music, pics, videos,...
Gesendet von meinem LG P920 - Optimus 3D
There is an app on the play store called GL to SD .. that should help get large games and large apps onto your new ext SD card
Sent from my LG-P920 using xda app-developers app
coolfi said:
How do you move apps and data to to external sd card on P920?
My internal sd card is full, so bought an external one, but can't move any of the apps to external, every-time I try "move to sd card" gives out error memory is full no space to move. I know internal is full but how can I ask it to move it to external? Which for the moment is sitting there doing nothing.
Thanks
Click to expand...
Click to collapse
if you have rooted your fone, use Titanium Backup to move them batch from internal memory to SD card using the "batch" option.
schubeir
Thanks all, will try some of those suggestions, but I would have thought a rom with that feature is a must.
Yes my phone is rooted, could I not rename external sd card to act as internal and mv internal to backup or something? or combine both the external and internal as one large space? I've barely begun to add things yet.
There is an app called Directory Bind. With this app you can move entire directories to ext_sd. Just google it, or pm me. Than I search for the link the time I come home again.
Gesendet von meinem LG-P920 mit Tapatalk 2
My phone dosent read any SD card
Hi
I have P925 i flashed on it V21E then install many custom rom and i have the same problem my phone cannot read my sd card
then i try to downgarde to original v20p and also it not work
any help please
schubeir said:
if you have rooted your fone, use Titanium Backup to move them batch from internal memory to SD card using the "batch" option.
Click to expand...
Click to collapse
Titanium Backup (and the Android system) can move apps from the internal memory to the internal SDcard but they cannot move apps from the internal SDcard to the external SDcard, I think.
maybe you need move some movies or photos to external SD card instead of the apps
Swap cards
Hi,
You can swap your external and internal cards.
Need root.
Copy everything from internal card to external card.
Install ES File Explorer.
In Settings-->Tick Mount File System
Tick Up to root
Tick Root Explorer
Click Up to get to root
Goto system
Goto etc
Click on vold.fstab-->Open As text
You should back up this file just in case
Change the following 2 lines:
dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
to:
dev_mount extsdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
Save
Reboot
lisewski said:
Hi,
You can swap your external and internal cards.
Need root.
Copy everything from internal card to external card.
Install ES File Explorer.
In Settings-->Tick Mount File System
Tick Up to root
Tick Root Explorer
Click Up to get to root
Goto system
Goto etc
Click on vold.fstab-->Open As text
You should back up this file just in case
Change the following 2 lines:
dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
dev_mount extsdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
to:
dev_mount extsdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard/_ExternalSD auto /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
Save
Reboot
Click to expand...
Click to collapse
Not working for me, i'm using GB 21e, do i have to change other file, i.e.default.prop, build.prop, etc
Thank you

How to open / modify "vold" and "sdcard" file, Android KitKat 4.4.4

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

Swap back to internal memory

Hi everyone!
I've installed CM10 (4.1.2) from SD card. Now I want use device without SD card. But applications don't work without external SD card (No external storage available). I suppose this is because CM swapped internal storage with the SD card.
Now I want swap it back.
I've found vold.fstab file located in /system/etc folder. It contains:
dev_mount sdcard /storage/sdcard0 auto /devices/platform/msm_sdcc.3/mmc_host/mmc1
Please help.
Best regards,
Alex

Categories

Resources