Md5 miss match Philz recovery - Galaxy S 4 Q&A, Help & Troubleshooting

I already wipe every thing .
I need to disable md5 check in Phil but no option such
What shall I do ?
Sent from my GT-I9505 using xda premium

smep said:
I already wibe every thing .
I need to disable md5 check in Phil but no option such
What shall I do ?
Sent from my GT-I9505 using xda premium
Click to expand...
Click to collapse
Misc Nandroid Settings -> MD5 CHECKSUM. Untick or tick it depend what u want :highfive:

Thanks I just see you reply
I did the long stupid way to fix this issue by cheacking the MD5 of every single file in backup folder then I found "system.ext4.tar.a" have different MD5 sum ,, fix that by editting the "nandroid.md5" .
Then I notice this freaking file have different md5 every time I reboot ! So I couldn't do the restore from recovery , finally I move "system.ext4.tar.a" to internal memory then back again to its original place in external ,,, test reboot wlah it has stable md5 sum
Edit the "nandroid.md5" again with the new sum
Did the restore ,, I am happy now haha
Sent from dish washer

Related

Need Desperate Help nv_data.bin corrupted

Hi guys, I was trying to change my product code back from KOR, to OPS, but have now stuffed my phone
It can't receive calls, and or make them.
I copied the file out using Root Explorer, and then edited it using notepad, then copied it back using Root Explorer, and deleted the md5 file
I made a copy of the bin file, but even when I put the original file back in, it still doesn't work.
The only file I never made a back up of was the md5 file.
What am I doing wrong here ?
Help is most appreciated, as I am really stuffed
Cheers
Put your copy of the bak file in the efs folder and delete the bin and md5 and reboot. As long as your bak file is ok it will load a bin file from it on boot. Dont delete the md5 of the bak file or it wont work.
Edit: did u reboot after copying the bin file back? U never mentioned.
Sent from my GT-I9000 using Tapatalk
Will try that now, but thought I had already tried that.
I still have my IMEI, what are the chances of recovering my phone from this.
In case my nv_data.bin file can't be recovered ?
Cheers
If you still have your imei then you should not be having this trouble
Sent from my GT-I9000 using Tapatalk
You may need to change the file owner to 1001:1001
Sent from my GT-I9000 using Tapatalk
By 1001:1001 you mean in Root Explorer, and file permissions ? If so exactly what do I do to get 1001:1001 ?
I can't make or recieve calls, my APN's are missing, would that stop me from making calls, I thought that only had to do with internet ?
Apn is internet we can fix the in a bit. Plug the phone into the computer with debug enabled. Then abd shell then su then chown 1001.1001 /efs/nv_data.bin
Sent from my GT-I9000 using Tapatalk
Thanks heaps, deleting the files and leaving the backups worked.
I am so grateful for your help.
One last question, changing the Product Code, should be as simple as changing the nv_data.bin file, and replace the old one, and delete the MD5 file ?
When using Root, do I need to be aware of file permissions etc ?
Cheers
My file permissions are rwx------ i changed my product code the same way and all worked fine.
Sent from my GT-I9000 using Tapatalk
Never mind the last question.
The Backup files replaced the KOR product code with the original ones.
So I am now back to where I wanted to be in the first place.
You sir are a true gentleman
Thanks Again
It may be something as simple as the owner was incorrect. Now that you know you can fix it you can try that
Sent from my GT-I9000 using Tapatalk
You are must welcome
Sent from my GT-I9000 using Tapatalk
can anyone confirm the proper product code for a
Captivate on ATT in USA
thanks
thank you for sharing your ideas.

ODIN DK28 md5 has value invalid

