[Q] NANDroid Experts... - myTouch 4G Q&A, Help & Troubleshooting

Well, I get to join the ranks of the stupid. Ah well.
The objective: To "Re-build" a nandroid backup.
The cause: I wanted to use the new Netflix app, so I nandroided my Evil D 0.32 DHD ROM, downloaded Virtuous Fusion, went into recovery, and like the instructions said, wiped everything. In my tired state, I even did the SD card. Once done, I began to try to flash the new ROM, but could not find the zip. Cursing like a drunken sailor for forgetting to copy the zip file, I mounted the SD Card and my horror grew as I saw it was blank. Wiped.
Since then: I swapped my card with a spare, flashed a ROM, and began a recovery on the card. I got all 5 nandroids from the card back (at least I think I did)... but...
The issue: Each of the folder I recovered has 6 files inside: .android_secure, boot, cache, data, nandroid, recovery, and system. I rebooted into recovery, and tryto flash one. OFC, since they are no longer zips, it failed.
So I zipped one, and it fails as well. No error message just:
CWM Recovery .0.2.4
--Installing /sdcard/Nand1.zip
Finding Update Package
Opening update package
Installing Update
Installation aborted.
Root with gfree and eng hboot.
Ideas?

Just a quick bump and a status update...
Not sure why I was trying to flash backup when I needed to restore...
Anyways, I used the correct menu, restored a backup...
Good news is that 2 of the 5 backups restored no issue. Of the 3 dead ones, 1 was a stock backup, so I don't care about it. However, one of the other 2 is what I needed. (Meaning, the 2 that restored were old, and of the three ones that would not for MD5 issues, one I needed.)
So the question changes.
The 5 nandroids: 1 was stock, 4 were the same ROM, just taken at different points in time.
The reason 2 of them won't restore is failed MD5, which just means 1 byte (or more) has changed.
From what I know, the 6 files - .android_secure, boot, cache, data, nandroid, recovery, and system - all point to certain parts of the phone.
.android_secure - has to do with market from what I know.
cache - won't kill the phone if this is corrupt, cache will just rebuild.
data - the all important file. Your personal data is stored here. Apps, settings, etc.
nandroid - related to md5 and such? Not needed for apps/data
recovery - recovery image
system - the rom itself.
Now, if I am correct, if I restore a working nandroid, and then just the data from a dead nandroid, as long as the ROM was the same between the 2 of them, I should be golden?
right? And issues with this?

What are you worried about losing? Between Google sync and HTC sense sync you'll get most of the important stuff back.
Sent from my HTC Vision using XDA App

