TWRP Restore - no data restore - Moto X Q&A

Hi, looking for some help if someone would be kind enough.
I wanted to try out Cyanogenmod. I made a backup in TWRP. Installed CM and played around for a while. Decided to go back to stock. Went to restore and the restore fails on data. I decided to see if everything else restores, so I unchecked data and everything else went fine. It's only the data that will not restore.
Anyone have any idea why that might be? I'd like to get everything back if possible. I read on another site I might be able to pull the TWRP backup and restore with titanium backup. Gonna look into that.
Any help would be appreciated, thanks.

Related

Brutal day yesterday

So I desided it was a good day to flash to stable cm7. But as my phone had a specific problem nobody else has I first restored my original nandroid backup, back to sense. Then realised I didn't do a recent backup in titanium backup, so restored that backup, did a backup, then restored back to my original. Did a factory reset, cleared cache/dalvik, flashed cm7, g-apps, fixed permissions, rebooted. All seemed well. Everything was working except GPS. So I also desided to change my SD card to my new 32G. A few hours later I was at work, and checked my phone, NO INTERNET, gaahhhh. Went to SMS a friend to see if she had internet. Realised Google account didn't restore my contacts. No internet=no restoring then went to do a nandroid restore, and found out that clockwork mod recovery goes away after a factory reset(after I thought about it I realised I didn't even have my backups anyways...new SD card) So there I was stuck at work, with a basicly broken phone, and I was kinda stressed about it. Had to wait 5 hours before I could even get to my computer to fix it. I can't believe I freaked out so much over it.... Hi, my names Justin and I am addicted to my Smartphone.
Edit: BTW, not really sure why I wrote this long ass ramble/rant. But whatever at least my phone is awesome once more
Sent from my SilverBullet "HTCDesireZ running CM7"
deliriousDroid said:
So I desided it was a good day to flash to stable cm7. But as my phone had a specific problem nobody else has I first restored my original nandroid backup, back to sense. Then realised I didn't do a recent backup in titanium backup, so restored that backup, did a backup, then restored back to my original. Did a factory reset, cleared cache/dalvik, flashed cm7, g-apps, fixed permissions, rebooted. All seemed well. Everything was working except GPS. So I also desided to change my SD card to my new 32G. A few hours later I was at work, and checked my phone, NO INTERNET, gaahhhh. Went to SMS a friend to see if she had internet. Realised Google account didn't restore my contacts. No internet=no restoring then went to do a nandroid restore, and found out that clockwork mod recovery goes away after a factory reset(after I thought about it I realised I didn't even have my backups anyways...new SD card) So there I was stuck at work, with a basicly broken phone, and I was kinda stressed about it. Had to wait 5 hours before I could even get to my computer to fix it. I can't believe I freaked out so much over it.... Hi, my names Justin and I am addicted to my Smartphone.
Edit: BTW, not really sure why I wrote this long ass ramble/rant. But whatever at least my phone is awesome once more
Sent from my SilverBullet "HTCDesireZ running CM7"
Click to expand...
Click to collapse
Semi-happened to me once before... As always, keep your data safe

Saving a ROM's backup to my computer

I want to clear my phone completely back to bare-bones 2.1. I do want to save my last good set up with froyo, so;
1) Is it a good idea to do a complete restore.
2) Is it better to leave the phone as is (leaving b/u in tact) or can I save the last b/u to my computer? If so how (Tibu, ROM Man???). How would I return this file back to the phone if necessary?
I never do any more backing up than Titanium Backup of apps. I know clockwork recovery can make a nandroid backup. It saves it to a folder on the internal sd card (Clockworkmod I think) and you could copy that to your computer. Then copy it back if you want to restore. The feature is there, I assume it works, but I have never personally done it. You could do all this through clockwork recovery, make the back up, and restore later if you want. You can leave the backup on your phone after you go back to stock, odin will not clear it off unless you do a "Master Clear". Then you would just have to reflash clockwork recovery, and you could restore.
I've transferred both tibu and nandroid (rom manager) backups to my pc and then restored from them after a master clear by copying them back to the phone from the pc. With the nandroid backup, you have to reinstall the rom first, and it must be the same rom you backed up.
Sent from my SAMSUNG-SGH-I897 using XDA App
Good advice thanks:
quarlow said:
I never do any more backing up than Titanium Backup of apps. I know clockwork recovery can make a nandroid backup. It saves it to a folder on the internal sd card (Clockworkmod I think) and you could copy that to your computer. Then copy it back if you want to restore. The feature is there, I assume it works, but I have never personally done it. You could do all this through clockwork recovery, make the back up, and restore later if you want. You can leave the backup on your phone after you go back to stock, odin will not clear it off unless you do a "Master Clear". Then you would just have to reflash clockwork recovery, and you could restore.
Click to expand...
Click to collapse
and
creepyncrawly said:
I've transferred both tibu and nandroid (rom manager) backups to my pc and then restored from them after a master clear by copying them back to the phone from the pc. With the nandroid backup, you have to reinstall the rom first, and it must be the same rom you backed up
Click to expand...
Click to collapse
I was thinking this was the case. My only concern is on the re-install, would I be correct in my asumption, that not only would I need the rom installed but the theme as well?
tomween1 said:
Good advice thanks:...would I be correct in the thought that not only would I need the rom installed but the theme as well?
Click to expand...
Click to collapse
Disclaimer: I've not tried it. A nandroid backup restores everything in the rom plus apps, but not the kernel, so it should restore your theme and your apps. In that case you may not even need the tibu.
Sent from my SAMSUNG-SGH-I897 using XDA App
creepyncrawly said:
Disclaimer: I've not tried it. A nandroid backup restores everything in the rom plus apps, but not the kernel, so it should restore your theme and your apps. In that case you may not even need the tibu.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Well it's done, we'll see how it goes when I need it
I think the trick is having a working base rom and it being the same as the backup. Id be curious to try restoring a previous version of the same rom. How bad could it get?
Sent from my GT-I9100 using XDA App
Want to know about backing up roms and restoring them
I want to know wheter we can backup a rom of one mobile and restore it in other mobile. please answer asap.
Abhishek1008 said:
I want to know wheter we can backup a rom of one mobile and restore it in other mobile. please answer asap.
Click to expand...
Click to collapse
That may not be a simple question to answer with any certainty. I would not even consider attempting it unless both phone models are exactly the same, you didn't say for sure that this is what you were meaning. If the models are the same: insure they have the same bootloader and modem installed. Then I still would not do it unless the ROM on the second phone is comparable to the ROM you are moving to it. The reason for this caution is that partitioning schemes are not the same on all ROMs, it can even change in a newer version of the same ROM.
dawgdoc said:
That may not be a simple question to answer with any certainty. I would not even consider attempting it unless both phone models are exactly the same, you didn't say for sure that this is what you were meaning. If the models are the same: insure they have the same bootloader and modem installed. Then I still would not do it unless the ROM on the second phone is comparable to the ROM you are moving to it. The reason for this caution is that partitioning schemes are not the same on all ROMs, it can even change in a newer version of the same ROM.
Click to expand...
Click to collapse
This :good:

Safestrap Help

So I installed a custom ROM and I love it. But I want to go back to stock for right now. I have safestrap installed, but I apparently lost my backup. Can I turn it off and go back to the stock? Or do I need to actually reset my entire phone?
Also, can I save my game data and use it for my stock rom? I don't wana lose my progress in bubble blast 2.... any help would be appreciated.
Just back up the files you want to use on stock. Go into recovery and toggle back to non-safe mode, assuming you flashed the custom ROM on the safe partition.
Sent while mobile using Tapatalk.
Use titanium backup to back up any apps/games and their data and then switch back to nonsafe and you'll be at stock. Download titanium backup again and restore your apps. You can also use my backup root to transfer your call logs and sms/mms. Just don't try to restore any system apps or settings with either of the aforementioned apps as it may cause issues. If you have any doubts about what you can and can't restore, make a safestrap backup after switching to nonsafe mode, then if you bork anything you can restore and try again
Note:the free version of those apps should be sufficient for what you need
Sent from my XT860 using xda premium
Thank you both. Wish I would have read the titanium backup before I toggled it off. So now that I'm feeling optimistic, I'm toggling it back on, doing the titanium back up and then back off. I was a little nervous about this, but now I'm just plain old curious.
So long as you make safestrap backups before doing anything you aren't sure about, you should be fine. Its pretty hard to screw up your device so bad that you can't do a safestrap restore with a lesson learned. I've had to do tons of them.
It can also be a good idea to trying restoring your backup right after making it to make sure its good if you're gonna be messing around alot. I've had a md5sum mismatch screw me over before
Sent from my XT860 using xda premium

[Q] Upgraded to CM11 - want my Contacts and Messages back

