[Q] recovery not working and some files missing may be ????? - Galaxy S II Q&A, Help & Troubleshooting

i am using cynogenmod 7 on my sgs2 i backed up my rom via cwm recovery
i need to recover because all of my contacts were wipped and my pc crashed and had to format it so i lost the backup of my all contacts
so now i have this files in my backup folder
1- ".android_secure.vfat.tar " it is 605mb
2- "boot.img" it is 8mb
3- "data.ext4.tar" 887mb
4- "system.ext4.tar" 482mb
and wen i try to restore it shows md5 file missing and i have seen the posts which are there so i also tried it in terminal emulater i used the given commands but it did not work it said not found i tried adb shell it said not found
then at first su
it worked it gave me"#" this sign then again i did adb shell it showed again not found then i did the cd given codes in that also it said not found please help me
ps: i am new to all this so please help and please be as simple as u can
thank you in advance

CWM recovery should work if you have the exact same CWM recovery you used to backup with .
jje

Thanks but i already did that i used the same version of cwm recovery it is showing the missing files error

ralphrss said:
Thanks but i already did that i used the same version of cwm recovery it is showing the missing files error
Click to expand...
Click to collapse
Try creating a blank nandroid.md5 file with notepad and then place the same in the backup folder and then try restoring backup.
hope this helps!

ksantoshh said:
Try creating a blank nandroid.md5 file with notepad and then place the same in the backup folder and then try restoring backup.
hope this helps!
Click to expand...
Click to collapse
how do i do that exactly please give me some pointers and my note pad does not have the option of md5 files if u have it can u make me a copy of blank nandroid or tell me how to make it please and thankyou

Try Copy MD5 to desktop open with notepad delete contents and close and save . jje

JJEgan said:
Try Copy MD5 to desktop open with notepad delete contents and close and save . jje
Click to expand...
Click to collapse
i am missing the md5 file
i only have the four files which are given above which is in the first post
so can you please tell me how to make the new md5 file

ralphrss said:
how do i do that exactly please give me some pointers and my note pad does not have the option of md5 files if u have it can u make me a copy of blank nandroid or tell me how to make it please and thankyou
Click to expand...
Click to collapse
just save as .txt then change the extension to md5 using file explorer or similar.
if you long press on a file in file explorer it should popup with some options. Select rename and change the extension from txt to md5

ozzy lion said:
just save as .txt then change the extension to md5 using file explorer or similar.
if you long press on a file in file explorer it should popup with some options. Select rename and change the extension from txt to md5
Click to expand...
Click to collapse
i will try it will let you know if it worked or not

worked like a charm

For future, you realize your contacts auto sync to gmail.....
Sent from my GT-I9100 using Tapatalk 2

Related

Restore "MIUI SMS Backup" to ICS issue

