can not restore CWM backups..... - Nexus 7 Q&A, Help & Troubleshooting

i just received a replacement Nexus 7 from Google. After unlocking and rooting I am unable to restore any backup that came from my previous Nexus 7. I keep getting MD5 errors.I copied the files from old Nexus to my computer then to the new one. After this no good. Advice please.

What happens when you disable check md5
Sent from my HTC One S using xda premium

androidcues said:
What happens when you disable check md5
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
didn't know i could..
.

If I remember right the serial number is encoded within the backup location on CWM, so you need to rename the backup directory to the serial number of your new device.
Sent from my Nexus 7 using xda app-developers app

AndDiSa said:
If I remember right the serial number is encoded within the backup location on CWM, so you need to rename the backup directory to the serial number of your new device.
Click to expand...
Click to collapse
Not sure what you mean by this. My CWM backups are in the path clockworkmod\backup\'Date/Time' name of folder\(six files in folder). No serial number is evident.
My only problem restoring cwm backups was when I renamed one and put spaces in the folder name.

Groid said:
Not sure what you mean by this. My CWM backups are in the path clockworkmod\backup\'Date/Time' name of folder\(six files in folder). No serial number is evident.
My only problem restoring cwm backups was when I renamed one and put spaces in the folder name.
Click to expand...
Click to collapse
You can't put spaces in between the letters. Just rename it.
Sent from my SGH-T989 using xda premium

Related

Renaming backups

I was wondering if renaming the folders that my clockwork backups are stored in would affect the files and make them unusable? For example, I wanted to rename my stock rom backup "stock rom" instead it being the date.
Sent from my HTC Glacier using XDA App
I have renamed backups before and they restore fine,
copy it
rename the copy to your "name"
restore
I used rom manager (manage and restore backups option) with a long hold to rename. More than likely you can rename it with your backup app?
hope that helps.
I don't know. I've renamed my clockwork backups before. Once because I thought it would be fine to rename it and the second time to confirm, and both times the back ups would not restore.
Sent from my HTC Glacier using xda premium
Copy it to a folder, then rename the folder and rar it that way you still have original name
Sent from my myTouch_4G_Slide using xda premium
cirjeffrey said:
I was wondering if renaming the folders that my clockwork backups are stored in would affect the files and make them unusable? For example, I wanted to rename my stock rom backup "stock rom" instead it being the date.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
In ROM manager, there is an option to manage backups and you can rename them there with no problems... I rename all backups as I am a crackflasher and flash anything that hit the boards!
Sent from my HTC Glacier using xda premium

Warning - do not rename Backup folders!

so i made a backup via CWM recovery and, to recognize the backup, i renamed the folder to the name of the ROM... when i tried restoring it, i got a size mismatch error... good thing i made a backup of all of my sdcard, including the original name of the folder, and the restore worked again
SO PLEASE! do *NOT* rename the backup folder!!
and this is news because....?
Sent from my HTC Vision using xda premium
androidcues said:
and this is news because....?
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
because i didn't see someone doing it... so i think its new...
—————
|RIROZIZO|
—————
I agree thanks for the heads up. I'm sure there are those that don't know this. I found out the hard way monthes ago.
Sent from my Mikes HTC G2 with Google using xda premium
I didn't know this either. Surprising that this isn't more widely known. Learned this afew months ago by mistake. Never thought of making a post though.
Koodos!
Uh..duh
Sent from my HTC Vision using xda premium
Actually, here's the deal
You CAN rename backups. I do it all the time. What you CANNOT do is add spaces.
My_Rom <----works
My Rom <-----will fail
I usually use camel casing (camelCasing). I've seen people with this problem in a few other phone forums and just happened to stumble on this
OP, if you rename your backup to one that has no spaces, then you should be alright!
Hope I helped!
i didn't try without spaces, but could a space make the md5sum different? i thought just renaming the thing changes the md5sum
Riro Zizo said:
i didn't try without spaces, but could a space make the md5sum different? i thought just renaming the thing changes the md5sum
Click to expand...
Click to collapse
Nope, the md5sum is stored in a .txt file in the backup folder and doesn't ever change (even with the name). If you change the .txt file in any way it'll probably break the back up. I'm not sure the logistics behind it, but spaces break something that removing the space will fix.
A couple things.. The spaces are because of the file reader cannot register the new tokens, some programs (windows and most OSs) are completely fine with this, however some just don't have he exception to deal with it. As for changing the .txt file with the md5, that wont actually break the backup, but CWM will think that it is cause they don't matchup
Why not just use 4ext? They name the backup for you, very nice recovery.

[Q] Question about Nandroid Backup...

