ODIN DK28 md5 has value invalid - Epic 4G General

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

Related

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.

[Guide] How to calculate checksum md5 in windows

​Since some noobs like me does not know about Checksum and how to calculate it I share this topic.
You may have seen there is a number called "MD5" together with long digit in some threads. You may be confused what this number for.
Actually, MD5 is a number verifying whether the file you have downloaded is alright or broken, by comparing with the original's MD5.
Some can compute this number using solidexplorer.apk in their phone however some would like to figure out this number before transferring their file, specially a big zip into their memory card. So here is a very easy way to calculate this number by a software in windows.
WinMD5 is a small and easy tool to calculate md5 hash or checksum for different files (including files larger than 4 GB).
Click to expand...
Click to collapse
Features:
Supports almost all Windows platforms including Microsoft Windows 95, 98, 2000, Me, XP, 2003, Vista and Windows 7.
Fast and multi-threaded. It can compute a 2 GB file less than 1 minute.
Supports big files larger than 4 GB.
Low resource usage. It uses less than 5 MB RAM.
Don’t require .NET runtime installed. It is a standalone EXE file and the startup is speedy. There are MD5 tools for Windows on the market, but most of them requires .NET runtime and they may take a few seconds to start. This is also the reason I wrote the program.
Supports “Drag & Drop”. You may either select a file, or drag and drop a file to the program window to get the MD5 hash value.
Supports verification of original MD5 value and current MD5 value.
Most important, it is FREE. No spyware or adware bundle.
Small size, an effective and tiny tool for data security.
​
Here is the software
View attachment WinMD5.7z
Just extract the exe file and address you file. It would begin to calculate MD5, then click verify so see number is matched or not. That's it.
Thank you for your post.
As an addition, almost all download managers (free or otherwise) automatically calculate this for you after a download and report any discrepancies as well.
There are several Browser Plugins as well which are quite handy. That is one area to look into as well.
But yes a handy tool is always good to have
Sent from my GT-N7000 using xda premium
A quick applications for this stuff is also HashCalc, it can show u several Hashes so you can compare it better.
I use it all of the time and got no problems with it.
Try hash tab. It will insert a new tab in the file properties and you do not need to run a software everytime
Yeah! That really helpful...thanks
Guys sorry for noob question ahead of time but... i downloaded the app hashcalc app and uploaded the zip file i have md5 code but what i need to do next?? Im not really understanding all of this. What is it that im trying to achieve with this?
Once again thank you for ur help and patience on my noobiie questions. Thanks ahead of time
revilo155 said:
Guys sorry for noob question ahead of time but... i downloaded the app hashcalc app and uploaded the zip file i have md5 code but what i need to do next?? Im not really understanding all of this. What is it that im trying to achieve with this?
Once again thank you for ur help and patience on my noobiie questions. Thanks ahead of time
Click to expand...
Click to collapse
I've never used this app but it looks like you are on the right track. Now you have generated the checksum by finding file on your phone you need to go to website or wherever you have the reference checksum stored, highlight it and copy it, then just click the clip board icon as shown on your screen, then press the compare button at the bottom.

[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 miss match Philz recovery

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

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