Hi everyone
2 weeks ago, when i was working with my gt-i9100 (with miui rom"gingerbread base version") it suddenly stopped working and i had to restart it.
After that, when it turned on, everything started to "Force close" and nothing worked correctly.
so i made a backup with Clockworkmod, but when i started to backup, after getting some backup, and i think in making something called MD5, it said that its not possible to complete the backup.
After that i upgraded my device to ICS 4.0.3.
now i want to restore my SMS to ICS and i didn't succeed. because when i copy MMSSMS.DB file to my device and after restarting that, Messaging won't work and i even tried to install miui on my device(ICS Based) and copying that file and even the whole database directory, but every time this caused my device to not working properly and messaging started to crash.
Now i have my old "data.ext4.tar" file which contains all previous data (Like "Data" folder) and i don't know how to deal with it anymore....
Does anyone have a solution for this problem?
currently ICS(NOT MIUI, Official one) is running on my device, and i want to restore my MIUI SMS Backup to ICS.....Has anyone faced with this problem and found a solution?
I will appreciate any help from you guys....
Thanks in advance...
Iman
even your Backup from MIUI failed at the end while creeating MD5 checksum, it is already made and written on the clockworkmode backup folder, you cant use it to restore with CWM because there is no MD5 created, but you can still extract apps and datas from that Nandroid backup using Titanium Pro.
MD5 checksum writing error is a known issue of CWMpacked in the MIUI roms, the solution
no.1 : flash Siyah kernel from CWM, then you will get a Redpill advanced recovery, make backup from that.
no2 : install rom manager and falsh touch recovery from there (you have to pay)and reboot into recovery and make backup, worked fine for me. touch recovery is only a temp recovery which is opened from update zip each time when you reboot to CWM only from ROM manager. from 3 botton combo and reboot from anywhere else will give you current recovery only...
Thanks a lot, but I'm trying to find an easier way to restore my sms, I mean is there any way for example to convert my old mmssms.db file to a file which can be replaced by my current file and see my previous messages? I guess it must be so...
yes there should be some solution...lets wait someone will share...
opening that file with any text editor, somehow you may be able to read your old messeges I hope...
Yes, i can open it with notepad+, but I want them on my device...
Any other ideas?
iman_mir200 said:
Thanks a lot, but I'm trying to find an easier way to restore my sms, I mean is there any way for example to convert my old mmssms.db file to a file which can be replaced by my current file and see my previous messages? I guess it must be so...
Click to expand...
Click to collapse
You have a solution that works very well here :
http://forum.xda-developers.com/showpost.php?p=24533276&postcount=1
Here's how I did it :
1. Download "yaffs-mmssmsdb-calls-extractor.zip" on the post I give above.
2. Unzip the file somewhere on your disk
3. Download and install Python v3.2.3 for Windows you can find here : http://www.python.org/download/releases/
4. you must put your mmssms.db file in the folder you extracted from "yaffs-mmssmsdb-calls-extractor.zip"
5. Open Dos prompt (Start Menu / Run / type "cmd")
6. Navigate to your folder (example : "cd c:\yaffs" if you extracted the files in c:\yaffs folder)
7. type "extract -s mmssms.db".
If everything is ok, you will see the following message : Read xxx messages (xxx is the number of sms found in your database)
8. Then you must put a name for the file that will extract (example : "sms_backup")
9. then you will see the "sms_backup" file in your folder. You have to manually add the extension ".xml" to your file (sms_backup.xml)
10. You can then use an Android application such as "SMS Backup & Restore" to import your sms via your xml file.
For me everything worked. Try and tell us if it worked for you.
And sorry for my english !!!
Thank you so much.....
Great solution with great result
iman_mir200 said:
Thank you so much.....
Great solution with great result
Click to expand...
Click to collapse
Glad it works for you too.
I invite you to thank abbot2, the creator of this script that saved me just like you.
rani2001 said:
Glad it works for you too.
I invite you to thank abbot2, the creator of this script that saved me just like you.
Click to expand...
Click to collapse
I did that, just as i read his solution...
Simple solution
iman_mir200 said:
Hi everyone
2 weeks ago, when i was working with my gt-i9100 (with miui rom"gingerbread base version") it suddenly stopped working and i had to restart it.
After that, when it turned on, everything started to "Force close" and nothing worked correctly.
so i made a backup with Clockworkmod, but when i started to backup, after getting some backup, and i think in making something called MD5, it said that its not possible to complete the backup.
After that i upgraded my device to ICS 4.0.3.
now i want to restore my SMS to ICS and i didn't succeed. because when i copy MMSSMS.DB file to my device and after restarting that, Messaging won't work and i even tried to install miui on my device(ICS Based) and copying that file and even the whole database directory, but every time this caused my device to not working properly and messaging started to crash.
Now i have my old "data.ext4.tar" file which contains all previous data (Like "Data" folder) and i don't know how to deal with it anymore....
Does anyone have a solution for this problem?
currently ICS(NOT MIUI, Official one) is running on my device, and i want to restore my MIUI SMS Backup to ICS.....Has anyone faced with this problem and found a solution?
I will appreciate any help from you guys....
Thanks in advance...
Iman
Click to expand...
Click to collapse
Simple solution: jeflab.net/2012/08/09/importare-gli-smsmms-da-un-database-miui/
Thanks so much, worked flawlessly
Really really appreciate your help, Perfect
Please help.
Please find attached my .db file. Can you help me convert it to .xml? I have tried the suggestions but I must be missing something. Please help.
DO NOT EXTRACT -
RENAME backp.ZIP to backup.DB
Thank you.
rani2001 said:
You have a solution that works very well here :
http://forum.xda-developers.com/showpost.php?p=24533276&postcount=1
Here's how I did it :
1. Download "yaffs-mmssmsdb-calls-extractor.zip" on the post I give above.
2. Unzip the file somewhere on your disk
3. Download and install Python v3.2.3 for Windows you can find here : http://www.python.org/download/releases/
4. you must put your mmssms.db file in the folder you extracted from "yaffs-mmssmsdb-calls-extractor.zip"
5. Open Dos prompt (Start Menu / Run / type "cmd")
6. Navigate to your folder (example : "cd c:\yaffs" if you extracted the files in c:\yaffs folder)
7. type "extract -s mmssms.db".
If everything is ok, you will see the following message : Read xxx messages (xxx is the number of sms found in your database)
8. Then you must put a name for the file that will extract (example : "sms_backup")
9. then you will see the "sms_backup" file in your folder. You have to manually add the extension ".xml" to your file (sms_backup.xml)
10. You can then use an Android application such as "SMS Backup & Restore" to import your sms via your xml file.
For me everything worked. Try and tell us if it worked for you.
And sorry for my english !!!
Click to expand...
Click to collapse

