[GUIDE] MD5sums: What they are...and how to verify them! - Android Software/Hacking General [Developers Only]

What is an MD5sum?
An MD5sum is a commonly used hash value that is created to verify the integrity of files. Here at XDA-developers, MD5sum values are provided by developers to allow users to verify that a file download is not corrupt or been altered.
This is a security feature that XDA users are provided with to verify the integrity of downloaded files for personal use.
DISCLAIMER!: PROCEED WITH CAUTION! I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED TO DEVICES! ALWAYS VERIFY THAT MD5SUM VALUES MATCH PRIOR TO OPENING A DOWNLOADED FILE!!! YOU SHOULD NEVER USE/OPEN A DOWNLOADED FILE IF THE MD5SUMS DO NOT MATCH!!! USE/OPENING OF A CORRUPT FILE CAN LEAD TO DEVICE MALFUNCTIONS AND/OR FAILURES!!!
How to verify an MD5sum!
These steps are for Windows-based systems. HashTab is available for Mac OS.
There are a number of freeware programs available over the internet. Simply entering "Free MD5sum checker" on Google provides a number of results.
Step 1: Download an MD5sum checker
I recommend:
Left-click name for download link
HashTab (Proceed to "HashTab Step 2")
or
MD5 Checker (Proceed to "MD5 Checker Step 2")
-------------------------------------------------------------------------------------------------------------------------------------
HashTab Step 2: Run HashTab Installer
Upon download completion of HashTab, you will be asked to run the HashTab Installer. Left-click on "Run"
HashTab Step 3: Doing an MD5sum Check
Upon installation completion, you can begin checking MD5sums of downloaded files.
1. Download a file. Note the download location of the file. (Note: Most XDA developers provide the MD5sum with the download link).
2. Navigate to the file's location.
3. Right-click the file. Left-click on "Properties".
4. You will notice the Properties window now has a new tab at the top labeled "File Hashes". Left-click "File Hashes".
The hash values will be computed. The user can compare the MD5sum value with the developer provided value. If the MD5sum values match, the file is safe. If MD5sum discrepancies are found, the file is to be considered corrupt and should be removed.
-------------------------------------------------------------------------------------------------------------------------------------
MD5 Checker Step 2: Unzip the "MD5" folder
Upon download completion of MD5 Checker, navigate to the location of the "MD5" zip folder. Right-click the "MD5" zip folder. Left-click on "Extract All". Note the location of the extracted files. Optional: Open the unzipped MD5 file and simply click-n-drag the MD5 application file to your Desktop for easier access.
MD5 Checker Step 3: Doing an MD5sum Check
1. Download a file. Note the download location of the file (Note: Most XDA developers provide the MD5sum with the download link). Highlight and copy [Ctrl + C] the developer provided MD5sum value.
2. Double-click the "MD5" application file. You will be asked if you trust the unverified publisher. Left-click "Run". A new window with two open fields will display.
3. The first field is where you input the developer provided MD5sum value. Left-click "Paste". The MD5sum value you copied should display.
4. The second field is where you input the location of the downloaded file. Left-click "Browse". Navigate to the download location of the file and double-click it.
The MD5 application will compute the MD5sum value of the downloaded file. This value will be compared to the MD5sum value the developer provided. If the values match, the file is safe. If MD5sum discrepancies are found, the file is to be considered corrupt and should be removed.
ALL CREDIT GOES TO THE DEVELOPERS OF THESE MD5SUM CHECKING APPLICATIONS. THANKS FOR KEEPING OUR DEVICES SAFE.
If you have any additional tips or suggestions on MD5sum Verification please feel free to share them with the rest of the XDA community.

Saving for future updates!

bookmarked!!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

nice, ive been using md5 checking in my downloads for ages, nice write up for nubs, we all start somewhere

I really like hash tab for MD5 checking. Thanks for the write up.

Thread moved in Android general section

This should be required for any attached apps on xda, for posters/devs to add the md5 along with the app

gkaugustine said:
This should be required for any attached apps on xda, for posters/devs to add the md5 along with the app
Click to expand...
Click to collapse
I agree. I am hoping that by providing this MD5sum guide to the community, members and developers will have a greater interest in file integrity. I don't think that it is asking too much to have developers provide MD5sum values. This would make the XDA experience safer and more enjoyable for everyone.
I can verify that MD5sum checking has saved me a couple times from a corrupt download. I feel the need for file integrity checks is necessary. Better safe than sorry.
If everyone did their part in asking for MD5sum values for all file downloads, this would become a popular and safe trend.