There are many apps which I no longer have a apk for that version (Soundhound? New version has permissions I don't want to give!) that I had there. And my TB backup was on the card as well...

So, anyone know if/how? In short: If I have a damaged nandroid and working nandroid of the same ROM, can I restore the data from the bad one to the good and how?

MordyT said:
So, anyone know if/how? In short: If I have a damaged nandroid and working nandroid of the same ROM, can I restore the data from the bad one to the good and how?
Click to expand...
Click to collapse
If you run an md5 of the data img you want, place that in the md5 file (included in the backup folder) it should restore properly. I've been in the same situation as you and that's what I did to fix it.
Sent from my HTC Glacier using XDA Premium App

Related

[Q] I can't restore my cwm backup, what should I do? [urgent,please help]

Hi,
I had a problem with my NDT miui nand buil recently, it was sticking on boot animation, so I made a backup via cwm, I saved the backup folder on my pc. Now I want to restore that backup. I tried all the usual methods for it, I did tas29, flashed new clk, and tried backup, still stuck on boot animation, I flashed my last rom and then tried to restore the backup, again stuck on boot animation. I did everything for it, but doesn't works for me. It does the restore process as usual, but I wan't to boot, my phone stuck in boot animation. So I beg you to help me with one of these alternatives, please.
-I only want to restore my contacts, call logs and sms. Anyway to restore them only? there are some .img files in backup folder, which one are these files stored?
-Is there anyway I can extract backups files on my pc and get my contacts,sms,... in it?
-If none of above works, is there anyway to install cwm on pc android emulator, and then restore my backup in it, and again get my contacts,sms there?
I will really be thankful of your helps
behnam2016 said:
Hi,
I had a problem with my NDT miui nand buil recently, it was sticking on boot animation, so I made a backup via cwm, I saved the backup folder on my pc. Now I want to restore that backup. I tried all the usual methods for it, I did tas29, flashed new clk, and tried backup, still stuck on boot animation, I flashed my last rom and then tried to restore the backup, again stuck on boot animation. I did everything for it, but doesn't works for me. It does the restore process as usual, but I wan't to boot, my phone stuck in boot animation. So I beg you to help me with one of these alternatives, please.
-I only want to restore my contacts, call logs and sms. Anyway to restore them only? there are some .img files in backup folder, which one are these files stored?
-Is there anyway I can extract backups files on my pc and get my contacts,sms,... in it?
-If none of above works, is there anyway to install cwm on pc android emulator, and then restore my backup in it, and again get my contacts,sms there?
I will really be thankful of your helps
Click to expand...
Click to collapse
Are you using the correct partition size? Too small a partition normally causes the phone to hang at the bootanimation. If you have used the correct partition size and it still doesn't boot, try simply increasing it to account for any bad blocks you may have.
It's also possible that your backup is corrupted somehow, it happened to me once. If this is the case, try flashing the same ROM and then restoring the data partition in CWM.
When you rename backup file do not use spaces (exp. icsromv3)
Sent from my E15i using xda premium
2010matej said:
When you rename backup file do not use spaces (exp. icsromv3)
Sent from my E15i using xda premium
Click to expand...
Click to collapse
I don't think that's the problem because if the ROM gets up to the bootanimation (after a Task29) then it's clearly been [somewhat] flashed correctly so it's probably down to the backup itself, or of course an error somewhere on his part.
behnam2016 said:
... it was sticking on boot animation, so I made a backup via cwm, ...
Click to expand...
Click to collapse
Come on guys, this is common sense. If he made the backup with the rom ALREADY not booting up, no matter what he does, it'll always stick to the boot animation.
The back-up saves your ROM at its current state, not the one it was working at before. Backups should only be done when your ROM is actually fully functioning, not when it is broken. So unfortunately, you have to do what Nigel Suggested. Make a clean install of that ROM and then only restore the data partition.
You may be able to do the emulator thingy, but I'm not sure, you can give it a shot though.
For extracting something from your backup see appextractor or nandroid browser
Marvlesz said:
Come on guys, this is common sense. If he made the backup with the rom ALREADY not booting up, no matter what he does, it'll always stick to the boot animation.
The back-up saves your ROM at its current state, not the one it was working at before. Backups should only be done when your ROM is actually fully functioning, not when it is broken. So unfortunately, you have to do what Nigel Suggested. Make a clean install of that ROM and then only restore the data partition.
You may be able to do the emulator thingy, but I'm not sure, you can give it a shot though.
Click to expand...
Click to collapse
Whoops, I should have read the OP more carefully
@OP Yeah, just fresh install then restore the data partition. I still don't understand why the other ROM isn't working though unless it's your fault somwhere

[Q] Incomplete TWRP Restore

Hello,
I have a Nexus 10 (manta) tablet and made a full nandroid backup 10 days ago of the stock+root Android installation. I did that so I would be able to revert back to it if need be after trying out CM 10.1. I found that CM still required some refinement for manta so I wiped the system, did a factory reset and wiped the dalvic cache, then tried restoring the previous backup I made, of the stock system. The backup folder is 2.46GB big and the /data partition is split between two archives. When restoring, the system partition and first data archive seem to backup properly, but after that, the tablet reboots, omitting the second data archive which is pertinent for me to restore all of my apps.
I've installed the latest TWRP, version 2.4.0.0 just in case there was a bug.
How can I fix this and get my tablet back to normal?
Thanks XDA,
Spike
Note: My tablet isn't bricked, I can still boot to the stock rom after doing the incomplete restore but my apps are incomplete.
Edit: I've just updated TWRP to 2.4.1.0 and get a little farther this time. It begins restoring the second /data archive but still reboots during the process.
I'm currently having this issue. Did you ever get it resolved?
Sent from my Nexus 7 using xda app-developers app
I had the same problem, posted a day ago or so about it, but I used this http://forum.xda-developers.com/showthread.php?t=2121673 and now everything is all good. I just flashed the super wipe zip and then restored and it did NOT reboot during the restore.
Sent from my Nexus 10 using xda app-developers app
I had this problem as well. It was really pissing me off, I think it happens when you have a large backup. Anyways, I just kept trying it, and on the third time it worked for me. Maybe I just got lucky. When restoring it wipes everything anyways, but you can try wiping data, system, and cache beforehand and see if it helps.
Sent from my SCH-I535 using Tapatalk 2
My backups are 10GB+ each(I basically make full images to restore to for each ROM) and I never had this issue in the dozens of restores I've done. I always factory reset, wipe cache/dalvik, and then format system(wipe ROM) in that order before restoring the image. In a worst case scenario you can factory image the tablet if the restore fails after the stock ROM has been wiped.
Also you said two archives? My backups are just 1 folder with the 5 partitions and 5 md5 files?
I had this issue as well, after trying to restore from checking out the Ubuntu preview. Ended up giving up on it and enjoying as best I can the clean install. Would still like to restore it if possible though.
I was "finally" able to do a full restore of a backup. I had to break up the restore process though. First I restored system and boot. Once that restored I restored data and was able to get a full data restore as well.
Sent from my Nexus 7 using xda app-developers app

Failed TWRP restore

So I decided to try and flash Ubuntu last night... I booted into recovery made a backup 15min and 2.5 GB later it was done... wiped flashed no go would not boot... so back to recovery I choose my restore file... system says it was successful but when restoring the data it fails... I'm on twrp 2.5 ...then I tried to just restore the system when booting up I get that static image you see on cm flash every 5 sec but never boot nor goes inyo the boot animation...is there anyway to use this restore file... I just need the data part.. I have messages that i need to show my lawyer and numbers that I need... TiB won't restore my messages either....
Sent from my XT907 using xda app-developers app
You will need TWRP 2.6.3 / PhilZ / or a newer CWM that supports adb in recovery (not sure is 2.5 does)
First off, all of your pictures and other stuff are stored at "/data/media" or "/data/media/0" and are not "wiped" unless picked. These are both accessible in recovery, and you could do an "adb pull ....." to get those files to a PC. At this point you should have your pictures.
Sounds like Ubuntu messed some things up, and when you restored "/system" only it won't boot because of missing data. I once had a problem like this bouncing back and forth between 4.3 and 4.2. Assuming you were on a custom ROM, maybe try wiping completely including "/data/media" DO NOT WIPE "/DATA/MEDIA" IF YOU HAVEN"T BEEN ABLE TO PULL THE FILES VIA ADB IN RECOVERY!!! YOUR PHOTOS WILL BE GONE!!! Sorry for the bold caps, I just didn't want you to miss it. Next install your custom ROM, boot, and do enough setup to get to the home screen. Now go back to recovery and your backup should restore. From here you could "adb push ..." your files back.
Updating TWRP is one way to solve this in the future, like JB already posted. However, to remedy on 2.5, do a clean wipe prior to restore, mounting system prior. Then, restore only the boot.img from the ROM you want and then restore the full ROM you want. This is how I was able resolve this same issue. Hopefully, it will work for you.
I was on stock deodexed debloated prior to all this... after a few tries at the restore I just flashed that same ROM and used TiB to restore what I had on last back up... tonight I'll try and restore that twrp backup ... but either way I guess I'll be updating my recovery... I'm not worried about all my pics n what not I keep all that on the external SD card now...
Sent from my XT907 using xda app-developers app

[HELP] Screwd up nandroid

Hello guys!
I was updating from 4.4.4 to lollypop via OTA, then I realized that even if I run the stock ROM, I am still unlocked + root, meaning that the OTA won't run.
I did a complete nandroid backup via Wugs Nexus Toolkit, including data.
Then I wiped and flashed the new 5.0 via Nexus Toolkit, but when I tried to restore only the data it didn't work.
I decided to go back to 4.4.4. and do things properly, but now I'm not able to restore anything.
I am not bothered with the apps and stuff, but I had plenty of pictures which I forgot to backup, and I want to restore them. I even tried to access the nandroid backup files, but no success!
I was accustomed with the old CMW, where you had the .img files, but I got no clue on what to do here!
I add the picture of the nandroid backup folder on my PC ( I think the data files are splitted, but I cannot open them in any case, not even with 7zip).
The nandroid was executed via Nexus Toolkit, but I guess it has been done through TRWP.
Long story short:
1) how can I access the pictures inside the nandroid backup?
2) how can I restore a nandroid backup that keeps failing?
theraizen said:
1) how can I access the pictures inside the nandroid backup?
Click to expand...
Click to collapse
Maybe CWM does things differently, I don't know, but with TWRP, a Nandoid backup doesn't back up your SD card partition, so if you wiped everything, all your pics are gone. Sorry.
Yeah, I guess so.. Managed to recover something with DISK DIGGER (its an app, free on the store). Just wanted to write it here, so if anyone has the same issue can recover this way!

How to restore/extract from NANDROID backup made with TWRP 2.8.x.x?

So the phone was going crazy with frequent FCs so I decided to wipe it clean and install a new Resurrection Remix ROM.
Did a nandroid with TWRP 2.8.x.x before wiping and now I have trouble restoring in the new ROM using titanium backup PRO. In TB, I can get to the app selection screen and when the loading bar appears, it never gets past 0%. But it just magically says restore completed after some time. None of the app I chose ever gets restored.
So now I'm trying to extract the apps and data on a PC, and copying them into the phone manually. Question is, how do I get my hands on the files (extensions *.win000,*.win001...) in the nandroid?
I'm not sure about extracting it on a PC as I've never tried, but I believe the archives are multi-part tar.gz files.
If all else fails, you can use an app like Nandroid Manager to browse/extract the contents of a backup.

Categories

Resources