Solved! How to swap the internal and external SD cards so apps install externally - Verizon Samsung Galaxy S III

If you are like me and bought the 16GB version of our beloved SG3, thinking you could always move apps to the external sd card, then this mod is for you. It swaps the internal and external sd cards so apps install on your external card, because your phone is fooled into thinking the external card is the internal card.
I suggest that if you are going to do this, you should probably do it right after installing a new ROM, and before you install any apps. That way everything will get installed onto the external SD card.
I didn't invent this, Zedomax adapted in from mattiadj. But most people haven't been able to get it fully working, probably due to variations in the init.d function of various ROMS. They'd be able to see the External SD card as the internal SD, but the internal SD would disappear. This method avoids using init.d, and instead uses the app Script Manager to load the script on boot.
After much fooling around, I figured out how to do it so the External SD card and the internal cards are swapped, but you can see both with any file Explorer. I got it working on CleanROM 2.0, but it should work on Beans 10 as well.
Here's how to do it: Warning, if you do not understand the following instructions, or don’t have experience doing these things, you probably don’t want to do this hack. I am not responsible if you a) brick your phone, b) delete your data, or c) get very frustrated. That being said, the most likely failure will be that you only see the one card (the External card).
Back everything up that you care about first!!!!
1. First, I'd recommend making a Nandroid backup of your phone.
2. Next, just to be extra safe, I would backup your internal SD card to your PC. While you are doing that, if you have data on the external SD card, back that up too.
3. Next, I would format your external SD card to fat 32. (You could probably use Ext format too, but I didn’t test that.)If you already have it in that format, and have content on it, this won't affect the content, but back it up just to be safe. It’s probably better to have the Ext SD blank to begin with, you can always copy back its content from your pc.
4. Next copy the contents of the internal SD to the External SD card. This is to avoid confusion about apps and such.
5. Next install script manager free from the play store:
https://play.google.com/store/apps/...anager&feature=nav_result#?t=W251bGwsMSwyLDNd
It will show up on your phone as S manager ads.
6. Download the mod from here: http://downloadandroidrom.com/file/...ternalsd_gs3_fat32orextfat_US_ZEDOMAXv0.2.zip
7. You’ll see a folder called: 11extsd2internalsd_gs3_fat32orextfat_US_ZEDOMAXv0.2.zip
You need to unzip the folder, then go to System/etc/init.d and copy the 11extsd2internalsd file from there to your phone. Put it into the /data directory. Use Root Explorer, and your phone will need to be rooted.
(https://dl.dropbox.com/u/6305/SD Card Hack SG3/11ext file in data directory.png)
Or you can get just the 11extsd2internalsd file here: https://dl.dropbox.com/u/6305/SD Card Hack SG3/11extsd2internalsd
8. Using Root Explorer, navigate to that file in the /data directory. Press and hold the file name until the menu pops up, and click on permissions.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Permissions.png
(Unix geeks set them to 777, and everyone else copy the picture below. Click OK.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Permission settings 777.png
9. Open the script manager app, and select Browse as Root in the config screen. Tell it to remember this setting.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager browse as root and save.png
10. Navigate to the /data directory and choose the 11extsd2internalsd file that is located in /data and click on it. Click on the “Is script” button.
11. Now tap on the buttons that say Su, Boot, and Save. The file name will come up in yellow after the save.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager setting after save.png
12. Reboot your phone and you should see the swap working and be able to access both internal and external SD cards. The external card will show up as sdcard, and the internal card will show up as extSDCard. Your apps should now install to the external card, since your phone will think it's the internal card. Is that confusing? It was to me too!
Good luck and please share your experiences specifying which ROM you used, so that others can avoid frustration.
Thank you’s always appreciated.

Wonder if this works on asop roms as well.
Please excuse my Galaxy S III, it's a bit Paranoid.

On my X2, this same mod was done via a flashable zip...not sure how it worked, but it was worked perfectly. At some point the roms incorporated the flip flop as part of the Rom. I like the feature because I wouldnt need to move certain app data to my external sd card. Also, I wouldn't have to show tibu where to look for my backups.
Sent from my SCH-I535 using Tapatalk

Clienterror said:
Wonder if this works on asop roms as well.
Please excuse my Galaxy S III, it's a bit Paranoid.
Click to expand...
Click to collapse
What's the consensus on this? Can this mod as posted above be applied to AOSP/CM9/CM10?

Just flashed this on aokp and both sdcard and external_sd are my physical sd card. The internal card is not showing.
Op, can we get an cm10 ver?

Did a little playing around. Below seems to work on cm10 aokp. Can op confirm this is good?
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1

maniac2k said:
Just flashed this on aokp and both sdcard and external_sd are my physical sd card. The internal card is not showing.
Op, can we get an cm10 ver?
Click to expand...
Click to collapse
Are you actually flashing it, or using the Script Manager? As far as I know, only the Script Manager approach works.

maniac2k said:
Did a little playing around. Below seems to work on cm10 aokp. Can op confirm this is good?
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1
Click to expand...
Click to collapse
Not sure, but take a look at the code from 11ext2internalsd file. If it works, and you can see both sd cards, then you've nailed it.

Yeah sorry, im running the script apk. It seems to work. I just dont understand the exacts of the vold/179:97 or if it should be vold/197:96?
When i go into settings/storage, should my physical sdcard stats be showing under internal memory?

Thanks I got mines to work now. Thanks to your suggestions.
Sent from my SCH-R530U using Xparent SkyBlue Tapatalk 2

Update: ive been using the script below for a littlw while and it is working great on cm10. It is best to enable it after a fresh rom install.
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1

I need to do this.

MODERATOR.
This is not a Q&A Thread. Needs to be moved to appropriate location.

Apps Did Not Move After Internal / External SD Swap for GS3
Well I thought everything went perfectly because as mentioned, when I go to storage my internal shows my 64g card and internal of 12g now shows as external. However the apps are still on my internal which is now called my external and when I go to app manager it shows remaining space 5.9g. So I am not sure what I did wrong because I have reviewed this several times and started right after I installed a fresh rom . I am hoping someone can help me correct this because basically all it did was change the name of the two drives but apps are still getting installed to original location. Thanks in advance for any help you can give me

Swapping internal>external did not work
i followed all steps as stated above but when I go to File Manager (default), long pressing Internal SD>Details show 1.2 MB and External SD shows 1.8 GB which is not true. I have external SD of 8 GB and internal is 2 GB in my micromax a110 phone.
The steps above did not work to swap the memory but it now shows even incorrect size. I installed Root Browser lite but got no way to chck the size of the SD cards.. Please help

Does this work with the new Verizon Jelly Bean which they are now sending out via OTA? Are there other Verizon S3 Jelly Bean Roms that are known to work with this method? Thanks

Its works on the leak so i dont see why it wouldnt work on the actual vz rom

not working
This is not working with my samsung s duos please help

Any cm 10.1 updates for this?

I am unable to change the file permissions to -rwx-rwx-rwx- whenever I try to change it I get an error that the phone is unable to change permissions.
EDIT:
Successfully changed permissions and followed the instructions as given. Still not working on the international S3, my internal memory is still 16 GB and external 32GB

Related

[Q] Missing Internal SD

Hey sorry if this is posted somewhere else but I dont know where to look and I looked on google for you guys who want to post that google thing.
Anyways, after installing roms from CM7 or even eagle, my internal sd card does not show up in file or root explorer. Its shown in the storage sections but not where i can access the information on there from the phone's file system.
When i restore back to stock (but rooted) rom its back to normal!
Its there, just hidden and named emmc. This is why root explorer is a must own app, it allows to see tons of hidden files you would otherwise not see. I'm sure there's other free apps that can do the same but root explorer has saved me from so many headaches it was an instant buy in market.
The 1 major gripe I ever had with this phone was the way they partitioned the internal storage, whoever decided that was a complete moron!
Edit:
Look under mnt/emmc with root explorer
Sent from my LG-P999 using xda premium
Thanks but how do I use it for normal everyday stuff? I guess i cant with CM7?
Sure you can, just move stuff from sdcard to mnt/emmc with root explorer. I know its a pain and one of the reasons I started a request thread to see if there was a way to bind/combine both partitions into 1 so we'd all have more internal space for installing apps/games.
Sent from my LG-P999 using xda premium
Hey thanks for the insight, I will just keep my reg ota with root until a much better version comes out.
jetbruceli said:
Hey thanks for the insight, I will just keep my reg ota with root until a much better version comes out.
Click to expand...
Click to collapse
Do you use an external sdcard with your g2x, or do you use only the internal? There is a potentially easy solution if you want to use CM7 and keep the internal card as your primary. I'll tell you how step by step, but depending on if you use an external card and what you use it for, more or less steps will be involved. So I'll wait for your answer so I can give you the right response.
Sent from my LG-P999 using XDA App
Well I have a 32 gb SD installed but like having the internal for apps and clockwork roms
sent from my anti IPhone device
jetbruceli said:
Well I have a 32 gb SD installed but like having the internal for apps and clockwork roms
sent from my anti IPhone device
Click to expand...
Click to collapse
I personally prefer to keep my backups and personal data on an external/removable sdcard. Its safer that way in case anything happens to the phones internal memory, all my documents and backups are safe and I can put my sdcard into my computer or another phone to retrieve it. Also, I'd much rather have 32gb of storage for all that rather than the 5gb you'll have with the internal card.
That said, its personal preference and always good to have options. Here's how I have mine setup with CM7 (I'll explain how to achieve the setup you want in a moment):
- My external removable card is mounted at /mnt/sdcard. This is the default setup of CM7.
- My internal sdcard (emmc) is mounted at /mnt/sdcard/_OtherSD. CM7 default is to mount it at /mnt/emmc, which means if I have photos, music and movies stored there they wont show up in some of my apps. By having it mounted to a directory inside my /mnt/sdcard directory, any app that looks at my external sdcard will also see what's stored on the internal sdcard. This is similar to the stock setup, except that with stock the external card is mounted as /mnt/sdcard/_ExternalSD.
But if you want the internal to be your primary sdcard then here are a couple of fixes for you. The quickest fix is this:
- Go to Settings > Cyanogenmod settings > Application
- Select "Use internal storage"
- Reboot phone
- Now your internal card will be mounted at /mnt/sdcard and your external card at /mnt/emmc
- This makes your internal card your main sdcard but leaves you external card mostly unusable because of its mount point.
So if you are like me and you like for things to be labeled properly and usable then continue reading. This works with CM7 (it wont work with stock), and I also recommend having root explorer (from the Market). My instructions will be specific to root explorer, although you can use any root text editor you want. You will need to edit 2 files (/system/build.prop and /system/etc/vold.fstab):
- Using root explorer navigate to your /system directory.
- At the top of the screen select "Mount R/W"
- Scroll down and find the /system/build.prop file. Long-press on it and select to open in text editor.
- Scroll about halfway down the file and find the section that says "
# Mount the internal SD card, too
- Where it says "ro.additionalmounts=" specify a directory by typing its full path. I use /mnt/sdcard/_OtherSD. This is the mount point you will use in the vold.fstab file (which you'll edit in a moment)
- The very next line says "ro.vold.switchablepair=" .. These are the mount points that get swapped when you enable that setting in CM7. Change the options to match the mount points you will want to use. So for me it says "/mnt/sdcard,/mnt/sdcard/_OtherSD" ... of course no quotation marks.
- Select Menu > Save & Exit. One nice feature of root explorer is that it automatically saves your original file as a backup in case there are any problems.
- Now navigate to /system/etc
- Make sure the directory is still mounted as R/W, scroll down and open the file /system/etc/vold.fstab. This file specifies where both the external and internal sdcards are actually mounted. Each drive/device has its own entry.
- Find the line that starts with dev_mount emmc /mnt/emmc" and change it to match the mount point you created in the build.prop file. So for me I change it to "dev_mount emmc /mnt/sdcard/_OtherSD"
- Select Menu > Save & Exit
- Reboot phone
Now when you use the CM7 settings option to use internal storage, it will swap them but still keep one mounted within the other so any music, pics, videos you have will be usable by all your apps.
****PLEASE NOTE**** -- These changes will be overwritten if you flash a new nightly.
Sent from my LG-P999 using XDA App
Thanks a million! I will try just having access is good.
I have root explorer and I use file expert.
You said ur on cm7? Or are u on a custom version like eagle? I keep flipping between reg stock, cm7, miui and eagle. Just can't tell which is the best for everyday use.
But really thanks for all the info!
sent from my anti IPhone device
jetbruceli said:
Thanks a million! I will try just having access is good.
I have root explorer and I use file expert.
You said ur on cm7? Or are u on a custom version like eagle? I keep flipping between reg stock, cm7, miui and eagle. Just can't tell which is the best for everyday use.
But really thanks for all the info!
sent from my anti IPhone device
Click to expand...
Click to collapse
Just plain CM7. I think I'm using nightly 144. The method should be the same or similar on other cm7-based roms. It just won't work on stock-based roms because the changes to the files get overwritten when you reboot.
Sent from my LG-P999 using XDA App
d12unk13astard said:
Its there, just hidden and named emmc. This is why root explorer is a must own app, it allows to see tons of hidden files you would otherwise not see. I'm sure there's other free apps that can do the same but root explorer has saved me from so many headaches it was an instant buy in market.
The 1 major gripe I ever had with this phone was the way they partitioned the internal storage, whoever decided that was a complete moron!
Edit:
Look under mnt/emmc with root explorer
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I've been trying to edit the vold.stab etc on my phone forever trying to get that to work and I haven't gotten it figured out (still a Linux noob, probably always will be). I realize most people seem to prefer the already available options to remount it inside the external SD card or vice versa, but honestly I really just want it combined with the internal memory. Others say that is pointless because 1.5GB should be plenty of space, but honestly if I were to install all the apps on my Transformer onto my phone, my phone would almost immediately run out of internal space.
JaiaV said:
I've been trying to edit the vold.stab etc on my phone forever trying to get that to work and I haven't gotten it figured out (still a Linux noob, probably always will be). I realize most people seem to prefer the already available options to remount it inside the external SD card or vice versa, but honestly I really just want it combined with the internal memory. Others say that is pointless because 1.5GB should be plenty of space, but honestly if I were to install all the apps on my Transformer onto my phone, my phone would almost immediately run out of internal space.
Click to expand...
Click to collapse
I wonder what would happen if the phone was physically repartitioned ... I don't know enough of how Android works to know what effects that would have. Obviously the disk is just a disk and you can create whatever partition sizes you want. Is the OS designed to look for a certain number of partitions and partition sizes on each phone? Or will it just use what's there?
Sent from my LG-P999 using XDA App
JaiaV said:
I've been trying to edit the vold.stab etc on my phone forever trying to get that to work and I haven't gotten it figured out (still a Linux noob, probably always will be). I realize most people seem to prefer the already available options to remount it inside the external SD card or vice versa, but honestly I really just want it combined with the internal memory. Others say that is pointless because 1.5GB should be plenty of space, but honestly if I were to install all the apps on my Transformer onto my phone, my phone would almost immediately run out of internal space.
Click to expand...
Click to collapse
I found an app that has made the 1.5gb internal storage manageable, look in the market for link2sd. Basicly it allows you to move any app/game to the extra partition on your sdcard(I made a 4gb partition) I'm amazed how stable it runs! After trying numerous apps2sd programs and them being unstable plus running out of internal space too quickly, link2sd is a godsend! It allows even dalvik cache moving to SD extra and batch selecting/deselecting for ultra quick installs. I can't reccommend this app enough for people having internal storage space problems.
As for the internal SD card being combined with the 1.5gb storage I put up a request thread on it hoping a Dev would know how to.. until that happens tho link2sd has made me proud.
http://forum.xda-developers.com/showthread.php?t=1265540
Internal storage partition
Some of the asshats on that thread made me laugh with their ignorance.
Sent from my LG-P999 using xda premium
d12unk13astard said:
I found an app that has made the 1.5gb internal storage manageable, look in the market for link2sd. Basicly it allows you to move any app/game to the extra partition on your sdcard(I made a 4gb partition) I'm amazed how stable it runs! After trying numerous apps2sd programs and them being unstable plus running out of internal space too quickly, link2sd is a godsend! It allows even dalvik cache moving to SD extra and batch selecting/deselecting for ultra quick installs. I can't reccommend this app enough for people having internal storage space problems.
As for the internal SD card being combined with the 1.5gb storage I put up a request thread on it hoping a Dev would know how to.. until that happens tho link2sd has made me proud.
http://forum.xda-developers.com/showthread.php?t=1265540
Internal storage partition
Some of the asshats on that thread made me laugh with their ignorance.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I can move apps to external storage by default with CM7. This is not the solution I am looking for , but thank you for trying.
JaiaV said:
I can move apps to external storage by default with CM7. This is not the solution I am looking for , but thank you for trying.
Click to expand...
Click to collapse
The difference between apps2sd which your using and link2sd which i'm using is that with apps2sd your internal memory will run out much faster then if using link2sd which can also move dalvikcache to sd ext. I've already moved 300 apps/games to sd ext with link2sd and still have over 1gb of internal storage, try doing that with apps2sd
Edit: forgot to mention link2sd is a free app in market.

[FIX][CWM] Error: Unable to mount SDCARD in CWM (and CF-ROOT)

Hi people!
I have seen many people have a problem with the above mentioned error in CWM. Although there are any threads on the topic, none of them are really clear (and often speculate) the method to fix it. And there is a lot of confusion regarding the "sdcard" in the i9003. This is my attempt to clarify and provide a reasonable fix (which worked for my Class 10, 16GB Micro SD (SDHC)).
It goes like this:
-> Boot into CWM recovery
-> Choose any options pertaining to the external sd card (such as backup, restore or install file from .zip)
-> The command returns with an error about how it can't mount "sdcard".
Now, there are a few thing that you have to be mindful of:
1) The "sdcard" mentioned in CWM for the i9003 is actually the external sd card.
- It is done this way so that everything works with the external sd and not with the internal 2GB sd that is present on our phone.
2) The internal sd is referred to as "sd-ext".
3) This pertains to the CWM of our phone. After booting into Android, it is back to "normal".
I tried to do a format in Windows 7's default formatting tool with FAT32, exFAT and NTFS (just eliminate the possibilities) with "default allocation size". It didn't work. Even choosing a larger allocation size did not work.
The Fix:
-> The optimal recommended filesystem for an android SD Card is FAT32.
-> Using the "SD Formatter" (version 3.1 as of this writing) from the SD Association ended up solving my problems.
-> The download link, for Windows (A MAC version is also available), from their site is here. You have to click "I Accept" and accept the terms of the EULA (but who really reads those things anyway ) ?
-> Use a card reader (using your phone is not recommended), make sure you have selected the right card and that you have backed-up all the data on your card (incase you didn't know - formatting erases all your data!).
-> I chose "Quick format" under options and made sure "Format Size Adjustment" was off (These are available under "options").
-> It's done in a few minutes, and it works GREAT! :-D
Cheers people! Hope this clears up some stuff!
This thread deserves to be made a sticky thread...
Moderators please make sure to consider this
Btw - nice job dude you explained it all very well!
Tapashocked via my gt-I9003 with a random keyboard of my choice !
Finally solution came..it works like a charm...thank you so much Bro..
I was bugged by the same problem a few moths ago....
I solved it by Going to Settings > SD card ad phone storage >SD CARD> Umount sd card > Format SD card....
@Lord: thanks mate!
@Symdroid: your welcome! Glad to have helped!
@Neojith: Yeah that usually works, but for some odd reason it didn't work for me last time.
Also, this works without fail even if your SD card is unrecognizable (or comes up as corrupt/damaged) in Android but is detected on the computer.
Sent from my GT-I9003 using XDA App
Man i dont hav any card reader....why cant i do this while it's inside the phone? :-(
Give it a shot... It may work (but be sure you're formatting the right card)!
I recommended a card reader as it is faster, and in most cases the card wasn't detectable by Android but was detectable using a card reader.
Sent from my GT-I9003 using XDA App
Got cranium ROM 3.1 and its not working on my phone. It shows the drive in the PC but i cannot access it. But the phone still reads whats on the SD card. It works well before with kPE...
kudos Erahgon, it worked!
FYI I didnt even use a card reader, used the phone itself (too lazy to search for a reader at home)
Srry guys, was outta town for a few days!
@vadexlux: Good to hear that it works from your phone as well!
@lbraddx : If it's not accessible even in Windows, your card is probably corrupted. Do a quick format in Windows, then use a data recovery software to recover your files. After that, format using the method in the first post, and remember to back-up your files.
Sent from my GT-I9003 using XDA App
Erahgon said:
Hi people!
I have seen many people have a problem with the above mentioned error in CWM. Although there are any threads on the topic, none of them are really clear (and often speculate) the method to fix it. And there is a lot of confusion regarding the "sdcard" in the i9003. This is my attempt to clarify and provide a reasonable fix (which worked for my Class 10, 16GB Micro SD (SDHC)).
It goes like this:
-> Boot into CWM recovery
-> Choose any options pertaining to the external sd card (such as backup, restore or install file from .zip)
-> The command returns with an error about how it can't mount "sdcard".
Now, there are a few thing that you have to be mindful of:
1) The "sdcard" mentioned in CWM for the i9003 is actually the external sd card.
- It is done this way so that everything works with the external sd and not with the internal 2GB sd that is present on our phone.
2) The internal sd is referred to as "sd-ext".
3) This pertains to the CWM of our phone. After booting into Android, it is back to "normal".
I tried to do a format in Windows 7's default formatting tool with FAT32, exFAT and NTFS (just eliminate the possibilities) with "default allocation size". It didn't work. Even choosing a larger allocation size did not work.
The Fix:
-> The optimal recommended filesystem for an android SD Card is FAT32.
-> Using the "SD Formatter" (version 3.1 as of this writing) from the SD Association ended up solving my problems.
-> The download link, for Windows (A MAC version is also available), from their site is here. You have to click "I Accept" and accept the terms of the EULA (but who really reads those things anyway ) ?
-> Use a card reader (using your phone is not recommended), make sure you have selected the right card and that you have backed-up all the data on your card (incase you didn't know - formatting erases all your data!).
-> I chose "Quick format" under options and made sure "Format Size Adjustment" was off (These are available under "options").
-> It's done in a few minutes, and it works GREAT! :-D
Cheers people! Hope this clears up some stuff!
Click to expand...
Click to collapse
I've used above method but still failed..i flashed another CWM also failed. is there any other way?
please help me my phone is dead for a week now
Can you access the card from your phone? Can you access it from your computer?
What are the specs. of the SD card?
Erahgon said:
Can you access the card from your phone? Can you access it from your computer?
What are the specs. of the SD card?
Click to expand...
Click to collapse
cannot access from the phone. but when i flash with odin there is part saying 'error can't mount sdcard-skipped wipe data' but when i check the sd card from my pc its empty and i lost all my file in sd.
here another weird thing, you said the 'sdcard' in CWM is the external sd. I can't mount 'sdcard' but I can mount 'sd-ext'; when i took out my sdcard then I can't mount 'sd-ext'. so I think in my case 'sd-ext' is my sdcard. thanks for replying though. can you figure out my problem?
iming88 said:
cannot access from the phone. but when i flash with odin there is part saying 'error can't mount sdcard-skipped wipe data' but when i check the sd card from my pc its empty and i lost all my file in sd.
here another weird thing, you said the 'sdcard' in CWM is the external sd. I can't mount 'sdcard' but I can mount 'sd-ext'; when i took out my sdcard then I can't mount 'sd-ext'. so I think in my case 'sd-ext' is my sdcard. thanks for replying though. can you figure out my problem?
Click to expand...
Click to collapse
Flashing with ODIN? What were you flashing with ODIN? When you flash with ODIN it doesn't do anything to the external-sd card.
Have you done an internal-external sd swap? If so, and you want to flash a new firmware using ODIN, you must re-partition (i.e. Use the latona pit file) and then proceed with the flash. After the flash, you may once again swap the external and internal sd cards. I haven't tried this, so this is just my best guess. If this doesn't work, try using your old vold.fstab file (read this thread for more details).
Erahgon said:
Flashing with ODIN? What were you flashing with ODIN? When you flash with ODIN it doesn't do anything to the external-sd card.
Have you done an internal-external sd swap? If so, and you want to flash a new firmware using ODIN, you must re-partition (i.e. Use the latona pit file) and then proceed with the flash. After the flash, you may once again swap the external and internal sd cards. I haven't tried this, so this is just my best guess. If this doesn't work, try using your old vold.fstab file (read this thread for more details).
Click to expand...
Click to collapse
still no luck
Fascinate owner here. Had the same issue with CWM red (3.x) and Green (4.x).
All I did was reformat the card in Android. You have to unmount it in Settings > SD Card. Then simply Format. All your data will be erased but CWM will be able to read your card again.
WOW... I have THAT trouble too (on a I9100!), read this (googled) post and think.. "hmmm.... all other works fine with the ext. SD-Card... that can't be the fix..."
BUT i test the fix and OMG!... Now all CWM troubles gone! PERFECT!
Thank you very very much! I love the XDA community! *smak* ;-)
Is there any way to do the same for the internal sdcard coz my external sdcard reads fine but internal phone memory as well as internal sdcard are corrupted!
WOW
hi dude..its works like..hapi man!!!Thanks alot!
Relaxasaurus said:
Fascinate owner here. Had the same issue with CWM red (3.x) and Green (4.x).
All I did was reformat the card in Android. You have to unmount it in Settings > SD Card. Then simply Format. All your data will be erased but CWM will be able to read your card again.
Click to expand...
Click to collapse
I have been seaching for this problem, and I was lucky enough to come across your post. After formating my SD card within android, the problem is solved, and now I can backup to and restore from my external SD card. I am using Galaxy Tab 2.
Thank you!!

