Related
I apologize if this post isn't very clear, I'm tired and English is not my native language...
I upgraded to Cyanogen's 5.0.7 Test 5 ROM not too long ago from CM 4.2.14.1. Before doing that I backed up my app data wit Backup for root users. I haven't done that before, so I checked multiple boxes, not knowing which one was the correct one. The tutorial I followed then stated I should check the SD-card to make sure only app data was backed-up, and no system data.
So I checked and found only maps from my apps.
So far so good.
However, when I restored the app data, my home screen got messed up. It thinks the fourth screen is the center one (so it goes there when pressing the home button) and all widgets say "Problem loading this widget". Also I can't change anything. I Can't remove or rearrange widgets or shortcuts. If I try to do so, Android crashes (FC on android.process.acore).
I'm pretty sure it is completely my own fault, not a bug in the ROM. When I restored the data I must have corrupted the file in which the home screen data is stored.
So, finally my questions: Is there a way to restore this without doing a wipe (I'm guessing re-flashing without a wipe will still keep the corrupted settings)?
If anyone can tell me which file is responsible for the home screen settings, can I delete it so Android will restore it with a new (empty) one?
Can I replace it with someone else's? Or extract it from a ROM-file?
That are the solutions I came up with. If its easier to just wipe and re-flash, tell me and I will do so. I just hoped there was a way I can prevent having to set up the phone all over again...
Thanks in advance!
Did you nandroid backup? If you did, restore it and backup all your apps using Titanium Backup. Backup for root users has always gave me problems as well. Titanium Backup allows all the same options that you need, but just works better imho.
If you didn't nandroid and can't do that - I'm pretty sure a wipe is your only option. You can try fix_permissions from the terminal, but I don't think it's going to fix your problems.
I did do a nandroid backup, but that was just before I flashed CM 5... I guess restoring a nandroid backup from my CM 4.2.14.1 setup is not a good idea?
Hmm, guess I will be re-flashing this evening Thanks anyway!
EDIT: I will use Titanium from now on... I had heard of it, but the tutorial I followed used Backup for root users...
Restoring a nandroid backup is NOT bad at all. That's what its there for. It doesn't matter if you nandroided a completely different ROM then flashed CM5. Flashing a new ROM doesn't affect the nandroid backup EVER.
You flash a nasty, nasty ROM and are like, "Oh ****!" Just go nandroid.
I usually wipe all data/cache before restoring, but some people don't. Either way, it completely restores your phone to the state it was at before backing up. This includes applications and everything. (App data, system settings, app settings, etc.)
I thought nandroid just restored system files and settings... But if it completely restores my phone, a might just as well wipe and re-flash since it will restore it to the previous ROM.
Thanks for the info, I have learned some more about my phone
Hi everyone @ XDA,
I think I got a problem…
I just flashed CM6.1 with the following method:
1. Made nandroid backup of my Liberated R12
2. Wipe data/factory reset
3. Cleared dalvik cached memory
4. Flashed CM6 and it works fine, just like a brand new phone without all the previous apps and data from my R12
The I wanted to transfer all user data (apps, contacts, etc) from Liberated R12, so I did the following:
i. Reboot into nandroid
ii. Advanced restore
iii. Restore user data
Did that and now my Aria isn't starting up! The Cyanogen boot animation has been playing for about 5 mins now and I can't force reboot by holding the power button down. Neither does holding volume down + power button do anything other than putting it to sleep.
What did I do?! What can I do??
I think I just need to restore nandroid backup… but how to get there? Manually taking out the battery??
Please help. Thank you very much.
////////* UPDATE *////////
I took out the battery manually and restart the phone, but the same CM6 boot animation kept looping endlessly. So I took out the battery again and restore my Liberated R12 nandroid backup. Now it's running back to before I flashed CM6.
Even though I'm lucky I didn't destroy the world, perhaps someone with more knowledge on this can share what I did wrong so that others may avoid making the same mistake.
I think it was the step where I made an advance restore of user data that something went wrong. If so, then how do I retrieve just the user data from my nandroid backup without installing the R12 ROM?
Now I've experienced first hand the power of nandroid backup! ALWAYS remember to make a nandroid backup all n00bs out there!
Thank you again guys!
emigre said:
////////* UPDATE *////////
I took out the battery manually and restart the phone, but the same CM6 boot animation kept looping endlessly. So I took out the battery again and restore my Liberated R12 nandroid backup. Now it's running back to before I flashed CM6.
Even though I'm lucky I didn't destroy the world, perhaps someone with more knowledge on this can share what I did wrong so that others may avoid making the same mistake.
I think it was the step where I made an advance restore of user data that something went wrong. If so, then how do I retrieve just the user data from my nandroid backup without installing the R12 ROM?
Now I've experienced first hand the power of nandroid backup! ALWAYS remember to make a nandroid backup all n00bs out there!
Thank you again guys!
Click to expand...
Click to collapse
What user data are you trying to restore? If you used titanium backup and also used Google's syncing for contacts/calendar/etc then what else would you need? I wouldn't put much faith in nandroid's data restore when going across different roms.
I was trying to restore all user data, including installed apps, contact lists, notes, calendars, etc.
My titanium backup is one of the apps (which i need to restore) i would need too if i were to restore using your method right?
So if i were to reflash cm6 again, what is the best and most reliable method to have ALL my current data in R12?
Basically everything except the R12 ROM.
Thanks for your guidance! Appreciate it.
Sent from my HTC Liberty using XDA App
back everything with titanium. Then do a clean wipe and flash cm6 and gapps. from there the only thing you need to download is Titanium backup again from the market. All the backed up data is saved to your SD card so once you reinstall Titanium it can then restore whatever apps/data you backed up from liberated. contacts and calendars you can sync to Google.
Duh! Thanks CallmeAria, you got me there! It is so obvious now that I got it, can't understand why it didn't cross my mind to do it that way!
Just wanna share this though:
Funny thing that when I restored all backup apps and system data (wifi, messaging, etc) —*it didn't really restore everything except for apps. I had to bluetooth my contacts from my other phone (Sony Ericsson w890i) to my Mac, then bluetooth it from the Mac to my Aria.
It just wouldn't connect from the Ericsson to the Aria.
Which now actually brings up 2 questions:
1. Why didn't my contact get restored (Batch > Restore missing apps + all system data) with Titanium backup? I followed the instructions to Batch > Backup all user apps + system data.
2. Aria rejected incoming bluetooth connection from my Ericsson even though I already successfully paired them. Supposed I don't have my whole phonebook.vcf, I'd be a dead man walking by now.
Good news is, finally got a working CM6 with all my contacts. Time for me to tinker around
Thanks again!
That happened to me, i did wipe the data again, then did start. normaly
Hello, I exited a game and my phone screen go black (it crashed) so I had to press power off for 10 second but i got a bootloop when it booted.
I tried to wipe cache/dalvik cache but I was stuck at the part when the phone was preparing all the app for boot.
So I made a backup and restored a previous backup. Now can I restore my data from the backup by browsing it or what ever to restore my sms or some game data ?
Thanks
Re: Data gone ?
Bump
The only method I know to restore data is Titanium Backup.
What combo rom/kernel you have?
Was a nandroid backup? (if so, you should have everything back)
Re: Data gone ?
I was on cm10 with motley kernel
I had a backup but it was 1 day old so I lost many sms+ data but I found an app to browse my backup I made after the crash and restore thing like sms, call, wifi setting, browser data, home screen...
My Nexus 10 had two user accounts, mine and my wife's. I was the primary account.
I had a bunch of trouble with the Kit Kat OTA install (see my other thread) so I ended up using WUG's Toolkit to restore root and then did a nandroid backup as well as backing up data/media with the Toolkit. I tried to backup the apps with the Toolkit but it wouldn't work for a bulk or single app backup (would complete immediately and be a 0 kb file). I used Titanium Backup to backup all of the apps in my account.
At no point was I ever given an option to back up files for my wife's user account (I'm the main account, she's got a secondary user account). I tried to log into her account and do a Ti Backup but her account didn't have root. I tried to get root with the toolkit while logged into her account and it wouldn't work and didn't give me the impression that it was supposed to work on the secondary account so I assumed (hoped) that her account was included in the backups I already had.
So after all of this backing up, I flashed stock Kit Kat + Root with the toolkit. Everything is up and running properly but it appears I've got NO backup files for my wife's account (other than the Nandroid (maybe)but I'm not aware of any way to use that without screwing up my clean install of Kit Kat).
So my question is, what is the proper way to backup a device with multiple user accounts so it can be restored after a wipe? Also, if a Nandroid backup is done on a buggy/screwed up firmware upgrade, can the Nandroid still be used to restore the device after the firmware is flashed clean/working properly or will the Nandroid bring back the bugs it had before the wipe/install? If so, the Nandroid backup would include my wife's user account correct? Thanks.
Nobody knows how this works?
Cliff-Notes:
--What is the proper way to backup a device with multiple user accounts so it can be restored after a wipe?
--If a Nandroid backup is done on a buggy/screwed up firmware upgrade, can the Nandroid still be used to restore the device after the firmware is flashed clean/working properly or will the Nandroid bring back the bugs it had before the wipe/install?
--If so, the Nandroid backup would include my wife's user account data correct? Thanks.
I would think a backup made from recovery would copy all data regardless of how many accounts you have and would restore it all just as it was.
Recovery/nandroid backups are account insensitive in that its a low level blanket backup of all data and settings.
Backup of a buggy system will result in buggy restore of system
planet_x69 said:
I would think a backup made from recovery would copy all data regardless of how many accounts you have and would restore it all just as it was.
Recovery/nandroid backups are account insensitive in that its a low level blanket backup of all data and settings.
Backup of a buggy system will result in buggy restore of system
Click to expand...
Click to collapse
Thanks, so if I restore using my Nandroid backup of the buggy system, the end result will be a buggy system again correct?
So the only option to backup multiple accounts on a buggy system and be able to restore it later and not end up with a buggy system would be to make a backup in custom recovery (TWRP or CWM)?
Stinger2300 said:
Thanks, so if I restore using my Nandroid backup of the buggy system, the end result will be a buggy system again correct?
So the only option to backup multiple accounts on a buggy system and be able to restore it later and not end up with a buggy system would be to make a backup in custom recovery (TWRP or CWM)?
Click to expand...
Click to collapse
No recovery (custom or other) can make a clean backup out of a preexisting buggy system.
The important bits you really need is your data, the system will be your apps and kernel etc.
One can usually make a clean backup of the data, flash to stock, reload apps and flash data go about your business as if nothing had happened.
Once the system gets buggy and you have no backups, unless you know exactly what caused the bugs and know what to uninstall or what to install to patch/repair using adb or other, you will need to flash a clean system to restore.
OK, I've got a clean install now, I'm just trying to figure out if I have any way to restore my data from the backups I have. Sounds like my data/media backup from the toolkit may do the trick.
planet_x69 said:
The important bits you really need is your data, the system will be your apps and kernel etc.
One can usually make a clean backup of the data, flash to stock, reload apps and flash data go about your business as if nothing had happened..
Click to expand...
Click to collapse
Regarding this statement, I've done the toolkit "Restore Data/Media" and it didn't bring back the second user account, nor did it restore game saves (Real Racing, TrialX2, etc.) in my account. In Titanium Backup, I have the option to "Restore All Apps With Data" or "Restore All System Data". I did the "all apps with data" option and it brought back my game saves but nothing in the second user account.
Here is the weird part though. Restoring app data from Titanium also restored the "buggy" issues. The home button no longer works, the second user account can't be accessed, the lock screen is gone, etc.
Any idea what app data would cause this?
Is there a fix other than flashing stock and starting over again?
Stinger2300 said:
Regarding this statement, I've done the toolkit "Restore Data/Media" and it didn't bring back the second user account, nor did it restore game saves (Real Racing, TrialX2, etc.) in my account. In Titanium Backup, I have the option to "Restore All Apps With Data" or "Restore All System Data". I did the "all apps with data" option and it brought back my game saves but nothing in the second user account.
Here is the weird part though. Restoring app data from Titanium also restored the "buggy" issues. The home button no longer works, the second user account can't be accessed, the lock screen is gone, etc.
Any idea what app data would cause this?
Is there a fix other than flashing stock and starting over again?
Click to expand...
Click to collapse
Toolkit or Titanium backups are NOT the same as nandroid backups.
The nandroid backup will backup all data regardless of how many accounts you have installed.
Titanium and other OS level tools are not account agnostic. TB though I believe has an account option but shouldnt be used as primary system backup tool. Always use your recovery based backup as your primary data recovery tool.
Hello All!
Before you tell me to search or check threads, I already have. This problem does not have anything to do with forgetting to disable the pins and fingerprints before backing up. My problem has do do with I have already disabled/removed security before backing up my nandroid. I check/select everything that I can to backup and it successfully completes. When I go to restore, everything looks to be properly restored, but alas, there is a problem. When I reboot, it asks me for a password to get into TWRP (apparently "default_password). But when I get in and go to file explorer to find anything, my entire storage is wiped. Like no OS or any files. The only other issue I've had besides this is when restoring a nandroid, it doesn't complete and reboots to a bootloop.
I am on the newest version of TWRP, 3.0.3-0. Any help would be greatly appreciated as I, and anyone who has had to redo the complete phone setup/customization, do not enjoy taking over an hour to get things back up and running. Cruddy thing is I did a Titanium Backup for my apps and settings, but they got wiped.
boostin91tsi01 said:
Hello All!
Before you tell me to search or check threads, I already have. This problem does not have anything to do with forgetting to disable the pins and fingerprints before backing up. My problem has do do with I have already disabled/removed security before backing up my nandroid. I check/select everything that I can to backup and it successfully completes. When I go to restore, everything looks to be properly restored, but alas, there is a problem. When I reboot, it asks me for a password to get into TWRP (apparently "default_password). But when I get in and go to file explorer to find anything, my entire storage is wiped. Like no OS or any files. The only other issue I've had besides this is when restoring a nandroid, it doesn't complete and reboots to a bootloop.
I am on the newest version of TWRP, 3.0.3-0. Any help would be greatly appreciated as I, and anyone who has had to redo the complete phone setup/customization, do not enjoy taking over an hour to get things back up and running. Cruddy thing is I did a Titanium Backup for my apps and settings, but they got wiped.
Click to expand...
Click to collapse
I am genuinely interested in this because I back up on a regular basis after each security update but I have never had to restore. Now it is my understanding that even if security is disable the data is still encrypted. Perhaps I'm wrong about that but if you ever did have a password or pin to log into the phone with have you tried to enter that into TWRP?
Sent from my Nexus 6P using Tapatalk
You only need to back up the defaults... system, data, and boot.
What should I back up in TWRP?
https://twrp.me/faq/whattobackup.html
redduc900 said:
You only need to back up the defaults... system, data, and boot.
What should I back up in TWRP?
https://twrp.me/faq/whattobackup.html
Click to expand...
Click to collapse
I understand the web is full of opinions, but I've read somewhere to backup EFS? I have also read somewhere before that what you said to backup, while is plenty sufficient, if you have space, to backup everything. I followed that and it lead me to an hour plus of restoring back to how it was. I will give it a go, hoping that I never have to use it, but it will work when the situation arises.
I've only ever backed up those three partitions, and never had an issue with restoring backups. You can certainly create a backup of the EFS/IMEI, but keep it stored in a safe place like on your computer or a thumb drive. One thing I should note is when restoring a backup, make sure to also flash the correct vendor.img if necessary.
I usually backup vendor with it but as earlier indicated I don't believe it's completely necessary. As far as EFS is concerned yes I would agree with backing that up however what I do is back it up to a separate backup folder and only write it if something were to ever happen to it otherwise leave it alone. That way you don't take a chance I'm corrupting something in that partition.
Sent from my Nexus 6P using Tapatalk
I've never successfully restored a backup on the Nexus 6P regardless of what version of TWRP I used. Different builds of TWRP give me different problems but none has ever worked. I've completely given up doing nandroid backups on this phone because it's a waste of time and disc space. I never had a similar issue on any other phone that I have ever owned and am not a newbie when it comes to rooting and custom roms. What I always ended up doing after a problem restoring a backup is flash the complete factory image using the flash-all.bat command and start over with everything I want to flash.
jhs39 said:
I've never successfully restored a backup on the Nexus 6P regardless of what version of TWRP I used. Different builds of TWRP give me different problems but none has ever worked. I've completely given up doing nandroid backups on this phone because it's a waste of time and disc space. I never had a similar issue on any other phone that I have ever owned and am not a newbie when it comes to rooting and custom roms. What I always ended up doing after a problem restoring a backup is flash the complete factory image using the flash-all.bat command and start over with everything I want to flash.
Click to expand...
Click to collapse
I have the same problem, so now I've started doing a TiBU and Verizon Messages backup, after all those are completed, transfer and save it to my PC. If I have any problems, I transfer from the PC to phone and it's less headache... kinda sorta.
Restore never worked to the fullest. I tried different versions of TWRP, same problem. Restore starts a red error line in beginning of the restore process an at the end it shows ‘Restore complete’. When I restart, everything looks restored but with bugs like:
-network or sim itself is not shown
-Bluetooth, wifi wont connect
-Quicksetting tiles not responding etc…
The idea of backing up via TWRP is to get every bit RESTORED properly, but it doesn’t work.
I take a full back up before moving to update the firmware version (example MIUI 10), if I do not like the firmware then I want to go back to the previous firmware version (example MIUI 9) and TWRP RESTORE feature never works. I have to again flash the rom and then restore everything via Titanium backup.
I always take a TWRP backup of all the items available:
System
Data
Cache
Cust
Recovery
Boot
EFS
Persist
Still it never restores properly. It’s a mere time waste or the restore option to be removed from TWRP as it never worked across of its versions.
Can anyone explain me in a line, what is Cust, EFS and Persist?
I really appreciate if anyone help me understand where I’m going wrong.