SpeakEZ said:
I agree. I am hoping that by providing this MD5sum guide to the community, members and developers will have a greater interest in file integrity. I don't think that it is asking too much to have developers provide MD5sum values. This would make the XDA experience safer and more enjoyable for everyone.
I can verify that MD5sum checking has saved me a couple times from a corrupt download. I feel the need for file integrity checks is necessary. Better safe than sorry.
If everyone did their part in asking for MD5sum values for all file downloads, this would become a popular and safe trend.
Click to expand...
Click to collapse
Couldn't agree more! You can really save yourself a lot of troubleshooting by simply checking the MD5Sum first of all.
If you want something "smallish" to use instead, feel free to use the attached little tool (req .NET framework 2.0 in Win), just drag and drop the file(s) on the executable and it'll spit out the MD5sum(s). Most Unix/Linux-flavors should have a tool called md5sum (just type "md5sum [file]" in the shell), and BSD-like systems should have a similar tool simply called "md5" (this including OSX).
I attached the source as well, nothing complicated, just a 5min-job. The .cs-files should compile fine using Mono in most Mono-supported OS's (including Linux and OSX). I don't have access to my Linux- nor my OSX-machines right now, so can't confirm.

I am a noob to md5sum, could you tell me where/how exactly you get the downloaded file's md5? Thanks for the info.

Or you can do it directly on your Android device with ManD5 (free app available).

Thanks for the info!

Rendarion said:
Or you can do it directly on your Android device with ManD5 (free app available).
Click to expand...
Click to collapse
Nice, good to know!
Sent from my Nexus One

Thank You For This Awesome Tutorial. Why MD5 Checker Always Reports Codes Didn't Match Although They Are The Same?

nexus 4
i am a Nexus 4 user!
i just flashed a rom via TWRP for the first time and i was like CHECKING MD5sum then.... SKIPPING MD5 : MD5 sum not found.
it never happend to me in CWM!!
iz it normal or i need to fix it????

Related

[How To] Check MD5 sums

