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?
What exactly does a Nandroid backup. Is it like creating a Hard Drive image for windows?
After installing CM9RC I want to go back to my previous stock configuration. If I restore my phone with a nandroid, will I recover everything previously installed on my phone? I am assuming the stuff in the sdcard folder gets excluded from the wipe right?
Thanks in advanced,
Aphis
Yup a Nandroid is more or less like a restore point. And yes excluding sdcard.
IonAphis said:
[snip]
What exactly does a Nandroid backup. Is it like creating a Hard Drive image for windows?
Click to expand...
Click to collapse
Yes.
IonAphis said:
After installing CM9RC I want to go back to my previous stock configuration. If I restore my phone with a nandroid, will I recover everything previously installed on my phone?
Click to expand...
Click to collapse
Yes. Note that a nandroid backups up the system partition, the boot partition, the recovery partition and the userdata partition (excl. /sdcard). It does not back up your radio or bootloader, so if you change those, you will have to flash them separately.
IonAphis said:
I am assuming the stuff in the sdcard folder gets excluded from the wipe right?
Click to expand...
Click to collapse
Yes!
EDIT: Ninja'd by WiredPirate.
Thanks for the quick response.
That would mean that if before creating the nandroid I had permanently installed CWM and rooted the phone, restoring the nandroid would keep my phone with CWM and root right?
IonAphis said:
Thanks for the quick response.
That would mean that if before creating the nandroid I had permanently installed CWM and rooted the phone, restoring the nandroid would keep my phone with CWM and root right?
Click to expand...
Click to collapse
its a snapshot. whatever you had at that moment when it was created is what you will have when you restore to it.
IonAphis said:
Thanks for the quick response.
That would mean that if before creating the nandroid I had permanently installed CWM and rooted the phone, restoring the nandroid would keep my phone with CWM and root right?
Click to expand...
Click to collapse
Yes.
i made a nandroid backup using twrp...i flashed a different rom didnt like it..when i went to restore my nandroid it restored the previous rom i made a backup of but no apps data or settings restored?? is this a known issue with gs3? i couldnt find anything in the forums??
rbarcenaslp said:
i made a nandroid backup using twrp...i flashed a different rom didnt like it..when i went to restore my nandroid it restored the previous rom i made a backup of but no apps data or settings restored?? is this a known issue with gs3? i couldnt find anything in the forums??
Click to expand...
Click to collapse
I have not seen this problem. TWRP will only restore what was backed up. Are you sure that the data was backed up? Go to the folder where your backup is saved... do you see a file "data.ext4.win" in addition to the "system.ext4.win". If no data file then the data partition was not backed up.
If the data backup is there but you are still not seeing the data restored you may want to look at the recovery log after you restore to see what happened.
m20120 said:
I have not seen this problem. TWRP will only restore what was backed up. Are you sure that the data was backed up? Go to the folder where your backup is saved... do you see a file "data.ext4.win" in addition to the "system.ext4.win". If no data file then the data partition was not backed up.
If the data backup is there but you are still not seeing the data restored you may want to look at the recovery log after you restore to see what happened.
Click to expand...
Click to collapse
yea no data.ext4.win file was found..idk what happened??
rbarcenaslp said:
yea no data.ext4.win file was found..idk what happened??
Click to expand...
Click to collapse
When you run the backup you have to select which partitions are to be backed up. For some reason it did not run in your case.
bumnda was
rbarcenaslp said:
yea no data.ext4.win file was found..idk what happened??
Click to expand...
Click to collapse
In TWRP's Backup menu, there are 5 check boxes giving you the choice of what to backup. System, Data, Boot are checked by default, leaving Recovery & Cache to be selected (if you choose to do so). I just made backups of 2 custom ROMS, and my stock rooted ROM, and only used the default settings during backup. There were 6 files created in each backup: boot.emmc.win; boot.emmc.win.md5; data.ext4.win; data.ext4.win.md5; system.ext4.win; system.ext4.win.md5. After I made these backups, I tested each to see if I could go from one ROM to another without problems, and I could. The data.ext4.win & system.ext4.win should be big files in size as well.
I'm using TWRP 2.3.1.0, and have had zero problems with it (knock wood!)
I've rooted and installed TWRP (RC2) sucessfully on my Pixel (Non-Versizon), but when I boot into TWRP and try to create a Nandroid backup I can't because the SDCARD folder is encrypted.
How do I get around this safely?
pilotgav said:
I've rooted and installed TWRP (RC2) sucessfully on my Pixel (Non-Versizon), but when I boot into TWRP and try to create a Nandroid backup I can't because the SDCARD folder is encrypted.
How do I get around this safely?
Click to expand...
Click to collapse
I usually flash-all.bat and/or keep re-installing TWRP over and over until it finally decrypts.
There is probably an easier way to do it.
I just haven't bothered to look.
Hi everyone. My phone doesn't boot up after restoring twrp backup. Yesterday I made a Full backup and now if I try to restore that my phone just go into a bootloop. How can I resolve this problem?
mr.banana said:
Hi everyone. My phone doesn't boot up after restoring twrp backup. Yesterday I made a Full backup and now if I try to restore that my phone just go into a bootloop. How can I resolve this problem?
Click to expand...
Click to collapse
It depends on a lot of factors.
What ROM, what TWRP version, what partitions did you back up, etc.
If you want to get your phone working, you can flash any ROM of your choice from TWRP or restore stock image.
indian84 said:
It depends on a lot of factors.
What ROM, what TWRP version, what partitions did you back up, etc.
If you want to get your phone working, you can flash any ROM of your choice from TWRP or restore stock image.
Click to expand...
Click to collapse
TWRP Version is the last one (I think). I backup every partition so I made a full backup of everything. The rom Is the simple aosp. I very want back all my stuff
mr.banana said:
TWRP Version is the last one (I think). I backup every partition so I made a full backup of everything. The rom Is the simple aosp. I very want back all my stuff
Click to expand...
Click to collapse
Backing up all the partitions was the mistake.
Getting your stuff back looks difficult.
If you flash ROM using TWRP, your media files and anything stored on your phone won't be deleted.
But all your apps and stuff will be lost.