I upgraded my S3 Mini from stock 4.1.2 to CyanogenMod 11. Thinking I was clever, I took a full backup of everything with both Titanium Pro as well as Online Nandroid Backup before flashing CM11.
Only... it looks like I wasn't so clever after all.
If I use Titanium to restore the Contacts Data only then the Contacts application crashes on launch, every time. Some reading suggests that Titanium doesn't always work nicely with system functions, and Contacts is considered a system function. To be fair to Titanium, it warned me before doing the restore that the backup was from a different ROM and might not work.
My contacts weren't synchronised with my Google account so I can't restore from there.
Is there any way to get the Contacts and Messages data restored? Are there third-party programs (for any of Android, Windows, Linux, or OS X, all of which I have available) which can read Titanium backups and export the data in a format that CM11 can use?
You can use this app. I use it on cm11 without any problem at all.
I tried that program, but I can't get it to import from the Titanium backup files. Perhaps I'm missing something in the options, but all I can see there is to transfer data between the phone, the SIM, Google, and Excel.
However, it looks like a useful program for the future, to save me this sort of headache the next time I mess about with phone ROMs; thanks for the suggestion.
Well, I'm getting somewhere, and this is something to keep my occupied on Christmas Day morning while waiting for the rest of the house to wake up...
I went back through Titanium's support documentation again and found something I'd missed earlier: the program has an option to "migrate system data", which is recommended when restoring to a different ROM.
I've got my messages and contact groups back, but I still don't have the individual contacts back. But, progress is progress, and I'll keep plugging away at it.
Worst case scenario, I'll just re-enter them all by hand but I'd rather avoid that if possible.
Reverting back to the pre-rooted stock 4.1.2 firmware from this forum, in the hope that Titanium would happily restore everything without needing the "migrate system data" option didn't work, sadly. The phone got stuck in a boot loop, and reflashing the PARAM file didn't fix it. So, it looks like I'm stuck with CM11. Serves me right for jumping straight in with both feet; no-one else to blame but myself.
However, it looks like the Titanium backup is in SQLite format, so all is not lost. I've managed to dump the data table successfully, so all I need to do now is parse it for importing. But that can wait for another day, as the rest of the house has finally woken up and it's time for breakfast and presents.
Merry Christmas, everyone.
Well, I persevered and finally got the 4.1.2 rooted stock ROM back on the phone without it becoming stuck in a boot loop. Titanium was able to restore my contacts and messages successfully. Now to investigate a more sensible synchronisation/backup tool before messing with a custom ROM again, perhaps Phosimgo mentioned in the first reply.
Restore contacts with TitaniumBackUp after flashing CM
Loganberry said:
Well, I persevered and finally got the 4.1.2 rooted stock ROM back on the phone without it becoming stuck in a boot loop. Titanium was able to restore my contacts and messages successfully. Now to investigate a more sensible synchronisation/backup tool before messing with a custom ROM again, perhaps Phosimgo mentioned in the first reply.
Click to expand...
Click to collapse
Seriously!?
I backed up all of my stuff with TitaniumBackUpPro and flashed from 4.1.2. to CM 11 and can't get my contacts restored either.
Your telling me in need to flash back to stock and export my contacts with a different app before flashing CM again?
How is that tool Phosimgo recomended?
I ended up using Super Backup. It worked flawlessly. For the future, my contacts are now backed up to my Google account.
Sent from my GT-I8190 using XDA Premium 4 mobile app

How do I restore a TWRP backup.

If anyone would kindly tell me.
Currently my phone has a network problem where data disconnects every 5 minutes or so them reconnects again a few moments later. Network settings restore didn't work so I want to restore a backup I made a few months ago.
I know data couldn't be backed up earlier and can't be restored, but I'm only wanting the system, but I'm not sure how to go about it.
Should I wipe system then restore or just dirty flash system over top? Will the current data partition be affected in any way?
Phone is rooted with Magisk.
I'm planning on reinstalling many apps and their corresponding system/storage data using O&backupX afterwards as well.
Bump
It's been a long time since I restored a TWRP image, but I basically erased the phone then flashed the backup data over. IIRC, this didn't really work for me back then, as it left me with a non-working phone, so I gave up on restoring backups at all and just migrated data myself from the backup folder. In other words, I'd say you should reflash the ROM you want "fresh" and then just pull data from the backup as needed. But you can certainly try the restore first... you might have better luck than I had.
I think a wipe/erase is important as the backups aren't bit-wise images... back then, it was just file-copied over. For this reason, any stray files would not be removed with a dirty flash. It could work, in theory, but it is cleaner to wipe first, of course.
schwinn8 said:
It's been a long time since I restored a TWRP image, but I basically erased the phone then flashed the backup data over. IIRC, this didn't really work for me back then, as it left me with a non-working phone, so I gave up on restoring backups at all and just migrated data myself from the backup folder. In other words, I'd say you should reflash the ROM you want "fresh" and then just pull data from the backup as needed. But you can certainly try the restore first... you might have better luck than I had.
I think a wipe/erase is important as the backups aren't bit-wise images... back then, it was just file-copied over. For this reason, any stray files would not be removed with a dirty flash. It could work, in theory, but it is cleaner to wipe first, of course.
Click to expand...
Click to collapse
Hi, thanks for replying.
I guess I wanted to try migrate current app settings with the older backup but realize this may cause problems. I'll try wipe system and cache, then restore them from an earlier backup then restore apps and their data selectively. Cheers!

Categories

Resources