Revert from Apps2SD with Apps intact? - G1 Q&A, Help & Troubleshooting

Sorry if this has already been asked before, but searching through multiple pages of results using multiple search terms I was unable to find the answer that I was looking for.
Is there a way to revert from automatic Apps2SD with Cyanogen without losing my applications.
Would:
adb pull /system/sd/app app
adb pull /system/sd/app-private app-private
Before a full reformat of my SD card to a single partition work?
I'm looking to keep all of my data and settings if possible. If not, I'll probably just end up staying with Apps2SD.

cityeyes said:
Sorry if this has already been asked before, but searching through multiple pages of results using multiple search terms I was unable to find the answer that I was looking for.
Is there a way to revert from automatic Apps2SD with Cyanogen without losing my applications.
Would:
adb pull /system/sd/app app
adb pull /system/sd/app-private app-private
Before a full reformat of my SD card to a single partition work?
I'm looking to keep all of my data and settings if possible. If not, I'll probably just end up staying with Apps2SD.
Click to expand...
Click to collapse
make sure you also pull /data/data since thats what holds all the data and settings
in app and app-private are the actual apks
an adb pull of the app, app-private, and data/data folders should be all you need after you finish reformatting your card

you can just use a program like appmanager pro to back them up and then use backup for root users to copy the app data, then transfer them to your computer, wipe your sdcard to a single partion than reflash your rom so it drops apps2sd then transfer apps back to fresh format sdcard, install apps then use backup for root users

Your pull commands will be successful in backing up your apps to your computer, however, you will have to reinstall them one by one using Linda File Manager, or similar program to have access to the package installer feature. I would say use something Backup for root users or Atrackdog which allows you to bulk reinstall. If you have a lot of apps, reverting back to using the phone's internal memory is obviously gonna force you to pick and choose which apps you want to keep.

Ahh. Thanks for the clarification. I might just stick with Apps2SD instead of going through all of that. I thought that maybe there was a way to push the applications to the internal memory of the card in order to completely skip the whole "reinstallation phase". If I do end up doing it, I might go with the batch reinstall process.
I'm not having many problems with apps2sd, I just figured the small benefits that I'm getting don't outweigh the fact that my SD card is getting taxed in the process.
Thanks for all of the helpful responses!

sd cards are cheap, by the time you burn that card out, bigger and better ones will be cheap too

I'm shocked with all the helpfull info grid is putting out.

gridlock32404 said:
sd cards are cheap, by the time you burn that card out, bigger and better ones will be cheap too
Click to expand...
Click to collapse
Yeah that's true. I just had no scale as to how fast the cards burn out. Some people are saying they last years, some say they last only a few months.
I guess with the majority they last at least a year, which is absolutely fine by me. Thanks for all of the help!

i have had the same sdcard for over 2 years with no signs of damage or corupting
and once again preme, screw you

Related

In and Out

While I wait to find someone who knows the answer to my other question.
forum.xda-developers.com/showthread.php?t=764260
I thought I would ask another re: the memory. I have an 8Gb with a class 6 16Gb external. When I install apps they always put their data on the internal 8Gb. Is there any way to change this and if not what would happen if I just cut and pasted it all there?
if you cut and pasted the data from /sdcard im pretty sure your apps would run fine and re-create the data as its needed, as most of this data ie for games, is savegame data and resources.
After coding an audio recorder myself im pretty sure the location where this data is stored will be coded into most apps, well thats what i did, and most if not all apps unless they allow you to change the string variable as an option, will use the internal SD because some people might not use an external. So imo it depends on the app
Also if you have rooted your device and have root explorer you will see that infact, most of the applications data from installation is not on the sdcard at all
Also if you have rooted your device and have root explorer you will see that infact, most of the applications data from installation is not on the sdcard at all
Click to expand...
Click to collapse
Go on enlighten me.You know you want to

[Q] How to set the primary sdcard folder