Just trying to put DK28 on my friend's epic here and it keeps saying that the MD5 has value is invalid.
i got the file from the epic wiki, so it's a legit one.
any idea why this is happening?
i've done it on my phone and this didn't happen.
Two things
1. see if you are using the pit file
2. If that doesn't help you then rename the file to not have the md5 ending
ex Winpro.zip.md5 to winpro.zip
Could be a corrupt download as well, may need to simply re-download.
Edit: odin should also flash .tar and .tar.md5 files no problem.
Sent from my SPH-D700 using XDA App
So many say bad download but every time this happened to me it was the file name change that fixed it for me. Try that first. Don't waste your time re downloading.
Sent from my SPH-D700 using XDA App
rocket321 said:
Could be a corrupt download as well, may need to simply re-download.
Edit: odin should also flash .tar and .tar.md5 files no problem.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I ran into the same issue yesterday, just remove the .md5 extension and it should work.
I stand corrected, thanks for the info!
Sent from my SPH-D700 using XDA App
Thanks guys!
Sent from my SPH-D700 using XDA App
Ugh. I've been seeing far too many people on this forum recommending to remove the .md5 from the .tar.
The MD5 has a purpose, and that's to ensure (to a fairly high degree of probability at least) that the file is not corrupt in some way. If the file does not pass the MD5 check, the smart thing to do is re-download the file.
If you ignore the failed checksum and apply the file anyways, you risk bricking your phone. Sure, a good percentage of the time it'll work fine; the corrupted data could be non-critical or have minimal impact on system stability. But it's bad practice to make that assumption.
We're talking an operating system here, not some video file where it doesn't matter if a few bytes happen to be AWOL. Run your checksums and pay attention when MD5 values don't match up! Don't put the resources of the forum and its developers to waste trying to figure out the weird error you start posting about a few days later because you couldn't be bothered to download a file a second time.
You can also grab a md5 checker for free and test the file yourself. Most roms list the md5 under the download link. Then you know you are getting the exact data that was intended.
Sent from my SPH-D700 using XDA App
Rename "SPH-D700-DK28-8Gb-REL.tar.md5" to "SPH-D700-DK28-8G-REL.tar.md5".
Sometime after DK28 was leaked the file was renamed from the latter to the former, despite the fact that the MD5 checksum contains the latter as the file name. If you don't rename it back, it will always fail the check.
mkasick said:
Rename "SPH-D700-DK28-8Gb-REL.tar.md5" to "SPH-D700-DK28-8G-REL.tar.md5".
Sometime after DK28 was leaked the file was renamed from the latter to the former, despite the fact that the MD5 checksum contains the latter as the file name. If you don't rename it back, it will always fail the check.
Click to expand...
Click to collapse
Sounds like the wiki may need updated to reflect this information. Any way to have the file re-hosted with the correct name or MD5 hash?
agreed, removing the 'b' worked for me after the MD5 hash failed.
Thanks for the tip though

MD5 mismatch..

Hello!
Suddenly I'm getting on one of my backups "MD5 mismatch..." error. Didn't do anything. Haven't change a name of the folder, nothing.
Is there is some way to restore data from that backup?
Help me, please?
Thank you!
Did u try an advanced restore of data
Sent from my SPH-D700 using Tapatalk
Yes. Actually, I've tried it first.
I am getting the same problem, and Yes I also did advanced restore but I got the same error there also.
I had the same problem once. I ended up having to restore an older backup.
Leave SPACES out of your filenames and folders
antila said:
Hello!
Suddenly I'm getting on one of my backups "MD5 mismatch..." error. Didn't do anything. Haven't change a name of the folder, nothing.
Is there is some way to restore data from that backup?
Help me, please?
Thank you!
Click to expand...
Click to collapse
I was reading on this as was having same issue...a guy posed that you can't have SPACES in your filenames or folder names.
I did this and worked a treat!!!
Good luck...just take out the spaces...
There was no spaces because I did not change anything. It was Nandroid backup and suddenly it was not working. Couldn't do anything, so, restored older backup.
Are u perhaps using ext4 with no_journaling? All it takes is one zero misplaced and your data goes poof. Suggest in future you place copies of backups on your hard drive.
Brought 2 u via Bonzai! 5.0.2
I assume you're talking about flashing back to DI18 using Odin. Rename the file from .md5 to .tar and it will work fine. I don't think the .tar has a valid MD5 hash that ODIN recognizes.
Or not, just reread post.

