First, let me say that I am new at this (which will become very apparent). I renamed my clockwork backups so they could be easier to decipher (I kept the date but deleted the numbers at the end which I assume is the time) and when I tried to recover I received an error message saying MD5sum do not match. Is there a way to go in to that particular back-up file to find the original name so I can match it back and do a proper restore? Thanks in advance.
I'm afraid recovering the original name from the file itself won't be an option. You however can check if there is any logging from your backup software that contains the original name of the backupimage. Also you can rehash md5 and paste the checksum (hex) over the existing hash, is there some sort of recover file that calls the checksum ? If so, you need to overwrite the checksum there.
After reading the post above it looks like your f-ed.
Sent from my HTC Vision using XDA App
There is a way around it that "sometimes" works. Its a long shot but better then no shot!
* Create a new backup (doesn't matter what off just do it)
* One you have created a new backup open to view the files in windows
* copy & replace the old backup files with the new ones
* Boot back into clockwork & try restoring with the new backup you just created.
Basicly what your doing is after making a new backup is replacing the files in the backup folder with the old files. This has worked a few times for me when I first started making back-ups & never realised that renaming it would be a bad idea.
Hope this helps you get your back-up back!
Related
Today I lost all the data on my phone.. no problem I thought, I shall do a restore using my backup activesync makes every time i plug my phone in, so all is fine and dandy. When it gets about half way through the restoration, activesync crashes (always at the same point). It is during processing a file called fldr1001dd8.
This means I cannot fully restore my device - very annoying!!
Can anyone help with this... can I make it so it skips errors instead of crashing? Any help at all appreciated!! Device is a Blue Angel, using ActiveSync 4.1
You want to download a free utility called STGViewer - this utility allows you to examine the contents of the backup file activesync creates so you can identify which data you want restored. If there is a corrupt file then you can decide not to restore that particular one but retrieve everything else.
Thankyou so much, I will try that!!
OK I have found it, but I cant work out how to delete a file from the archive with it. All it seems able to do is 'copy' files out of the archive :-(
Any tips?
You cannot delete individual files from the .stg file but the program does allow you to restore selected folders and files. So you can restore Program Files folder all at once - if that works then restore My Documents folder and so on.
You may find that by restoring individually there may not be any corrupt files. But if there are, then you just select everything else except the corrupted file - you can use drag and highlight to speed things up. A little bit tedious but at least you can get all your files back from a bad .stg file.
BTW, the file you mentioned is in Pegasus Databases which are system files
Have you used the program yourself Ian? If so could you please help me with the restore folder button.. when I select a folder, then the restore folder option on the menu, nothing happens. This is very frustrating!
Also, when I extract the files from the pegasus database and put them on the phone, the pegasus folder shows in the phone's file manager (obviously, because I just put it there). How do I restore them to the (presumably hidden) folder, where they are meant to be?
I appreciate all help on this matter, all I need back are my contacts, appointments and message data etc, the rest I can start afresh with.
No I have not used this to restore an entire phone, only to retrieve individual files. It does sound like you will need to start afresh and just use STGViewer to recover personal files from My Documents etc. Most installed programs in Program Files will work fine if restored via STGViewer- there is often no need to actually use an installation program as many programs work as standalone folders.
If you have synced with your PC previously, all your contacts, notes and messages will be in Microsoft Outlook so you can use Activesync to restore these back onto your phone. (assuming you had opted to sync these items)
I would suggest in future that you use Xbackup in the Programs folder to regularly save your contacts/notes data into permanent Storage. I also from time to time make a copy of my .stg file so that I do not need to start anew if my current .stg file is corrupted. Good luck!
Hi
I made the silly mistake of not backing up my contacts before updating ROM ( i know... very stupid)
I copied the entire device to computer prior to updating but for some reason, it didnt copy the windows folder from the PDA.
I'm guessing the contacts would have been stored somewhere in the windows folder. I was running WM6.
Have i lost the contacts...? or are they stored in a different location which would have been backed up ?
Thanks
what exactly did you copy?
the following directories and files
Application data
ConnMgr (empty)
Documents and Settings (empty)
Music
My Documents
Program Files
Pim.vol
WMPinfo
Thanks
as far as i know, if i am not wrong, the pim.vol is the one that contain your pim data especially contacts,.
but, you cant just changed it, or replace it, if i am not wrong you need to use mortscript to do that with force deleting the original one and replacing with the new one,.
i will try to look into it, just keep all your data that you have backed up,.
Thank you !
I really appreciate it.
Not yet solved
Note to admin
this topic has not yet been resolved. I simply said thank you to -G- for saying he will look into it.
Thanks
tag removed
yup... pim.vol can't just be copied inside the root to be read.. it is somehow attached to your system.
BUT, if i'm not mistaken, you can use PIM Backup to load the info from the file.
try it.
http://forum.xda-developers.com/showthread.php?t=299705
btw.. i think SPB Backup can read pim.vol as well.
heyy
nope didnt work. i tried both PIM Backup and SPB Backup but neither of them accept the pim.vol as a valid file to restore from.
Actually, you should be able to just do a copy and paste of this file wherever you got it from. Try to use File Explorer (might not work). The option that works best for me with System locked files is via ActiveSync. If it doesn't work, try soft resetting and replace the file right away before the system gets a chance to access the file. Give it a shot, it might just solve your problem.
Alternatively, read this. It pretty much says the same thing that has been said so far...
http://frommypocket.pocketprimer.com/2007/09/29/backing-up-and-deleting-pim-data-wm50-only.aspx
Good luck to you
strange. i'll get back to you on this..
Im confused.
so will it work to just replace the pim file like egzthunder1 suggested ? Or is that going to mess up contacts completely ?
Go there.. use the emulator.. and get your contacts back.
http://forum.xda-developers.com/showthread.php?t=309351
also, please DO try to just put the pim.vol file in your root dir of your device to see if it's movable.. so other people could use that info.
for those who do not know how to do this yet, follow directions given here.
Just took this info from the web. None of this except for the guide is written by me.
I am not responsible for anything please do not contact me if a green sludge starts attacking your neighborhood eating one person at a time.
************************************************************
************************************************************
************************************************************
http://code.google.com/p/unyaffs/downloads/list
made for linux, but if you know a bit of c, you can probably change it to work with windows, maybe I will do that if I have some time this week.
********OR********
http://jiggawatt.org/badc0de/android/unyaffs-x86-win.zip
or http://www.4shared.com/get/fgryPnPx/unyaffs-windows.html
for windows..... instructions below apply for both
if not included in the zips above, cygwin1.dll and unyaffs.exe are included as an attachment of this reply.
open up a command line, in windows vista/7 just press start and then type cmd press enter and change the directory to the folder with the unyaffs and the img in it. in xp press start>run>cmd... then the same
the usage is: unyaffs /path/to/img
example:
(if unyaffs.exe and system.img are both in c:\temp)
"c:\temp> unyaffs /temp/system.img"
note: the '/' is the way linux determines the pathname of a file and since it is built using cygwin(a file allowing for windows) it is preferrable that the path to the actual file is in unix POSIX format ie: / instead of \ between folders and files.
*********WARNING************
this will extract to directory that unyaffs binary is in.
That's so weird -- I was gonna post the same thing tonight. Thx for writing this up. It's odd that more people don't talk or ask about this tool!
I remember reading this stuff back when I got my G1, and tonight I was trolling the themes and apps section cause I couldnt sleep. (which I rarely look at)
I was baffled that this wasnt common knowledge. I figured if there was no threads about it that people just knew how and didnt have any problems with it. My mistake lol...
enjoy.
can you please explain what is it? what it does? thanks
ericizzy1 said:
can you please explain what is it? what it does? thanks
Click to expand...
Click to collapse
Umm, it expands nandroid img files not sure how else to explain it. Clockworkmod backups are in the img file format. This process allows you to extract those files to get stuff out of them
Sent from my SPH-D700 using XDA App
When you create a backup in Clockwork recovery, it leaves you with a folder like this:
2010-11-18.08.52.49
As you can prob figure out, I made that backup on 11/18 at 8:52am
Inside that folder are .img files, such as: data.img and system.img
Those files basically contain your data (like apps you've installed from market) and system (..system apps that might've come with the phone).
In the orig post, he's explaining how to extract the files from these large .img files.
To give an example, I had a couple of corrupted clockwork backups, and wanted to ONLY pull out some database files (like text messages and call logs) which were not corrupted. Even tho the backup was messed up, I could still extract the files I needed by using the method above, then copied them manually to my phone.
decalex said:
When you create a backup in Clockwork recovery, it leaves you with a folder like this:
2010-11-18.08.52.49
As you can prob figure out, I made that backup on 11/18 at 8:52am
Inside that folder are .img files, such as: data.img and system.img
Those files basically contain your data (like apps you've installed from market) and system (..system apps that might've come with the phone).
In the orig post, he's explaining how to extract the files from these large .img files.
To give an example, I had a couple of corrupted clockwork backups, and wanted to ONLY pull out some database files (like text messages and call logs) which were not corrupted. Even tho the backup was messed up, I could still extract the files I needed by using the method above, then copied them manually to my phone.
Click to expand...
Click to collapse
thx
Sent from my SPH-D700 using XDA App
smeyerhuky said:
Umm, it expands nandroid img files not sure how else to explain it. Clockworkmod backups are in the img file format. This process allows you to extract those files to get stuff out of them
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Right, like if you wanted a file or a few files from clockworkmod img backup, then this process would give you an extended file system, other than what you would normally use to extract the img files. Just trying to understand this so, please correct me if im wrong.... I've been trying to get more knowledge of this, so im still learning.
I prolly sound like a complete idiot, lol...
Sweet! Thanks for this man. I'd been looking for how to do this for some time and kept ending up learning about emulation or some other tangential topic. This is the basic functionality I was looking for. Thanks for posting!
Np. I'm working on writing some stuff on top of the source code that should allow you to browse and pull just one our more file
Its been a but since I looked theory source code so it might take a while... Maybe in between semesters?
Sent from my SPH-D700 using XDA App
Dode you saved my as** thx big thx
Great, now how can I re-compress back to .img after I've made the changes that I want?
EDIT: Nevermind. I just made a zip of the new system folder and flashed it in CWM.
This worked great for me.
Thanks,
Bud
Man, I do not know how to thank you. I was able to recover some important stuff off of my cwm recovery backup. THANKS!!
Hello everyone
There has been so much development on our Xperia c and one of the important ones is the CLOCKWORKMOD RECOVERY.
It is very useful in making nandroid bacjups and restoring them when required
This is also for those who feel that md5 checking takes lots of time.Follow this tutorial to disable the md5 check.
Click to expand...
Click to collapse
But what will happen if you try to restore a backup and you get an error the Md5 Mismatch error.
It happened to me also and after a little tries I was able to sort it out.
I am sharing to help other fellow users of this device.
Here is the process..
1-)Go to sdcard/clockworkmod/backup/[your backup name]/here
2-)Copy the nandroid.md5 file and keep it somewhere safe.
3-)Open the nandroid.md5 in the backup folder file with any text editor and DELETE all the inside contents.
4-)Now save the file and try restoring your backup again.
5-)This will OVERIDE the md5 checks and the restore will begin.
All done enjoy nandroiding...LOL..
Press the thanks button if i was able to help you...
My phone recently died and I have to factory reset it. I managed to use TWRP to recover some of my data first which included the Squid files.
According to their website rooted users can backup the database file and the required pages but it doesn't mention restoring them. I've tried copying the files back to the Squid data folder but they don't show up. I've also tried editing a papyrus.bak file (it's a zip) and adding my database/pages but when trying to restore them using the app it says restore failed.
Any ideas how I can do this?
I've got slightly further now. I managed to get Squid to load the database file after copying the backed up files to the data file. When I load Squid it shows the correct number of notes but they're all blank.
Yay! I fixed it. Apart from one file but I'm happy with that. The database I was trying to restore was looking for one extra page which didn't copy across when I was wiping my phone. Loaded up SQLiteBrowser, removed the entry from there, inserted everything into the papyrus.bak file and it restored them. Yay
hello i have a problem i save my note from squid becfause i reinstalled my rom but when i want to restore papyrus.bak it say wait for restoring datyabase... but it don't restore i waited all the night and it stay in that message.... is there another way to restore my data thanks for the help...
its very not good becfause i writed my journal of what i do in the journay and so i lost 1 month of journal..... i'm sad.... but i have the cfomplete papyrus.bak file it make 66,7 mb when i open it in a text software there is lot of text but i don't know what it say xd
Did you make a manual backup of the papyrus.bak file? And that's not working when you try to restore it with Squid?
The papyrus.bak file is a zip file with a database and other files so you need to rename it to .zip if you want to open it.
Thank you very much i restored all with winrar i repaired the papyrus. Zip and with the .pages and root explorer i renamed the blank squid notes with the pages from the papyrus. Zip and i restored all my Diary its too cool and without you i never can do it thank you and have a good day!