Is there a way that I can retrieve/extract my contact list from a nandroid backup without restoring the phone to said backup? If so, please explain... thanks guys
Sent from my ADR6300 using XDA App
Do you store your contacts with your gmail account?
They're not in any of the attached accounts.
Dunno what i was thinking but when i created new contacts i added them to "phone" instead of "gmail"
I flashed a new rom and kept all my apps and junk but only maintained my gmail and facebook contacts, as woulda been expected if i was thinking.
Is there a virtual drive or something similar that i can use to mount the .img files from the nandroid backup?
Thanks.
MagicISO won't mount it
EDIT: I decided to just go ahead and restore to the old backup and then export the contacts, but, the old nandroid backup is saying "MD5 mismatch" so, any good ideas?
This may help:
ihtfp69 said:
I figured I would post this fix here in case anyone else ran into this problem. This is assuming you did not change the folder names and let Clockworkmod create them. I haven't had it happen until today, but it's not a nice message to see when you are trying to do a restore.
Code:
Checking MD5 sums...
MD5 mismatch!
To fix this problem use the code below. Substitute the final folder name for the backup you need to fix.
Code:
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
When that finishes, re-run the restore and everything should be fine.
NOTE: As rpearl stated, there could be something really wrong with your nandroid, so use this tutorial as a learning experience and not a fix-all. In my case, everything was fine after restoring. However, that may not always be the case. Do this with caution.
Click to expand...
Click to collapse
Good luck, hope it helps.
Sent from my Droid Incredible running Myn's Warm Two Point Two RLS4.
Related
Anyone else have an issue where they can't select the entire nandroid backup?
I go into recovery, and try to select a backup, and it opens the folder instead of running it. In other words, I select the backup (i.e. "backup-1" or whatever I've got it named), and I get the option to select boot, cache, data, misc, recovery, and system.
I've never had that issue before, and it's just recently popped up. What's going on?
tatonka_hero said:
Anyone else have an issue where they can't select the entire nandroid backup?
I go into recovery, and try to select a backup, and it opens the folder instead of running it. In other words, I select the backup (i.e. "backup-1" or whatever I've got it named), and I get the option to select boot, cache, data, misc, recovery, and system.
I've never had that issue before, and it's just recently popped up. What's going on?
Click to expand...
Click to collapse
I have a theory you may have changes the name of the subdirectory before your nandroid backup should with your nandroid backup. if thats the case, mount your sdcard, the cd into nandroid on your sdcard, then mkdir nandroid-backup, then mv "backup-1" to nandroid-backup.
then try to restore your backup
darchstar said:
I have a theory you may have changes the name of the subdirectory before your nandroid backup should with your nandroid backup. if thats the case, mount your sdcard, the cd into nandroid on your sdcard, then mkdir nandroid-backup, then mv "backup-1" to nandroid-backup.
then try to restore your backup
Click to expand...
Click to collapse
wow, sorry, that just confused the hell out of my tired brain. Mind elaborating? lol
EDIT: And please remember, I'm not terribly experienced with entering commands...but can do basic **** lol
EDIT EDIT: I'm a complete idiot. I was putting my backups directly into the nandroid folder instead of into the phone's name folder inside the nandroid folder. Probably what you were trying to tell me
However, now the damn thing hangs on the HTC screen when I restore a backup like it did the last time I tried...wtf?
tatonka_hero said:
wow, sorry, that just confused the hell out of my tired brain. Mind elaborating? lol
EDIT: And please remember, I'm not terribly experienced with entering commands...but can do basic **** lol
EDIT EDIT: I'm a complete idiot. I was putting my backups directly into the nandroid folder instead of into the phone's name folder inside the nandroid folder. Probably what you were trying to tell me
Click to expand...
Click to collapse
lol, thats exactly what i was trying to tell you. sorry i didn't respond earlier
Any idea why a backup would hang at the first HTC screen?
darchstar said:
lol, thats exactly what i was trying to tell you. sorry i didn't respond earlier
Click to expand...
Click to collapse
That's what I figured.
Now any idea why my backups hang at the HTC screen? I'd rather not have to go about re-customizing everything if I can help it
I recently did a nandroid backup and it worked. I then flashed a theme that I thought I liked but didn't so I ended up using the restore nandroid process in recovery mode and it worked. I then changed the name of the first folder inside of the Nandroid folder so I know which ROM it is. I then ended up flashing another theme that I did not like. I tried to do a nandroid restore but this time I get an error says to do "nandroid-mobile.sh restore" or something like that from ADB.
How do I do the restore from ADB? I would use the CMD correct? I tried looking for possible command using CMD but could find nothing. Anyone know why this happened. Why I get this error? I use to get this error all the time on my G1 so I instead would use SwitchRom, but does anyone know if a SwitchRom exists for NexusOne?
I got this same error tonight!
unfortunately my computer no longer recognises my nexus one in either windows or linux, so i can't use ADB anymore.
MFK DGAF said:
I recently did a nandroid backup and it worked. I then flashed a theme that I thought I liked but didn't so I ended up using the restore nandroid process in recovery mode and it worked. I then changed the name of the first folder inside of the Nandroid folder so I know which ROM it is. I then ended up flashing another theme that I did not like. I tried to do a nandroid restore but this time I get an error says to do "nandroid-mobile.sh restore" or something like that from ADB.
How do I do the restore from ADB? I would use the CMD correct? I tried looking for possible command using CMD but could find nothing. Anyone know why this happened. Why I get this error? I use to get this error all the time on my G1 so I instead would use SwitchRom, but does anyone know if a SwitchRom exists for NexusOne?
Click to expand...
Click to collapse
if you are using RA recovery, just open CMD and type
Code:
adb shell
# switchrom
when you are in recovery... from there you can do what you need to do... but if you are only restoring a nandroid, use BART (also built into RA recovery)
Code:
adb shell
# bart
a list of options will come up, for nandroid backup i think it is just
Code:
bart -n
but im not entirely sure.
you can also restore the backup from the actual recovery... scroll down to nandroid/backup and then choose bart nand restore or whatever the option is.
Sometimes that happens to me when my phone is low on battery try fully charging your phone.
Does changing the name somehow cause this problem?
I have noticed that when you change the name of the folder that contains the nandroid backup it will fail to restore it.
McFroger3 said:
I have noticed that when you change the name of the folder that contains the nandroid backup it will fail to restore it.
Click to expand...
Click to collapse
The name of the folder has to be "Nandroid" or its will not properly restore. I never had to noticce this, it was actually obviously since the G1 days.. don't know how I already knew.
You'll get that error if you battery is <30%
Full charge when you flash people, full charge.
(Edit: and search)
After being stuck on OTA2 without root for a while, I finally got it today, and finishing finals and all, I really got to messing around with it. Well, long story short, I backed up my tablet with nandroid, got CM9, then realized I'm having a lot of issues with it/not worth the upgrade yet. I can't use my nandroid backup for some reason either as it keeps giving me some md5 checksum error, so is it advisable to just go wherever after this, whether OTA or OTA2 or w/e, since I guess my backup failed and I'm trying to leave CM9 (too many incompatible applications >.>)
Try the market linked in this thread until a solution is found:
http://forum.xda-developers.com/showthread.php?t=1559264
Alright, thanks a lot.
yahoowizard said:
After being stuck on OTA2 without root for a while, I finally got it today, and finishing finals and all, I really got to messing around with it. Well, long story short, I backed up my tablet with nandroid, got CM9, then realized I'm having a lot of issues with it/not worth the upgrade yet. I can't use my nandroid backup for some reason either as it keeps giving me some md5 checksum error, so is it advisable to just go wherever after this, whether OTA or OTA2 or w/e, since I guess my backup failed and I'm trying to leave CM9 (too many incompatible applications >.>)
Click to expand...
Click to collapse
I was having the same issues with doing a restore, I realized I was using the initial CWR, i downloaded Koshu's fixed CWR at http://forum.xda-developers.com/showpost.php?p=21916505&postcount=71
for whatever reason I had to manually type all the ADB commands in simply copying and pasting was not allowing me to mount it as RW. and dont forget to make sure the IMG file name is referenced correctly in the name. but after that I was able to backup and restore without a hitch.
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb
adb push cwr_ventana_2.img /data/local/
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell
$ su
su
# mount -o rw,remount /system
mount -o rw,remount /system
# echo "#!/system/bin/sh" > /system/etc/install-recovery.sh
echo "#!/system/bin/sh" > /system/etc/install-recovery.sh
# dd if=/data/local/cwr_ventana_2.img of=/dev/block/mmcblk0p1
dd if=/data/local/cwr_ventana_2.img of=/dev/block/mmcblk0p1
There's no way to bring back that backup that didn't work, is there? I see all the files except the nandroid.md5 as far as I can see, but that in the end is what's necessary to make it run.
You could do it manually in adb, but without the md5 sums you can't be sure that the files are complete/not corrupt.
I believe the restore fails because the backup was bad. To make a good backup you have to clean out the internal sd card, or the backup file exceeds the limit of this version of CWR.
yahoowizard said:
not worth the upgrade yet.
Click to expand...
Click to collapse
If you want to have CM9, perhaps you can contribute by testing and reporting the problems you have. So that you will get double reward: 1) CM9 earlier 2) being acknowledged as part of the project
Well, yeah, I guess the stuff on my tablet wasn't that important. It was all the notes I had taken from this quarter, but the thing was that I took the finals the day before all this went down, so yeah. I'll stick with CM9 for now then see how it plays out from there. The updates have been coming out really fast anyway so pretty happy overall.
Koshu said:
Try the market linked in this thread until a solution is found:
http://forum.xda-developers.com/showthread.php?t=1559264
Click to expand...
Click to collapse
This doesn't seem to change anything. Most of the applications still aren't working in the market, like almost all of them. There might have been a few that I didn't notice, but yeah, not really sure. Was I supposed to place the file in folder, reboot, then clear data, or the other way around =0
I uploaded a new CM9 version with another fix. It doesn't seem to work for everyone (got only a little feedback until now) but if you want to give it a try... Could need some additional testers to pinpoint the bugs.
http://forum.xda-developers.com/showthread.php?t=1490831
(Full wipe before flashing)
Folks,
I had some free time on the weekend and tried some ROMs on my new Nexus. I use one of the newer versions of CWM as Recovery and of course did always a backup before flashing something new, ended up with five of them.
The problem is now that I am not able to restore any of them due to the known md5 mismatch error.
All the tutorials and videos in the inet for solving this issue are based on the ‘older’ cwm structure where you find the backup under /sdcard/clockworkmod/backup where we used to have the five files
boot.img
cache.ext4.tar
data.ext4.tar
nandroid.md5
system.ext4.tar
The ‘newer’ CWM is different, the backups are obviously splitted and following /data/media/clockwordmod we have the folders ‘backup’ and ‘blobs’. In the backup folder I now have:
boot.img
recovery.img
system.ext.dup
My initial idea was to use the Terminal Emulator app and to create a new nandroid.md5 with following commands:
su
cd /data/media/clockworkmod/backup/*nameofhtebackup*
rm nandroid.md5
md5sum *img > nandroid.md5
Before I continue with above procedure I thought it would be a good idea to ask you guys and experts if I am on the right track? Needs the nandroid.md5 to be in that ‘new’ backup folder at all?
And another question: as my Nexus is so new and there is only quite few stuff on it yet – maybe it would be better to start from scratch and get rid of CWM and and use TWRP instead?
Any assistance is highly appreciated!! ThX
Yes! I was about to suggest that you scrap CWM, Team Win is much more stable. And just so you know, you can actually use CWM backups with TWRP so there's no need to start over
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
---------- Post added at 07:42 AM ---------- Previous post was at 07:38 AM ----------
There's also an option in the TWRP restore menu that allows you to 'skip MD5 check' so you won't be experiencing that again.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
the easiest way is to open the .md5 file in a text editor, remove all the data from it and save it. This way CWM bypasses md5 check
same
renjithrs007 said:
the easiest way is to open the .md5 file in a text editor, remove all the data from it and save it. This way CWM bypasses md5 check
Click to expand...
Click to collapse
I also have the same problem. I used cwm touch to backup. unlike old cwm backup, the backup showed backup folder and blobs folder. when i tired to restore, it showed md5 mismatch. I have no clue how to proceed. how u guys from above solved the problem?
I saw many people getting md5 mismatch while doing backup. So, I wrote this thread to help them.
Today I am going to share with you a method of restoring backups easily without an md5 error.
1ST METHOD:
Here are the steps:
1)Go to the folder where you saved your backup.
2)Open nandroid.md5 file with any text editor on your phone.
3)Delete all the lines from starting to end.
4)Save the file and close it.
5)Now restore your backup through CWM or Philz Touch or TWRP.
2ND METHOD:
If you changed the name of the backup folder, then, that is causing the problem. Try to change the name without adding spaces and/or special characters.
3RD METHOD:
Also you can use nandroid manager to recreate md5 sums.
Link in the next post by akiratoriyama
Thanks to @akiratoriyama
Or if you don't want to use nandroid manager, then you can use terminal emulator to recreate those sums:
Open terminal emulator then,
Use the following commands. (DON'T FORGET TO REPLACE "2012-04-17.10.09.36" WITH YOUR OWN BACKUP FOLDER NAME)
su
# mount -o remount rw /sdcard
#cd /sdcard/clockworkmod/backup/2012-04-17.10.09.36
#rm nandroid.md5
#md5sum *img > nandroid.md5
Don't forget to put the spaces!!
Voila, now your backup will restore properly without any md5 error:beer:
Sent from my GT-I9082 using Tapatalk Pro
Ateekujjawal said:
I saw many people getting md5 mismatch while doing backup. So, I wrote this thread to help them.
Today I am going to share with you a method of restoring backups easily without an md5 error.
1ST METHOD:
Here are the steps:
1)Go to the folder where you saved your backup.
2)Open nandroid.md5 file with any text editor on your phone.
3)Delete all the lines from starting to end.
4)Save the file and close it.
5)Now restore your backup through CWM or Philz Touch or TWRP.
2ND METHOD:
If you changed the name of the backup folder, then, that is causing the problem. Try to change the name without adding spaces and/or special characters.
Voila, now your backup will restore properly without any md5 error:beer:
Sent from my GT-I9082 using Tapatalk Pro
Click to expand...
Click to collapse
Alternate method
Use Nandroid Manager to recreate md5 sums
Sent from my GT-I9082 using Tapatalk
i tried the first method and it works for me
i cant backup my rom
i tried flashing the zip version of the s4 launcher and widget on my sgg-gt i-9082,,as instructed i backed up my stock rom but it didnt complete the backup..when i tried restoring the rom i get the error "md5 mismatch"..i wanted to try the methods youve posted but i cannot locate the nandroid.md5 file...i tried to install the touchwiz.apk (both in the system and user option) but the app just closes"unfortunately touchwiz has stopped working"..
so i have these questions:
1.is there a way i can still resore my stock rom?
2.i was running on jb 4.1.2..if i download the 4.2.2 update from the samsung website and flash my phone..wil i hav my touchwiz back?coz i dont like the holo launcher thaaaat much..
i'd be grateful for your help..
g_javella said:
i tried flashing the zip version of the s4 launcher and widget on my sgg-gt i-9082,,as instructed i backed up my stock rom but it didnt complete the backup..when i tried restoring the rom i get the error "md5 mismatch"..i wanted to try the methods youve posted but i cannot locate the nandroid.md5 file...i tried to install the touchwiz.apk (both in the system and user option) but the app just closes"unfortunately touchwiz has stopped working"..
so i have these questions:
1.is there a way i can still resore my stock rom?
2.i was running on jb 4.1.2..if i download the 4.2.2 update from the samsung website and flash my phone..wil i hav my touchwiz back?coz i dont like the holo launcher thaaaat much..
i'd be grateful for your help..
Click to expand...
Click to collapse
No way to restore stock rom. You didn't complete the backup.
Yes you can flash 4.2 to get TouchWiz back.
Sent from my GT-I9082 using Tapatalk Pro.
Ateekujjawal said:
No way to restore stock rom. You didn't complete the backup.
Yes you can flash 4.2 to get TouchWiz back.
Sent from my GT-I9082 using Tapatalk Pro.
Click to expand...
Click to collapse
thank you so much....
i tried the nandroid manager method and it worked..turns out my data was the one that didnt fully backup...i lost some-most-of my data but its better than losing my rom--...
thanks again..you are a life saver..