restore org rom using cwm

hi all
i did odin and cwm my att not,...did back up thru cwm....got the file under backup dir of cem file with the dat and time as the name of file....then i rename it to samsungorg so i can remember that the original rom.... now when i restore that file it gave me error with md5 sum....can anyone show me how to get restore that orginal file ...
thanks a lot
hoangtransport said:
hi all
i did odin and cwm my att not,...did back up thru cwm....got the file under backup dir of cem file with the dat and time as the name of file....then i rename it to samsungorg so i can remember that the original rom.... now when i restore that file it gave me error with md5 sum....can anyone show me how to get restore that orginal file ...
thanks a lot
Click to expand...
Click to collapse
First be sure there are no spaces when you renamed the file. Then you can check out this post on repairing md5 sum errors. I think they get corrupted when copied from PC to phone.
http://forum.xda-developers.com/showthread.php?t=714114
You have to rename the file back to its original name.
rsfinsrq said:
First be sure there are no spaces when you renamed the file. Then you can check out this post on repairing md5 sum errors. I think they get corrupted when copied from PC to phone.
http://forum.xda-developers.com/showthread.php?t=714114
Click to expand...
Click to collapse
thanks space is the problem... beside i try to rename the file to original name... problem is "can't remember the name" so i look at the file property and figure out the name of the file is the date and time when backup....be able to get it back up... thansk all again....

Nandroid backup restore error (md5 mismatch)