[Q] Incorrect recovery time.

I've noticed this since I installed garwynn's version of CWM. Just installed the official CWM touch recovery and experiencing the same thing.
When making a backup, the date and time are very wrong. For instance, today is June 11th and the recovery is saying that it's February 15th, 1970. 1970-02-15.08.16.07 should be 2013-06-11.09.57.xx.
Any idea on how to solve this problem?
I don't know for a fact, but unless garwynn speaks up, I would try to run another cwm backup to see if the date corrects itself. I would highly suspect the invalid date backup is bad. I don't have proof to back up my opinion BTW.
Philz recovery had the same issue on mine but a traul through the settings in recovery and I was abke to alter time.date ect
Now alls good
Sent from my GT-I9300 using xda premium
adie1234 said:
Philz recovery had the same issue on mine but a traul through the settings in recovery and I was abke to alter time.date ect
Now alls good
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Where did you alter the date/time at?
In philz its in the advanced settings menu
Sent from my GT-I9300 using xda premium
Rom manager
If you do a backup using ROM manager, the dates come out right no matter which recovery you are on.
It has been a problem on all official CWM based recoveries for quite a long time now. It got messed up in one of the updates upstream a long time ago and it's been lost in the code. (Something like that)
But basically it's not really a problem or effecting any actual utility. And btw don't try manually changing the back up names as it will mess up the MD5 and you won't be able to restore them.
Sent from my kTWEAKed, Turbo Charged, CrossBreeding, NOS injected, OCed, UVed, BEAST of an S4
I've changed the name of the folder within the backup folder so it would be easier to know what that backup was. You don't use spaces in the folder name. Md5 still works. I md5 a file, then change the name of the file and md5 it again. Same sum. Granted, you shouldn't be drastically messing around with backups, but I don't see any harm in renaming a folder to like stock.rooted or stockrooted instead of a date and time. The files in the folder haven't been altered. When you're poking around with recovery, it makes backups easier to choose if they are different ROM backups.
oscarthegrouch said:
I've changed the name of the folder within the backup folder so it would be easier to know what that backup was. You don't use spaces in the folder name. Md5 still works. I md5 a file, then change the name of the file and md5 it again. Same sum. Granted, you shouldn't be drastically messing around with backups, but I don't see any harm in renaming a folder to like stock.rooted or stockrooted instead of a date and time. The files in the folder haven't been altered. When you're poking around with recovery, it makes backups easier to choose if they are different ROM backups.
Click to expand...
Click to collapse
Do not change the names of the internal folders, that would mess the restore part.
Sent from my SPH-L720 using Tapatalk 4 Beta
inlineboy said:
It has been a problem on all official CWM based recoveries for quite a long time now. It got messed up in one of the updates upstream a long time ago and it's been lost in the code. (Something like that)
But basically it's not really a problem or effecting any actual utility. And btw don't try manually changing the back up names as it will mess up the MD5 and you won't be able to restore them.
Sent from my kTWEAKed, Turbo Charged, CrossBreeding, NOS injected, OCed, UVed, BEAST of an S4
Click to expand...
Click to collapse
So, if you have changed the name what does one do? I am currently experiencing this at the moment? Am I screwed at this point?

Md5 check

I've used multiple apps from Google Play and checked the md5 value on multiple files that I downloaded and knew were good because I flashed them and everything worked perfectly yet every single file that I check fails the md5 check on every app that I try. I don't have a single file that I have flashed that passes an md5 check. I assume I am doing something wrong but the apps seem pretty straightforward in terms of how to use them. Is there any legitimate reason that a good file would fail an md5 check?
jhs39 said:
I've used multiple apps from Google Play and checked the md5 value on multiple files that I downloaded and knew were good because I flashed them and everything worked perfectly yet every single file that I check fails the md5 check on every app that I try. I don't have a single file that I have flashed that passes an md5 check. I assume I am doing something wrong but the apps seem pretty straightforward in terms of how to use them. Is there any legitimate reason that a good file would fail an md5 check?
Click to expand...
Click to collapse
Hello... How do you download the files that fail the md5 check?
A browser?
Is your connection stable enough?
Try with this download manager: https://play.google.com/store/apps/details?id=com.dv.adm
And try checking the same files that fail on your current download method. I've never had or seen such issue before. Did you update the app you use to download lately?
Good luck...
5.1 said:
Hello... How do you download the files that fail the md5 check?
A browser?
Is your connection stable enough?
Try with this download manager: https://play.google.com/store/apps/details?id=com.dv.adm
And try checking the same files that fail on your current download method. I've never had or seen such issue before. Did you update the app you use to download lately?
Good luck...
Click to expand...
Click to collapse
A lot of the files that I'm downloading are from XDA. Some download through Chrome and I think some might download through whatever download manager is built into Android. I've downloaded the latest version of Flash Kernel 3 times and it fails the md5 check every time. I flashed the kernel and it seems to be operating perfectly anyway.
The apps are all a little different but this is the basic procedure I'm using. I open the downloaded file and the app calculates the md5 value and stores it. Then I open the md5 file that I downloaded alongside the other download. The app always says the values don't match. Does it sound like I'm doing something wrong?
I will check out the download manager you mentioned. Thanks for the suggestion.
jhs39 said:
A lot of the files that I'm downloading are from XDA. Some download through Chrome and I think some might download through whatever download manager is built into Android. I've downloaded the latest version of Flash Kernel 3 times and it fails the md5 check every time. I flashed the kernel and it seems to be operating perfectly anyway.
The apps are all a little different but this is the basic procedure I'm using. I open the downloaded file and the app calculates the md5 value and stores it. Then I open the md5 file that I downloaded alongside the other download. The app always says the values don't match. Does it sound like I'm doing something wrong?
I will check out the download manager you mentioned. Thanks for the suggestion.
Click to expand...
Click to collapse
No. The way you do it should work I guess. Give me a link of the app you use to check the md5 and at least two links of files you downloaded that fails checking. I'll try it myself and report back...
5.1 said:
No. The way you do it should work I guess. Give me a link of the app you use to check the md5 and at least two links of files you downloaded that fails checking. I'll try it myself and report back...
Click to expand...
Click to collapse
Here is a link for one of the apps I tried:
https://play.google.com/store/apps/details?id=sa.afvx
I deleted them all from my phone since I couldn't get any of them to work for me.
Here are links for various builds of Flash Kernel. They all fail md5 check for me though I flashed them and they seem to function perfectly:
http://nchancellor.net/Downloads/Kernels/
I checked md5 for the 3 most recent builds and like every other file on my phone it failed the md5 check on multiple apps from Google Play.
jhs39 said:
Here is a link for one of the apps I tried:
https://play.google.com/store/apps/details?id=sa.afvx
I deleted them all from my phone since I couldn't get any of them to work for me.
Here are links for various builds of Flash Kernel. They all fail md5 check for me though I flashed them and they seem to function perfectly:
http://nchancellor.net/Downloads/Kernels/
I checked md5 for the 3 most recent builds and like every other file on my phone it failed the md5 check on multiple apps from Google Play.
Click to expand...
Click to collapse
Hello...
The problem is: with the app you used (afv), I haven't found an option to compare the md5 of the kernel zip against the hash generated in the md5sum file. So I used the PC. Open the md5sum file with a text editor rename to .txt on Android and open it. Check the kernel md5, they match.
The three last kernel match their respective md5sum. Check the attached screenshots.
That's what the program is for so I'm not sure why you couldn't find an option to compare the md5 values. I tried several other apps as well. I guess I'm either doing something wrong or everything that downloads to my phone is screwed up. Thanks anyway.
jhs39 said:
That's what the program is for so I'm not sure why you couldn't find an option to compare the md5 values. I tried several other apps as well. I guess I'm either doing something wrong or everything that downloads to my phone is screwed up. Thanks anyway.
Click to expand...
Click to collapse
Check this: http://winmd5.com
There are several apps that allow you to compare a file, with an existing md5 file...
The md5 hash of the file you want to test, is stored in the *.md5 or *.md5sum file, which is nothing more than a txt file with an "md5" or "md5sum" extension.
As you can see on the link above, you can add a file to generate a hash and you can add a *.md5 or *.md5sum file at the bottom. The app will generate a hash for the file which will be compared to the hash stored in the md5 or md5sum file.
If you simply generate a hash of each file, they won't match at all...
If you.foumd a way to do that thing with the AFV app, let me know. I haven't found it... :good:
It seem you can also do it on Android with BusyBox in a terminal emulator, but I haven't checked yet...
Unfortunately I don't want to transfer files downloaded onto my phone onto my computer so I can check the Md5. I want to actually be able to do it on my phone and I'm not technically adept enough to do it with a terminator emulator within Busybox. I'm obviously missing something here because there are more than a dozen apps in the Play Store that supposedly allow you to check the md5 value of a file but I can't get anything to work for me.
jhs39 said:
Unfortunately I don't want to transfer files downloaded onto my phone onto my computer so I can check the Md5. I want to actually be able to do it on my phone and I'm not technically adept enough to do it with a terminator emulator within Busybox. I'm obviously missing something here because there are more than a dozen apps in the Play Store that supposedly allow you to check the md5 value of a file but I can't get anything to work for me.
Click to expand...
Click to collapse
Well... Let me try to explain again :angel:
You dl flash kernel zip... It's md5 is supposed to be: dj358df39fk359sde (for example)
Flash generated a *.md5sum file which you can use to compare against the flash zip... You can't use an app from the play store, because the hash of the flash zip and the *.md5sum file won't be the same...
The fact is: the hash value of the flash zip is stored in the *.md5sum file. But if you generate a hash for this *.md5sum file, it will be something else than the flash zip...
You can use the *.md5sum file in an app as in my previous post. It will generate a hash for the flash zip and "read the value" stored in the *.md5sum file, just like the screenshots I posted, and of course it will match...
Hoping I've been clear enough...
5.1 said:
Well... Let me try to explain again :angel:
You dl flash kernel zip... It's md5 is supposed to be: dj358df39fk359sde (for example)
Flash generated a *.md5sum file which you can use to compare against the flash zip... You can't use an app from the play store, because the hash of the flash zip and the *.md5sum file won't be the same...
The fact is: the hash value of the flash zip is stored in the *.md5sum file. But if you generate a hash for this *.md5sum file, it will be something else than the flash zip...
You can use the *.md5sum file in an app as in my previous post. It will generate a hash for the flash zip and "read the value" stored in the *.md5sum file, just like the screenshots I posted, and of course it will match...
Hoping I've been clear enough...
Click to expand...
Click to collapse
No I understand what you did and why you are saying what I did with the Android apps didn't work--the apps were generating a new md5 hash value rather than simply copying it from the file. What I don't understand is why I can't find an Android app that does what you did on the computer. I appreciate your help but like I previously stated I have no interest in transferring files to my computer so I can check their integrity. I want to do this completely on my phone.
jhs39 said:
No I understand what you did and why you are saying what I did with the Android apps didn't work--the apps were generating a new md5 hash value rather than simply copying it from the file. What I don't understand is why I can't find an Android app that does what you did on the computer. I appreciate your help but like I previously stated I have no interest in transferring files to my computer so I can check their integrity. I want to do this completely on my phone.
Click to expand...
Click to collapse
Ah... I think I just misunderstood you understood me..!
Of course, moving files on PC and back on the phone is not convenient at all.
About Android apps... I don't get it either. I searched yesterday on the play store as well. In app reviews, i also saw some requests for such feature, but unfortunately, it seems like devs didn't notice are not interested in adding the feature in their app.
Hopefully one will do it... :good:
jhs39 said:
I've used multiple apps from Google Play and checked the md5 value on multiple files that I downloaded and knew were good because I flashed them and everything worked perfectly yet every single file that I check fails the md5 check on every app that I try. I don't have a single file that I have flashed that passes an md5 check. I assume I am doing something wrong but the apps seem pretty straightforward in terms of how to use them. Is there any legitimate reason that a good file would fail an md5 check?
Click to expand...
Click to collapse
You could try using either Solid Explorer or Root Explorer. Both give MD-5, SHA-1 under properties. If one of these mismatch, I don't flash. I'm looking for a solution for SHA-256 which Google uses for images. @5.1
v12xke said:
You could try using either Solid Explorer or Root Explorer. Both give MD-5, SHA-1 under properties. If one of these mismatch, I don't flash. I'm looking for a solution for SHA-256 which Google uses for images. @5.1
Click to expand...
Click to collapse
This is probably a stupid question but I assume you write down the value you get from root explorer so you can compare it with the value in the md5 value. It's a very long number to match in your head unless you have a fantastic memory.
jhs39 said:
This is probably a stupid question but I assume you write down the value you get from root explorer so you can compare it with the value in the md5 value. It's a very long number to match in your head unless you have a fantastic memory.
Click to expand...
Click to collapse
Good question. SE has both a generated checksum and a "compare" field you paste the known good MD5 into and it compares it for you.... but I just look at the first few leading and trailing digits. That's really all you need. One byte out of place and the MD5 blows up. RE just gives you the MD5 under file properties, but it is enough using the method above. SE is great!
jhs39 said:
This is probably a stupid question but I assume you write down the value you get from root explorer so you can compare it with the value in the md5 value. It's a very long number to match in your head unless you have a fantastic memory.
Click to expand...
Click to collapse
Got an idea. Maybe not the best, but a workaround for the time being. Tap twice recent button to switch from file explorer file properties to md5 checker app... Or use multi window.
This way you can keep an eye on both hash...
Cheers...
---------- Post added at 12:32 AM ---------- Previous post was at 12:29 AM ----------
v12xke said:
Good question. SE has both a generated checksum and a "compare" field you paste the known good MD5 into and it compares it for you.... but I just look at the first few leading and trailing digits. That's really all you need. One byte out of place and the MD5 blows up. RE just gives you the MD5 under file properties, but it is enough using the method above. SE is great!
Click to expand...
Click to collapse
Still an issue when having this case: http://nchancellor.net/Downloads/Kernels/
Where do you find the proper md5 hash? If not in the *.md5sum?
5.1 said:
Still an issue when having this case: http://nchancellor.net/Downloads/Kernels/
Where do you find the proper md5 hash? If not in the *.md5sum?
Click to expand...
Click to collapse
It is within *.md5sum... open it with any text editor and the first line is the hash. As an example the md5 hash from flash-angler-20170315-1537.zip.md5sum is e88c47c885a0e03e7944569e839022e9. @jhs39
Edit: If using Windows, you may have to use "open with" the first time and let Windows know you want to use Notepad or Wordpad to open files with the *.md5sum extension
v12xke said:
It is within *.md5sum... open it with any text editor and the first line is the hash. As an example the md5 hash from flash-angler-20170315-1537.zip.md5sum is e88c47c885a0e03e7944569e839022e9. @jhs39
Click to expand...
Click to collapse
Read my previous posts and see the screenshots, I know about that.
It is just a waist of time. Just looking for a proper solution, not involving messing with files. Still the best though...

Categories

Resources