Is there a way to switch the sdcard / sdcard-ext folder names to make the external sdcard the primary one? Or is there any other way to set the primary sdcard?
Thanks!
I was disappointed to see the phone force you to use sdcard and then renamed my microsd card to sdcard-ext. It made it quite a bit of a hassle to restore programs or use the backup features of other apps.
I know its been done on some tablets running 2.3 (My old Viewsonic G Tab). On those you had to edit the vold.fstab to mount them the way you want.
I'd love to do this too. I made a lot of songs available offline in Spotify, synced some mp3s etc and it all ended up on the internal "sdcard", not my 32gb class 10 Patriot MicroSDHC (which works perfect with the D3).
The same goes for most apps.
If someone has experience doing that please tell us how to do, I'm not too experienced in such Linux filesystem things. THANKS!
+1 this is very annoying.
Sent from my DROID3 using xda premium
/etc/vold.fstab seems to be the right place to change it, like mentioned above. However I think the risks are little, I wouldn't be the first who tries out ... at least not before an SBF is available.
And I cannot fully assess what it means for future updates, if and how it has to be undone then. I'd rather recommend to live with this naming.
Thanks for explaining that und danke.
I'm more curious to see if we can remove the space allocated to "sdcard" and merge it back with the internal program storage, then when I drop my actual sd-card in, it mounts as "sdcard".
Possible? Or is that a rom only thing.
Does this link help?
Partitions for the x2
I'm afraid I'm not experienced enough to dare to try it ^^

Strange file system issues

My file system is totally confused. When I browse to EMMC from a file manager it goes to my SD Card. If I browse to SD Card it actually goes to the internal drive.
I've had my rooted Nook Color for about 5 weeks now (CM7 booted from a SD card). Everything was working great until I tried installing some different launchers. I tried GoLauncher, Zeam, ICS, Honeycomb and maybe one more. The default was ADW. Maybe I confused the system by constantly switching from one to the next but at some point the system crashed and I rebooted.
Once rebooted I noticed that many of the games I installed told me I needed to redownload their data files. I looked on my card, through my Mac, but the original files were still there. Turns out the Nook now installs apps on the internal drive rather than the card as it had been before.
Wouldn't be so bad but, as mentioned earlier, the file system is confused. When i need to manage files I've loaded on my SD card I have to browse to EMMC and vice versa. Makes my head spin.
Is there a way to fix it without starting from scratch? I'm using CM7.2.0.
Thanks for your help
That's not a bug, it's a feature. Anyway, what you likely did is Settings -> Cyanogenmod Settings -> Application Settings -> Use internal storage (checked). If you do this, then it swaps the mount points for the SD and the internal memory, so the SD card is mounted at "/emmc" and the internal memory is mounted at "/sdcard". See the first post in the thread in my sig for more information about this.
If you really want to return it to the original way, wasting 5G of internal storage space, then you can uncheck that box in the settings and it'll go back to normal.
Thanks for pointing that out and glad to see there's an easy fix. Seems a bit confusing though, like it's renaming your hard drives or something. I had been using the internal drive for storing media files, video, music, comics. Does it matter where apps or files are stored?
false1 said:
Thanks for pointing that out and glad to see there's an easy fix. Seems a bit confusing though, like it's renaming your hard drives or something. I had been using the internal drive for storing media files, video, music, comics. Does it matter where apps or files are stored?
Click to expand...
Click to collapse
Well, the "fix", IMHO, is to leave it with them swapped.
Yes, it matters where apps are stored and it matters what is mounted at /sdcard. Apps use space on the /sdcard partition for settings, temp storage, downloads, etc. Mounting that 5G partition at /sdcard instead of /emmc allows these apps to use that space rather than cluttering your actual SD card. And apps are going to wind up on your 1G partition, not on either the /sdcard or /emmc mountpoint.
You can go read up in my guide on my recommendation on how to best use this space. The normal way is inefficient and wasteful of internal memory, IMHO. But you know, maybe you like it that way
mr72 said:
You can go read up in my guide on my recommendation on how to best use this space. The normal way is inefficient and wasteful of internal memory, IMHO. But you know, maybe you like it that way
Click to expand...
Click to collapse
I think efficiency is more in how you choose to utilise the spaces rather than fundamentally in which switch option you use. For example, I choose to completely fill the 5GB of internal with sound and picture media as they get included in the normal app scanning process. Leaving the SD card to hold yet more media, app data and back ups.
It's still good to have the choice offered by the switch.