Hello guys, I have a question about the nandroid backup on Nexus 4
See I got my Nexus 4 the other day, and I flashed Clockworkmod Recovery 6.0.2.0, then I made a nandroid backup. The recovery said this backup was stored in sdcard/clockworkmod/backup. But when I return to my normal system I cannot find this folder(using root explorer). I can see that 1 or 2G space was used by something but I cannot find this folder no matter how, although this folder does exist. Later I found out that Rom Manager can get access to this folder.So is the recovery using a special way to hide this folder or what? Hope you guys can tell me something about this. Many thanks XD
ShawnZhang said:
Hello guys, I have a question about the nandroid backup on Nexus 4
See I got my Nexus 4 the other day, and I flashed Clockworkmod Recovery 6.0.2.0, then I made a nandroid backup. The recovery said this backup was stored in sdcard/clockworkmod/backup. But when I return to my normal system I cannot find this folder(using root explorer). I can see that 1 or 2G space was used by something but I cannot find this folder no matter how, although this folder does exist. Later I found out that Rom Manager can get access to this folder.So is the recovery using a special way to hide this folder or what? Hope you guys can tell me something about this. Many thanks XD
Click to expand...
Click to collapse
Look in /data/media/Clockworkmod.
NOT the /sdcard/data, but in system root.
This recovery folder is only accessible by Clockwordmod when it is running. It cannot be displayed in file explorers for safety reasons, such as accidental deletion. But this folder can be accessed with a PC when your phone is connected to it, in order to take a backup of the folder. Hope this helps
Sent from my Xperia Pro using xda app-developers app
Check in /data/media as prev post said.
Sent from my Nexus 4 using xda app-developers app
CMNein said:
Look in /data/media/Clockworkmod.
NOT the /sdcard/data, but in system root.
Click to expand...
Click to collapse
I see, thank you bro:good:
ajabhi95 said:
This recovery folder is only accessible by Clockwordmod when it is running. It cannot be displayed in file explorers for safety reasons, such as accidental deletion. But this folder can be accessed with a PC when your phone is connected to it, in order to take a backup of the folder. Hope this helps
Sent from my Xperia Pro using xda app-developers app
Click to expand...
Click to collapse
that will be much safer... Thanks bro~~ thanks for the explanation
CMNein said:
Look in /data/media/Clockworkmod.
NOT the /sdcard/data, but in system root.
Click to expand...
Click to collapse
Finally I found that folder with your direction. Thank you bro!
Anyone else notice older versions of CWM backups were sometimes over 1gb and these new ones are only about 50mb?
dralways said:
Anyone else notice older versions of CWM backups were sometimes over 1gb and these new ones are only about 50mb?
Click to expand...
Click to collapse
Yes, that's a new feature that tries to combine the backups and only re-backup newly changed data
Forgive my ignorance guys, but if you wipe the data partition, do you lose your backups? I want to get this straight before I root my phone that will apparently never be shipped to me.
Ordered my Nexus 4 on the 13th. Still waiting.
estallings15 said:
Forgive my ignorance guys, but if you wipe the data partition, do you lose your backups? I want to get this straight before I root my phone that will apparently never be shipped to me.
Ordered my Nexus 4 on the 13th. Still waiting.
Click to expand...
Click to collapse
No you don't as the data partition is separate from the backup folder. But just to be sure, make a backup of your backup on your PC :cyclops:
Does TWRP also stores their back ups here too??
---------- Post added at 09:33 AM ---------- Previous post was at 09:10 AM ----------
ajabhi95 said:
This recovery folder is only accessible by Clockwordmod when it is running. It cannot be displayed in file explorers for safety reasons, such as accidental deletion. But this folder can be accessed with a PC when your phone is connected to it, in order to take a backup of the folder. Hope this helps
Sent from my Xperia Pro using xda app-developers app
Click to expand...
Click to collapse
how if when i plug my phone to the computer all i can see is the stuff in the SD drive?
Sparta507 said:
Does TWRP also stores their back ups here too??
---------- Post added at 09:33 AM ---------- Previous post was at 09:10 AM ----------
how if when i plug my phone to the computer all i can see is the stuff in the SD drive?
Click to expand...
Click to collapse
I think you can copy your data/media/clockworkmod to your SDcard(with root explorer or something like that), then plug the phone to your PC, move the clockworkmod folder to your PC. I did it this afternoon
how do i go about doing a nandroid backup? steps please
so nandroid backup? save the backup folder to PC, then i can flash a custom rom like matrix1, and how do i get back all my apps/folders again? just put back the backupfolder?
can i just connect to my PC and copy and paste ALL OF the nexus4 drive? is that backing up as well?
ajabhi95 said:
This recovery folder is only accessible by Clockwordmod when it is running. It cannot be displayed in file explorers for safety reasons, such as accidental deletion. But this folder can be accessed with a PC when your phone is connected to it, in order to take a backup of the folder. Hope this helps
Sent from my Xperia Pro using xda app-developers app
Click to expand...
Click to collapse
How do i save the backup to my pc? I do not see the data folder when i pluge in my nexus 4 to my computer.
CMNein said:
Look in /data/media/Clockworkmod.
NOT the /sdcard/data, but in system root.
Click to expand...
Click to collapse
Is this directory stored on the internal storage? In other words, when I do a wipe to I flash a rom, would this directory be included in that wipe? I mean, it sounds like a stupid question. And I would expect it to be located in the internal storage, but I don't wanna do a wipe and install the rom and now I'm stuck without my backup.
what would be the quickest process to copy a nandroid backup from my nexus4 to a computer?
and when i wanted to paste it back onto my phone, how would i go about doing that to restore from it?

