(I posted a similar topic here: forum.cyanogenmod.org/topic/116749-launchers-crash-no-matter-what/)
I use various CM versions on my Nook HD+, including the stable 10.2.1, the Unofficial 12.0 and 12.1 versions, and several nightlies. I was just getting more stuff from Google Play when things started crashing. So I rebooted my tablet, hoping to clear up some problems. I choose a launcher, and it says "Unfortunately, Trebuchet has stopped."
I have more than one launcher, so I tried them all. Same type of error. I've flashed different versions of CM in an attempt to clear up the problem, but to no avail. My tablet is pretty much unusable now. I need help! Any suggestions are welcome.
Did you do "wipe /data & factory reset" when going between CM10 and CM12.x?
No, because I haven't made a backup, yet. I have personal data I want to save.
CyanogenLover said:
No, because I haven't made a backup, yet. I have personal data I want to save.
Click to expand...
Click to collapse
You need to wipe /data when upgrading or downgrading between major releases of CM.
Sent from my BN NookHD+ using XDA Premium HD app
I don't mean to question your response, but I am curious - How will wiping my Nook fix the launcher problem? I was hoping for a simpler solution.
CyanogenLover said:
...
How will wiping my Nook fix the launcher problem?
...
Click to expand...
Click to collapse
The HD+'s /data partition holds the apps -- including launcher apps -- and their data/settings (to see all the apps in the partition, just browse the /data/app folder using a file-manager app that has "root explorer" permission enabled).
Wiping /data forces a clean re-install of the apps and re-initialization of their data/settings which otherwise might be incompatible with the newly flashed ROM version.
digixmax said:
... Wiping /data forces a clean re-install of the apps and re-initialization of their data/settings which otherwise might be incompatible with the newly flashed ROM version.
Click to expand...
Click to collapse
I think I know what you're saying, but please clarify: Does wiping /data delete the installed apps, or merely the data they store? If the latter is true, what should I avoid doing if I want to keep my apps? I'm trying to be careful not to get rid of the apps themselves, as I have so many (some are paid apps, and I really don't want to have to pay for them again).
A "wipe" re-formats the partition so the partition's content -- the apps as well as their data/settings -- will effectively disappear.
For all apps (whether free or paid) acquired from Google Play store (and Amazon App store) you should be able to re-download them at no-charge. If you have enabled the "Backup and Restore" option for Google Play store on your current ROM, typically your apps will be automatically re-downloaded to your device after you sign in (to Google Play store) on the new (or newly re-flashed) ROM. However, the apps' personalized settings will not be restored and you will have to re-enter them.
A "wipe" re-formats the partition so the partition's content -- the apps as well as their data/settings -- will effectively disappear. ...The apps' personalized settings will not be restored and you will have to re-enter them.
Click to expand...
Click to collapse
Where should I look for personalized settings? I can access CM's file manager via a startup manager, if that helps.
CyanogenLover said:
Where should I look for personalized settings? I can access CM's file manager via a startup manager, if that helps.
Click to expand...
Click to collapse
The apps and their data are in their respective individual folders in /data/app folders, but are unlikely stored in user-readable format.
digixmax said:
The apps and their data are in their respective individual folders in /data/app folders, but are unlikely stored in user-readable format.
Click to expand...
Click to collapse
I don't care if they're in a format that I can open; I merely want to copy this info elsewhere, so I can restore it when the data is wiped. In fact, I might be able to figure out which app is causing the problem (if it is an app).
CyanogenLover said:
I don't care if they're in a format that I can open; I merely want to copy this info elsewhere, so I can restore it when the data is wiped.
...
Click to expand...
Click to collapse
The simplest way to backup and restore an app and its data/settings is to use a Backup/Restore app such as Titatium Backup.
Ahhh, my first query... I'm getting misty-eyed.
Related
Hi guys
I'm still looking for the right rom for me so I flash different ones every now and then. The problem is with full wipe because for certain apps I would like to keep all settings and changes. In WinMo settings could really be anywhere - certain "ini" files or some entries in registry, it differed from app to app.
How do I do this on Android?
thanks
It would be stored in /data
I have found folders /data/data/package_name - would that be it? So I just copy contents of these folders and copy back on a fresh rom after the app has been installed again?
Edit: Yes, it worked for Vexed and SNESoid
There are a few good back-up apps on the market. I use Titanium which you can reinstall the app+data or just restore data. It also restores system settings and all that. The only problem it gives me, it causes problems with the market after a full restore so i only use the "restore data" features on apps. Hope this helps.
Semi Newb here, bear with me (came from IOS). Im having trouble with the restore process after I flashed a Rom for the first time (Pure Shamu). Prior to flashing the ROM is was on stock 5.0, unlocked, rooted. The process I went through to flash Pure Shamu.....1. Full Wipe 2. Wipe Cache 3. Flash Pure Shamu 4. Flash GAPPS 5. Flash SuperSU 6. Reboot. After I rebooted, I was asked to enter a password for Android. Upon searching, I found out this was do to the fact I was still encrypted. Wasn't positive how to get unencrypted without flashing a new kernel so I went ahead and flashed Franco Kernel. Everything then booted normally.
This is where I ran into problems with Titanium. I went to the Play Store and downloaded Titanium and proceeded to restore from the backup I created when I was stock. I made a back up of "all user apps + system data" The restore process seemed to go smoothly but once it was complete, hardly any of my apps actually restored. There is a huge list of apps in Titanium that are greyed out and and have a line strike though them. Im really not sure why this is happening. From what I have searched, I guess I can just redownload all of these apps from the PlayStore, but that seems like it defeats the purpose of backing stuff up. There are also items that are listed that aren't apps, ex: "Android System WebView, Android Work Assistant" among many others. I don't know what these do but they must do something since they were backed up.
I feel like Im banging my head against the wall with this whole process of flashing ROMS and restoring everything on the phone. The whole process seems very convoluted and not streamlined at all. I hear about people flashing different ROMS almost daily and it makes me wonder how they have the time. The actual flashing process is quick but this restore process has taken me forever. Maybe Im just doing it all wrong. If anyone could offer some advice, I'd be greatly appreciative. Thanks
1. Never restore system apps with TB!
2. Grayed apps with strike are not installed but you can restore them,
white apps are already installed/restored,
red and yellow aps are system apps.
Sent from my Nexus 7 using XDA Free mobile app
Atomregen said:
1. Never restore system apps with TB!
2. Grayed apps with strike are not installed but you can restore them,
white apps are already installed/restored,
red and yellow aps are system apps.
Sent from my Nexus 7 using XDA Free mobile app
Click to expand...
Click to collapse
Can you elaborate on that please? Why should I never restore system apps from TB? How would I prevent them from restoring?
Also what are all these other things that are greyed out that are not apps.
When you restore system apps, it usually comes to problems because the version of this can be different.
To restore user applications only, go to batch and restore all applications and data and uncheck all system apps.
For me there are no other gray things.
Sent from my Nexus 6 using XDA Free mobile app
Atomregen said:
1. Never restore system apps with TB!
2. Grayed apps with strike are not installed but you can restore them,
white apps are already installed/restored,
red and yellow aps are system apps.
Sent from my Nexus 7 using XDA Free mobile app
Click to expand...
Click to collapse
Sorry to drag this topic up again but I had one more question regarding backups. Is titanium also supposed to backup media (music, photos, videos, etc). From what I can see it is only for backing up apps and texts/call logs etc. It also doesn't appear to backup any settings within apps (maybe it should and isn't?).
What is the best way to backup media besides just keeping a copy on my comp and dragging it to device storage?
If anyone can assist me, that would be great. Thanks
So the title kinda says it all. All my apps are synced to my gmail account, so when I try out a new rom the play store will go ahead and install my previous used apps.
But...i always have to go through and reset each one. All my preferences and stuff get wiped out.
So what are the good folks here at XDA doing to keep their app preferences when after installing a new rom on their Amazon Fire?
Thanks
monkish34 said:
So the title kinda says it all. All my apps are synced to my gmail account, so when I try out a new rom the play store will go ahead and install my previous used apps.
But...i always have to go through and reset each one. All my preferences and stuff get wiped out.
So what are the good folks here at XDA doing to keep their app preferences when after installing a new rom on their Amazon Fire?
Thanks
Click to expand...
Click to collapse
Couple thoughts:
- do not wipe user/data partition when flashing a new custom rom (a user/data partition wipe is required when toggling to/from FireOS)
- try backing up and restoring user/data partition in TWRP or FlashFire
Neither option is perfect; some personal preferences/settings may still need to be redone depending where/how the app stores them. In some cases the new rom may take exception to an existing data partition leaving you with no choice but to wipe and reflash.
There are various apps that claim to backup other apps plus associated data & setting preferences but I find the outcomes and additional effort do not offset the benefits. Androids tethered backup/restore is also an option but you'll need to learn/use adb. Not hard; Google for details.
Thanks for the response Davey. I figured a 3rd party app would probably be the way. But maybe I'll check out adb and learn a bit about it.
The thing is I'm on Fire Nexus, and I wanna go back to CM, and the instructions say to wipe data/partition/etc. So I think I'm gonna have to go a 3rd party or adb way to save my data of my apps.
Thanks for the info!
monkish34 said:
Thanks for the response Davey. I figured a 3rd party app would probably be the way. But maybe I'll check out adb and learn a bit about it.
The thing is I'm on Fire Nexus, and I wanna go back to CM, and the instructions say to wipe data/partition/etc. So I think I'm gonna have to go a 3rd party or adb way to save my data of my apps.
Thanks for the info!
Click to expand...
Click to collapse
I'm pretty sure you can get CM to install/boot from Nexus base with just a system/dalvik/cache wipe. However, unless blessed with an early bootloader that permits booting TWRP there is no way to recovery (short of reloading FireOS) if the device fails to boot. Still - I might be tempted to try this approach once you have your app data saved using adb or a 3rd party tool of your choosing...just in case.
Titanium (paid) has a solid reputation but has not be updated recently and has some difficulty with newer roms (MM/N based). Most others focus on one type of data or a specific feature (eg: cloud storage) vs simply creating a basic, reliable backup of everything that can be easily restored. That's were adb backup/restore comes in. Good luck!
On OxygenOS Stock ROM (4.1.6) there are some apps came pre-installed that I don't use. For example Google Gmail, Hangout also OnePlus's own calculator/clock etc. I want to delete those apps and replace Gmail with Inbox. completely remove Hangout, OPCalculator and OPClock with Google's Calculator and Clock. I have deleted those apps before by manually deleting them from inside /System/App and /System/Priv-app
Now, I'm trying to write my 'own' TWRP flash-able updater script to do such action. But I am kind of confused if only deleting an APK's parent folder is enough to remove the apps completely? For example, if I only delete the folder System/App/(Deskclock) - is that enough or there will be related files remaining somewhere else?
* I know Titanium Backup or other debloat apps can perform similar task, but the main purpose of this question is to know how can this be done manually and properly without leaving un-necessary files in the system.
Thanks.
Deleting the folder of an app in /system/app will remove the app from your phone (as in, not showing up in launchers or the Installed Apps list). However, app data and updates may still be saved in the /data partition. To make sure all of it is removed, first clear data and uninstall all updates to the system apps you with to remove from the Installed Apps list (disable it), then delete the APK either through a root explorer, or a recovery script.
Anova's Origin said:
Deleting the folder of an app in /system/app will remove the app from your phone (as in, not showing up in launchers or the Installed Apps list). However, app data and updates may still be saved in the /data partition. To make sure all of it is removed, first clear data and uninstall all updates to the system apps you with to remove from the Installed Apps list (disable it), then delete the APK either through a root explorer, or a recovery script.
Click to expand...
Click to collapse
Thank you very much! Appreciate your replay.
Suggest to use OOS debloater via twrp
Babloo289 said:
Suggest to use OOS debloater via twrp
Click to expand...
Click to collapse
Are you talking about this one? https://forum.xda-developers.com/oneplus-3/themes/aroma-oos-debloater-t3615828
Hi, Just a quick question.. as you mentioned here
Anova's Origin said:
To make sure all of it is removed, first clear data and uninstall all updates to the system apps you with to remove from the Installed Apps list (disable it),
Click to expand...
Click to collapse
1. I wonder if this is even possible inside TWRP, I mean targeting those unwanted apps, uninstalling updates+ clearing app data/disable them.. Or you are suggesting me to remove them manually from the OOS interface/settings one by one?
2. Also while in TWRP, none of those app (that I will remove) are not functional so what's the points of clearing app data/uninstalling updates? why not simply delete /system/app/(app.apk) and /data/app/(related files.)
Thanks again.
tushxda said:
Hi, Just a quick question.. as you mentioned here
1. I wonder if this is even possible inside TWRP, I mean targeting those unwanted apps, uninstalling updates+ clearing app data/disable them.. Or you are suggesting me to remove them manually from the OOS interface/settings one by one?
2. Also while in TWRP, none of those app (that I will remove) are not functional so what's the points of clearing app data/uninstalling updates? why not simply delete /system/app/(app.apk) and /data/app/(related files.)
Thanks again.
Click to expand...
Click to collapse
1) If you know where the extra data/updates are stored in /data, then you could use a recovery script to delete them. It's kind of one-shot deal though, as unless you open the apps again (after re-flashing a ROM), they won't have any data saved to them the next time you want to delete them.
2) If they aren't functional, they likely won't have much app data to begin with. I would clear the app data from apps like Google Play Music or Movies (if you don't want to use them) before deleting them. Random Engineering Test Tools and unessential services won't have much data stored and can be deleted directly.
i think its just fine bt read other comments too for better understanding.
Hello. I searched but didn't find a solution. Titanium backup has been able to restore applications with magisk installed but not the data. Any way to get around this and have the data restored too?
Thx!
Did you ever get a fix for this? I have the same issue on 14.2 on the Pixel XL.
dbnaruto said:
Did you ever get a fix for this? I have the same issue on 14.2 on the Pixel XL.
Click to expand...
Click to collapse
No. I'm surprised nobody answered...
With titaniumbuckup i have issu, when i delate system apps and reboot phone apps still no remowe.
Which apps are you taking about?
Titanium doesn't backup nor restore Device-Encrypted data from /data/user_de. If the apps you're trying to backup store their data there, Titanium won't help.
By the way, is anyone aware of a root backup app that takes care of Device-Encrypted data? I haven't found any yet.
koko115 said:
With titaniumbuckup i have issu, when i delate system apps and reboot phone apps still no remowe.
Click to expand...
Click to collapse
Same
GnaXi said:
Same
Click to expand...
Click to collapse
TiBu backup and restore of system apps has been broken for years. At least for me.
Delete the files with a root file manager.
Titanium backup won't help if you do an operation in /system partion (e.g restoring system apps, freezing system apps, etc.) That's is Magisk work (to be systemless). You can do operations in Titanium backup in /data partition.
This is why the app won't delete after reboot.
Sent from my Wileyfox Swift using Tapatalk
vhick said:
Titanium backup won't help if you do an operation in /system partion (e.g restoring system apps, freezing system apps, etc.) That's is Magisk work (to be systemless). You can do operations in Titanium backup in /data partition.
This is why the app won't delete after reboot.
Sent from my Wileyfox Swift using Tapatalk
Click to expand...
Click to collapse
So how tempomary off magisk without reboot for titanium buckup do someting in/system partition ?
I'm talking about regular, non-system applications. TiBu says it successfully restored the application yet when I open it does not have the old data...
grimloktt said:
I'm talking about regular, non-system applications. TiBu says it successfully restored the application yet when I open it does not have the old data...
Click to expand...
Click to collapse
App names that don't restore?
If course your are restoring app & data right?
Fif_ said:
App names that don't restore?
If course your are restoring app & data right?
Click to expand...
Click to collapse
eWeather HD
Google Voice
Mint: Budget, Bills, Finance
USAA
There are probably others but here are a few...
Yes, I'm restoring App + Data
grimloktt said:
eWeather HD
Google Voice
Mint: Budget, Bills, Finance
USAA
There are probably others but here are a few...
Yes, I'm restoring App + Data
Click to expand...
Click to collapse
Well I just tried USAA and a basic setting change (device nickname) was preserved after a restore.
Now, some apps encrypt their data with the device ID or some other ID that may change across a data reset or across devices. Or they store some credentials in the Android Key Store which Titanium cannot access.
It would make sense for financial apps to use the system key store to store your credentials or a key to encrypt ask the data they store on you.
BTW, USAA contains a buttload of trackers and other "analytics" frameworks.
Hello!!..friends I will use subtractum..shud I backup my aex ui before proceed..I am using magisk..
Gunjan Saikia said:
Hello!!..friends I will use subtractum..shud I backup my aex ui before proceed..I am using magisk..
Click to expand...
Click to collapse
It's good practice to make a backup before modifying your device.