[Q] How Do I Restore Backup of Cyanogen 11 using CWM v6 Error while restoring /data! - General Questions and Answers

Okay wow, I'm very confused and have been Googling/reading the forums for hours now. I'm a complete noob and here's exactly what I did.
Currently have CWM touch v6 and Cyanogenmod 11
1. I have been running everything for a month with no problems at all.
2. I made a backup of my stock rom before I switched to Cyanogenmod 11, and I've also tested going into it and back to 11 in the past.. I know it works!
3. Today I decided I wanted to go into the the stock rom again and view some old text from my gf.
4. Before going back to my old stock backup, I decided to make a current backup of my Cyanogenmod 11
5. I also decided to make sure that one worked, so I made another backup of my current 11
6. Upon trying to access the backup I ran into a md5 hash error and noticed it wasn't creating a nandroid file for the cyanogenmod backups like it did for the old stock rom backup.
7. I went in and created a new file blank file "nandroid.md5" for both the Cyanogen backups I created.
8. Upon trying to restore again, I now received, "error while restoring /data!"
9. I was able to access the rom, however it only seemed to have loaded a partial amount of my /data ...I even I had to go back through the cyanogenmod prompts as if I freshly installed the rom, but my text messages/apps were all there.
10. I then attempted to wipe everything (using the wipe settings cache/dal/etc in CWM) and install the stock rom (since I know it works). Again I received the, "error while restoring /data!". But, again the same story, it loaded the stock rom, but with partial data and as if I freshly installed it.
11. I found online the problem could be due to the partition size not being able to handle the backup size (and my backups are over 600mb)..I deleted the stock rom (taking up 1gb) and again tried to install my Cyanogenmod 11 backup, to again be greeted with, "error while restoring /data!"
QUESTION 1:. I've read that using the Titanium app or nandroid manager can help alleviate the issue by restoring items, but how can I solve this annoying "error while restoring /data!" error?
QUESTION 2: I have the entire backup folder pulled from adb on my desktop, would it be advisable to use the format /Data and /Data/Media option on CWM and then push the Cyanogenmod 11 backup back into my phone and then try restoring? I've also read someone was able to factory restore their phone from settings, then try restoring the rom.. is this advisable?
Thanks in advance for the help, I have a headache

Related

Nandroid Restore problem

I followed the instructions on how to do a restore using nandroid and fastboot. All steps in Fastboot gave okay's but when I do the reboot it just hangs on the first screen "T-Mobile G1" and will not move past.
I was able to get the phone back up and working by putting JF R33 back on the phone after doing a wipe. I then put all the apps back on and did another nandroid back up and then tried to do a restore following the steps in from the second post and the same results. It gets to the first T-Mobile G1 screen and stays there. I would really like to get this to work so that I can test out other builds but still get back to a working phone.
One thing I noticed in trying to get the phone back up and working. When trying to reinstall JF R33 I get the following error if I do not do a wipe and just try and install it after a fastboot restore:
"E:Can't mount DATA:
E:Failure at line 2:
copy_dir PACKAGE:data DATA:
Installation aborted."
Paul
That's weird, I just restored about 20mins ago and I did not have any problems. Try re downloading the SDK then copying the ADB files to your system32 folder.
Just downloaded android-sdk-windows-1.1_r1.zip and the same thing it boots to the T-Mobile G1 screen and stays there. I let it sit there for 10 minutes now and nothing. I am using JFv1.42 R33. If anybody can help I would really appreciate it as I would like to be able to try out other builds but I would need to get back to this one.
Issue seems to resolved not sure which was the solution. I downloaded a new copy of JFv1.42 R33 and then used a different SD card. I can now do a back up and restore. Now I get to go and play.
Make sure the sdcard partitions are set up how there were when the backup was created and retry the restore. Chances are you had an ext2 partition for apps/data when you backed up and you don't now.
makethetick said:
Make sure the sdcard partitions are set up how there were when the backup was created and retry the restore. Chances are you had an ext2 partition for apps/data when you backed up and you don't now.
Click to expand...
Click to collapse
I was having trouble with nandroid backup too i tried this and it worked. thanks a lot man.

[Q] CWM 3.0.0.6 Failure question

I am not sure how or why but I have had two instances now where the Nandroid backup has failed. Once with a backup of CoreDroid 4.9 MD5 mismatch wont restore and once now with CoreDroid 5.0 same error when i try to restore. I have tested and verified that it is not the rom.
I did a full wipe again
reinstalled full version ROM
set it up with a few apps
did a nandroid backup
rebooted
restored backup from SD card
Restored and booted no issue
All Normal! I do not know what happened on the other two backups?
Normally I boot to CWM by means of Rom Manager which gives you the option to name your backup. It is possible that I did those by means of CWM (Going directly to CWM with ADB) which does not allow you enter a name. It just starts and assigns it a name (number) and then I changed the name later on? Not sure. I am also not sure if this would cause a MD5 mismatch?
Always a concern if a backup does not work 100% of the time until I find a cause.
Has anyone seen this before?
Thanks all.....
Has there been any other reports of this? This is the first time I have had an error with CWM and I have had it twice.....

