[Tutorial] How to use Wwr MTK + SP Flash tool to backup Mediatek rom
[Tutorial] How to use Wwr MTK + SP Flash tool to backup Mediatek rom
Follow the steps below to use Wwr_MTK tool + SP flash tool to backup Mediatek firmware
See the video tutorial below or at https://youtu.be/GMAytZ56hacQuote:In this video tutorial, I'll be explaining how to backup a Mediatek Android phone's firmware using WWR_MTK tool and SP Flash tool. We already have a guide on how to dump using SP Flash tool but the advantage of this method is that you don't need to have gotten a scatter file for your exact phone model okay? Unlike in the SP Flash tool method also that it processes the raw dump into separate files boot recovery, preloader and the rest for you. You also need to have installed your VCOM drivers. Very important. We have a guide on that so check it out. You need to have taken note of your phone's chipset we also have a guide on how to know your phone's chipset. Now, once you've done these, what you'll want to do is to open the wwr folder where you're going to be launching the wwr mtk exe file and then you wait for the dashboard to come up.
Once it comes up, you'll notice that its in Russian so you have to change the language. What you do is click on the tab here, click on Language and then you click on English. You close the tool then you relaunch it. When it relaunches this time around, its going to be in English then we can proceed. I'll resize this ahead of other stuff I'll be doing. Now, what you'll want to do is to select your phone's chipset . We have a guide on how to know your phone's chipset so check it out. [Selecting my phone's chipset] . Then your memory type. emmc or nand. Usually it'll be emmc but you can do some research on your phone's specs then you click on Create and save as.. Now, this is going to create a temporary scatter file. Navigate to the location where you want to save your scatter file and click on Save. That's going to create a temporary scatter file.
You can navigate to the location of the scatter file and then I'll open using Notepad++ so you can see what it looks like. Its just a temporary scatter file, its not a full scatter file like you're probably used to. The goal is just to extract certain values. Alright! So we have this scatter file here and we're going to be using some values from the scatter file okay? Let's minimize that. Now, we'll launch SP Flash tool. We're going to be doing a readback of preloder.bin. Okay? What we want to do right now is to backup preloader.bin using the values from the scatter file Just click on OK, this is nothing to worry about. So click on Choose. We're going to be loading the scatter file which wwr just created [selecting my scatter file]. Select the scatter file and click on Open.
That's going to load just one entry in SP Flash tool. So you go to the readback tab we're going to be reading back the preloader in two steps; first, readback ROM_0 then process ROM_0 OK? So you click on Add, that is going to add this row then you double-click this row. A Window will popup. Now, in this Window that pops up, you navigate to where you want to save the ROM_0 file you leave it named as ROM_0 (don't change the file name) then click on Save. In this Windows that pops up under region, you select EMMC_BOOT_1. Under Start Address, just 0x0 (that's the default Start Address. Now, under Length, you go to your scatter file. Under partition_size, you copy the value you have there then paste it under Length and you click on OK.
You're going to readback the raw preloader.bin as ROM_0. Click on Readback. Now, power off the phone, still with battery (in), don't hold any button then you connect it to the PC via USB cord. SP Flash tool should detect your phone if you have VCOM drivers installed and then you should have the bars loading any minute now. We have a red loading bar Alright! green OK so you can close this. Now, navigate to the location where you saved the ROM_0 file this is the raw preloader file. You still have to process it to preloader.bin [locating my ROM_0] using wwr to get my raw preloader.bin. [minimizing notepad++] Go to wwr. In wwr, you click on Select File at the top right corner. A window will popup. Now in this Window, select the ROM_0 and click on Open. Once the tool has loaded it, you go to the preloader tab then click on Preloader analysis (top left) that's going to analyze the preloader.
Now, once you have these details displayed click on To extract preloader and save as... Just rename this file to preloader. It already has an extension as .bin then you click on Save. That's going to save a file called preloader.bin to the same folder as my ROM_0. So I have my preloader.bin. What I've just done is to process my raw ROM_0 to preloader.bin. Now, I can go ahead. The next step is to do a RAM (memory) test using this preloader.bin in SP Flash tool. The goal of the RAM test is to get the Start Address and Length for my full romdump. Before you do that, you need to go to Download. I need too reload the scatter file so that it can detect the preloader because preloader is required for the RAM test. So I'll click on Choose again, select the scatter file and this is going to be ticked automatically.
Now, under Memory Test, you untick everything but leave RAM Test ticked and click on Start. Don't forget to reload your scatter file so that preloader will be ticked under Download. Now, once you've clicked on Start, What you'll want to do is to power off the phone, still with battery in, you connect it to the PC via a USB cord and..[error message] I think I'll have to repeat the process. I'll pause here to quickly reload the scatter file. I'll reconnect and wait for a detection. Alright! Great! I can close this. So this is the info I really need for my memory test. [scrolling] Under EMMC_PART_USER, you need to copy the value of size. That's the last thing you have there. Then maybe open notepad and you save the value there. We're going to be using this value as our Length for the full romdump okay? We're going to dump the entire rom. Now, we go back to SP Flash tool,go to the Reaadback tab. You can remove that entry then click on Add again then double-click then new entry
We're going to be going through the process all over but using different values.So this, you can name ROM_2 . Now, look at this (Lenght) value. You know you have several 0s before the first non-zero which is 3. So I just cut off all the 0s before the first non-zero digit (which is 3 in my case) and copy the reset I have. For start, I put 0x0. For Length, I just paste what I have from notepad and click on OK. So I can click Readback. You power off the phone, still with battery in, then connect to PC (no buttons held). This is the full dump. We're backing up the phone's entire partitions so this is going to take a while. but don't interrupt the process because if you do, the phone will go dead and you'll have to keep charging to get it to come back up. I have 1%. I'm going to just pause till this gets to like 99%. Alright! Great! 99% and we're almost done. Once this is done, what we're going to have is the ROM_2 file which is a full raw dump. [Green OK] So you close it.
So we have a full dump which is in its raw state (ROM_2). Now, we need to process this raw dump to get the component files like recovery, preloader and the rest.To do this, we go back to our wwr tool Auto mode tab. I'll just re-select my chipset. Click on Select File. In this Window that pops up, you select the ROM_2 file which is the raw (complete) dump. Now, this shows all the partitions which are contained in the dump I just made. This popup says you have to select your preloader.bin, click on OK. Select the preloader.bin then click Open. [processing]. Its not backing up yet. Under the scatter tab, select the partitions you want to backup I'll slide this way (right) so you have a list of all the partitions. Lets say I want to add NVRAM to the list. You'll see that NVRAM is (set to) false. To change it to true, double-click it. When you change from false to true that means its going to be contained in the processed backup (final rom).
Back to the Auto mode, I'm going to give a Go Ahead by clicking this button at the bottom which is To build the firmware.. In this Windows, select the folder where you want to save the processed files. then click on Save. I'll advise you create a new folder and then you select that folder. And sit back while the tool processes the raw file into component files. This is going to take a while so just be patient, don't interrupt the process. I'll pause (recording) here and resume when its almost done. Alright! Great! So we have a Done message. I can now go to the folder which I'd selected. Here, I have all the component files. I should have created a new folder and selected that. I have it dumped in the same location where I have my ROM_0 and the rest. So you can clean up, maybe by deleting some files you don't need like my ROM_0 and ROM_2, I don't need them anymore.
I should have created a new folder to process these. I have 2 scatter files. You can delete the temporary one. So that's basically how to dump a Mediatek Android phone's firmware using Wwr MTK & SP flash tool
(09-02-2018, 05:51 AM)kaew158 Please share some software to backup Qualcomm (msm8952) chipset 's firmware.
(14-02-2018, 10:20 PM)ColinB @Hovatek
This is such a poor video you produce for this mans work.
Please do again
(21-02-2018, 04:15 PM)davek17 Hey nice tool, I will definitely be trying this. Does it work or does anyone have any success stories with later MTK chipsets and OS's like MT 6737, mt8537 etc and Nougat?
(30-03-2018, 07:13 PM)deb80 Hello.
The MMTK Droid Tool does not seem to work on my phone as i am trying to dump my firmware. I could not get/see the "block" button as i try to edit via notepad.
My phone model is: Infinix Note 4 X572 (Oreo 8.1.0 updated) Build: H5312CE-O-180203V55 (chipset): MT6753 (aarch64) Kernel: 3.18.79+ SDK27
Please help me
(30-03-2018, 07:13 PM)deb80 Hello.
The MMTK Droid Tool does not seem to work on my phone as i am trying to dump my firmware. I could not get/see the "block" button as i try to edit via notepad.
My phone model is: Infinix Note 4 X572 (Oreo 8.1.0 updated) Build: H5312CE-O-180203V55 (chipset): MT6753 (aarch64) Kernel: 3.18.79+ SDK27
Please help me