[Q] how do i set it up for apps to install on sd ? - Galaxy Tab 2 Q&A, Help & Troubleshooting

Hi everyone ,seeing how my tablet slows down every time i install an app i bought myself and sd card class 10,16gb.
I just installed the freshest cm10 build now i want to set it up so that the apps automaticly install on the sdcard ,can u guys help me out )?
Tried the foldermount ,but it`s very confusing and uncofortable.
THX in advance

Bump ? PLEASE I REALLY NEED YOUR HELP

running speed of the apps in internal storage is always faster than the one in external sd card. 4.5G internal storage usually enough for app installation. If internal sd card is not enough, maybe you should swap internal sd card and external sd card. It's better.

impliu said:
running speed of the apps in internal storage is always faster than the one in external sd card. 4.5G internal storage usually enough for app installation. If internal sd card is not enough, maybe you should swap internal sd card and external sd card. It's better.
Click to expand...
Click to collapse
Can you please tell how to swap? The vold.fstab method is no longer working.

Wiyosa said:
Can you please tell how to swap? The vold.fstab method is no longer working.
Click to expand...
Click to collapse
I don't use CM with my 3113. For my Nook HD running either CM and JB 4.2.2 or JB 4.3 there is a script. If you look at the OP in this thread,
http://forum.xda-developers.com/showthread.php?t=2062613
"LeapinLar wrote:
4. Swapping "sdcard" and "ext_sdcard" read this
"I have two zips attached below, one to install the swap feature and one to remove the feature. Just flash the one you want and on the next boot it will become effective.
I also now have a version for the official CM10.1/CM10.2 on emmc for the HD+ and HD."
Maybe this will point you in a direction to get the answer. I lack the knowledge and skills to experiment.
#!/system/bin/sh
sleep 10
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:25 /mnt/sdcard
sleep 30
mount -o bind /data/media/0 /mnt/ext_sdcard
chmod 777 /mnt/ext_sdcard
exit
You'll have to watch the name and locations, ext_sdcard might be extSdCard for the Galaxy Tab 2.7. You should consider having a .zip to flash from recovery to overwrite the experimental script. You might try ScriptManager to test running the script.

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

How to use external sd as normal sd

Hello to all,
With my desire HD my sd is used for storage all my app and games data. The internal memory is for app and I have a lot of apps and I have a 32gb sd
With my Transformer 16gb with another 32gb sd I can't have the same storage capacity of my dhd since after the instalation of some games and the download of relative resources I have my internal sd full!!
So I have discovered gltosd but it works good for gameloft and data directories but for other games such as roc or dead space which download data on different directory I can't use my external sd as storage!
Also titanium backup can't backup on my external storage but only in internal and so... Is not a safe backup!
So my question is.... Is possible to make the internal sd as system memory and external sd as normal sd??
Of course I have root and custom ROM.
Thanks
Inviato dal mio Desire HD usando Tapatalk
mattiadj said:
Hello to all,
With my desire HD my sd is used for storage all my app and games data. The internal memory is for app and I have a lot of apps and I have a 32gb sd
With my Transformer 16gb with another 32gb sd I can't have the same storage capacity of my dhd since after the instalation of some games and the download of relative resources I have my internal sd full!!
So I have discovered gltosd but it works good for gameloft and data directories but for other games such as roc or dead space which download data on different directory I can't use my external sd as storage!
Also titanium backup can't backup on my external storage but only in internal and so... Is not a safe backup!
So my question is.... Is possible to make the internal sd as system memory and external sd as normal sd??
Of course I have root and custom ROM.
Thanks
Inviato dal mio Desire HD usando Tapatalk
Click to expand...
Click to collapse
You CAN set Titanium Backup to use the external MicroSD card, which is at "/Removable/MicroSD/TitaniumBackup/". I have 382 apps and games installed on my 32GB internal storage and still have 26.31GB available. I have no apps installed on the MicroSD card, only *.zip files for ROMS and kernels and such.
sidneyk said:
You CAN set Titanium Backup to use the external MicroSD card, which is at "/Removable/MicroSD/TitaniumBackup/". I have 382 apps and games installed on my 32GB internal storage and still have 26.31GB available. I have no apps installed on the MicroSD card, only *.zip files for ROMS and kernels and such.
Click to expand...
Click to collapse
Thanks but where you have the app resources? On internal or external sd?
Inviato dal mio Desire HD usando Tapatalk
The answer to your basic question (can I make the external micro-SD card the main SD card is): yes, if and only if you are rooted.
Before I explain how, let me explain how the "internal SD card" works on the Transformer. (If you just want to know what to do, you can skip this section).
How the "internal SD card" works on the EEE Pad Transformer
Normally on Android, /data and /sdcard point to two separate file systems, one internal, and the other external. However on devices with an internal "SD card" this changes.
The simplest way to have an internal "SD card" is to simply partition the storage into two file systems, one for /data, and the other for /sdcard. Several devices do just that. The downside is that if you put too much space in /data it is effectively wasted, while too little space in /data limits the number of apps that can be installed or how much data they can store "locally".
To solve that it is possible to store the "internal SD card" data in the same filesystem as /data. A new directory was created called /data/media, all the files in the "internal SD card" are actually just files in that folder. They both therefore have the same amount of free space and total space. [1] But Android insists that /sdcard must be a FAT32-compatible file system, while /data must not be. The solution is simple. Create a fake file system driver that pretends to be fat32, but simply reads from and writes to /data/media. That is what the transformer does.
The fake FAT32-compatible filesystem is actually mounted at /mnt/sdcard. Finally there is a symbolic link called /sdcard, which points to /mnt/sdcard. There is one logical reason for doing that, which is is to make it easy change /sdcard to point to an external card. Thanks ASUS for making our job simple.
How to use an external SD card as the primary SD card
Use [highlight]adb shell[/highlight] or the Terminal Emulator app from the market to open a shell.
If the prompt ends with a "#", skip to the next step. Otherwise type [highlight]su[/highlight] (followed by enter) to get a root shell.
Type [highlight]mount -o remount,rw /[/highlight] to ensure the root file system is mounted read/write.
Type [highlight]rm /sdcard[/highlight]
Type [highlight]ln -s /Removable/MicroSD /sdcard[/highlight]
reboot
That should do it. One last thing you may want to do is to to move the files from the "internal SD card" to the external one, or delete the files stored there to free up space. To do this you can use the built-in File Explorer. From the menu in the top right, uncheck the "hide system files" option. Now you can find the "internal SD card" at /mnt/sdcard. Delete the files or copy them to /sdcard as you see fit.
Footnote:
[1] Oddly this means that unless you do what I've outlined in this post, using the built-in apps2sd functionality simply wastes space.
Not OP, but appreciate the great explanation.
Sent from my Transformer TF101 using xda premium
jsmith45 said:
The answer to your basic question (can I make the external micro-SD card the main SD card is): yes, if and only if you are rooted.
Before I explain how, let me explain how the "internal SD card" works on the Transformer. (If you just want to know what to do, you can skip this section).
How the "internal SD card" works on the EEE Pad Transformer
Normally on Android, /data and /sdcard point to two separate file systems, one internal, and the other external. However on devices with an internal "SD card" this changes.
The simplest way to have an internal "SD card" is to simply partition the storage into two file systems, one for /data, and the other for /sdcard. Several devices do just that. The downside is that if you put too much space in /data it is effectively wasted, while too little space in /data limits the number of apps that can be installed or how much data they can store "locally".
To solve that it is possible to store the "internal SD card" data in the same filesystem as /data. A new directory was created called /data/media, all the files in the "internal SD card" are actually just files in that folder. They both therefore have the same amount of free space and total space. [1] But Android insists that /sdcard must be a FAT32-compatible file system, while /data must not be. The solution is simple. Create a fake file system driver that pretends to be fat32, but simply reads from and writes to /data/media. That is what the transformer does.
The fake FAT32-compatible filesystem is actually mounted at /mnt/sdcard. Finally there is a symbolic link called /sdcard, which points to /mnt/sdcard. There is one logical reason for doing that, which is is to make it easy change /sdcard to point to an external card. Thanks ASUS for making our job simple.
How to use an external SD card as the primary SD card
Use [highlight]adb shell[/highlight] or the Terminal Emulator app from the market to open a shell.
If the prompt ends with a "#", skip to the next step. Otherwise type [highlight]su[/highlight] (followed by enter) to get a root shell.
Type [highlight]mount -o remount,rw /[/highlight] to ensure the root file system is mounted read/write.
Type [highlight]rm /sdcard[/highlight]
Type [highlight]ln -s /Removable/MicroSD /sdcard[/highlight]
reboot
That should do it. One last thing you may want to do is to to move the files from the "internal SD card" to the external one, or delete the files stored there to free up space. To do this you can use the built-in File Explorer. From the menu in the top right, uncheck the "hide system files" option. Now you can find the "internal SD card" at /mnt/sdcard. Delete the files or copy them to /sdcard as you see fit.
Footnote:
[1] Oddly this means that unless you do what I've outlined in this post, using the built-in apps2sd functionality simply wastes space.
Click to expand...
Click to collapse
Woow!!!!
So if I wipe all and start from the beginning and before install any app I'll made this operation I will have ~16gb internal memory???
It's possible to make a zip to flash after the rom??
Inviato dal mio Desire HD usando Tapatalk
jsmith45 said:
The answer to your basic question (can I make the external micro-SD card the main SD card is): yes, if and only if you are rooted.
Before I explain how, let me explain how the "internal SD card" works on the Transformer. (If you just want to know what to do, you can skip this section).
How the "internal SD card" works on the EEE Pad Transformer
Normally on Android, /data and /sdcard point to two separate file systems, one internal, and the other external. However on devices with an internal "SD card" this changes.
The simplest way to have an internal "SD card" is to simply partition the storage into two file systems, one for /data, and the other for /sdcard. Several devices do just that. The downside is that if you put too much space in /data it is effectively wasted, while too little space in /data limits the number of apps that can be installed or how much data they can store "locally".
To solve that it is possible to store the "internal SD card" data in the same filesystem as /data. A new directory was created called /data/media, all the files in the "internal SD card" are actually just files in that folder. They both therefore have the same amount of free space and total space. [1] But Android insists that /sdcard must be a FAT32-compatible file system, while /data must not be. The solution is simple. Create a fake file system driver that pretends to be fat32, but simply reads from and writes to /data/media. That is what the transformer does.
The fake FAT32-compatible filesystem is actually mounted at /mnt/sdcard. Finally there is a symbolic link called /sdcard, which points to /mnt/sdcard. There is one logical reason for doing that, which is is to make it easy change /sdcard to point to an external card. Thanks ASUS for making our job simple.
How to use an external SD card as the primary SD card
Use [highlight]adb shell[/highlight] or the Terminal Emulator app from the market to open a shell.
If the prompt ends with a "#", skip to the next step. Otherwise type [highlight]su[/highlight] (followed by enter) to get a root shell.
Type [highlight]mount -o remount,rw /[/highlight] to ensure the root file system is mounted read/write.
Type [highlight]rm /sdcard[/highlight]
Type [highlight]ln -s /Removable/MicroSD /sdcard[/highlight]
reboot
That should do it. One last thing you may want to do is to to move the files from the "internal SD card" to the external one, or delete the files stored there to free up space. To do this you can use the built-in File Explorer. From the menu in the top right, uncheck the "hide system files" option. Now you can find the "internal SD card" at /mnt/sdcard. Delete the files or copy them to /sdcard as you see fit.
Footnote:
[1] Oddly this means that unless you do what I've outlined in this post, using the built-in apps2sd functionality simply wastes space.
Click to expand...
Click to collapse
Thanks for details, very nice and easy to understand. I do have a couple follow-up questions though.
- First to set the stage: I have the 16GB version of the TF, and right now have a 16GB external microsd installed. Rooted with stock ROM at present.
- Are there any issues or reasons why someone should not do this? Would the only reason for doing this be low internal memory?
- Your final footnote about apps2sd. Wasn't completely clear on this. Are you saying, that if I want to use apps2sd, I should do what you outlined?
- Essentially just want to determine if it is best to do this or not. I have a NookColor that is rooted and have used it fine for a year now, and have placed most apps/data on the external microsd, so am familiar with having that way, but am unsure about the TF.
Thanks again (gave you a thanks!)
surfmly said:
- Are there any issues or reasons why someone should not do this? Would the only reason for doing this be low internal memory?
Click to expand...
Click to collapse
Another reason of doing it is avoid mixing sd content in the internal memory and making clearer that /sdcard is the external memory. But yes, the main reason would be wasting 16Gb for Android system... There shouldn't been any problems with this change if you follow the instructions. The TF and Android can handle it.
surfmly said:
- Your final footnote about apps2sd. Wasn't completely clear on this. Are you saying, that if I want to use apps2sd, I should do what you outlined?
Click to expand...
Click to collapse
If you use apps2sd, you link /data/app to /sdcard, but since /sdcard is part of the internal memory and its also linked to /data, you will be wasting more internal memory. If you do the changes sugested by jsmith45 and use apps2sd, since /sdcard will now be pointing to the real external sd card, you will be using the external card to store all your apps.
surfmly said:
- Essentially just want to determine if it is best to do this or not. I have a NookColor that is rooted and have used it fine for a year now, and have placed most apps/data on the external microsd, so am familiar with having that way, but am unsure about the TF.
Click to expand...
Click to collapse
If you use the TF with a little head and move the heavy games/apps to the sdcard, you shouldn't get out of space soon and won't need this kind of change.
AzureusPT said:
If you use the TF with a little head and move the heavy games/apps to the sdcard, you shouldn't get out of space soon and won't need this kind of change.
Click to expand...
Click to collapse
however, as was previously said, as the transformer has its "internal SD card" data in the same filesystem as /data, moving apps to sd is just shuffling them about in the same file tree, it doesnt actually move them to the real external sd card.
using this mod would achieve that- my only concern being that if that card fails then a lot of important data is lost.
i also wonder how well this mod would work using CWM??
bob dylan said:
however, as was previously said, as the transformer has its "internal SD card" data in the same filesystem as /data, moving apps to sd is just shuffling them about in the same file tree, it doesnt actually move them to the real external sd card.
Click to expand...
Click to collapse
lol, thats true. I typed without thought...
Still, you have around 10Gb of usable space in /data. The point on doing the trick of restoring /sdcard to external should be if you have enough apps to get to that size. Note that many apps that download aditional data, many times they save it on the real sd card.
What I ment to say about using it with head was that its wise to use the external card to save the big files (that could be movies, music, etc), and handle the internal with apps.
BTW... just came to me now... with simple apps it is possible to get to 10Gb? I'm not talking about Let's Golf instalation (+1Gb), just the weight of the apk itself...
thanks guys
I have followed the tutorial but my sdcard folder links to internal memory and not to removable/microsd.
Infact all resource of apps are stored in Internal SD and not in External SD as i want.
I have tried with adb and terminal emulator...is the same. My rom is Revolver 3.11...help
Edit: the problem is after the reboot! if i don't reboot the symbolic link is present....I think i have to create and automatic script for every reboot
Now i have fixed the problem but i think the solution is not very perfect.
Ok sdcard folder links to removable/microsd but...mnt/sdcard is linked to internal sdcard!!! So apps installs it self on mnt/sdcard/data and games such as Race of champions download the resources on mnt/sdcard too.
I think the best way is to change the link to mnt/sdcard also to removable/microsd...
Any advice?
mattiadj said:
I have followed the tutorial but my sdcard folder links to internal memory and not to removable/microsd.
Infact all resource of apps are stored in Internal SD and not in External SD as i want.
I have tried with adb and terminal emulator...is the same. My rom is Revolver 3.11...help
Edit: the problem is after the reboot! if i don't reboot the symbolic link is present....I think i have to create and automatic script for every reboot
Now i have fixed the problem but i think the solution is not very perfect.
Ok sdcard folder links to removable/microsd but...mnt/sdcard is linked to internal sdcard!!! So apps installs it self on mnt/sdcard/data and games such as Race of champions download the resources on mnt/sdcard too.
I think the best way is to change the link to mnt/sdcard also to removable/microsd...
Any advice?
Click to expand...
Click to collapse
Now that I got around to trying this I am seeing the same problem. I have tried twice and it doesn't appear the link works. My External MicroSD is not being linked to when opening /sdcard in file explorer. Testing by taking a picture to see where new photo resides... it ends up in both /sdcard and /mnt/sdcard and not in /Removable/MicroSD....
So you need to do anything else like have a freshly formated MicroSD with proper folder structure (i.e. same folders currently in the /mnt/sdcard folder)?
Thanks.
---------- Post added at 03:27 PM ---------- Previous post was at 03:23 PM ----------
jsmith45 said:
How to use an external SD card as the primary SD card
Use [highlight]adb shell[/highlight] or the Terminal Emulator app from the market to open a shell.
If the prompt ends with a "#", skip to the next step. Otherwise type [highlight]su[/highlight] (followed by enter) to get a root shell.
Type [highlight]mount -o remount,rw /[/highlight] to ensure the root file system is mounted read/write.
Type [highlight]rm /sdcard[/highlight]
Type [highlight]ln -s /Removable/MicroSD /sdcard[/highlight]
reboot
Click to expand...
Click to collapse
jsmith - this doesn't appear to be working for me. The link doesn't point to /Remvoable/MicroSD per the terminal client commands I run per above, it is still /mnt/sdcard.
Anyone getting this to work properly on TF101 (I am running rooted .21 via Nachoroot/Vipermod). Thanks.
---------- Post added at 03:44 PM ---------- Previous post was at 03:27 PM ----------
By the way, I confirm that the symbolic link is working without reboot.
Also, for something like storing photos from the camera (and video recorder) I don't see option in camera or gallery to change save path. It shows the path for saved photos as /mnt/sdcard/......
So even without rebooting, with symbolic link working (i.e. opening /sdcard does open my external SD card), the camera is saving photos on the internal SD (at /mnt/sdcard).
I was thinking that we would be able to make the external SD card used for these types of things. Many apps should be installed on internal (runs better many times, etc) but extra stuff like music, photos, videos, etc should use the external card. Looks like this mod wouldn't necessarily change that.
Also, I noticed that on my HTC Inc2, the external card is at /mnt/sdcard (or /sdcard). So if any app is setup to use /mnt/sdcard, it will use the external SD card. However on the TF, even with the mod in this thread, the app would use /mnt/sdcard which is the internal SD. Only if an app uses /sdcard as the path would it use the external SD and I am not sure if most apps use /mnt/sdcard or just /sdcard.
Thoughts on best next steps to get the external card to be used more/better are welcome
People let see my thread on dev section.... Probably I have found the solution!
Inviato dal mio Desire HD usando Tapatalk
I would like to play with something like this too..
As i have wiped TB backup a few times by mistake when loading on new Rom..
As it backups to the internal not external.. thus I have to manually copy it back and forwards on each backup..
sent from yet another MikG HTC Evo

[Q] Only 1GB on 8 GB SD card mounts

I have rooted my Nook Color (Blue Dot) with Clockwork, and CM7 Nightly install from 11-16-2011. I installed all the OS data on the internal memory in the Nook. I have a 8GB SD (Class 10) card that that I used to do the root, but now when I try to mount the SD to use to install apps to it, I can only get 1GB as SD Card and the rest mounts as /mnt/emmc. I can't seem to get it to mount the whole card as SD. I have tried using a partition manager on a Windows and Linux machine to partition it, but that did not work. Is there something that I am doing wrong? I want to be able to use the whole card mounted since I use apps and a 512 MB Swap file. One thing that I thought it may be is when I rooted the Nook I used the the 1GB image of Clockwork 3.2.0.1 since I could not find a 8GB image. The only 8GB image I could find was of CWM 3.0.2.8. I don't think that that would be the problem though. You guys have any ideas? Any help would be greatly appreciated. MODS, you can move this to the Android Forum if needed.
nevermind misread your q
Wingwalker84 said:
I have rooted my Nook Color (Blue Dot) with Clockwork, and CM7 Nightly install from 11-16-2011. I installed all the OS data on the internal memory in the Nook. I have a 8GB SD (Class 10) card that that I used to do the root, but now when I try to mount the SD to use to install apps to it, I can only get 1GB as SD Card and the rest mounts as /mnt/emmc. I can't seem to get it to mount the whole card as SD. I have tried using a partition manager on a Windows and Linux machine to partition it, but that did not work. Is there something that I am doing wrong? I want to be able to use the whole card mounted since I use apps and a 512 MB Swap file. One thing that I thought it may be is when I rooted the Nook I used the the 1GB image of Clockwork 3.2.0.1 since I could not find a 8GB image. The only 8GB image I could find was of CWM 3.0.2.8. I don't think that that would be the problem though. You guys have any ideas? Any help would be greatly appreciated. MODS, you can move this to the Android Forum if needed.
Click to expand...
Click to collapse
That is how CM roms mount the external SD cards.
So I won't be able to mount the card and run more than 1GB of apps from it? Or is there a way to mount it and run the apps from /mnt/emmc. Also, when I remove the SD card, the mount of the SD card at the top (the 1GB one) stays mounted...should it?
Wingwalker84 said:
So I won't be able to mount the card and run more than 1GB of apps from it? Or is there a way to mount it and run the apps from /mnt/emmc. Also, when I remove the SD card, the mount of the SD card at the top (the 1GB one) stays mounted...should it?
Click to expand...
Click to collapse
Yes the one that stays mounted is your internal storage system. If it only has a max of 1gb then that is all you can store on it. The only way to safely unmount the the internal storage is in recovery as it is not using it but it is not advised. You can find an app that will move apps to SD card and have some bigger apps on there but mind you widgets will not work if the app is on the SD card. Here is a screen shot of my device. The 1.3 gb is my phones on board storage and the 29.81 gb is my external 32 gb sd card.
Ok, thanks for the info. What app is that that you took a screen shot of, and off the top of your head, you know of any that will flip the apps to the SD card? If not I will research it, I am sure it can't be to hard to find one.
Wingwalker84 said:
Ok, thanks for the info. What app is that that you took a screen shot of, and off the top of your head, you know of any that will flip the apps to the SD card? If not I will research it, I am sure it can't be to hard to find one.
Click to expand...
Click to collapse
The app is android assistant and depending on your OS version apps2sd should work. I know never versions of the OS has the ability built in
Ok. I tried Link2SD, but it said it was moving it to the SD card, but it moved it to the 1GB mount not to the /mnt/emmc where I have the 7.5GB of free space. I will try the apps2SD and see if that works. Thanks a lot bud.
Wingwalker84 said:
Ok. I tried Link2SD, but it said it was moving it to the SD card, but it moved it to the 1GB mount not to the /mnt/emmc where I have the 7.5GB of free space. I will try the apps2SD and see if that works. Thanks a lot bud.
Click to expand...
Click to collapse
It maybe an issue how to CM roms mount the storage. I am not sure to be honest
zelendel said:
It maybe an issue how to CM roms mount the storage. I am not sure to be honest
Click to expand...
Click to collapse
Ok, no worries. I will continue working on it. if I find anything out I will post back. Thanks for your help.
I figured it out...
If you have the "Use internal storage" checked under CyanogemMod Settings/Application CM7 will mount the SD card as mnt/emmc and create a 1GB partition and mount it as mnt/SDCard. If you un-check it and then reboot, the SD Card will be mounted as mnt/SDCard and the internal partition will be mnt/emmc, allowing you to use the whole SD Card for storing apps, while still being able to store the apps on the main internal partition. I am glad I figured that out, now I can load more apps, and use the swap file.

Removing internal SD partition altogether

Hello, I have previously owned a Galaxy Ace which never had an internal SD storage and things were so much more simpler. Apps could be installed on removable SD. Apps were not confused when installing. I have realised that with this phone, when installing big games for example FIFA 12 or Need for Speed Most Wanted, it thinks that the internal SD storage is the removable SD card and won't download game data due to not having enough space. This 1.10GB worth of storage is totally useless and I would rather not have it for reasons of simplicity and just have a large removable SD card media instead. This 1.10GB internal storage space is insignificant when compared to 32GB removable SD Card and really is not worth the grief.
I have tried Link2SD to overcome this issue without any success as it moves the data files from the /data/data partition to the removable SD but not the Data which has been downloaded to Android/Data directory on the internal SD storage. Now I know that there are utilities (such as directory bind) which can swap the internal SD with the external SD. I also know that you can modify vold.fstab to do exactly the same. But I would rather not have this internal storage or if possible, have it extended to the internal data storage.instead.
Can someone please guide me on how to extend this irrelevant partion to data partition or have it removed entirely and just have a simple storage configuration like I did with the Galaxy Ace or older phones before all these large storages were introduced. Thanks in advance.
you need modified "vold.fstab"
http://forum.xda-developers.com/showthread.php?t=2044439
No that just swaps the partitions. If you go to settings>storage the Removable SD card shows as USB storage and the internal SD is showing as SD Card. This is not what I want. Furthermore the fact that external SD is mounted in sdcard path is even more annoying and confusing at times.
What I am looking for is removeable SD card to be mounted as mnt/sdcard. And the internal SD card to be extended with some other internal partition such as data partition or just removed altogether. In simple terms I want the same file structure as my Galaxy Ace S5830.
Gizmotech said:
No that just swaps the partitions. If you go to settings>storage the Removable SD card shows as USB storage and the internal SD is showing as SD Card. This is not what I want. Furthermore the fact that external SD is mounted in sdcard path is even more annoying and confusing at times.
What I am looking for is removeable SD card to be mounted as mnt/sdcard. And the internal SD card to be extended with some other internal partition such as data partition or just removed altogether. In simple terms I want the same file structure as my Galaxy Ace S5830.
Click to expand...
Click to collapse
If want the removable SD card to be mounted as mnt/sdcard then the vold.fstab could do the trick. You said you wanted to play games right? That's what I use to play Need for Speed Most Wanted on my phone. As for the "Internal Storage" or the 1.20 GB Partition, modifying it and adding or removing other partitions would require a .pit file which as far as i know is responsible for partitioning the phone and unfortunately we do not have. Does this answer your question?
It does answer my question although not the answer I wanted to hear. I used to think highly of Android when I used the Galaxy Ace as it did not have this issue due to not having a internal usable storage. But how on hell did Samsung decide to put a puny amount of storage space and mount it as sdcard. I feel sorry for the normal users who have never come across rooting and mods. I am sorry as much as I have love for Android phones, I think my next phone will be an Apple. Never thought I would be saying this but I am honestly tired of this stupid internal sd / external sd configuration. This has even put me off purchasing phones like the Galaxy S3 as you will still have this stupid configuration to get your head over. End of rant.
Is is possible to mount the removable SD card as /mnt/sdcard and the internal puny storage as /mnt/USB or any other name so as not to confuse it with SD Card. At the same time not having the storages swapped and in their right places when checked in settings>storage?
whats the problem with swapping them? I'm hardly annoyed by this kind if situation. if you are almost filling up the 1.20GB storage then you can move some of the apps to the 1.10GB "external_sd". Then to make sure you use the REAL sd card set the default installation path to be internal memory.
Sent from my GT-I8160 running Holo Bean Beta
Gizmotech said:
What I am looking for is removeable SD card to be mounted as mnt/sdcard.
Click to expand...
Click to collapse
and I say again... if you change "vold.fstab" then you will have that you say above. I have /mnt/sdcard = 32gb and /mnt/sdcard/external_sd = 1.1gb
monstro78 said:
and I say again... if you change "vold.fstab" then you will have that you say above. I have /mnt/sdcard = 32gb and /mnt/sdcard/external_sd = 1.1gb
Click to expand...
Click to collapse
That is more of a workaround than a fix as swapping it loses the Unmount SD Card options for the removable media in settings>storage. The same with Directory Bind. They both do the trick but not quite the way I would have wanted it to do so.
Gizmotech said:
That is more of a workaround than a fix as swapping it loses the Unmount SD Card options for the removable media in settings>storage. The same with Directory Bind. They both do the trick but not quite the way I would have wanted it to do so.
Click to expand...
Click to collapse
Then we cant do anything for that matter for now since there are no pit files available to repartition the phone.
Sent from my GT-I8160 running Holo Bean
I was just thinking if there was a way of making a new directory on the /mnt path called 'storage' or something, we could have possibly modified vold.stab. So change where it says /sdcard to /storage and /sdcard/external_sd to /sdcard. I'm not sure if that would work but again, I don't think that another new directory can be created in /mnt without a .pit file.
Gizmotech said:
I was just thinking if there was a way of making a new directory on the /mnt path called 'storage' or something, we could have possibly modified vold.stab. So change where it says /sdcard to /storage and /sdcard/external_sd to /sdcard. I'm not sure if that would work but again, I don't think that another new directory can be created in /mnt without a .pit file.
Click to expand...
Click to collapse
actually there are 3 mount points inside the vold.fstab file. 1) /mnt/sdcard 2)/mnt/external_sd 3)/mnt/usbstorage (i think, i forgot..)
the third is supposed to be used for USB OTG function but for now it remains undefined. I do not know anything about modifying this file so I guess I'll leave it to the experts, ask around and see what turns up.
I just checked the vold.fstab and I think the mount point is mnt/sdcard/external_sd and not mnt/external_sd if I am interpreting the data correctly.
Gizmotech said:
I just checked the vold.fstab and I think the mount point is mnt/sdcard/external_sd and not mnt/external_sd if I am interpreting the data correctly.
Click to expand...
Click to collapse
Yeah youre right.. I guess working on my jelly bean theme made my brain forgetful.
Sent from my GT-I8160 using xda app-developers app

Categories

Resources