[q] sd-ext s2e

Hello all. I have problem with my sd-ext. What i mean. It happend with 2 different ROMs. Yesterday with CM9 and today with Apocalypse. All works ok till i use S2E. I checked in S2E option Mount as ext4, reboot, checked move apps to sd-ext and all gone. No have them and system looks like after reinstal - fresh. Inn app manager apps are but only as browser.dolphin.firefox.opera... or com.sygic.aura. But they are invisible in drawer. What i am doing wrong. How to move safetly to sd-ext without that problems. Help!
try darktremors app2sd
But i want to know what heppend... It is S2E fault or sd-ext sth wrong?
Wojtys said:
But i want to know what heppend... It is S2E fault or sd-ext sth wrong?
Click to expand...
Click to collapse
I tried S2E today, and it did not work. Looks like undocumented rubbish to me.
I tried moving only the Dalvik cache, but after I activated that function and rebooted, all the settings but the last were greyed out, so I could not even undo what the piece of garbage had done.
Another point is that it has a setting allowing you to choose between ext3 and ext4. This is stupid, because the normal user cannot possibly know what to choose there. He cannot know whether his ext partition is ext3 or ext4, because the most common recovery, Clockworkmod, has no such choice in its SD card partitioning function. If the program itself cannot find out, how can the user? It is not even clear what the setting actually does.
So we keep wading through the idiot swamp, until somebody writes a usable program and documents it properly, if a really good program needs documentation at all.
My general advice is, look carefully at a program. Check its settings. Check its documentation for quality and completeness. As soon as you spot the first sign of madhouse style, drop it like a hot potato and look for something better. There are too many garbage programs around these days to waste our time with.
If you cannot find any that fulfills the minimal requirements for decent software, give up on the apps-to-ext idea. Buy a phone with more internal memory, if you have money to spare, or delete the programs you can do without.
The minimal requirement for an apps-to-sd program would be that it can cleanly move installed programs to the ext partition and back. Since you may have installed too many programs to move them all back, I would think that the program should help you to uninstall enough programs to make the rest fit, if you have to move them back.
hgmichna said:
I tried S2E today, and it did not work. Looks like undocumented rubbish to me.
I tried moving only the Dalvik cache, but after I activated that function and rebooted, all the settings but the last were greyed out, so I could not even undo what the piece of garbage had done.
Another point is that it has a setting allowing you to choose between ext3 and ext4. This is stupid, because the normal user cannot possibly know what to choose there. He cannot know whether his ext partition is ext3 or ext4, because the most common recovery, Clockworkmod, has no such choice in its SD card partitioning function. If the program itself cannot find out, how can the user? It is not even clear what the setting actually does.
So we keep wading through the idiot swamp, until somebody writes a usable program and documents it properly, if a really good program needs documentation at all.
My general advice is, look carefully at a program. Check its settings. Check its documentation for quality and completeness. As soon as you spot the first sign of madhouse style, drop it like a hot potato and look for something better. There are too many garbage programs around these days to waste our time with.
If you cannot find any that fulfills the minimal requirements for decent software, give up on the apps-to-ext idea. Buy a phone with more internal memory, if you have money to spare, or delete the programs you can do without.
The minimal requirement for an apps-to-sd program would be that it can cleanly move installed programs to the ext partition and back. Since you may have installed too many programs to move them all back, I would think that the program should help you to uninstall enough programs to make the rest fit, if you have to move them back.
Click to expand...
Click to collapse
Undocumented rubbish? What? The app or ur brain? You cant just call an app like that just because you cant make it work. Alot of users have been using it without problems.
Sent from my GT-S5830 using xda premium
Shadow xD said:
Undocumented rubbish? What? The app or ur brain? You cant just call an app like that just because you cant make it work. Alot of users have been using it without problems.
Click to expand...
Click to collapse
What exactly do you mean by, "make it work"?
S2e moves all non System apps to SD-ext. So, it will move itself to SD-ext aftwr reboot. This means the SD-ext won't be mounted at boot, and non System apps won't be accessible after boot (even if their shorcuts are there).
Simple solution for this problem; make s2e a system app before running it, and use some common sense before flaming a great app.
How to make it a System app? Move s2e to System/app and give rw, r, r permissions.

