Taking long time when restoring data via TWRP - ZenFone 2 Q&A, Help & Troubleshooting

hello guys, yesterday, i changed rom to LOS, of course before changing rom from stock OS to LOS, i made a nandroid backup via TWRP, using adb backup --twrp. Now i want to go back to stock OS, i restore that nandroid i've made with adb restore backup.ab (the filename is backup.ab), when restoring system, it goes well, but when it says "restoring data (excl. storage)" it took long time, i've been waiting for it about 1 hour but it looks like it stuck.
Is there something wrong with my nandroid backup ? because i want my app and data back

Related

ROM Question...

Okay, so I finally got the Fresh ROM installed on my Evo. Since I had done a data wipe, etc, the phone is empty. I assumed that restoring the phone with my nandroid backup would just put the data back. However, it looks like it returned the phone to the old ROM too. What is the proper way to put the data back on the phone after a wipe and ROM install? I also have a Titanium Backup if that is the way to go...
Yes, titanium backup is the way to go. You can do a batch backup with data and restore once you flash a ROM. A nandroid just backs up your current Rom in the case you need to revert back.
-------------------------------------
Sent via the XDA Tapatalk App
Thanks for the quick reply! I'm wiping the phone again now and installing Fresh ROM 0.3 and will use the Titanium Backup this time!

[Q] Nandroid back up/Titanium backup questions

