My phone freaked out earlier today and after spending some time trying to recover it, I just had to wipe it and reinstall the ROM. Sad day, but no major harm done.
However, I have lost the data to some of my apps, which I would like to return. I have a Titanium backup from ~4 days ago which is fine for most, but some (games) I would like to recover my progress.
I've got a nandroid backup from when the phone wouldn't turn on (gets stuck on white 'HTC Evo 4G' screen), and I'm trying to use unyaffs.exe to pull out the file contents to grab the application data, but it's failing. It says "end of image" twice and then deletes the data (goes from ~400MB file to 0kB).
What am I doing wrong? Ideally I'd like to pull the specific application data from one nandroid and put it into the other, but I'm unsure how to do that. I tried using ext2explore.exe and that isn't working either.
tl;dr -- I want to extract some application data from a nandroid backup, but the unyaffs.exe approach isn't working. Help?
Related
***IT HAPPENED A SECOND TIME. THIS TIME I WAS ABLE TO FIX IT BY CLEARING CACHE/DALVIK CACHE AND FLASHING A NEWER VERSION OF THE THE SAME ROM***
Hi guys,
I recently bought a Desire and loaded LeeDroid on a week later. Everything's been fine, until today, when I shut-down my phone and went to turn it back on, and it froze at the Telstra (telco who I bought it from) splash screen.
Here's what I did:
- Power + Vol- + trackball, which resulted in it restarting and freezing at the same point (15 minutes wait)
- Pulled battery and booted into recovery
- NAND Backup using AmonRA
- Restored original (pre-LeeDroid) NAND backup, and rebooted, which resulted in phone freezing at the same point
- Shut down, removed SD Card, wiped using AmonRA, restored original (pre-LeeDroid) NAND backup, which enabled it to boot properly
- Restarted and flashed Leedroid Rom from ZIP, which worked fine.
- Restored today's NAND backup, which of course brought everything back to square one.
Can anyone tell me if it's possible to access any of the contacts/SMS/etc? I was planning to back-up tonight as I'd put a whole heap of stuff in today, so of course this arvo was when it had to die. That and there's some stuff I'd really like to have that I'm not sure the relevant apps have stored on the SD.
And how can I ensure a clean restore? Run Telstra's RUU, then install LeeDroid as per instructions?
(EDIT) I notice that the NAND backups consist of a bunch of .img files. I imagine that data.img might have what I'm looking for in it. I've tried searching for a way to explore the contents, but I'm still trying to get unyaffs running...
Reflash or wipe cache and dalvik cache and reflash.
Sent from CM7
So you're suggesting I do the following?
- Restore freezing NAND backup
- Wipe Cache + Dalvik Cache
- Reflash LeeDroid from zip
Are the contacts all google contacts? If so you can recover those that way.
When you signed in for the first time after flashing the rom, while linking your google account, did you check "backup this phone to google servers"? If so, that should restore things if you wipe all and reflash the rom.
I used this option for the first time, and my wallpaper, shortcuts, alarm settings and SMS all restored after 5 minutes or so.
Unfortunately not. I didn't make the same mistake this time though >_>
Even so, I'm still hoping I might be able to pull some of the stuff out of the NAND backup.
Do you know if it's possible to fake/bypass the md5? If I can swap the data.img from the busted backup to a working one (the one before I put all my contacts in etc) then I should be able to access something.
Unfortunately that brings up an error, and I imagine the checksum is what's doing it.
hi, i need help restoring my backup in cwm 3.0.2.8.
The system partition restores fine but none of my apps or anything get restored. I've tried different versions of cwm and none of them have worked. I know i can just restore my apps with my backup or titanium but i shouldnt have to and i forgot to before i made the backup.
It doesnt even restore any if my contacts, texts, etc. It seems like its just restoring the rom with what ever mods and tweaks i had applied. This has happened with multiple roms so i reckon its a fault with cwm. Also when restoring just the data in cwm it doesnt say "Restore complete!"
Anybody got any suggestions?
Anybody got any suggestions?
How are you restoring your ROMs?
Your contacts should be backed up with your Google account.
They are backed up but cwm should restore everything. After i restore it asks me to login to my google account, select my time-zone, etc.
Im restoring from recovery.
It seems like cwm is crashing while restoring my data partition because the screen goes black whilst still showing the rom manager icon and it goes back to the inital screen of recovery like i just booted into it.
Have you checked your SDcard for errors?
There are hundreds of people who use ClockworkMod Recovery without issue. (excusing 3.0.2.5)
Could be something as simple as a couple of bad sectors on your card.
I recently formatted it before i made the backup, how would i check for any more errors?
Try HERE. Its in Russian. So you'd need to visit via Google or use Chrome.
I downloaded but i dont have a clue how to use it
Read through the manual.
Or you could follow this guide HERE, I'm pretty certain that the first tool would be more accurate.
I tried the russian one but i got access denied so im doing the windows method. If none of this works, is there a way to manually extract the files from the .img file? I mainly want the data from my apps because i hav around 300
How are you connecting your SDcard to your computer? I just ran a test using ,
Code:
flashnul G: -T
It worked fine, that was connected via USB cable with the card mounted as a drive.
No problems which I'm pretty pleased with, now just to transfer my data back.
I forgot to run CMD as admin, its running now
EDIT: I didnt get any errors
If the SDcard is fine. Then I'd reflash CWM Recovery.
I have. The only reason I flashed .2.8 was because of this problem. I have to send my phone to HTC on monday for repair so when I get I back (20 days later) Il start again from fresh. For now I'm gonna unroot and s-on etc etc... I hate sense.
Thanks a million for your help though!
Question: If HTC swap my phone with another, will my backup still work with the new one?
Off topic, I point blank refused to wait 21 days + for a repair. After some wrangling got an exchange. Sadly the exchange handset had severe case misalignment issues. Refused that also.
Yes your backup will still work. It doesn't matter what handset you use. The backup isn't tied to it.
Haha the speaker for calls doesn't work anymore so i hav to send it back. 20 days is gnna seem like forever lol. I'm gnna hav to look for my Nokia 3310. It's like 10 years old and its never failed me once.
As for my back up, when I do get my phone back i need to go through my apps and delete what I don't want.....or I could buy a bigger mem card and setup A2SD. Is there no way to browse inside the data.img file from the backup?
Recently I had to have my evo replaced because the mic died. sure was nice to spend 35 bucks instead of 400. after a little work i got it rooted and flashed and made a fresh nandroid of the new rom. I noticed that titanium hadn't backed anythingup lately but I had made a nandroid before taking the phone in. After a little research i moved the old nandroid to the new nandroid folder (serial numbers and all that) and proceeded to wipe everything and restore nandroid. Now I have almost everything back... except most of my apps. seems they were on the sdcard and now don't want to play nice. I can go to manage applications and sdcard and they are there but greyed out and unchecked. if I tap on one, it will crash immediately. I tried fix_permissions which ran for a few mins but nothing changed, so i rebooted again. still nothing. is there another solution for this or should I just attempt to pry open the img file and extract my data there? If so, where would said app data be? not the apps, but their data for saves/bookmarks/etc. Any help would be appreciated, this has been very frustrating.
Use Root Explorer to check whether the data's there (in /data/data) and whether the APKs are missing (/data/app if they were stored on the phone, /mnt/asec if they'd been moved to the SD card). You probably just need to reinstall the app, though you should backup the data just in case.
seems that the info is there in data/data, but not in data/apps. mnt/asec is also empty, though I recall moving most of my things to sdcard at one point. how can I copy data/data to my pc? can't seem to mount it where the pc will see it, even through recovery.
I decided since I can't mount it for some reason (lack of knowledge comes to mind) that I would just unyaffs the files. how would I push the data/data files back to the phone?
I'm trying to do a backup of all my apps and user data via Titanium Backup, and it's been stuck on "10% - Bluetooth Pairings" for the last hour, when the last several backups tool less than 15 minutes total. FWIW, I accidentally touched the screen while it was backing up, and it kicked me back to my home screen. Re-running the batch gets me a message saying that it's still in the process of backing stuff up. Everything else seems to work fine, I can go into other apps, but even if I park it in the TB app itself it just seems to be sitting there. I don't have (or like) task killers, but I'm unsure as to what I should do. Would a reboot hurt anything?
I've had this happen to me when I've tried restoring from titanium (I'd click cancel to not reinstall an app and it get sticks there). I have to reboot to get it going again. I'd say give it a reboot and run it again, shouldn't hurt anything.
Reboot your phone, batch delete all backups, and try again.
If it locks up after this, it generally means that your market db is corrupt, see this:
http://matrixrewriter.com/wiki/tiki-index.php?page=TB+-+Troubleshooting#HowToResetMarketDatabase
Happened to me this past weekend.
Polymira said:
Reboot your phone, batch delete all backups, and try again.
Click to expand...
Click to collapse
That did it. Thanks!
Hello all. So this morning i was looking to flash to Blaze4G modem that Master&Slave has so kindly uploaded for us, and after backing up and wiping cache, i proceeded to flash the modem.
after booting up i had no 4G connection, and trying to mess with APN's resulted in "no data connection" error. I know i've seen this same error over in the developers thread for the Blaze modem, but don't know what i did wrong. some careful combing and reading of the thread should give me solution to the aforementioned problem, HOWEVER this is not the issue i am posting about.
After the failure of the modem, i attempted to restore my nandroid backup via CWM recovery and after a notice "no files found", it proceeded to restore my listed recovery anyways. Upon finishing the recovery and booting up, i was presented with the very same screen that you get when you turn the phone on or flash a new rom the first time, asking me to sign in to my google account, along with an error "SYSTEM UIDs INCONSISTENT" along with an error message that reads "UIDs on the system are inconsistent, you need to wipe your data partition or your device will be unstable" along with a button that says "i'm feeling lucky"
i fortunately have a previous backup, but would like to know how the flying **** this happened, as having a nandroid backup completely fail like this is new to me and makes me very nervous. Had i not had a backup that was a couple days before the newly made one i would be flipping out pretty bad at the moment.
i also forgot to mention that i did click "skip" on setting up a google account in order to get to the home screen and see if it carried over anything, but the phone appears to be reset to stock on my particular ROM with no user apps at all, like i did a system format.
i also checked the nandroid file with "appextractor" from the play market to see if my apps and data were indeed inside, and upon doing an app scan, i found ALL my apps and could have extracted them from the backup if i so desired.
this makes it even more CONFOUNDING that the backup acts like a formatter, this is VERY perturbing to me.
ideas?
i had an issue like this before.
to fix it i ran the darkside superwipe script and then was able to restore my nand backup.
T989 on CM7_373R2