Hi friends i would like to share the problem that i faced and solved with other's help.
This thread is only for the people who have the md5 mismatch error while restoring nandroid backups. I created this thread since there were no similar questioned thread.
This error comes usually due to renaming the nandroid backup folders.
Try any one of the following fixes to solve this,
1. Use a program editor like notepad++ to open the nandroid.md5 file and remove all lines except the first line which would have some hex values follwed by boot.img.
2. run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5
Hit the thanks button if u think the post to be helpful!
I've tried, but didn't generate a new checksum?!?
Tedo said:
I've tried, but didn't generate a new checksum?!?
Click to expand...
Click to collapse
Are you sure u typed the commands correctly. The command surely creates a nandroid.md5 file in the nandroid backup folder with the checksum values.
parkourkarthik said:
Are you sure u typed the commands correctly. The command surely creates a nandroid.md5 file in the nandroid backup folder with the checksum values.
Click to expand...
Click to collapse
all good and well...why step one though? if you're just rm'ing it...seems a little unnecessary....? sorry i just performed step one then looked at step 2 and thought..wtf! lol unless theres something im clearly missing....?
sinner99 said:
all good and well...why step one though? if you're just rm'ing it...seems a little unnecessary....? sorry i just performed step one then looked at step 2 and thought..wtf! lol unless theres something im clearly missing....?
Click to expand...
Click to collapse
I am sorry did i miss saying that u can use any one of the fixes!! That means it's not a step by step it's either this or that, u can use whatever u wish that would be easy for u aong the two methods..
Sent from my GT-S6102 using XDA
Files not found
where to find these nandroid backup files
rjawan said:
where to find these nandroid backup files
Click to expand...
Click to collapse
Hi,
Look on your sd card/clockworkmod/backup.
Missing backup files
Have an AT&T Samsung Galaxy S4 (SGH-i337) Have made a couple of backups with CM and they show up in the Backup and Restore when in CM app. The path shows /mnt/shell/emulated/clockworkmod/backup but when I use ES File Explorer or Explorer they are not to be found. I can open /mnt/shell but the shell folder says 'Empty Folder'.
The reason I want to open the backups is to fix the MD5 checksum errors I always get when trying to restore.
It must be something simple but I can't figure it out.
parkourkarthik said:
Hi friends i would like to share the problem that i faced and solved with other's help.
This thread is only for the people who have the md5 mismatch error while restoring nandroid backups. I created this thread since there were no similar questioned thread.
This error comes usually due to renaming the nandroid backup folders.
Try any one of the following fixes to solve this,
1. Use a program editor like notepad++ to open the nandroid.md5 file and remove all lines except the first line which would have some hex values follwed by boot.img.
2. run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5
Hit the thanks button if u think the post to be helpful!
Click to expand...
Click to collapse
ems_pilot said:
Have an AT&T Samsung Galaxy S4 (SGH-i337) Have made a couple of backups with CM and they show up in the Backup and Restore when in CM app. The path shows /mnt/shell/emulated/clockworkmod/backup but when I use ES File Explorer or Explorer they are not to be found. I can open /mnt/shell but the shell folder says 'Empty Folder'.
The reason I want to open the backups is to fix the MD5 checksum errors I always get when trying to restore.
It must be something simple but I can't figure it out.
Click to expand...
Click to collapse
Have you granted ES File Explorer Root permission ? Have you looked on both the Internal, and External SD ?
Have looked everywhere but don't know about granting ES File Explorer root permission....... Thanks for the quick reply.
prboy1969 said:
Have you granted ES File Explorer Root permission ? Have you looked on both the Internal, and External SD ?
Click to expand...
Click to collapse
---------- Post added at 11:02 PM ---------- Previous post was at 10:30 PM ----------
Granted Su to ES File Explorer, was able to see my nandroid.md5 files, edited and now restoring backup... Thank you very much for your expert help.
Now I have to figure out how to move my apps to my SD card. Thanks again!
ems_pilot said:
Granted Su to ES File Explorer, was able to see my nandroid.md5 files, edited and now restoring backup... Thank you very much for your expert help.
Now I have to figure out how to move my apps to my SD card. Thanks again!
Click to expand...
Click to collapse
You can move them with Titanium Backup.
TEAM MiK
MikROMs Since 3/13/11
cant access MD5
i installed CWM & made a rom backup, it said "Backup completed" & wiped data & &dalvik cache. now when tried to install custom rom, in recovery mode it doesnt opens ext sd card(where my custom rom is) & also when i try to restore backed up rom it says MD5 mismatch. As a result i am stucked up in recovery mode. now how to access that rom backup? my phone doesnt starts so i cant get it through ES explorer. also backup is in internal sd card so cant open it in computer also
parkourkarthik said:
Hi friends i would like to share the problem that i faced and solved with other's help.
This thread is only for the people who have the md5 mismatch error while restoring nandroid backups. I created this thread since there were no similar questioned thread.
This error comes usually due to renaming the nandroid backup folders.
Try any one of the following fixes to solve this,
1. Use a program editor like notepad++ to open the nandroid.md5 file and remove all lines except the first line which would have some hex values follwed by boot.img.
2. run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5
Hit the thanks button if u think the post to be helpful!
Click to expand...
Click to collapse
atulbuddy said:
i installed CWM & made a rom backup, it said "Backup completed" & wiped data & &dalvik cache. now when tried to install custom rom, in recovery mode it doesnt opens ext sd card(where my custom rom is) & also when i try to restore backed up rom it says MD5 mismatch. As a result i am stucked up in recovery mode. now how to access that rom backup? my phone doesnt starts so i cant get it through ES explorer. also backup is in internal sd card so cant open it in computer also
Click to expand...
Click to collapse
You can find any other ways to Mount the SD card in recovery, with the help of adb shell or any other methods to access the backup file.
Else with the help of externel sdcard flash any stable ROMs and then try the restore thing.
Else try flashing the stock firmware available for your model.
Hit thanks rather than typing it
Thanks for the info!! Still working in android 4.4. Just saved me, thank you.
hi guys. i tried all your steps but no success. when i try with android emulator i get /system/bin/sh:cd/sdcard..... not found
and i try to edit the file and i install notepad but i get just some symbols inside the file so i have no ideea where the first line ends
I dont have PC or ADB. any other way to fix the problem?
Hi friends i would like to share the problem that i faced and solved with other's help.
This thread is only for the people who have the md5 mismatch error while restoring nandroid backups. I created this thread since there were no similar questioned thread.
This error comes usually due to renaming the nandroid backup folders.
Try any one of the following fixes to solve this,
1. Use a program editor like notepad++ to open the nandroid.md5 file and remove all lines except the first line which would have some hex values follwed by boot.img.
2. run the following commands in terminal emulator of ur android:
#cd /sdcard/clockworkmod/backup/(name of backup)
#rm nandroid.md5
#md5sum *img > nandroid.md5
Hit the thanks button if u think the post to be helpful![/QUOTE]
I dont have PC or ADB. any other way to fix the problem?