I've seen a large number of posts in the various ROM/Radio threads that indicate to me that many of our users do not know how to check MD5 sums. I wrote this post in the BAMF sense 3.0 thread, but it will be buried there in a matter of minutes. Moderators, i understand this isn't strictly thunderbolt development related, but given the number of questions about this in this forum, I thought this might be appropriate, if you disagree, please move.
On windows use
http://download.cnet.com/MD5-Checker/3000-2092_4-10410639.html
Unzip and launch md5.exe
Copy the MD5 hash sum of the rom you downloaded to your clipboard
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hit the paste button in the MD5.exe program
Browse to the file you downloaded
If the codes match the box goes green and the text tells you that the codes match.
On Linux;
cd Downloads (assuming Downloads is the path of the file)
md5sum BAMFROMYOUJUSTDOWNLOADED.zip
Check the output of the md5sum command against the has posted in the thread. Also note that the md5sum command on Linux doesn't like special characters such as () / or anything in the rom name. You can rename a file without changing the MD5 hash, so keep this in mind.
Just figured I would mention that if you are doing it on your device you can download hash Droid from the market and do it that way also
Sent from my ADR6400L using XDA App
nmyeti said:
I've seen a large number of posts in the various ROM/Radio threads that indicate to me that many of our users do not know how to check MD5 sums. I wrote this post in the BAMF sense 3.0 thread, but it will be buried there in a matter of minutes. Moderators, i understand this isn't strictly thunderbolt development related, but given the number of questions about this in this forum, I thought this might be appropriate, if you disagree, please move.
On windows use
http://download.cnet.com/MD5-Checker/3000-2092_4-10410639.html
Unzip and launch md5.exe
Copy the MD5 hash sum of the rom you downloaded to your clipboard
Hit the paste button in the MD5.exe program
Browse to the file you downloaded
If the codes match the box goes green and the text tells you that the codes match.
On Linux;
cd Downloads (assuming Downloads is the path of the file)
md5sum BAMFROMYOUJUSTDOWNLOADED.zip
Check the output of the md5sum command against the has posted in the thread. Also note that the md5sum command on Linux doesn't like special characters such as () / or anything in the rom name. You can rename a file without changing the MD5 hash, so keep this in mind.
Click to expand...
Click to collapse
On a mac, from the home directory in terminal, you can just type
md5 [drag-and-drop the zip file you downloaded] and hit enter. It will give you your md5sum
Also AFV in the market Android File Verifier works like a charm!
Sent from my ADR6400L using Tapatalk
Great guide OP , you're right, this one comes up a lot.
I personally use astro file manager. Navigate to the file, long press and select "Details". Give it a few seconds and it will give you the MD5 checksum .
The previous two posts mentioned AFV and Astro. I had been using AFV with good success. Recently I learned of Astro's ability to extract the MD5 sum in the manner lrs421 mentions. That's the way I've been approaching it of late.
I've not been doing this rooting/flashing thing for long and have yet to have a download come up bad, but when one does, I want to know before I screw up my Bolt with it. So checking MD5 sums is, for me, an essential step.
Thanks to the OP for a good tutorial thread!
SF Bolt said:
Also AFV in the market Android File Verifier works like a charm!
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
Yup. This is the way to go. Astro too but I prefer AFV.
Thanks for this, I've been trying to figure out how to do this.
I've flashed so many roms my buttons are wearing out, and I have never once checked an md5....
Sent from my HTC ThunderBolt using Tapatalk
step 1: get linux, cuz windows sucks
step 2: open a terminal
step 3: type
md5sum (file name) (path to file name) or just drag in the zip to the terminal
step 4: hit enter
theres the md5sum
I've always used FSUM via command line in windows. (just make sure its EXE is in a folder that is part of the windows path (like put the FSUM.EXE in c:\windows)...
When I open a command prompt, I change to the directory with my downloaded file and type FSUM fileyoujustdownloaded.zip and compare the MD5 it generates with what was posted with the download link.
but the util in the OP looks nice and easy.
Estrong's file explorer can do it, too. Properties, Checksum.
I prefer to use fciv
4Gallovermyface said:
I prefer to use fciv
Click to expand...
Click to collapse
you have the best and weirdest nick ever
lrs421 said:
Great guide OP , you're right, this one comes up a lot.
I personally use astro file manager. Navigate to the file, long press and select "Details". Give it a few seconds and it will give you the MD5 checksum .
Click to expand...
Click to collapse
MD5 SUM check doesn't work on the Driod RAZR with Astro
After reading it i m confused about the first point.. that what md5 sums i have to copy in the clipboard.. please elaborate..
Sent from my Desire HD using xda app-developers app
For my windows computer, I use HashTabs. Puts a tab under properties for the checksums. No opening up an extra prog. :highfive:
leoingle said:
Fow my windows computer, i use HashTabs. Push a tab under properties for the checksums. No opening up an extra prog. :highfive:
Click to expand...
Click to collapse
This is one of the best md5 checkers in my opinion
Sent from my ADR6400L using xda premium
leoingle said:
For my windows computer, I use HashTabs. Puts a tab under properties for the checksums. No opening up an extra prog. :highfive:
Click to expand...
Click to collapse
Thanks for the tip. Just installed it and it is fantastic! :good:
leoingle said:
For my windows computer, I use HashTabs. Puts a tab under properties for the checksums. No opening up an extra prog. :highfive:
Click to expand...
Click to collapse
Just installed HashTabs it is a fantastic tool, thanks a lot for recommending it.

[TIP] How to verify ROM downloads using Total Commander Android app (MD5 sum)