[TWEAK][MOD][FIX][CM7] sdcard Switcharoo!

CyanogenMod 7 sdcard Switcharoo tweak/mod/fix!
When i first got CM7 on my Infuse I immediately came across an annoying problem (at least for me). Like all AT&T customers, my phone came with an external SD card with 2gb of storage and the phone itself has 16gb of internal storage. So i noticed that by default, my 2gb external sdcard was the mnt/sdcard directory that all my apps use and mnt\emmc was my internal 16gb. For me that sucked because all my Titanium Backups were in my internal sdcard and I coudnt move it to my external because of memory insufficiency. So i decided i would mod the ROM to switch these sdcard directories and have 16gb instead of 2gb in my mnt\sdcard directory.
So, to make this simpler for me and you, suppose:
----------------------------
Internal sdcard (16gb) = A
External sdcard (2gb) = B
----------------------------
A is by default in mnt\emmc
B is by default in mnt\sdcard
----------------------------
The problem with the above statements is that 2gb is not enough to make it my default sdcard. Apps like Titanium Backup, Dropbox, Camera and tons of others (like games) always store things in mnt\sdcard and they can rarely be configured to store elsewhere (at least to my knowledge).
So to solve the problem i edited the mnt\system\etc\vold.fstab file. This file just contains some random gibberish about where the sdcards mount to. So i switched the mounting directories of the two sdcards A and B. So far all i had to do is copy over the apps stored in my external to the new external mount (mnt\emmc).
So in short the only thing this changes is: (the before and after pic)
Before:
mnt\emmc is internal 16gb
mnt\sdcard is external 2gb
After:
mnt\emmc is external 2gb
mnt\sdcard is internal 16gb
Now, if lets say you had your apps stored in A and used my tweak. You would have to copy your apps over to B because thats the new A. Confusing i know...im trying. lol
So here is the procedure:
0. Download the attachment below and unzip it in your phone somewhere
1. Make sure you have root explorer or similar app
2. Using your explorer app mount mnt\system\ R/W
3. Navigate to vold.fstab file in mnt\system\etc
4. Rename the file to vold.fstab.bak (to keep it backed up)
5. Now find the directory where you downloaded and put my new vold.fstab file
6. Copy my new vold.fstab file to mnt\system\etc and paste
7. Reboot phone.
If you encounter difficulties, then undo the process by first deleting my modded vold.fstab and then renaming your old vold.fstab.bak to vold.fstab and then rebooting.
Also, Keep in mind that this is for CM7 users. Don't use it if you don't know what CM7 is or don't use CM7 port. Cheers, hope this helps someone.
A much easier solution:
Go to Settings -> CyanogenMod settings -> Application
Uncheck "Use internal storage"
Reboot.
PVD04 said:
A much easier solution:
Go to Settings -> CyanogenMod settings -> Application
Uncheck "Use internal storage"
Reboot.
Click to expand...
Click to collapse
No, i understand what you are saying. But you, like others dont get what im after. i dont care where my apps go. i want my mnt\sdcard to be 16gb not 2gb. end of story.
Mohammad_Adib said:
No, i understand what you are saying. But you, like others dont get what im after. i dont care where my apps go. i want my mnt\sdcard to be 16gb not 2gb. end of story.
Click to expand...
Click to collapse
I understand exactly what you are after. Unchecking "Use internal storage" mounts the internal storage as mnt\sdcard. There is no reason to do it any other way.
My /mnt/sdcard is the internal memory and my 4GB microsd is my external storage been like that from stock and I have all of my important stuff on the external for obvious reasons. Don't know why you would need this am I missing something?
Infused with Android DNA
PVD04 said:
I understand exactly what you are after. Unchecking "Use internal storage" mounts the internal storage as mnt\sdcard. There is no reason to do it any other way.
Click to expand...
Click to collapse
This is exactly right - unchecking internal storage does exactly what your tweak does.
I have a 16 gig SD internal and external and I prefer using external which is default, when my phone had to be redone due to bad flash, I loss everything on my internal. Even if I checked something wrong it still feels safer using external last I checked 16gig cards are like 25 bux. I want 32gig next. Sounds to me like a poor attempt to get status here. Try on a group less educated then xda. I feel offended by this trick.
Sent from my SGH-I997 using xda premium
This might be useless for CM7 users but what about MIUI users, don't CM7 and MIUI use the same kernel?
Sent from my SGH-I997 using xda premium
i just got a 16gb external card to replace the OEM supplied 2gb sdcard.
Also Titanium allows you to change the backup folder location.
Cool. thanks for telling me. but that never worked for me. so this did and i dont care how u guys do it as long as the results are the same.
I thought that emmc was the external memory card? Because I have a 16 GB external and CM7 reads it as EMMC
Sent from my SAMSUNG-SGH-I997 using xda premium
Cm7 switchs external and internal so it is like every phone since not all phones have 16gb internal. I don't really use internal.
Sent from my SGH-I997 using xda premium