Trouble extracting app from TWRP Nandroid backup on USB stick

My phone got stuck in a bootloop where it could only get to recovery. Using the recovery I created a nandroid backup to the a USB stick using an OTG cable. I flashed the stock firmware and got things setup but I can't restore individuals apps from the nandroid. I copied the nandroid from the usb to sd card but it still doesn't work. I tried restoring apps using Nandroid Manager but when the app is launched it gives the error "app has stopped, close app". For some reasons sms succesfully restored but no user apps. I tried restoring with AppExtractor but it gives the error "unable to generate apk listing"
I also have titanium backup pro but couldn't get it to find the location of the nandroid to try extracting with it.
Any ideas? I really just want my messages back from Whatsapp.
My phone is a moto g4 plus running stock Nougat with busybox installed and elementalx kernel. It should be the same environment now as when the backups were made.

Titanium Backup error 3 when flashing "update.zip" from TWRP!

TL;DR: How to fix Titanium Backup error 3 while flashing "update.zip" from TWRP?
I have been using Android for more than five years now seriously and it is a bit funny that I did not know I could restore data to newly flashed ROM.
Previously, I would just wipe system and flash new ROM not touching data partition and that worked just fine.
That is past seems.
I have flashed new ROM which is based on stock Samsung Galaxy S9 Plus ROM so I could get official updates. The problem is my phone lost one fifth of its performance according to benchmark and it experiences random reboots (I hope not while I am typing ?)
All in all, by restoring previous data on new ROM some of the files seem not to be overwritten well on new ROM (possibly application versions not getting downgraded well).
LogCat did not help.
I deleted my data (I have backup of course) and my system works normally so it is a data problem.
That is where Titanium Backup came into play.
I made backup of all user applications and an "update.zip".
When I want to flash "update.zip I get error code 3.
Some say it is due system partition but I formatted it in couple of manners and I am still unable to restore.
Is there any other way to restore applications and its data to new ROM?
I have tried backing up the applications and moving the Titanium Backup folder to SD card and moving it back when I flash new ROM. Backup does not get detected.
Thank you in advance!
dedq said:
TL;DR: How to fix Titanium Backup error 3 while flashing "update.zip" from TWRP?
I have been using Android for more than five years now seriously and it is a bit funny that I did not know I could restore data to newly flashed ROM.
Previously, I would just wipe system and flash new ROM not touching data partition and that worked just fine.
That is past seems.
I have flashed new ROM which is based on stock Samsung Galaxy S9 Plus ROM so I could get official updates. The problem is my phone lost one fifth of its performance according to benchmark and it experiences random reboots (I hope not while I am typing [emoji854])
All in all, by restoring previous data on new ROM some of the files seem not to be overwritten well on new ROM (possibly application versions not getting downgraded well).
LogCat did not help.
I deleted my data (I have backup of course) and my system works normally so it is a data problem.
That is where Titanium Backup came into play.
I made backup of all user applications and an "update.zip".
When I want to flash "update.zip I get error code 3.
Some say it is due system partition but I formatted it in couple of manners and I am still unable to restore.
Is there any other way to restore applications and its data to new ROM?
I have tried backing up the applications and moving the Titanium Backup folder to SD card and moving it back when I flash new ROM. Backup does not get detected.
Thank you in advance!
Click to expand...
Click to collapse
When switching ROMs, restoring data from a previous ROM causes issues, especially when the data contains system data and apps from the previous ROM, user apps and their data usually restore fine, but the system stuff doesn't.
Sent from my SM-S767VL using Tapatalk
Solved using Migrate.

Newbie needs some Nandroid backup clairfication

Howdy!
I have finally gotten the multi user problem solved and made my 1st nandroid backup. I have never done a restore so I have a couple of questions:
1) If I flash lineage then do a restore in TWRP can I select just the 'data' partition to restore from my OOS bcakup?
2) Can I do a restore a back up I made in OOS after I flash Lineage or does that muck things up?
3) If I can do a restore of only the 'data' files will that restore all my apps, and will it restore the app data?
I have done several searches of the forums and have not been able to totally figure out how I can save my set up in OOS and get all my apps and data to Lineage without painstakingly loading each app again and setting each app back up.
4) If I copy my entire data folder to my hard drive, flash Lineage, then copy it back to the phone will that accomplish what I am trying to do, or is that what the nd backup will do, or am I barking up the wrong tree totally.
Last time I accidentally wiped my phone and had to rebuild everything from scratch......this time I would like to avoid that fun!!
Thank you in advance,
JC

Categories

Resources