So what is the different between a nandroid backup and a backup using titanium backup? What is being saved with either? I hear using titanium back up is a "full" backup. What is titanium backup used for if you are already rooted...wouldn't you already have a custom recovery like amon ra or cwm?
If I do a nandroid back up on stock 2.2 rooted, can i do the same back up while I'm on a custom ROM? Where is this "backup" being saved to? Can i have multiple backups for different ROMS?
Nandroid is more like creating an image backup of your operating system, it backs up both your rom and apps. Titanium just backups app, their data and if you choose system settings.
Swyped from my EVO running CyanogenMod 6.1 RC 1
techdude54 said:
Nandroid is more like creating an image backup of your operating system, it backs up both your rom and apps. Titanium just backups app, their data and if you choose system settings.
Swyped from my EVO running CyanogenMod 6.1 RC 1
Click to expand...
Click to collapse
In what situation would i use titanium back up with a rooted evo?
Titanium backs up your app and data from your phone. I am rooted and I use it when I need it, when I want to re install apps when I switch roms.
Using my HTC Evo phone which I'm using Xda app to post
evo4gfan said:
So what is the different between a nandroid backup and a backup using titanium backup? What is being saved with either? I hear using titanium back up is a "full" backup. What is titanium backup used for if you are already rooted...wouldn't you already have a custom recovery like amon ra or cwm?
If I do a nandroid back up on stock 2.2 rooted, can i do the same back up while I'm on a custom ROM? Where is this "backup" being saved to? Can i have multiple backups for different ROMS?
Click to expand...
Click to collapse
Think of Nandroid Backup as a system restore point you would create on your PC and if for some reason you installed something on your PC and it makes your PC unstable, you can do a system restore and go back to when your PC was acting perfectly. (So for your EVO...you create a nandroid...messed around with your phone and screw everything up...Power up into bootloader (or reboot into recovery)...go into recovery and restore your nandroid backup)
Titanium is for you to back everything to your SD card right before you decide to WIPE DATA, CACHE & DALVIK/CACHE to flash a NEW ROM. After you flash the NEW ROM...your phone will be like a new phone you just received out of box...you have to set everything up on it. So instead of spending hours, you swill only spend a few minutes doing everything. 1st and foremost, sign back into Google Market, download Titanium and tell it to restore all apps...data, etc. Not sure if Titanium backups home and system stuff, I use Mybackup Pro and it does...it has everything configured the way I originally had it on the previous ROM...all I do is set up all my POP mail accounts and sign back into Twitter...Facebook...etc.
honeyBfly said:
Think of Nandroid Backup as a system restore point you would create on your PC and if for some reason you installed something on your PC and it makes your PC unstable, you can do a system restore and go back to when your PC was acting perfectly. (So for your EVO...you create a nandroid...messed around with your phone and screw everything up...Power up into bootloader (or reboot into recovery)...go into recovery and restore your nandroid backup)
Titanium is for you to back everything to your SD card right before you decide to WIPE DATA, CACHE & DALVIK/CACHE to flash a NEW ROM. After you flash the NEW ROM...your phone will be like a new phone you just received out of box...you have to set everything up on it. So instead of spending hours, you swill only spend a few minutes doing everything. 1st and foremost, sign back into Google Market, download Titanium and tell it to restore all apps...data, etc. Not sure if Titanium backups home and system stuff, I use Mybackup Pro and it does...it has everything configured the way I originally had it on the previous ROM...all I do is set up all my POP mail accounts and sign back into Twitter...Facebook...etc.
Click to expand...
Click to collapse
okay that makes sense. So whenever i flash a new rom, do I need to download titanium back (or MybackupPro) again on the new rom to get the data back? I can't locate the saved file from my sd card?
evo4gfan said:
okay that makes sense. So whenever i flash a new rom, do I need to download titanium back (or MybackupPro) again on the new rom to get the data back? I can't locate the saved file from my sd card?
Click to expand...
Click to collapse
Yes
Swyped from my EVO running CyanogenMod 6.1 RC 1
honeyBfly said:
Think of Nandroid Backup as a system restore point you would create on your PC and if for some reason you installed something on your PC and it makes your PC unstable, you can do a system restore and go back to when your PC was acting perfectly. (So for your EVO...you create a nandroid...messed around with your phone and screw everything up...Power up into bootloader (or reboot into recovery)...go into recovery and restore your nandroid backup)
Titanium is for you to back everything to your SD card right before you decide to WIPE DATA, CACHE & DALVIK/CACHE to flash a NEW ROM. After you flash the NEW ROM...your phone will be like a new phone you just received out of box...you have to set everything up on it. So instead of spending hours, you swill only spend a few minutes doing everything. 1st and foremost, sign back into Google Market, download Titanium and tell it to restore all apps...data, etc. Not sure if Titanium backups home and system stuff, I use Mybackup Pro and it does...it has everything configured the way I originally had it on the previous ROM...all I do is set up all my POP mail accounts and sign back into Twitter...Facebook...etc.
Click to expand...
Click to collapse
I use Titanium Backup for backing up data and restoring it on a new ROM a lot. Before I flash a new ROM I always do a complete Titanium Backup and a nandroid backup. If the flash fails I restore from my nandroid backup and if the flash works I load my apps back with Titanium Backup (that way all my saved data on things like games is there and I don't have to start over).
I will caution against doing a restore of everything on a new ROM though (mostly a problem if you're going from something like a stock Evo based ROM to a AOSP ROM). I've had some issues when I restored a few system files (accounts database for example). If you stick with installable applications you shouldn't run into any trouble though (also I've had no problems restoring my call log and text message database).
When you are in Titanium Backup, when you hit menu and select more you can create a flashable .zip so that after flashing a new rom or resetting the device you don't have to log into the market to reinstall. Makes life a lot easier.
Tuffgong4 said:
When you are in Titanium Backup, when you hit menu and select more you can create a flashable .zip so that after flashing a new rom or resetting the device you don't have to log into the market to reinstall. Makes life a lot easier.
Click to expand...
Click to collapse
I didn't know that, thanks for the tip.

[Q] [Help] Nandroid Fail

This isn't like some of the other nandroid fail threads i've encountered.
I had a full nandroid backup of my tmobile g2 (eng hboot) and I lost that device. I got an exact replacement, rooted it (no eng hboot), installed rom manager only and flashed clockwork. I then copied my nandroid backup to the clockwork/backups directory and did a restore.
The phone booted successfully with cyanogen 7 nightly 22 flashed but the only problem is that it seems to have done a fresh install...as in there are no apps, no data, just cyanogen 7 nightly 22. It appears it didn't restore anything except the rom itself. Any ideas? thanks in advance.
ps. ive done multiple data wipes, and tried 2 different nandroid backup files on the new phone.
Did you have darktremors a2sd installed on the old ROM? CWM3 seems to have an issue for some with seeing the sd-ext partition and won't back it up. So when you select 'restore' in CWM it *successfully* completes the nandroid restore correct, no errors? It would be odd for it to give you a 'restore complete' message if it ran into any errors.
pretty sure I don't have a2sd installed on the old rom. first time i'm hearing of it. I don't recall getting any errors after restoring the backup but I will try again and double check. I also have much older backups that I can try to restore and see if those go through
Well I think this needs more attention if it's really not restoring the nandroids fully. Seems like it's restoring the system.img and whatnot just not the data.img. Maybe try it with ADB and see if it works. I've never had to do it that way but I know it can be done, you may have to run it in a shell.
I tried restoring a nandroid backup from February, which I believe was backed up with an older version of clockwork, and it was completely successful. This tells me that either the new clockwork is not backing up correctly or it's getting corrupted.
I then tried restoring 3 different backups and they did not give me any errors but failed to restore my data. hmmm

[Q] Restoring Nandroid backups

Hi,
I'm having some problems flashing Google App and A2SD+ scripts on my CMv7 ROM. After flashing the scripts, the phone keeps hanging on the bootup screen, and I have to wipe my phone and reflash CM before it boots up again, which makes me lose all my configuration settings and app installations.
I'd like to know, if I do a Nandroid backup with CWM Recovery after I setup my phone to my liking and something goes wrong when applying a script, will restoring the Nandroid backup bring my phone back to the state right before script application?
Thanks.
goister said:
Hi,
I'm having some problems flashing Google App and A2SD+ scripts on my CMv7 ROM. After flashing the scripts, the phone keeps hanging on the bootup screen, and I have to wipe my phone and reflash CM before it boots up again, which makes me lose all my configuration settings and app installations.
I'd like to know, if I do a Nandroid backup with CWM Recovery after I setup my phone to my liking and something goes wrong when applying a script, will restoring the Nandroid backup bring my phone back to the state right before script application?
Thanks.
Click to expand...
Click to collapse
Yes. Restoring a nandroid returns your phone to the exact state it is when the nandroid is made.
Sent from my HTC Original Desire using Tapatalk

HELP NEEDED with CWM "error while restoring /data!"

Hey guys,
I have kind of a serious issue right now. I used Touch Recovery 5.8.0.2 and made a full backup today of my whole ROM (2.5GB) before trying out some mods which eventually didn't work. So I decided to wipe and restore the backup I made. No matter what I do I cannot get it to restore my data partition properly. I keep getting "Error while restoring /data!" message, however it does the boot image and system fine but doesn't continue to cache and sd-ext because of the failed data. Whenever I boot it up, some of my apps are missing from the home screen and practically all of them are not working when I launch them (force close). I also get boot up error of Google+ force close, among a bunch of other issues. This is happening even when I try to restore an older backup as well. My device is not working state right now and although I can just restore the stock images to get it working again, it is urgent that I restore my data ASAP! I tried wiping several times and even using the non-touch 5.5.0.4 recovery to restore and same thing keeps happening.
Any help would be highly appreciated!
Please don't tell me my backup is corrupt
Update 1: Eventually I gave up and started from scratch but I have confirmed already this happened on a fresh backup as well, at this time we are trying to figure out what is causing this so I can go back to safely backing up and restoring backups.
Update 2: We have test builds of TWRP Recovery that may have resolved this issue! We need testers!
Please see this post: Link Here
Update 3: We have test builds of ClockworkMod Recovery 6 that may have resolved this issue as well! We need testers!
Please see this post: Link Here
***Always see last few posts on the thread for updates on what we discovered just in case I don't update the OP***
Unfortunately I also have the same error today!
Please help us out.
JayantSparda said:
Unfortunately I also have the same error today!
Please help us out.
Click to expand...
Click to collapse
is your phone encrypted?
are you running stock recovery?
are you running a stock Rom?
have you done a factory reset yet?
Hi Spectre85,
My phone did fine yesterday, I was running AOPK Milestone 3 with FAUX123 kernel.
But when I woke up, my phone looked like it's battery was emtpy.
- When I plugged the phone with the charger, I started the phone again.
- Unfortunately my phone keep looping at the Google screen over and over.
So I pulled the battery and put the battery back again in the phone.
- I went to the bootloader and went to CWM recovery.
Deleted Data, Cache and Dalvike cache.
- Tried to retrieve my backup rom, but keep getting this "Error while restoring /data!" message.
I've tried to install other roms as well, but I still keep getting the bootloop at the Google screen.
Have you guys have any advice for me?
spectre85 said:
is your phone encrypted?
are you running stock recovery?
are you running a stock Rom?
have you done a factory reset yet?
Click to expand...
Click to collapse
For me, no, no (CWM Touch 5.8.0.2), yes (stock rooted 4.0.4), no but my goal is to restore my data not erase it.
I had this happen to me before, what I did was flash a factory image through fast boot and it was fine after.
Sent from my Galaxy Nexus using xda premium
Thanks guys..I flashed the factory image through Fastboot mode and the phone works perfectly again! Too bad I lost all my data, but I'm happier that I have my phone fully functional again
You can't access your backup right? There's no way you can copy the file to your desktop?
mohitrocks said:
You can't access your backup right? There's no way you can copy the file to your desktop?
Click to expand...
Click to collapse
I did copy it. I have full access to the file. Also, just fyi my goal here is not just to get to working state (I'm aware of the stock images) but to actually recover my data. My phone is currently on stock images completely blank and working now.
Fast boot flash the nand images just like u did the stock ones.
Sent from my Galaxy Nexus
bwcorvus said:
Fast boot flash the nand images just like u did the stock ones.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Nanadroid files can be flashed in fastboot? Are you sure? First time I'm hearing this. Doesn't fastboot need .img files? These are .tar files.
Open it up and see if its image...sorry all my recoveries use images.
Sent from my Galaxy Nexus
bwcorvus said:
Open it up and see if its image...sorry all my recoveries use images.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
I guess it depends on the recovery version you use. I remember older versions actually had .img files. However 5.5.0.4 and Touch 5.8.0.2 both have ext4.tar files.
Which version of recovery do you use?
If you have root, you can restore your data partition using Titanium Backup. Use "Export from Nandroid Backup" within TB, select the nandroid backup and then select all apps that you want to restore
Immix said:
If you have root, you can restore your data partition using Titanium Backup. Use "Export from Nandroid Backup" within TB, select the nandroid backup and then select all apps that you want to restore
Click to expand...
Click to collapse
Interesting...will this include settings as well like my home screen icon/widget layout, wallpaper, etc?
open1your1eyes0 said:
Interesting...will this include settings as well like my home screen icon/widget layout, wallpaper, etc?
Click to expand...
Click to collapse
Yes. Titanium Backup can restore all your system apps as well as downloaded apps from a nandroid backup. Not as clean as a nandroid restore from CWM but essentially the same thing. But try to see if Titanium Backup can extract your nandroid backup. It all depends on what exactly went wrong with your nandroid backup to begin with. I don't think it restores cache. So not sure about wallpaper.
Immix said:
Yes. Titanium Backup can restore all your system apps as well as downloaded apps from a nandroid backup. Not as clean as a nandroid restore from CWM but essentially the same thing. But try to see if Titanium Backup can extract your nandroid backup. It all depends on what exactly went wrong with your nandroid backup to begin with. I don't think it restores cache. So not sure about wallpaper.
Click to expand...
Click to collapse
You're right. This works great for restore data to select apps (got my notes and game saves back). I think the icon layout is held in the launcher settings, I'm about to try and restore the data to the launcher app and see what happens. I'm making a CWM backup of first of my current state (that's assuming this backup will actually work).
EDIT: Yes! That did it! Widgets position weren't saved but it's ok I only had a few so I manually put them back. Thank you! I never knew TB had the ability to work with nandroid backups.
I guess this now just leaves me figuring out what went wrong with the CWM backup. It happened twice (I have two backups from the same day that won't restore). Does anyone else use CWM Touch 5.8.0.2 and have successful backups? I would experiment to see if it works now but I don't want to end up with a corrupt backup and redo everything again.
Yes with me its the same thing my data its corrupt is even worse every time I do a nanobackup and restarted my phone the phone freezes on the boot logo and I have to go back to recovery trying to use my backups but I can't so I have to flash a new from again and start from the beginning again!!!! Anybody here has the same experience with that ???
So AGAIN, I'm having the same issue. This time on a recovery 5.5.0.4 that used to work for me when I originally got my phone. I think either my data partition might be too big or something but this really needs to fixed pronto. Anyone know how to contact Koush directly in regards to this matter?

Categories

Resources