[Q] Partition layout on ICS?

Or more to the point, does anyone think they will fix the way the TF memory/partitions are based with the ICS "AiO" Android 4 revision?
While its not an operational annoyance for me (IE most everything works fine), I HATE the fact that the internal memory is mounted as the sdcard instead of as internal memory (like any other device I have used)
I hate that out of 16GB I only have 11.xGB to use (especially when my ROM size before install is only 180Mb extracted... Stock is like 400Mb+) and cant use something like Firerats (at least not that I have found with searching, and yes I know firerats is basically just a repartition tool for MTD not eMMC or anything else) to repartition it to reclaim the wasted space...
From what I understood (and i could be wrong here), its only setup with the Internal memory as an SD instead of... internal memory... is because of Honeycomb, and that the layout is similar to other devices in that its a single memory chip for the internal/system/sd like any other NON Honeycomb device only the internal memory is... well internal memory...
So my question is that can anyone in the know on this subject help me out here...
AFAIK we get one chip for storage. Most stuff expects /sdcard so it makes sense for HC/ICS to be putting our /data/media on /mnt/sdcard with the FUSE thing.
And I can't see any really good reason to change what the norm is on TF101.
Sent from my Transformer TF101 using Tapatalk
I think you'll find that on Froyo/Gingerbread phones with internal memory as well as an SD slot, internal memory has always been mounted as /sdcard/ or /mnt/sdcard/ - the external card is mounted as a subfolder under that. This is for the user's convenience. Can you imagine how it would work to mount the internal memory if there was no external card present otherwise?
I seriously doubt ICS itself will solve the niggling problem of external SD mounting on our TF101s, but Asus may well change the layout so it's under /sdcard/xxxx/ to help matters.
Spidey01 said:
AFAIK we get one chip for storage. Most stuff expects /sdcard so it makes sense for HC/ICS to be putting our /data/media on /mnt/sdcard with the FUSE thing.
And I can't see any really good reason to change what the norm is on TF101.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
I could understand ASUS placing the internal storage as /sdcard since most stuff does expect/save to /sdcard automatically. Being that the tablet has an advertised 16GB of memory, ASUS probably believed that your every day average Joe wouldn't go out and buy an sd card.
Sent from my DROIDX using XDA App
unfnknblvbl said:
I think you'll find that on Froyo/Gingerbread phones with internal memory as well as an SD slot, internal memory has always been mounted as /sdcard/ or /mnt/sdcard/ - the external card is mounted as a subfolder under that. This is for the user's convenience. Can you imagine how it would work to mount the internal memory if there was no external card present otherwise?
I seriously doubt ICS itself will solve the niggling problem of external SD mounting on our TF101s, but Asus may well change the layout so it's under /sdcard/xxxx/ to help matters.
Click to expand...
Click to collapse
I guess I was a bit vague, I dont actually want it as extra storage or partition, I just want it all as /data instead of /sdcard... all the phone I have and have used (which I admit arent the latest, the newest I have used was an 8GB phone I cant remember the model of) so far didnt actually use /sdcard they just used /data... I have an SD card specificly for being an SD card... I hate having to either remap or manually use a file manager to get my TB files or anything else that uses the fake /sdcard instead of my actual SD card... id prefer all /data bleh...
Hammerfest said:
I guess I was a bit vague, I dont actually want it as extra storage or partition, I just want it all as /data instead of /sdcard... all the phone I have and have used (which I admit arent the latest, the newest I have used was an 8GB phone I cant remember the model of) so far didnt actually use /sdcard they just used /data... I have an SD card specificly for being an SD card... I hate having to either remap or manually use a file manager to get my TB files or anything else that uses the fake /sdcard instead of my actual SD card... id prefer all /data bleh...
Click to expand...
Click to collapse
it IS all on /data. /sdcard or /mnt/sdcard is a FUSE mounted filesystem from /data/media. All space accessible on /sdcard is also accessible on /data.
EDIT:
All my android phones do not do what you claim either, the internal mem is mounted as /mnt/emmc and /data is a 2GB partition on the emmc
lilstevie said:
it IS all on /data. /sdcard or /mnt/sdcard is a FUSE mounted filesystem from /data/media. All space accessible on /sdcard is also accessible on /data.
EDIT:
All my android phones do not do what you claim either, the internal mem is mounted as /mnt/emmc and /data is a 2GB partition on the emmc
Click to expand...
Click to collapse
ok, lets put it this way, nothing is mounted under /sdcard when i look at my phones without my SD card in them... get me now? when I go to phone data I have 7~Gb free listed for apps and such, there is no SD card listed, I dont know how to put it any other way, there is NOTHING in the removable or sdcard directory (the removable doesnt even exist on my phones) until I put one of my MicroSD cards in...
ergo, data is a 2gb partition you say, cool! I want to eliminate the fake sdcard partition then and combine it all into /data! I want the programs that store data on to the /sdcard to ACTUALLY GO TO MY DAMN SDCARD...
what phone do you have that has 7GB of /data/ ?
Hammerfest said:
ok, lets put it this way, nothing is mounted under /sdcard when i look at my phones without my SD card in them... get me now? when I go to phone data I have 7~Gb free listed for apps and such, there is no SD card listed, I dont know how to put it any other way, there is NOTHING in the removable or sdcard directory (the removable doesnt even exist on my phones) until I put one of my MicroSD cards in...
ergo, data is a 2gb partition you say, cool! I want to eliminate the fake sdcard partition then and combine it all into /data! I want the programs that store data on to the /sdcard to ACTUALLY GO TO MY DAMN SDCARD...
Click to expand...
Click to collapse
I said my phones had a 2gb data partition. what I said about the transformer is:
lilstevie said:
it IS all on /data. /sdcard or /mnt/sdcard is a FUSE mounted filesystem from /data/media. All space accessible on /sdcard is also accessible on /data.
Click to expand...
Click to collapse
get it, /sdcard is DIRECTLY linked to /data/media, you lose no space what-so-ever to the /sdcard link.
further more show me a phone that has all the space in /data that is listed as having 16/32GB mem, it is pretty standard, my sgs was /mnt/sdcard, until I flashed CM7 when it was changed to /mnt/emmc, still not seen what you say where a device has all its space as /data
im not saying its not standard, im just saying (as is the original request on my post) that I dont want it mounted as SDCARD because I want my damn programs and sdcard data to do to... you guessed it, my ACTUAL SD CARD...
when I make backups with Titanium Backup, I want them to go to the MicoSD card I have inserted like they would with any other phone/device without having to **** with anything else, same with game/app extra data that uses SD card storage...
I played with an SGS2 today and while i didnt get to play with terminal, I ran TB and the backup went to the MicroSD card inserted and not the internal memory... unlike what the TF does...
infazzdar said:
I could understand ASUS placing the internal storage as /sdcard since most stuff does expect/save to /sdcard automatically. Being that the tablet has an advertised 16GB of memory, ASUS probably believed that your every day average Joe wouldn't go out and buy an sd card.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
And that buy now after years of PC's with X GB hard drives that they would be used to losing some to the OS and recovery partiton. Especially since Windows and major Linux distro's have gotten excessively FAT.
Sent from my Transformer TF101 using Tapatalk
A lot of the newer tegra phones are set up this way.
Sent from my CushZero using Tapatalk
Hammerfest said:
im not saying its not standard, im just saying (as is the original request on my post) that I dont want it mounted as SDCARD because I want my damn programs and sdcard data to do to... you guessed it, my ACTUAL SD CARD...
when I make backups with Titanium Backup, I want them to go to the MicoSD card I have inserted like they would with any other phone/device without having to **** with anything else, same with game/app extra data that uses SD card storage...
I played with an SGS2 today and while i didnt get to play with terminal, I ran TB and the backup went to the MicroSD card inserted and not the internal memory... unlike what the TF does...
Click to expand...
Click to collapse
hate to break it to you but the SGS2 has a smaller /data partition, then the rest is mounted as /mnt/sdcard.
you do know that TiBU does allow you to select where you save your backup to right?
And for programs that don't (/mnt/sdcard/kindle for example), you can symlink the folder(s) they want to /Removable/MicroSD/(kindle) quite easily.
Sent from my Transformer TF101 using Tapatalk
I agree, its really annoying. A good example is dolphin browser. When I go to back up the settings and bookmarks "to SD" I have to hunt and peck in a file manager to find the stupid file and move it to my actual SD card. I am not at all a fan of the simulated SD card.
Superjoe said:
I agree, its really annoying. A good example is dolphin browser. When I go to back up the settings and bookmarks "to SD" I have to hunt and peck in a file manager to find the stupid file and move it to my actual SD card. I am not at all a fan of the simulated SD card.
Click to expand...
Click to collapse
yep, it annoys the everliving piss outta me, and while programs like TiB can "select" the location, and you can make "simlinks" for specific apps, I dont want to have to go through the hassle, I want to know that any program I use, when it requires the MicroSD, or normally saves to the MicroSD, to save to my &^*^&*%^%& MicroSD...
its as simple as that...
Guys, chill out, it's just a forum on the Internet.
Best alternative to dealing with the design: make a patch se or custom that screws with /init*.rc files accordingly. Main problem (give or take figuring out how to do it) would probably be how the system would react when no MicroSD card is mounted.
Sent from my Transformer TF101 using Tapatalk
lilstevie knows more about the partition structure of Android devices, and the Transformer in particular, than all of those in this thread put together. If you're not willing to take and/or accept that he has answered your questions multiple times and in multiple different ways, I can't help you and this thread is not going to go anywhere.
I am closing this thread.