deleting unnecessary stuff out of system folder - Android 11

greetings community,
i have tried to search it, but being pro newbie, I found nothing. Is it possible to make this folder little bit lighter it takes 22gb of space, and my poor phone has only 64gb
I have rooted devices
thank you in advance
You can delete some apps using root file manager. I've use root explorer and have for years but nowadays there are times where it will not allow me to delete some apps (YouTube, chrome are a few this has happened to me on..) that my phone will NOT allow me to. And yes I have magisk and root explorer pro has root permission when this has happened. One way to get these apps off when this has happened to me is use another root file manager. Amaze file manager did the trick. I was able to delete apps I could not with root explorer. I'm BIG on not having useless bloatware on my phone so disabling apps is NOT my style. I usually save a copy by making backup and throw the backed up apks on my laptop or a USB thumb drive and delete whatever in case I end up deleting something that messes with my phone...Far as what can be deleted and what can't you can just discover for yourself. That's what I've done. I'm currently on a custom rom and I normally don't do much deleting unless I'm using the Google stock rom. If and when I do wipe more off stock I'll return and give you a list of what I did clear out. Just look in /system/app, /system/priv-app, product/app, /vendor/app with a root app and go to town. That's what I've always done. I believe TWRP for Android 11, the test build that bigbiff dropped about a month ago works now to make backups so that would be something to maybe do before hand in case you end up needing to restore your rom. On a few other devices I've owned people would sometimes make a thread on here for apps that can be removed and all and then list what they took off and what not to. I believe this Is what you are talking about.. If so hopefully it helps
Far as making system folder smaller and not meaning apps I believe it's possible but I think maybe you would have to repartition your device to do that and although it's possible it's dangerous. One wrong move and you have a paper weight doing that. I messed up my original Pixel XL because power went out while I was doing it before I was done and it was a goner. If anything I say here isn't right or there is more information about this please someone share who has more knowledge of this sort of thing. I would love to know as well. Good day/night to all. Cheers.
100kaa said:
greetings community,
i have tried to search it, but being pro newbie, I found nothing. Is it possible to make this folder little bit lighter it takes 22gb of space, and my poor phone has only 64gb
I have rooted devices
thank you in advance
Click to expand...
Click to collapse
@100kaa
You would be better off deleting excess files, trash, and photos that are already backed up. The system partition can be mounted and some files removed, but for the most part it is a minefield. Google has a fantastic new tool (since changing Photos retention rules) called "Takeout" that allows you to back up the contents of many parts of your phone and allows you do d/l it in compressed format directly to your PC. Check it out. OTHERWISE- If you simply must carry large files like movies, music database, pictures etc. then consider getting a USB-C OTG drive.
https://takeout.google.com/
This is why you get a phone with an SD card slot.
You then use the SD card as your data drive.
Only the apps and temporary folders go on the internal memory.
Next best thing is a flash stick or use cloud based storage which has downsides to it. Even if your internal storage is huge you don't want to store critical data there. I use about 64 of my 500gb of internal vs 340 of 500gb on the data drive.
If a large data base is on a large internal memory a data restore takes... forever. Most times the SD card is spared in OS crash and burns. Plus it can be used to restore the OS drive apps and settings.
Much of the above doesn't help you now but it could with future devices. All my PCs even my laptop are configured as dual drives. I learned a long time ago it works well, saves sweat and data.

Categories

Resources