1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Tutorial How to fix md5 mismatch error occurring while restoring the rom

Discussion in 'Android Firmware & ROMs' started by Jerbhadz, Jan 19, 2015.

  1. The main advantage of Android operating system is that it is highly customizable. When you have a Android phone, there are number of possible things you can do. One of such things is installing custom ROMs. But custom ROMs are experimental things and you cannot have guarantee of smooth working before installing them. So we always suggest that you should take a full backup of your current ROM or firmware. Custom recoveries give you that facility of backup and restore so that you can restore it afterwards if anything goes wrong with the ROM which you are installing. You can read further on backup and restoring ROM in following article:
    Once you have taken the backup of your regular ROM or firmware, then you are free to try all the experimental ROMs and mods. But if you don’t take enough while backing up or restoring the ROM, you can have unsuccessful restore. Here are possible reasons of unsuccessful restore.
    • A bad or damaged backup
    • Problem with kernels related to mounting & un-mounting /system,/data,/cache
    • Renamed backups.
    Apart from these, if you are facing problem of md5 mismatch, don’t worry this problem can be fixed in few minutes so don’t even think of deleting that backup. Here is the simplest and quick solution to your problem. Just read the following simple steps written below.

    Disclaimer
    Before we start with the actual procedure, this is a warning to you that if anything goes wrong after you follow the steps written below, I am not responsible for any loss. Any damaged caused is solely your responsibility so make sure you are confident enough before beginning the process.

    [​IMG]


    Prerequisites
    Here are some things required before you begin with the procedure.
    • You will require a personal computer to edit the files.
    • You will also require Notepad ++. Please or Register to view links is the link from which you can download it.
    • You will require micro SD card reader to connect your memory card to your computer.
    Once you have these things, you are set to go.


    Process of fixing the MD5 Mismatch Error
    • First remove the memory card from your phone.
    • Make sure you have installed Notepad++ on your computer.
    • Connect your memory card to your phone via a memory card reader.
    • In the list of files search for the folder named clockworkmod. Your backup is stored in that folder. Double click it to open that folder.
    [​IMG]

    • In that folder further you will see a folder named backup. Open that folder.
    [​IMG]

    • The again you will see folder/s which will have date and time in their names. These are backups which you have taken. Now open the folder from which you want to make a restore.
    [​IMG]

    • In that folder, you will find a file named nandroid.md5 as shown in the image below.
    [​IMG]

    • Now right click on that file and click on the option edit with notepad++.
    [​IMG]

    • In that file, you will find some text written. Now select all the text and delete it.
    [​IMG]

    • After you delete the content in the .md5 file, click on the file option in the upper left corner and click on the save option. Image given below illustrates it.
    [​IMG]

    • Now again put the memory card in the phone and try to restore the same backup. It should work.
    That’s it. The content in the nandroid.md5 file caused the error. When Clockworkmod makes a nandroid backup, it checks against the numbers in the nandroid.md5 file. When numbers don’t match up, it causes the MD5 Mismatch error. By deleting the content in the file, you force it to skip this step.