[Q] Moving apps after int/ext sd swap

I just swaped my internal and external sd card by changing out ext_card and sdcard in /etc/vold.fstab
The swap works fine after restart.
I tried to copy everything from the sdcard to the external card, so it would be possible to use the apps again.
But it won't work after restart. If I swap it back it works like before.
What am I doing wrong or miss? Is there something I have to edit?
I only find tutorials for swaping and not really moving apps after swap.
I tried this:
http://forum.xda-developers.com/showthread.php?t=2548546
But the swap didnt work and the moving didnt work either. Thats why I did the swap manually with text editor as described in here:
http://forum.xda-developers.com/showthread.php?t=2045778
Thanks for input
Maybe I should add that I copied all files with rootbrowser directly on the phone by selecting all folders and copy them.
Will that copy everything? Or maybe do I have to use a shell with adb?
Re: swap, sd-ext
you need to copy everything, including the hidden "." folders, like ".android_secure", "Android".... you can use an the "Aroma File Manager in CWM mode", (try to search the forums), i used it to move everything because if Android is running even in Root Explorer i t wont let me move the files from sdcard to ext card vice versa....
cool, that worked fine! thanks
thought it would be better to do it with cwm, but didn't know that there is a filemanager, that is definitely convenient!!
your welcome
ndobode said:
cool, that worked fine! thanks
thought it would be better to do it with cwm, but didn't know that there is a filemanager, that is definitely convenient!!
Click to expand...
Click to collapse
Glad that I could help, your welcome

Categories

Resources