[Q] Moving apps after int/ext sd swap - Sony Xperia Miro, Tipo (Dual), J, E

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

Related

SD card problems

I'm running TNT lite 2.2.0 (yes I need to flash a more recent version...) and I cannot seem to access my SD card in any way. When I took it out it told me that I had removed it unexpectantly, and when I tried to get back into ES file explorer it had all my root forlders an files in what it called: /sdcard. And the area labeled: / (the root of the gtablet) there were the old files that used to be on my SD card, even though I had removed it... from then on I have been having tons of problems accessing files, sometimes it seems like I have no files at all today, I opened it to access some media I downloaded and only the folder labeled "data" was there with a bunch of random stuff in it that I truly don't care about. Now, I got a new SD card, put it in and still the files from the old SD card were still there.... I don't know what to do, I tried clearing the cache, didn't work, I tried accessing SDcard anylist the whole app force closed on me, so that didn't work either!!!! I don't know what to do!!! I also tried rebooting, didn't work... I need help thanks.
I got it, the directory was just different but it still will not let me delete or rename stuff... still help please?? I even tried a different file explorer...
The /sdcard folder is internal memory. The /sdcard2 folder is the actual path to the microsd card.

[Q] Can't move files from internal SD card to external SD card from within the XOOM

I've searched the forums and can't seem to find an answer to this, but I do know that others have the same issue. For example, when I download a file such as a new kernel zip file, I am unable to move (using Root Explorer or any other file manager) the file from the internal SD card over to the removable external SD card. I always have to connect to my Mac in order to place the file on the external so that I can move forward with flashing, etc. Anyone have a fix for this? I can't believe that such a simple and required function doesn't work. I realize that the external SD card functionality is based on a hack/mod, but it seems like not being able to write to it from within the device makes it somewhat useless in many ways.
EDIT: Nevermind, SOLVED. Found out you have to "copy" and not "move"...works like a charm
In Root Explorer you need to go to the top left and you'll see a button that says Mount R/W make sure it isn't set as Mount R/O. Afterwards make sure you move the files to SDCard/External so you can see it in recovery.
Good you got it to work..

How to move Amazon MP3s to External SD?

I recently bought a 16GB card for my G2X, and I started downloading more of my music directly to the phone. The problem is, I can't seem to figure out how to move my music to the External SD. I tried to use Astro, but when I selected the Amazon MP3 folder and tried to copy it to the External SD, I got a move error.
Now that I look further, I can't seem to do SQUAT with the external SD. I see it listed in SD and phone storage, but I can't move anything to it with Apps2SD or with the native GB app manager. Am I just missing something?
Are you rooted? If so, try using a Root File Explorer, such as SUFBS or Root Explorer.
I am not. Do I really need to root to use that external SD slot?
Irishdoom said:
I am not. Do I really need to root to use that external SD slot?
Click to expand...
Click to collapse
No, but I just figured, you'd be able to have SU Access, hence, more permissions in Android to move files.
Just try a different file manager from the market. I always had trouble with Astro when moving files to the external sdcard. Anttek File Explorer and Super Manager are two good ones and they're both free.
First thing you do is unmount you external sd card in the sd card settings of the phone and then take it out right away after it says unmounte dof corse then reinstall it and wait till it is done scanning it then see if that works. If not then I would try a different card one that you know works in something else and also try that on in a different device like your pc and see if it workes there this way you can determin if the card is broken or if the phone slot is brokem and if the phone seems to be broken I would try a factory reset.
Thanks, Phburks, I tried Super Manager and that seems to be moving it just fine!

[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.

Solved! How to swap the internal and external SD cards so apps install externally

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

Categories

Resources