[Q]Where can i find the nandroid backup?

I want to save it on the PC,and put it in another nexus 4...but i can't find it
Which recovery did you make the backup with? CWM and TWRP save them in different spots.
Sent from my Nexus 4 using xda premium
cwm :laugh:
nic85 said:
cwm :laugh:
Click to expand...
Click to collapse
CWM backups are in mnt/shell/emulated/clockworkmod
Sent from my Nexus 4 using xda premium
Or data/media/clockworkmod
ok i found it but how can i copy it to the PC?
i tried with root browser to copy the folder in mnt/sdcard but it failed
nic85 said:
ok i found it but how can i copy it to the PC?
i tried with root browser to copy the folder in mnt/sdcard but it failed
Click to expand...
Click to collapse
Move the CWM folder to your SD card.
Sent from my Nexus 4 using xda premium
i get "operation failed" :crying:
nic85 said:
i get "operation failed" :crying:
Click to expand...
Click to collapse
With Solid Explorer? Try a different file manager. You could always just upload the backup to the cloud and download it on your PC lol
Sent from my Nexus 4 using xda premium
how lol?
btw i have to copy all the clockwork folder or just the folder inside the backup folder?
i guess i need also the blob folder with all that files in it..
nic85 said:
how lol?
btw i have to copy all the clockwork folder or just the folder inside the backup folder?
i guess i need also the blob folder with all that files in it..
Click to expand...
Click to collapse
Just the backup folder. If you open up the blobs folder inside there will be many more EMPTY folders (at least for me).
Sent from my Nexus 4 using xda premium
omg i can't copy the files in it...i copy the entire folder in the PC,but at the end i have the folder empty
nic85 said:
omg i can't copy the files in it...i copy the entire folder in the PC,but at the end i have the folder empty
Click to expand...
Click to collapse
On your phone if you look into that folder, do you have any backups?
Sent from my Nexus 4 using xda premium
android88 said:
On your phone if you look into that folder, do you have any backups?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
yes i have boot.img,nandroidm5 etc...but i don't know why i can copy that files in the computer
the backup folder is in mnt/sdcard
rebooted the phone...and worked...now i try to restore it in the other nexus :silly:
p.s. i read i other sites that i need that blob folder also...?
nic85 said:
rebooted the phone...and worked...now i try to restore it in the other nexus :silly:
p.s. i read i other sites that i need that blob folder also...?
Click to expand...
Click to collapse
If restoring it on your other Nexus worked, then you don't need the blob folder.
Sent from my Nexus 4 using xda premium
i get error while restoring system...
maybe because i'm trying to restore the nandroid in another nexus 4? or it doens't matter?
nic85 said:
yes i have boot.img,nandroidm5 etc...but i don't know why i can copy that files in the computer
the backup folder is in mnt/sdcard
Click to expand...
Click to collapse
Check the permissions in your mnt/sdcard whether owner and group are root and the there are full read write permissions.
You can always cloud upload and download and
Yes you need the blobs folder. I assume you have cwm6 and the blobs folder has important files..
cm9 htc a310e k2.6
thank you.
anyway i got an error flashing system file,so i had to do all from zero... :crying:

Sdcard help!

Hi guys, the problem I have is after a few times of plugging in my Nexus 7 to my PC, it has seemed to 'Wipe' the SD partition. Both the PC and device (File explorers and terminal) report it has been cleared, with obvious new files created by some apps on startup.
I have/had a backup on said SD partition,when I boot into recovery, Clockworkmod recovery still shows that I have these backup file... I then get a Md5 mismatch error when trying to use it. (I have attached a screenshot of where CWM displays my backup)
What I want to know is, do I get this error because the file isn't there? Is there any way I can restore my SD partition by some sort of witchcraft?
Thanks in advance, Dan
That's not where CWM stores its backups though. The actual location is /data/media/clockworkmod/. This folder is not accessible from the computer.
korockinout13 said:
That's not where CWM stores its backups though. The actual location is /data/media/clockworkmod/. This folder is not accessible from the computer.
Click to expand...
Click to collapse
Oh ok... What's with the path above my backup then? :S
Thanks for the reply!
Rawritsdan said:
Oh ok... What's with the path above my backup then? :S
Thanks for the reply!
Click to expand...
Click to collapse
A symlink. No files actually exist there.
Sent from my SCH-I545 using Tapatalk 4 Beta
najaboy said:
A symlink. No files actually exist there.
Sent from my SCH-I545 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I see! Never mind anyway as the backups I did have, didn't work when I flashed it (Must have been incomplete).
Thank you again for the quick responses, Dan.

Categories

Resources