Hovatek Forum MOBILE Android [Tutorial] How to Clean-up Preloader.bin Dump using SP flash tool
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


[Tutorial] How to Clean-up Preloader.bin Dump using SP flash tool

[Tutorial] How to Clean-up Preloader.bin Dump using SP flash tool

X3non
X3non
X3non
Recognized Contributor
22,062
20-12-2017, 03:02 PM
#1



In this tutorial, we'll be showing how to clean up a preloader dump file gotten from an SP flash tool readback. What you will notice after dumping preloader is that the file is usually very large, this is because SP flash tool dumps the entire partition including empty sectors. One will need to clean up the preloader dump before he / she will be able to flash it. I've attached a RAW dump and CLEAN preloader file for those who wish to practice.

Important Notice
  • A better and easier method to do will be to use the "preloader analysis" feature in WwR-MTK tool

Requirements

  • Download HXD editor
  • The preloader.bin file you got from your SP flash tool readback

How to clean-up Preloader dump created using SP flash tool readback


Follow the steps below to clean up preloader dump created using SP flash tool readback

  1. Download, install and Launch HXD

    [Image: How-to-Clean-up-Preloader.bin-Created-us...back-1.jpg]

  2. Open the preloader file using HXD (you can simply drag the preloader.bin file onto the HXD window)

    [Image: How-to-Clean-up-Preloader.bin-Created-us...back-2.jpg] 

  3. Press "control + F" to find, fill the find window with the values below then click OK
    Code:

    Search for: 4D 4D 4D 01 38
    Datatype: Hex-values
    Search direction: All

    [Image: How-to-Clean-up-Preloader.bin-Created-us...back-3.jpg]

  4. Look at the right section of HXD, highlight and delete everything above "MMM.8"

    [Image: How-to-Clean-up-Preloader.bin-Created-us...back-4.jpg]

  5. You'll get a delete confimation window, click OK

    [Image: How-to-Clean-up-Preloader.bin-Created-us...back-5.jpg]

  6. Now, search again for the hex values below (best you copy out the values in code tag below)
    Code:

    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

    [Image: How-to-Clean-up-Preloader.bin-Created-us...back-6.jpg]

  7. It will be highlighed once it has been found, simply hold down your shift key then scroll to the end of the file and click on the last item under Hex. Then press your delete button.

    [Image: How-to-Clean-up-Preloader.bin-Created-us...back-7.jpg]

  8. You'll get a delete confimation window, click OK

    [Image: How-to-Clean-up-Preloader.bin-Created-us...back-8.jpg]

  9. Save the modified file, then exit HXD

  10. The newly modified file is now your clean preloader.bin
This post was last modified: 04-10-2019, 10:55 PM by X3non.
Attached Files
.zip
CLEAN preloader.zip
Size: 71.19 KB / Downloads: 64
.zip
RAW preloader.zip
Size: 80.55 KB / Downloads: 52

Messages In This Thread
How to Clean-up Preloader.bin Dump using SP flash tool - by X3non - 20-12-2017, 03:02 PM
RE: How to Clean-up Preloader.bin Created using SP flash tool Readback - by nijazxp - 24-12-2017, 04:50 PM
RE: How to Clean-up Preloader.bin Created using SP flash tool Readback - by X3non - 26-12-2017, 02:19 PM
RE: How to Clean-up Preloader.bin Created using SP flash tool Readback - by Jimslaw - 25-12-2017, 02:46 AM
RE: How to Clean-up Preloader.bin Created using SP flash tool Readback - by nijazxp - 25-12-2017, 03:14 AM
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram