Rom Development and MD5SUM - LG Optimus 2x

This mainly for anyone creating roms, themes, etc, etc
Is it possible for you to supply an MD5SUM check for your downloads so users know there downloads are not corrupted in any format.
regards

if they don't supply the md5 sums you can check with winrar, with test archive if there is no error then you can flash it. or if you like, you can check with md5sums program search with google. i use md5ums 1.2

Related

Parse error help please

I need help I'm new with the rom thing. so i donwload couple files to my G1. but everytime i tried to open a file it saids "PARSE ERRROR" There is a problem Parsin the package. i though it was because i donwload the file to my pc unzip them and place them in the memory card. then i erase them and download the zip file directly to my memorycard but i can't do anything. everytime i tried to open a file give me the same error. *** help please.
Sorry i don't know if this is the right place to ask for help but i really need it
You are posting in the wrong forum section. Thread has been reported.
The files you download usually don't need to be unpacked. Just rename them to update.zip and apply the updates through the recovery mode. Some recovery roms, such as Cyanogens or Amon_RAs, has an option of picking a specific .zip file, not called update.zip. Also most ROM builders provide MD5 sums of their ROMs so you can check yourself whether your download is corrupt or not. I suggest you trying to verifying that.
1. Your G1 is a Dream not a sapphire.
2. The development forums are for posting development threads. Any questions go into the Q&A forum.
3. Are you trying to flash a Hero based ROM? (I'm guessing you don't have the correct SPL.)
What types of files? are they roms?

What is a mirror?

In relation to ROMs, what is a mirror? I see that on there a lot and don't know what they are and what purpose they serve.
Mirror is not a ROM term at all, but a web term. A mirror is a server that is hosting a file for download. The idea is that in order to either reduce load on the original server or expedite the download by allowing you to choose a server closer to you. The term mirror is derived from the idea that it is a remote server with an exact copy of the original file. Because of the mirror system being out of the original content provider's hands, a checksum of the download is usually provided to help ensure that the file has not been modified in any way.
lineman78 said:
Mirror is not a ROM term at all, but a web term. A mirror is a server that is hosting a file for download. The idea is that in order to either reduce load on the original server or expedite the download by allowing you to choose a server closer to you. The term mirror is derived from the idea that it is a remote server with an exact copy of the original file. Because of the mirror system being out of the original content provider's hands, a checksum of the download is usually provided to help ensure that the file has not been modified in any way.
Click to expand...
Click to collapse
Awesome. Thanks. Do you know how to check the 'checksum' or 'md5sum' as I've seen it? I'm working on the MacOS platform.
BTW - do you know how to get a term added to the glossary?
Not so sure about the "checksum" thingy, try searching the forums??
However, adding a word is as simple as going:
Settings > Language & Keyboard> Touch Input> User Dictionary> Add New OR you can just spell the word when you're texting (for example) and click the correct spelling instead of the suggested spelling, that adds it too.
Awesome. Thanks. Do you know how to check the 'checksum' or 'md5sum'
Click to expand...
Click to collapse
On linux and windows you go to file directory and type md5sum {file name}. Couldn't see it being different for mac, don't forget the .zip, .apk, etc. at the end of the file name.
Sent from my ADR6300 using Tapatalk
On mac the command is md5 (filepath)
HeroMeng said:
On mac the command is md5 (filepath)
Click to expand...
Click to collapse
I don't have my UNIX book in my office, but this sounds right. OSx is based on FreeBSD, so it has a md5 utility built in. Just open up the terminal and type the above command. On windows, you will need to download a project called unixutils, which can be found on sourceforge. The command is md5sum {filepath}. But in order to get this working you will either need to provide the location of md5sum.exe or add the wbin folder from unixutils to your path environment variable.
I have Mac and if I type for example this:
Code:
md5 /Users/kevinsimac/downloads/darchdroid-v265.zip
it returns
Code:
MD5 (/Users/kevinsimac/Downloads/darchdroid-v265.zip) = 9a7af785d5ba97bbbac1ea044c99b420
What's the whole purpose of the md5 in relation to our work here?
jerry43812 said:
What's the whole purpose of the md5 in relation to our work here?
Click to expand...
Click to collapse
As I explained above, the MD5 is usually included for files hosted on a server other than the content provider so that you can ensure that the file has not been modified. For example, I could volunteer to be a mirror for Fresh and if flipz didn't post the md5, I could add an apk into system that could do something like send me your location or a copy of all your e-mails or something else and you wouldn't know that I had modified the file since flipz handed it off to me.

[Q] How do I extract files from ROM?

Is it possible to extract an APK from a ROM File?
If i take the JM5 ROM, I can unRar it and then I can unTar the md5 file that is the ROM - but from there I just get a bunch of system files that I assume are images of partitions. The big one is the factoryfs.rfs - is there a way to pull an apk out of here, or do i have to install on a device first and save the APKs i want?
Thanks.
alphadog00 said:
Is it possible to extract an APK from a ROM File?
If i take the JM5 ROM, I can unRar it and then I can unTar the md5 file that is the ROM - but from there I just get a bunch of system files that I assume are images of partitions. The big one is the factoryfs.rfs - is there a way to pull an apk out of here, or do i have to install on a device first and save the APKs i want?
Thanks.
Click to expand...
Click to collapse
Just tell us what application your looking for(remember to follow the forum rules before replying )

*solved* Md5 mismatch

so I made a backup through CWM of my current rom, and installed another rom, and changed my mind and wanted to go back. When I try to do so I get an MD5SUM Mismatch error. I have not changed the names of the folders in anyway shape or form.
I found a thread on XDA with a fix, which I tried, to no luck. http://forum.xda-developers.com/showthread.php?t=714114
anyone have any ideas? I can live without what was in the backup if I need to...but I would rather not.
I did notice that the file size of the other MD5 sums I have for my other backups is closer to 130+ KB files, and the new one is 22 KB.... my biggest backup yet, with the smallest MD5 sum?
any ideas?
EDIT: further looking into this I noticed that the backup files are .ext3.tar so I tried from the other post, instead of doing "md5sum *img > nandroid.md5" i tried "md5sum *ext3.tar > nandroid.md5" and "md5sum *tar > nandroid.md5" and both of these fail aswell. Still looking for any ideas on how to fix this.
EDIT #2: I figured it out...after being beyond frustrated...lol. So when I used Notepad++ to open the nandroid.md5 file, and use MD5 calculator to verify the actual MD5sums, i noticed something interesting between multiple backups. Every other nandroid.md5 file I had, had two spaces between the MD5sum and the file name, except the one I had that was failing. So I fixed this, and my rom is restoring as we speak. So incase anyone else has this issue, and wants to fix their MD5sum error, here is what it should look like
a5cf3fc0bc5144856c9bba7f410ece5f data.ext3.tar. So with two spaces, not one.

checksum for ovation downloads

I'm experiencing the set_perm error 7 while trying to install CM 10.1 on my brand new Nook HD+. Others have indicated that this is caused by file corruption.
I've used HashTab to verify that the file was correctly copied onto the microSD, but I don't have any server-side hashes to check the download.
I've downloaded 0605 once and 0612 several times. Unfortunately I didn't keep the older download to compare hashes, I'm in the process of yet another download.
But it would be really nice if someone could post the MD5 or SHA1 or other common hash of these large ROMs.
http://forum.xda-developers.com/showthread.php?t=2263553
BTW, for 0612 I have two downloads with these identical hashes:
CRC32: 76BDACB5
MD5: 1BBB78B46234098034E5827B1103B424
SHA-1: 43AF5C88BC32488646629549B1FAE8D3107F5586
(A mirror not hosted in Russia would be nice too, but hashes are essential)

Categories

Resources