Many of you might be fans of the simple looking file manager packed with customizability and features, Total Commander for Android. And this app also happens to be totally free.
If you haven't heard about it and would like to check it out, go to its homepage or get it from Google Play.
Apart from the app being awesome in itself, its dev Christian Ghisler is a cool guy too. He is very quick in responding to questions, suggestions and bug reports.
(As of now) Total Commander does not have a 1-click solution to calculate MD5 sum of a file. I am used to calculating and verifying the MD5 sum of every ROM zip I download and so having that feature is very important to me. Of course there are other apps like Android File Verifier that do that + more. But I needed just a simple MD5 calculator without having to install any extra app for that.
After spending some time playing with various options in the Total Commander app and a tip from the dev, I was able to put together a neat way to calculate MD5 using TC Android.
SETUP STEPS (Need to do this just once):
1. Click on the "Add button" icon. ( If you don't see that icon, you probably have the secondary row of icons hidden; unhide that secondary row by clicking the rightmost icon on the bottom row of icons ).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. Configure the button as follows:
- Function type: Send shell command
- Command: sh
- Parameters: *md5sum %N ( The * makes the result of the command show up in a popup window. )
- You can change the icon if you want
HOW TO CALCULATE MD5 NOW:
1. Click on the icon of any file for which you want the MD5 sum so that a green tick appears on that icon.
2. And then hit on your newly created MD5 sum calculation button. It will takes few seconds for the MD5 sum calculation to finish if you are doing it for a large file like a ROM zip shown in the example in my screenshots.
Neet!
TCM is ultimate badass
Using U8110, V9. CM7 trough tapatalk
Another one:
Display usage and free space in current partition
(same scheme of pictures as in post#1)
2. Configure the button as follows:
- Function type: Send shell command
- Command: sh
- Parameters: *df -h . | cut -b 23-32,35-50
- You can change the icon if you want
I'm not sure, but I think the Parameters depend on the version of busybox in your device... maybe you have to fiddle around a little
@jazzboyrules: thanks for this thread! Could you change the title to "[TIP] Total Commander Android app: useful tips" or something like that? For sure there are much more ideas for this ingenious app.
jazzboyrules said:
2. Configure the button as follows:
- Function type: Send shell command
- Command: sh
- Parameters: *md5sum %N ( The * makes the result of the command show up in a popup window. )
- You can change the icon if you want
Click to expand...
Click to collapse
Thanks.
Just a minor glitch: use *md5sum "%N"
The quotes will ensure that it works even with file names that contain spaces.
Hmm... For larger files ~200MB (?), I get "Function aborted!" error.
tip for users without root
jazzboyrules said:
Many of you might be fans of the simple looking file manager packed with customizability and features, Total Commander for Android.
Click to expand...
Click to collapse
It should be noted that the method described by the OP, applies to devices with root.
If there is no root, first you need to:
1. install BusyBox Install (No Root) by @Jaredsburrows
2. through the application "BusyBox Install" to install busybox
3. in the application "BusyBox Install" copy environment variable and use the location of the file busybox to define the command sh for Total Commander
Code:
/data/data/burrows.apps.busybox/app_busybox/md5sum %N > %N.md5
In this case, the check sum sent to the file.
.
Thank you so much for this perfect solution!
As more and more often larger checksums are used, one can change the code a bit to calculate the sha-256 checksum of a file.
Just use:
*sha256sum "%N"
Sent from my Fairphone FP2 using XDA Labs

[WINDOWS][TOOL]Android ICS JB EXT4 ImageFile Unpacker!!!

Download NOW from SourceForge!!
VIEW YOUR SYSTEM.IMG (HAVEN'T TESTED OTHERS) FROM YOUR ODIN DUMPS IMG'S FROM THE TUTORIAL:
"[GUIDE][HOW-TO]Create custom ODIN packages"
VIEW THE IMG FILES AND THEN SAVE THEM AS EXT4!!!
VIEW XML (NICELY)
HEX TOO!!
For WINDOWS!!!​
UNPACK folders to any place in Windows:​
(ie: look at your system.img in this tool, then select the folder you want to have in Windows, right-click on it, and click "extract", and then choose where in your Windows Directory where you want it saved.)
"I had not tried it with anything but the System.img. But if you right-click on ANY folder in the tool, you can extract it (save a copy in windows) to anywhere. And it's totally readable. You can also extract the apk's, etc, etc.."​
PERFECT TOOL. EASY TO USE. I FOUND IT WHILE BROWSING SOURCEFORGE AND NOBODY HAD DOWNLOADED IT YET.​
DOWNLOAD HERE​​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PHOTO SOURCE: SourceForge.net (they were better than my screenshots)
THIS TOOL WAS NOT MADE BY ME. NOR DID I HAVE ANYTHING TO DO WITH IT OTHER THAN THE FACT I FOUND IT WHILE WHILE BROWSING...​
Android RFS Unpacker
HERE IS ANOTHER TOOL FROM THE SAME PERSON:
HERE
THE ANDROID RFS UNPACKER
Nice find.
Ta,
Alqi
Sent from my SCH-I535 using xda app-developers app
Nice find! Hopefully, this can help some of the Devs on here that know what they are looking at.
Sent from my SCH-I535 using xda premium
It really helps me out a lot if I am stuck in Windows and don't feel like firing up my Ubuntu Machine or having to start VMware. I mainly use it for the Odin dumps I pull off my extSdCard (if I am already in Windoze...
Sent from my SCH-I535 using Tapatalk 2
I get "Unknown file" when I try to open the .ext4 file. How do I fix this?
MinnesotaVikings1961 said:
I get "Unknown file" when I try to open the .ext4 file. How do I fix this?
Click to expand...
Click to collapse
Me too.
I can See the files, But cannot do anything else
h311sdr0id said:
Download NOW from SourceForge!!
VIEW YOUR SYSTEM.IMG (HAVEN'T TESTED OTHERS) FROM YOUR ODIN DUMPS IMG'S FROM THE TUTORIAL:
"[GUIDE][HOW-TO]Create custom ODIN packages"
VIEW THE IMG FILES AND THEN SAVE THEM AS EXT4!!!
VIEW XML (NICELY)
HEX TOO!!
For WINDOWS!!!​
UNPACK folders to any place in Windows:​
(ie: look at your system.img in this tool, then select the folder you want to have in Windows, right-click on it, and click "extract", and then choose where in your Windows Directory where you want it saved.)
"I had not tried it with anything but the System.img. But if you right-click on ANY folder in the tool, you can extract it (save a copy in windows) to anywhere. And it's totally readable. You can also extract the apk's, etc, etc.."​
PERFECT TOOL. EASY TO USE. I FOUND IT WHILE BROWSING SOURCEFORGE AND NOBODY HAD DOWNLOADED IT YET.​
DOWNLOAD HERE​​
PHOTO SOURCE: SourceForge.net (they were better than my screenshots)
THIS TOOL WAS NOT MADE BY ME. NOR DID I HAVE ANYTHING TO DO WITH IT OTHER THAN THE FACT I FOUND IT WHILE WHILE BROWSING...​
Click to expand...
Click to collapse
I can view the files inside the folder. But cannot do anything. It is shown in a dialogue window. When open it says, unknown file. Can anyone help to extract an apk from the list??
Thanks! Works great.
Hi.. I saw your tutorial.. I tried to extract system.sin from my Stock ROM of Xperia S.. And when i did, i got to extract it in "ext4" format instead of what other tutorials showed me as "yaffs2" format.. Well, i googled about how to extract ext4 format files and found your tutorial.. I happened to find only app and bin folders as in the SS i have given you and even when i try to extract those folders i am unable to.. I see the error i have given you in 2nd SS.. And i couldn't even exit the application.. Can you help?
sudhindrakv said:
Hi.. I saw your tutorial.. I tried to extract system.sin from my Stock ROM of Xperia S.. And when i did, i got to extract it in "ext4" format instead of what other tutorials showed me as "yaffs2" format.. Well, i googled about how to extract ext4 format files and found your tutorial.. I happened to find only app and bin folders as in the SS i have given you and even when i try to extract those folders i am unable to.. I see the error i have given you in 2nd SS.. And i couldn't even exit the application.. Can you help?
Click to expand...
Click to collapse
i get unknown file formay when i try to open a system.img file. or pretty much any file .it seems
I downloaded the ext4 unapcker v. 16.10.2013 (R2) archive.
The file inside are quite old (April and August 2013) and didn't include latest changes (italian translation and tips for translation).
Please update the files in the distriibution archive.
Could add simple text file for documentation
*** README.TXT
- Info about command line parameters
- How to change GUi language
- How to create a new language
*** CHANGELOG.TXT
- Small info about changelog in different releases
If I can help you I can post a sample for two files.
Hi.
There some serious bugs in this util.
1. Didn't extract all files (compared with other similar utils)
I checked that utils didn't extract all files (compared with other utils).
I made a comparison between the file/folders extracted from saprse file iamge (ex. Android systm.img of some smartphones) by this util and Total commander Diskinternal Total Commander Plugin)
EXT4 unapcker extract a lot of file less than Total Comamnder with DiskInternal plugin (about 300 Mb elss).
2. File extracted dind't maintain original date/time
Opening a system.img file and extracting the files inside, the extracted files/folders have today date/time instead original date/time.
Please mantain original date/time for the file extracted.
3. Comamnd line use - it crashed
Using command line for EXT4 unpacker it crashed
The error is
Extracting \system\xbin\Base64
Exception EListError in module ext4_unpacker.exe at 00019E8A
List index out of bounds (0).
Is it a really living project?
No one answer.
The autho din't reply since first day of novembrer.
There are some critical issues.
The file into sourceforge repository are wrong.
Very interesting project but (probably) dead.
The idea is good, but..
From time to time i need to unpack system images for android. It happens. the latest models have HUGE images ~2Gb+
But unfortunately, the program designed to load data to RAM, wich makes problems for 32 bit applications to work with huge images.
Actully, EXT4 partitions may be unpacked in many ways (WinHex can do it easy), but we have here some-kind of compressed images wich have to be uncompressed before we can read it with any 3rd party tool.
According to the SF sources i made a small tool for this purpose.May be it will help to someone
BR
@darkmen
jb.ext4 comamnd
Could you customize the app with more option like
/nodetail to avoid showing the progress
add an option to specify the output file name, ex
jb.ext4 system.img newsystem.img
Should be possible to make a similar command to extract all ffles/folder by system.img?
Or should be possible to use unyaffs command?
Thanks.
I believe that we can close this thread!
The program was very interesting but had some bug and from November the author didn't replay on Sourceforge.
Thanks.
bovirus said:
@darkmen
jb.ext4 comamnd
Could you customize the app with more option like
/nodetail to avoid showing the progress
add an option to specify the output file name, ex
jb.ext4 system.img newsystem.img
Thanks.
Click to expand...
Click to collapse
Hi, source is attached, so its very easy to modify.
Updated the download URL with these fixes.
Many thanks darkmen.
If I will have some improvement proposals I hope that you can help me to implement it.
Which language do you sue for this program?
Which resources/program are needded to compile it?
Thanks. Bye.
bovirus said:
Many thanks darkmen.
If I will have some improvement proposals I hope that you can help me to implement it.
Which language do you sue for this program?
Which resources/program are needded to compile it?
Thanks. Bye.
Click to expand...
Click to collapse
Just open zip and you will see (delphi).

[HOWTO] NEWB GUIDE w/pics TO CHECK MD5

For Newbs On Howto Check If They Have A Good Download By Checking The Md5 Checksum For A File.
Before Installing/flashing Files To Your Phone Its Good Practice To Check A Files Intergity After A Download Or Better Yet On Your Sdcard After Copying It From Your Computer.
For Now This Guide Is Using Your Computer To Check The Files Integrity But Later I'll Add A Howto By Using The Phone, But No Eta On That As This Method Will Check The Files Intergity While On Your Sdcard.
The Example Im Using Is twrp 2.6.0.0 Tar file From Devhost.
Devhost Posts The Md5 Checksum For All Downloads.
If Theres Is A Sha-1 Checksum(usually Used For Very Large Files) Use That Also If Site Provides It, Devhost Does Not.
On Your Computer Download And Open The md5/sha-1 Utility, It Will Look Like Pic Below.
Click On Browse And Locate The File You Want To Check.
I Highly Recommend That You Copy The File(file Being The One You Want To Check With The Md5 Utility) To Your Phones Sdcard(s) And Browse To That Scdard With The Md5 Utilty, Although On Bigger Files It Might Take Longer To Hash Out The Checksums Because Its On The Sdcard.
The Utility Will Then Spit Out A Md5 And Sha-1 Checksum Number.
You Cannot Repair A File W/a Bad Md5 And/or Sha-1 Checksum.
If It Fails The Md5 Checksum Redownload The File And Test The Md5 Again.
Still Failed, Try Another Browser And/or Theres A Problem With The Server, Try Again Later.
Still Failed, Check The Md5 On The Computer First If Its Good Then Copy It To Your Internal And External Sdcard And Test The Md5 On The Cards And If It Fails On Either Sdcard Then Maybe One Of Your Card Is Going Bad, Copy Its Contents To Your Computer And Format(Fat32) The Card And Try The Procedure Again.
Use The Card That Had A Md5 Match.
If The Md5 Fails On Both Sdards Then It Could Be A Bad Cable And/or Port, Very Unlikely That Both Cards Are Bad But Copy Their Contents To Your Computer And Format(Fat32) Them And Try The Procedure Again.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TWRP 2.6.0.0 TAR FILE FROM DEVHOST.
UPPER/LOWER CASE DOES NOT MATTER
AS YOU CAN SEE THE MD5 CHECKSUM WAS A MATCH.
NOW YOU CAN PROCEED TO FLASH THE FILE
and what to do if they dont match ? also if i cant get the md5 when down loadin ? when i load a rom it show its md5 can i copy then hit paste on the right ? will this fix the (rom) md5 cksum to be used ?
mrdead72 said:
and what to do if they dont match ? also if i cant get the md5 when down loadin ? when i load a rom it show its md5 can i copy then hit paste on the right ? will this fix the (rom) md5 cksum to be used ?
Click to expand...
Click to collapse
If the md5 didn't match re-download it. And no you can't fix it
i never thought of explaining about a failed md5 checksum test as i thought it would be obvious as what todo about it, i edited the op w/more info if the md5 did fail
thanks guys just find it weird i cant flash a couple of roms one even has the correct md5 but im still working on it. thanks i never really understood the md5 thing. on another note if the rom comes with a md5 file do i add it to the sdcard ? could this be the reason it wont flash this is on one rom not the case on another one im trying.
mrdead72 said:
thanks guys just find it weird i cant flash a couple of roms one even has the correct md5 but im still working on it. thanks i never really understood the md5 thing. on another note if the rom comes with a md5 file do i add it to the sdcard ? could this be the reason it wont flash this is on one rom not the case on another one im trying.
Click to expand...
Click to collapse
No
Sent from my HTC One using Tapatalk
Applications that are really useful for noobs. Thanks dev. :good:
Sorry I've run out of quota thanks button, currently. Once again I apologize. :angel:

[Tutorial] How to remove any Ads on any apk without root

Hello,
Today I want to share with you a method to remove any ads from an apk that should work on any Android version without root permissions.
You will need a minimum level of skills to understand the method and a computer (needed to edit the apk).
Obtain the apk
When you install an application, its apk will be placed in /data/app directory. However, you need a rooted phone to access that directory. Luckily, often there is a pre-installed system application to backup your apps (on Huawei there is Huawei Backup) that can access that folder. Thus, you don't need root permissions. You can use this backup pre-installed app to save your apk on the sd and transfer it on your computer.
Edit the apk and re-install it
I'm assuming that you're on Linux, but the same can be done with Windows or Mac. Continue with the following steps:
An apk is just a zip file, thus extract it in a folder. On Linux:
Code:
$ unzip com.example.apk
Now, try to look at the strings, regarding ads, in plain text inside the file classes.dex (you don't need to extract it). For example:
Code:
$ strings classes.dex | grep "ads"
Keep note about all the ads urls contained in classes.dex (e.g. googleads.g.doubleclick.net)
Use an hex editor as GHex or Bless to replace these ads urls with invalid urls (I suggest to use the same length). So, for example, you can transform: googleads.g.doubleclick.net into foobarfoo.b.arfoobarfoo.bar.
Save overwriting the original classes.dex and zip all the files into a new apk (e.g. com.example_noads.apk)
Sign the new apk. The process is easier using some tools (look for apk signer on google, there are one click tools).
Transfer the new apk on your phone and install it (the phone should ask if you want to upgrade your app, say yes).
In this way, the application should work as always, but it will try to load the ads from invalid urls. Thus, it should not display any ads.
Note: I've tested this method and it works, however it's possible that some applications are encrypted thus there aren't plain text ads urls.
EDIT: I added a new step where you must sign the new apk. In fact, this is the rule. However, when I wrote this post I didn't talk about that, because in my case I found an application that I succesfully re-installed without re-sign the apk (bug? hash collision? I still don't know).
Application implementing this method available: Purify
I developed an application to do all this process directly and automatically on your phone!
The application is still unmature, consider it a proof of concept. It will remove only google ads for the moment.
Click here to see the source code on GitHub
If you want to try the compiled apk:
Note: This is the first pre-release, keep in mind that it is just an example of implementation. Some purified applications could crash, for example because they don't handle the wrong urls or for other reasons. However, I tested it on some apps and it seems to work. Unpacking, editing and re-packing the apk can require few minutes. Please read further details on the github page linked above.
Hey there, thank you very much, I used Purify on android 8.0 and works great. It didn't sign my apk but I signed it from the pc and it installed and worked correctly without ads. Great!
Edit: Zipsigner isn't on the play store any more but I downloaded and installed the apk from apkpure and it signs it but doesn't do it well because it doesn't let me install it after that no matter what kind of sign type do I use. So I sign it from the pc using "signapk"
Nice app.....now a days ads from other sources are increasing such as facebook.ads, mobileads, inmobi,etc.....to my knowledge, manifest.xml contains every ad activity, service, receiver etc.....is it possible to add an interface to selectively remove those....so that i can remove any ad from any app.......by the way....thanks for your work?
I could call this "Unlucky Patcher". It broke all apps I applied on.
thank you for sharing. i hope you can revive this with some updates. would like to download the apk in github releases too.
Is it still working because I have tried on latest android version where I followed the below step and I got the error as "There was a parsing issue with the package".
1. Downloaded APK file and renamed it's extension from .apk to .zip.
2.Extracted the files in one folder and edited classes.dex file using HxD editor and searched for "https://googleads.g.doubleclick.net" and replaced with "https://foobarfoo.b.arfoobarfoo.bar".
3. Later I zipped back and renamed the file from .zip to .apk.
4. Generated keystore using jdk keytool and signed with jarsigner. for more information(https://stackoverflow.com/questions/4853011/how-to-sign-an-android-apk-file)
5. Did Zipalign using the above mentioned link and transferred file to my Android 10 OS .
Can anybody help if there is any problem with app signing or compressing the files. thanks
Nrin said:
Application implementing this method available: Purify
I developed an application to do all this process directly and automatically on your phone!
The application is still unmature, consider it a proof of concept. It will remove only google ads for the moment.
Click here to see the source code on GitHub
If you want to try the compiled apk:
Note: This is the first pre-release, keep in mind that it is just an example of implementation. Some purified applications could crash, for example because they don't handle the wrong urls or for other reasons. However, I tested it on some apps and it seems to work. Unpacking, editing and re-packing the apk can require few minutes. Please read further details on the github page linked above.
Click to expand...
Click to collapse
I did all as you said and I have apk
icallscreen_82_9601261.apk-purified.apk
bat I can't install it?!?!
Interesting,didn't know about this
removing ads is one thing, but what about fignerpritning & anayltics?
Hello, im looking for an app that can remove all kind of ads in apk other than google, like ads shown by modders in the aps. will attach a screenshot which shows an ad from modder for one app in first thing after installing the app and opening it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
the generated apk fails to install on miui 12
ON MIUI 13 Lucky patcher 10.2.6 works perfectly
pankajk said:
Is it still working because I have tried on latest android version where I followed the below step and I got the error as "There was a parsing issue with the package".
1. Downloaded APK file and renamed it's extension from .apk to .zip.
2.Extracted the files in one folder and edited classes.dex file using HxD editor and searched for "https://googleads.g.doubleclick.net" and replaced with "https://foobarfoo.b.arfoobarfoo.bar".
3. Later I zipped back and renamed the file from .zip to .apk.
4. Generated keystore using jdk keytool and signed with jarsigner. for more information(https://stackoverflow.com/questions/4853011/how-to-sign-an-android-apk-file)
5. Did Zipalign using the above mentioned link and transferred file to my Android 10 OS .
Can anybody help if there is any problem with app signing or compressing the files. thanks
Click to expand...
Click to collapse
aye bro did you find the solution?
hey I tried everything but unfortunately without success the ads stay unfortunately! Unfortunately the sylkat apache is not available for purchase without ads! tried everything! can someone help me please! have a good app for signing too ! Thanks
I have Android 10 and Android with root on the Nintendo Switch
This No Work with my Apps
googleads.g.doubleclick.net into foobarfoo.b.arfoobarfoo.bar
Thanks
I remove the ads ! Happy ! Remove ads in Apache sylkat and mobile telnet ! With lucky Patcher

Categories

Resources