How to make a efs restore flashable zip?

I have my EFS backup as a .tar.gz. After I extracted it shows me several files. I think, I should copy/push all these files to /efs folder. But the problem is I have no idea about the zip file contain updater-script.
How to I make a updater-script?
Thanks!
android addicts said:
I have my EFS backup as a .tar.gz. After I extracted it shows me several files. I think, I should copy/push all these files to /efs folder. But the problem is I have no idea about the zip file contain updater-script.
How to I make a updater-script?
Click to expand...
Click to collapse
1) the search will give this answers
2) .tar files can be flashed with Odin as "PDA"
3) The normal method is here
If you Have a Backup and you want to restore it, this is one method
1) Download Root Explorer, or Xplore, or any root browser from Play Store and use it to
2) Search you internal SD card for sdcard/backup/efs or any other backup you have for your efs
3) Copy nv_data.bin, nv_data.bin.md5 paste them (means overwrite existing files) into /efs in your Internal Phone memory
4) Fix permissions by Click on efs folder and keep it pressed to open the menu and click on permissions and set them to rw_r_r_ ( Owner = read & write - Group = read only and Others = Read only), after this Save using menu and exit using menu
5) Power down phone and reboot into recovery and wipe cache before rebooting phone to get back your original IMEI
Click to expand...
Click to collapse
Check this out! Links to useful Guides and " Banned " Documentaries ​
xsenman said:
1) the search will give this answers
2) .tar files can be flashed with Odin as "PDA"
3) The normal method is here
Check this out! Links to useful Guides and " Banned " Documentaries ​
Click to expand...
Click to collapse
Thanks xsenman. Looks like my CWM zip not working. I added a sample test file inside the efs folder, but after flash the zip, it still remain in there. My update-script file has delete("/efs/"); command.
android addicts said:
Thanks xsenman. Looks like my CWM zip not working. I added a sample test file inside the efs folder, but after flash the zip, it still remain in there. My update-script file has delete("/efs/"); command.
Click to expand...
Click to collapse
sorry man, I do not want to mess with this command or file, as it can cause serious problems for you. . Since this deals with IMEI, it would also be illegal in this server (XDA) but not others.( MOD's would be inclined to close it where editing or deleting of IMEI is discussed) Like I already mentioned earlier the root explorer method would be the safest way to overwrite existing IMEI. and Odin3 has a phone EFS clear function.
Check this out! Links to useful Guides and " Banned " Documentaries ​
Ops i guess you misunderstands. I don't want edit my SGS3 IMEI. Because I already have my i9300 working efs backup. I want to make CWM flashable EFS restore zip file (my phone efs).
Yesterday after I reseted flash counter my efs wiped. Then I can't even boot ( can boot into cwm)
After that I had to flash Samsung firmware and restore my old efs backup using root file app (like you mentioned this thread, yes its easier).
Normally I use aosp (CM) ROM. Specially cm. In future if it again wipeout my efs folder, I want to flash my backup efs using cwm (without flashing stock firmware with Odin). Its faster.
In my previous post I mention added a sample file mean, I added a text file to that zip. Not a edited or hacked nv_data.bin and nv_data.bin.md5 files .
I guess this is not an illegal.
Sent from my GT-I9300 using Tapatalk
very informative, im glad i was turned on this topic. i learned alot.. thanks..

[SOLVED]Any help pls some problem with Restore (2.18.401.2_stock_twrp)

hello all
I have some problem > When i Move File 2.18.401.2_stock_twrp.zip in sideload to my device
in CMD sending 100% but in sideload my device Tell me
***********************************************************
checking for MD5 file...
Skipping MD5 check: no MD5 file found .
verifying zip signature . . .
E: zip signature verification failed: 1
**********************************************************
and I Try To cancel check MD5 in the options twrp > Fail
I use TWRP v2.6.3.0
and I have in this file zip (2.18.401.2_stock_twrp) 6 files
1- boot.emmc.win
2- boot.emmc.win.md5
3- data.ext3.win
4- data.ext3.win.md5
5- system.ext4.win
6- system.ext4.win.md5
any help please to fix this problem
cid : htc_J15
hboot : 1.72.0000
Any help pls ?
htc one x plus said:
Any help pls ?
Click to expand...
Click to collapse
Sideload only works for rom.zip files, not for backups. you either have to push the backup to the right folder using adb push command or sideload any rom (don't forget to flash the boot.img in fastboot first) and copy the backup to the device as soon as it has finished booting.
reaper90 said:
Sideload only works for rom.zip files, not for backups. you either have to push the backup to the right folder using adb push command or sideload any rom (don't forget to flash the boot.img in fastboot first) and copy the backup to the device as soon as it has finished booting.
Click to expand...
Click to collapse
thanks for replay
But how I can move the file (2.18.401.2_stock_twrp) to TWRP \\ and after restore this (2.18.401.2_stock_twrp)
and step pls me noob
twrp 2.8 has mtp support. you can copy it using windows explorer
crusader727 said:
twrp 2.8 has mtp support. you can copy it using windows explorer
Click to expand...
Click to collapse
I looked in all forums twrp 2.8 for hox plus > all links not working
and here to http://teamw.in/project/twrp2 >> downloading To 99% and stop
and link pls
http://forum.xda-developers.com/showthread.php?t=1995002
http://techerrata.com/browse/twrp2/enrc2b
http://www.plsdontpwn.me/?dir=enrc2b/twrp
or install a custom ROM (e.g. ARHD8) first and then you can copy the unzipped backup to the sdcard.
crusader727 said:
http://forum.xda-developers.com/showthread.php?t=1995002
http://techerrata.com/browse/twrp2/enrc2b
http://www.plsdontpwn.me/?dir=enrc2b/twrp
Click to expand...
Click to collapse
schinge said:
or install a custom ROM (e.g. ARHD8) first and then you can copy the unzipped backup to the sdcard.
Click to expand...
Click to collapse
thanks guys for help
me install custom ROM ARHD8 and me copy ( 2.18.401.2_stock_twrp) to SDcard
and now how can I back to stock I done see restore for 2.18.401.2_stock_twrp ?
Copy your files 1-6 into a subfolder under TWRP/BACKUPS/<serial number of your device> on the sdcard. Then you should find the backup in TWRP.
schinge said:
Copy your files 1-6 into a subfolder under TWRP/BACKUPS/<serial number of your device> on the sdcard. Then you should find the backup in TWRP.
Click to expand...
Click to collapse
sorry bro im noob
I worked the following steps:
sdcard/TWRP/BACKUPS/>> and folder name my serial number << / and copy 6 files in folder my serial number
and after this how can I restore (stock_twrp) ? nothing in restore and backup
Sorry for the inconvenience
You have to create a new folder there - as I wrote it ('subfolder'). Then move the files into this folder.
schinge said:
You have to create a new folder there - as I wrote it ('subfolder'). Then move the files into this folder.
Click to expand...
Click to collapse
good news :laugh:
Big Thanks bro for your Awsome help :good: :good:

Categories

Resources