[Q] Corrupted data.img I think - Desire HD Q&A, Help & Troubleshooting

Well hey guys,
Basically the story goes like this. I nandroided before installing cm7 and before that I made a Titanium backup to dropbox and sd, i was in a rush so deleted the sd backup. Installed CM7 and restored apps only to find out I was missing like 200 or so, and they weren't in titanium, I tried restoring my nandroid but it seems boot.img is corrupted and in unyaffs it says bad file descriptor. It starts to extract some folder, but not the crucial app folder! And due to this weird error it always crashes CWM and so I cannot restore. I've tried all that I can find on the internet, unyaffs, ext2explore but I don't have linux. Do you guys reckon you could give me a few pointers? I've managed to recover a list of what was installed because they're in the data folder, but that takes time :/
Thanks!

Related

nandroid backups restored

hi, i used clockworkmod for a while now backed-up, but never really tried to restore from those back-ups....
i just tried to restore a nandroid backup, i went on the PC and re-named backup as something i`d remember put it back on the Desire, and nandroid just fails instantly at `MD5 mismatch`
could this be because the folder name changes after the backup has been made??, thanks.
also i thought i was being thorough by doing a wipe, from nandroid 1st.
Luckily I went advanced `restore sys only`, this went back to basic stock, logged into myy acc on market, downloaded My Backup PRO, restored the apps/dATA i did with that app.
restarted phone, all is good
whats up with md5 missmatch ?
cheers
Don't move the file around next time. Probably induced an error.
_Dennis_ said:
Don't move the file around next time. Probably induced an error.
Click to expand...
Click to collapse
not sure if its moving the file around so much, as the characters in the filename itself
i did a quick backup this morning, left the filename alone,restored it fine.
booted phone, went into Rom manager and renamed the original back-ups with that instead of PC, they now restore ok.
what i did notice though was when renaming from Rom manager it automaticly replaces spaces with _ seems a bit sensitve to certain characters.
must be filenames (or _+ - spaces etc)the are accepted ok on windows creates, arent freindly when nandriod comes to read them?

[Q]Automatic install apps with install

I've got some apps that i need in android, so when i test a new build i have to install them all again.
So i'm wondering if there is a way/script that is installing the apps automatically when the build is making a new data.img?
Is there a way to make it myself? It works the same as linux on the pc?
I know you can have multiple build on your sd card, but it won't fit on my sd card. That's because i have a 2gb card and already 1,8gb is in use(android and maps for winmo tomtom)
Thanks in advance.
Well if you have the actual APK, just drop it in the AndroidApps folder - it'll get installed automatically.
Otherwise, Titanium Backup FTW. The free version is still very powerful, but application restoring is kinda painful on the free version - the paid-for version has a '0-click' batch restore, and I've heard it's very fast. I keep considering buying the app, I probably should
I have not been able to find out how to restore backed up programs using Titanium Backup. I did my backups for the programs that I wanted, deleted my data.img so I could try a new build, and when it rebooted Titanium Backup was not there. I reinstalled Titanium Backup thinking it would find the backed up files again, but apparently it stores the backups in the data.img file. I am not sure if this happens to be an issue that I have encountered solely or not, but it kinda aggravated me that it didn't do what it was supposed to do.
Any advice or knowledge of what I may have done wrong?
fierygod said:
I have not been able to find out how to restore backed up programs using Titanium Backup. I did my backups for the programs that I wanted, deleted my data.img so I could try a new build, and when it rebooted Titanium Backup was not there. I reinstalled Titanium Backup thinking it would find the backed up files again, but apparently it stores the backups in the data.img file. I am not sure if this happens to be an issue that I have encountered solely or not, but it kinda aggravated me that it didn't do what it was supposed to do.
Any advice or knowledge of what I may have done wrong?
Click to expand...
Click to collapse
It stores the backups on the root of the sdcard in the folder TitaniumBackup. I have version 2.9.4 installed.
Christiaan91 said:
It stores the backups on the root of the sdcard in the folder TitaniumBackup. I have version 2.9.4 installed.
Click to expand...
Click to collapse
I checked that directory after I performed my backups, and the files were there, but when I reinstalled the app after wiping the data.img, the directory was empty. Apparently I must have needed to rename the directory prior to reinstalling Titanium Backup or something.
fierygod said:
I checked that directory after I performed my backups, and the files were there, but when I reinstalled the app after wiping the data.img, the directory was empty. Apparently I must have needed to rename the directory prior to reinstalling Titanium Backup or something.
Click to expand...
Click to collapse
Probably when you where installing TB again, it emptied the folder.
Sounds likely. I will have to test that theory later on when I go to try a new build, if I remember to do so.
Sent from my MSM using the XDA mobile application powered by Tapatalk

I/O error write to sd card (mybackup pro)

trying to restore apps and i get this message! ? fix?
the restore of data was fine but apps wont!
I'm getting this too when trying to restore my data after flashing a new rom. Let me know if you hear of any solutions.
The mybackup website says its an SD card error.. that may be the case, but it was working fine an hour ago on the old rom I had (because I'm new I can't post the link, but a quick google to their FAQ and you'll see what I mean)
I think my issue was due to the SD card. I reformatted it and then copied the contents back again from my laptop. I've now re-installed the new ROM and am using mybackup root to restore my contents as I type this - all seems fine so far
Thanks for the feedback.
What did you format normal or ext or both
Sent from my HTC Desire using XDA App
I had the same error. I don't find how to fix it but how to recover my data app.
Save the backup on your PC
Execute all .apk in my save folder from your phone
Launch mybackup to do another apps save with data
Copy all file wich are not .apk in the old backup (on your pc) and past them in the new backup folder on your phone (replace all existing file)
And finaly restor the backup, it will restore the data with the app
It's not "user friendly" but it worked for me, it was not a SD card issue
I was having this same issue. Watching alogcat revealed that an apk that MBP was expecting was not there, causing an IO error.
I tried to restore again, this time unselecting that specific app and it appears to be working.
So to fix it, install alogcat and watch for errors as the restore is taking place. This should clue you in on the problem.
gthing said:
I was having this same issue. Watching alogcat revealed that an apk that MBP was expecting was not there, causing an IO error.
I tried to restore again, this time unselecting that specific app and it appears to be working.
So to fix it, install alogcat and watch for errors as the restore is taking place. This should clue you in on the problem.
Click to expand...
Click to collapse
This was exactly my problem. Seems like the ****ing program didn't actually back up a damned thing. The folder which was supposed to have the backed-up APKs was completely empty.
I had to restore from an older backup and it worked.
I guess that's just what happens when you rely on free apps.
Just got the same STUPID problem - I'll try the fix above.
The only reason I chose MyBackup Root was because you can do "0-click batch restore" for free which you can't with the free version of Titanium Backup.
EDIT: Backups won't restore. It says "I/O Error". I've had the SD card for a few weeks and it was working perfectly with Titanium Backup. Also, everything's been properly installed formatted and fixing permissions and clearing caches makes no difference.
EDIT 2: After running aLogcat, it says that Mybackup has the following error: "...apps/appnamehere: open failed: EM0ENT (No such file or directory). It's like this for most of my of apps (and I have hundreds) that are now lost with all their data!
Also, none of the apps that do restore so far link to the market (it says this after restore).
This app really needs updating to resolve these serious issues.
Ouroboros29 said:
I had the same error. I don't find how to fix it but how to recover my data app.
Save the backup on your PC
Execute all .apk in my save folder from your phone
Launch mybackup to do another apps save with data
Copy all file wich are not .apk in the old backup (on your pc) and past them in the new backup folder on your phone (replace all existing file)
And finaly restor the backup, it will restore the data with the app
It's not "user friendly" but it worked for me, it was not a SD card issue
Click to expand...
Click to collapse
When backing up apps and data again it STILL won't backup some apps!! Any suggestions?

[Q] Extracting files from Nandroid

I recently wanted to try a different ROM, so I backed up all my apps with Titanium Backup and then did a Nandroid with Amon Ra. After playing with the new ROM for a few hours, I decided I didn't like it and wanted to return to my previous setup. I tried restoring from the Nandroid 3 times, but I kept getting sent into a bootloop. So I cut my loss and just flashed the same ROM again and figured I'd just restore my apps and set everything up again (I've done this so many times, it doesn't even take me that long anymore). However, after setting everything back up again and restoring my apps, I realized that several of my apps hadn't backed up for some reason and I was restoring from versions several months old (some of these were games that I'd made considerable progress in).
Is there any way of extracting apps from a Nandroid and replacing my current version with them (assuming the Nandroid isn't corrupt and the app files are valid - not sure this is a reasonable assumption, since the phone wouldn't restore to this backup, but I figure it's worth a try...).
Thanks in advance!
Dave
Anybody?
I just tried following this guide: http://forum.xda-developers.com/showthread.php?t=890508, but it didn't have very good instructions once the files were extracted. I didn't find any of my apps in the /app folder, instead the only files I found were in the data.img file and then in the data folder. I tried copying the folder I found onto my phone, but the app crashed as long as I used this replaced folder.
Any suggestions?

help restoring nandroid backup..phone out of order(resolved)

hello. so i did a nandroid backup of my rooted el29 gingerbread + cwm epic 4g phone a week ago. it created a folder on my external sd card (sdcard/external sd/sdc2012-06-2012 folder) ive also continously made titanium backups of the apps + sys data. so i let a friend uninstall a system app(id bloatware) just to prove it could be uninstalled but dont like that i get error messages now sometimes when accessing email, etc. i tried a titanium backup but it hangs for 5min. now im trying a nandroid restore in cwm v5.0.2.7. where is a good guide for this? i went to restore but it keeps saying "error opening directory. No files found." i dunno what directory its searching but clearly not the correct one as i verified almost 700MB of data on external sd card. ive wiped data, cache so it only boots to "samsung logo screen." i also have a backup nandroid on my server so how to i get it to actually restore?
06-12-2012 update: crisis averted. i remember doing advanced backup w/ cwm recovery originally so i just did regular backup. it created a directory cwm/backup/new folder. i put the files from original advanced backup over to correct location and restore did it!! this is just like the acronis images i do for my pc's. what a wonderful thing!!

Categories

Resources