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?
My phone is in for service right now and should have a replacement in a couple of hours.
I have been installing roms for quite a while and have ultimately landed on CM9 but I have a very basic question.
When I get my new phone can I just install Clockworkmod and then restore from my nandroid backup of CM9 or must I install Clockworkmod, G Apps, flash nandroid backup, update CM9.
I have always done it the second way but I don't believe it is necessary.
Thanks
You will have to install CM 9 then you can restore from NAN. You got to convert to MTD for it to work.
So as of 10 minutes ago, I made a backup using CWM, and made a backup using Titanium Backup.
With these 2 backups, can I now freely flash custom ROMs and retain the ability to go back to where I am now without worry? (as in, if I restore those 2 backups, will it be as if I never flashed anything new to my phone)
EDIT: Another question, do the CM10 nightlys include gapps, or do I have to flash those separately? If I have to flash them separately, which gapps should I get?
Matt08642 said:
So as of 10 minutes ago, I made a backup using CWM, and made a backup using Titanium Backup.
With these 2 backups, can I now freely flash custom ROMs and retain the ability to go back to where I am now without worry? (as in, if I restore those 2 backups, will it be as if I never flashed anything new to my phone)
EDIT: Another question, do the CM10 nightlys include gapps, or do I have to flash those separately? If I have to flash them separately, which gapps should I get?
Click to expand...
Click to collapse
Yes, restoring a CWM backup is similar to restoring a 'snapshot' of your Android installation you created earlier. Titanium backup is used for restoring apps + data from old ROM to new ROM. You can try to restore system data/apps as well, but be prepared for a higher chance of issues.
CyanogenMod builds do not include gapps. Refer to this: http://wiki.cyanogenmod.com/wiki/Gapps#Google_Apps
Thanks for the clarification
EDIT: When flashing a new nightly, can I just flash over the current install, or do I have to do the whole factory reset thing every time?
Matt08642 said:
Thanks for the clarification
EDIT: When flashing a new nightly, can I just flash over the current install, or do I have to do the whole factory reset thing every time?
Click to expand...
Click to collapse
It is recommended to factory reset, however when I flash latest AOKP, I have no issue whatsoever with dirty flashing it. It's your choice
Swyped on my Galaxy Nexus running AOKP with Trinity Kernel, overclocked to 1.4GHz
I know that CWM 6.0.1.5 uses blobs folder to store the data, but for some reason it doesn't restore any of the data. it gives me an error saying it can't find data.img when trying to restore. any help would be appreciated!
I haven't tried 6.0.1.5, but on 6.0.1.4 I had similar problems when I had dedup format backups from multiple custom ROMs.
After a point backups refused to be restored in peace. So I changed backup format in the CWM Backup/Restore menu and started keeping tar format backups every now and then to make sure there was some reliable emergency backup.
Sorry that this will not help with your current backup restoration though!
Is this only meant for Nexus 4 ? Or can we flash it for Galaxy Nexus as well ? Reason I ask is because on CWM's official site, it only shows "6.0.1.5" for Galaxy Nexus. I'd like some confirmation before i make the plunge to the latest version.
Thanks.
6.0.1.9 is unofficial and is in the Dev forum, 6.0.1.5 is the current version for the Galaxy Nexus
Hi, maybe a stupid question.. If I update my phone to 4.2 and then I want to come back, is restoring a CWM backup after a full wipe enough? Or do I need to flash a Google image from scratch?
Thank you for your time.
Sent from my Galaxy Nexus
Jar3112 said:
Hi, maybe a stupid question.. If I update my phone to 4.2 and then I want to come back, is restoring a CWM backup after a full wipe enough? Or do I need to flash a Google image from scratch?
Thank you for your time.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Are you on the latest version of CWM? The reason I ask is because the earlier versions are incompatible with Android 4.2.
Anyways, you should be able to restore a nandroid backup of 4.1.2 (or earlier version) after wiping your system/data/cache.
DZYR said:
Are you on the latest version of CWM? The reason I ask is because the earlier versions are incompatible with Android 4.2.
Anyways, you should be able to restore a nandroid backup of 4.1.2 (or earlier version) after wiping your system/data/cache.
Click to expand...
Click to collapse
I suppose yes, I flashed cwm6 using the galaxy nexus toolkit!
Sent from my Galaxy Nexus
Jar3112 said:
I suppose yes, I flashed cwm6 using the galaxy nexus toolkit!
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
I recommend that you switch from CWM to the latest TWRP because when I upgraded to 4.2 with CWM I faced the sdcard/0/ issue so CWM could no longer find the nandroid backup to restore it. I have no idea if this has been fixed in CWM but it is working fine in the latest TWRP recovery which I am using now.
Take note that CWM backup is not compatible with TWRP backup so you have to make a TWRP backup to restore it later.
If you would like to have TWRP then you have to do the following assuming you are already rooted:
1- Download GooManager from the Play Store
2- Open it then install the TWRP recovery
3- Switch off the phone then go into TWRP recovery
4- Make a backup using TWRP
5- Do whatever you want now but remember that if you are wiping everything then you will have to install TWRP recovery again (either via fastboot or by rooting then downloading GooManager to install it) after starting the new ROM in order to restore your nandroid backup because wiping everything will wipe the recovery as well.
I hope that is clear