58




Can't get stock Boot and Recovery image for your MediaTek android device?



Optimizing your android device takes a risk which either may improve your device a lot more or either make it perform worst. Now, most of the android users who encounter problems with their android device have difficulty to fix it. Why? Most beginners on android tweaking has the lack of knowledge on the proper way to backup their android devices' software, so whenever they encounter such issues to their device, they have the hard time looking of for a resolution especially if their device doesn't have much developers.

stock boot recovery image
Good news for MediaTek android users because this article will provide you the way how to solve your problems with your android devices' Stock Boot.img and Recovery image which you could use if something bad might happen, and you can use it to create a CWM recovery to do flashing stuffs and do full ROM backup.

You can create / make your own stock boot.img and recovery.img for your MTK android device and use it as backup!


Yes, you don't have to depend for others or ask for them how to make one 'cause you can create your own stock boot.img and recovery.img for your MediaTek (MTK) devices by just following this long but simple steps that I will provide you.

Usually, you can't access the root system without Superuser rights that is why I made this article to help you with that.


How to get Stock Boot and Recovery image for any MediaTek device without root using SP Flash Tool and MTK Droid Tool



Will work any MediaTek device such as:

MT6595, MT6592, MT6589, MT6582, MT6577, MT6575, MT6572, MT65xx

Requirements and Downloads:
Instructions:

Let us prepare for our tools first (that you have downloaded above). Install MTK USB Driveryou have to install all drivers included there, also, extract MTK Droid Root and Tools, SP Flash Tool to any location you are comfortable. 
Make sure that you have made the Scatter File for your device (create your own using the link from the requirements above)

scatter file

Connect your android device to your Windows computer, make sure you have installed properly all the drivers from MTK USB Drivers to avoid interruptions during this process. From your device, you must also enable USB Debugging on your device Settings -- Developer options, now your device must be auto-detected by your computer, if not, please properly install the USB drivers. It is also better if you set your android device to Airplane Mode.

Run SP Flash Tool.exe as administrator (right-click on it). After opening, click Scatter-loading.
sp flash tool

Locate the scatter file of your android device. In my case, I have MT6577 from MyPhone a848i. Open and load the scatter file of your android device to the SP Flash Tool.

mt6577 scatter file

It will look like the image below. Now, click Read Back tab.

smart phone flash tool

From Read Back tab, click ADD twice so that we can add two tasks. Why? One is for getting the boot.img and the second one is for recovery.img. We can use them as stock backups and we can also use it as a basis for flashing CWM custom recovery and making a full ROM backup or dump.

spf tool

Now, we will start the process. Let's start with the boot.img, double-click the first N/A.
boot image

A new window will appear asking to save the file. Name it as boot.img then click Save it to where you want to put the stock boot.img.

stock boot image

This is the most crucial part. You must enter the proper hex valuse for the Start Address and the Length for the boot image or else all you have done will not work. 

flash boot image


To find out what to enter on the Start Address, first, find the scatter file that you have created before and edit/open it using Notepad ++ editor. Enter the hex code of BOOTIMG, in my case, my hex code is 0xf88000.

boot.img

To find out what to enter on Length, connect your device to your computer via USB cable, make sure to enable USB Debugging from your device, then open MTK Droid Tools.exe on your computer and wait until your device was detected. From MTK Droid Tools, click Block Map.

Find the row for bootimg and you'll notice that it has the same start address "0000F88000" from what we have from the scatter file above "0xf8800" (you'll see that the first 4 zeroes are replaced by "0x"). 

Now to get the Length, length is equal to the Size but what we will enter is the significant digits only. In my case, since the size is 0000600000, the significant digit is 600000 and we have to replace the first 4 zeroes with "0x", so what we will enter in the Length from the SP Flash Tool is 0x600000

block info

Now, in my case, it will look like this:

flash boot.img

Make sure that the Start Address and Length has the same count or number of characters, otherwise, add a zero. For example you have a start address of 0x1234567 and you have a length of 0x123456, since they are not the same in count, you have to add zero on the length, so the length now will be 0x0123456. We have to add zero just in order to have the same character count.

If you are done getting the hex values, press OK.

Setting for boot.img is done, next will be for the recovery.img.
Double click on the second N/A, name it as recovery.img and save it to where you want to store the stock recovery.

recovery.img

Again, we have to enter the proper hex values for Start Address and Length.
flash recovery

You have to open again the Scatter file of your device and load your device from MTK Droid Tools to check the block map just like what we did on the boot.img.

recovery image

In my case, my recovery has a Start Address 0x1588000 as you can see from the notepad, and I have the size of 000060000 from the block info, we will replace the first four zeroes with "0x" to get the Length, so my Length will be 0x600000.

Since you have got the values, you have to enter it on the SP Flash Tool then press OK. Refer to the image below:

sp flash recovery

Now it is all set upped, you can see the locations where your boot and recovery image will be stored after we do the process. 

Unplug the USB cable from your device and turn off your android device (you can do proper shutdown or remove the battery). When your phone is already turned off, press the Read back button from SP Flash Tool and immediately plug-in your phone with USB Cable.

boot recovery image

Wait for 3-5 seconds and SP Flash Tool will detect your android device and it will load and create the stock boot and recovery image for your device. An OK alert message with a green circle will popup when the process is successful.

Navigate to the location where you have set the files to be store. In my case, you can see below that I have done it well. The boot image and the recovery image has the same file size.

boot.img recovery.img

Why they have the same file size? Let's check the block info from the MTK Droid Tools.
boot recovery size

As you can see, both boot and recovery image has the same file size around 6mb therefore our file is correct.

We are now done from creating Stock images and we can use it to create a ClockworkMod (CWM) recovery and do full Stock ROM backup.

Post a Comment

  1. Good Day Sir Princeton!

    You mention earlier before you proceed to the tutorial regarding without root. I made a scatter file through a rooted Rio. Now I read this article, is there a problem if I use this tutorial to a rooted Rio? Or should I unroot first my device then make scatter file then use this tutorial?

    ReplyDelete
    Replies
    1. hi, this method is awesome 'cause it doesn't matter if your device was already rooted or not, I've done this method with my rooted and unrooted android devices and successfully done without any trouble.

      Since your device was already rooted, I think it is a better choice to flash directly CWM recovery using my previous article Flash ClockworkMod Recovery on Any MediaTek Android Device

      You can still do this method if you want to backup your stock boot image and recovery and also to get a backup CWM recovery :D

      it's great isn't it? (o)

      Delete
    2. Good Day Sir Princeton!

      I highly appreciated the effort you made making these articles! Yes it's great - really great! BTW, thanks for the clarification. I just wanted to make a full stock ROM backup. However, I just don't know if the backup stock rom can still receive an OTA update (I just remembered my samsung though I flash it with stock rom, it won't accept anymore an update from KIES / OTA).

      Ok I will follow these steps.

      Delete
    3. It will be my pleasure.

      My next article will be backing up the full stock ROM that could even revive bricked android devices. Wait for my next update :D

      Regarding with the OTA, I will also create a separate article for that so you can do OTA updates whenever you like but I will be writing for the Stock ROM first which is more important.

      Delete
    4. Noted Sir Princeton.

      I just have to wait for your article on full stock ROM backup in order for me to understand thoroughly.

      Delete
    5. Good Day Sir Princeton!

      I successfully made a stock/recovery image backup. Thank you for your TUT.

      Delete
  2. Good day sir princeton. kudos to you for all your efforts and good work in enlightening us (the greenhorns). i love your blog. Love the simple ways the tutorials are explained with picx. please i jst bought a new Pipo T9 Android 4.2.2 8.9" octacore 2G RAM 32G ROM GPU Mali 450. i tried to create the stock boot/recovery image using your guide as explained above. However i get my hex length in alphabet instead of numeral as u said. i will try and post a picx of it. please i need ur help as i am confused. I couldnt create the stock images.

    ReplyDelete
  3. i dont knw how to send and attached image like you did above but this is a part of the copy of the scatter txt file file i created using ur tutorial guide. pls pardon me if its against ur blog rules. i really need ur help and advice on the way out PLEASE. thanks in anticipation.

    partition_index: SYS9
    partition_name: BOOTIMG
    file_name: boot.img
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0x1DA0000
    physical_start_addr: 0x1DA0000
    partition_size: 0xA00000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

    - partition_index: SYS10
    partition_name: RECOVERY
    file_name: recovery.img
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0x27A0000
    physical_start_addr: 0x27A0000
    partition_size: 0xA00000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

    ReplyDelete
    Replies
    1. please capture the pics and upload them on imageshack or similar sites and comment here the link so I can find out what supposed to be the problem. also capture the scatter file, the hex value you entered, the status and the errors.. or you can record and upload it.

      Delete
    2. what to do next after the green circle and how to install the recovery what we have made

      Delete
  4. http://imageshack.com/a/img837/3615/6ri7.png
    http://imageshack.com/a/img837/175/r7ri.png

    ReplyDelete
  5. http://imageshack.com/a/img843/9489/2jpy.png
    http://imageshack.com/a/img820/7816/zzoi.png
    http://imageshack.com/a/img850/4107/8dft.png

    ReplyDelete
  6. http://imageshack.com/a/img850/4107/8dft.png
    http://imageshack.com/a/img820/7816/zzoi.png
    http://imageshack.com/a/img843/9489/2jpy.png
    http://imageshack.com/a/img841/8341/yqcy.png
    http://imageshack.com/a/img843/583/k5bu.png
    http://imageshack.com/a/img834/8541/6hvt.png
    http://imageshack.com/a/img837/1701/jk52.png
    http://imageshack.com/a/img853/5115/lze0.png
    http://imageshack.com/a/img850/6/ychn.png
    http://imageshack.com/a/img842/5386/k3zq.png
    http://imageshack.com/a/img837/175/r7ri.png
    http://imageshack.com/a/img837/3615/6ri7.png

    ReplyDelete
    Replies
    1. You're using the latest version of SP Flash Tool? Please try to use the recommended version and try again. Also make sure to install properly the drivers, let the app finish the installation of the drivers (this is where the common problems occur. If it did not work, upload your scatter file and leave the link here. I'll try to help you.

      Delete
    2. for the LENGTH hex value, base it from MTK Droid Tools.

      Delete
  7. those are the step by step images of the process i went thru in creating the stock backup /recovery.
    After i click readback and connect back my tablet nothing happens. i also installed pdanet.my win7 laptop recognises my tab automaticaly when connected however occassionally it gives me the error msg that usb device drivers not recognised/installed properly. could it b d reason?
    P.S. the mtk usb drivers i downloaded from the link you provided. How am i to install them cos i couldnt locate any .exe files therein. thanks. earnestly awaiting your response and help.

    ReplyDelete
  8. i just confirmed that i installed the mtk usb drivers correctly. it is listed as being up to date in the system device manager.

    ReplyDelete
  9. Hi, thanks for the tutorial.

    I have followed it up to the point where I need to power off my device and plug it in immediately after clicking "Read Back". The problem is that when I do this, nothing happens. SPFlash Tool does not detect my device and stays at 0B/s while my device is off and plugged in. What may be the issue here?

    ReplyDelete
    Replies
    1. experienced thesame problem with my pipo T9 tab. after clicking read back and re-connecting my phone, nothing happens. Eventually i have no choice but to terminate the process and unlpug the phone. awaiting some feedback from sir princeton

      Delete
    2. Have you tried the recommended MTK drivers? http://d-h.st/D0y
      Install it properly and make sure to run it as administrator. ADB driver and Preloader are different. Also, try to enable the USB debugging on Settings > Developer option before turning OFF your phone.

      Delete
  10. Good day> tnx for the feed back. I have installed the preloader properly. I now get the following error message when i reconnect my tab.
    )
    06/19/2014 10:16:17.168 FlashTool[5128][172][DEBUG]: ERROR: OperationIndicator::QueryDADLHint(): da_dl_type(??) error, could not find DA download hint!(.\OperationIndicator.cpp,98)

    i will try to send u d sp flash tool log of my attempts and also my scatter file. Thanks

    ReplyDelete
  11. https://www.dropbox.com/s/at5vmhyntq5ctt2/MT6592_Android_scatter.txt

    https://www.dropbox.com/s/8a3823efvwtovh6/SP_FLASH_TOOL.log?m=

    https://www.dropbox.com/s/g3f2y32dxa3nqzt/SP_META_DLL.log?m=

    https://www.dropbox.com/s/cuuhp6wgzqr1py6/META_DLL.log?m=

    https://www.dropbox.com/s/82bdgad02jae3b3/EBOOT_DLL.log?m=

    https://www.dropbox.com/s/ngm5zuqa9p42xwf/BROM_DLL_V5.log?m=

    This are links to download my tabs scatter file and the sp flash tool logs

    ReplyDelete
  12. I have installed the mtk usb drivers and also i used the recommended version of the flash tool. I followed your tutorial strictly. Please kindly look into it and help me out. wouldnt wnt to start tweaking and modding my tab without the stock boot and recovery. I do not know anyone elso who has such a tab. I just ordered it in from china. Thanks for your help. More grease to ur elbows. Awaiting your response please. Have a nice day ahead.

    ReplyDelete
  13. I can't really trace what supposed to be the problem. but, can you try my alternative method Backup ROM including recovery.img and boot.img

    ReplyDelete
  14. I also had the issue of Readback not starting when plugging in. I had Win 8.1 X64 and PdaNet Drivers installed. So I switched to a Win7 X64 PC and opened its device manager. When plugging in the phone while it's running, there will be a driverless device left (the one with the yellow exclamation mark). So you manually install that driver by selecting the Driver_Auto_Installer_v1.1236.00 folder you can find on the net. Next step is to plug the usb cable into the turned-off-phone. Another device will appear. You have to be fast to select it, because it will disappear after some seconds. But as soon as you opened its property menu to install drivers, it won't matter if the device disconnects; you can install the driver anyway. Next start will be fine and Readback worked. Tested on a DG800.

    ReplyDelete
  15. Hello sir princeton. I have eventually created the stock boot and recovery image for my pipo T9 tab using ur guide above. However I used the latest version of sp flash tool V5 becos the recommended version 3 didn't work for me. I guess its becos my tab is a new product mtk 6592. I hv also created the backup/rom dump using ur guide with mtk droid tool and sp flash tool. Thanks for ur comprehensive and easy to follow guide/tutorials. I love the simplistic ways they are laid out with picx. More grease to ur elbow. Thanks once more.

    ReplyDelete
  16. I am yet to create/ flash a cwm recovery as my tab is not supported when I tried to do it online with Rom manager. I have also successfully rooted my Pipo T9 tab using Framaroot after I created the stock backup. However my question is this: please what if I want to make use of my warranty and send the tab back to the manufacturer. Will unrooting with framaroot remove all evidence of root since rooting voids the warranty of a device. Or is there something else I hv to do. P.S. I attemted unrooting my tab but the notification that "after reboot some kernel will return back to root". Thanks in anticipation

    ReplyDelete
  17. thanks for the wonderful tutorial...
    hats off to you bro....
    i will surely try it tomorrow and hope it will work fine... good bye

    ReplyDelete
  18. Need help regarding my mt6589 device

    ReplyDelete
  19. THAnKS man its workd for me :d now I have my own stock boot.img and recovery.img of my Lenovo p780 unrooted and updated by ota android kitket 4.4.2

    BIG THANKS :) :)

    ReplyDelete
  20. Good day!! I havs alcatle idol mini and i've installed cwm recovery on it . What i want is to restore the stock recovery.img is this tutorial can do it? Thank you

    ReplyDelete
  21. recreat cwm. btt after install. when i open my phone into cwm reecovery mod, my phon screen shows not normally. it screen is type U. i cath my mobile into, U. means home button up, and reecovery option screen down. my phone symphony w130. mtk6582. plz solve ;lz

    ReplyDelete
    Replies
    1. Make sure to carefully follow the instructions. This was also tested on mtk6582 android phone like yours.

      Delete
  22. Is there a possibility that my phone will get bootloop when i did something wrong?

    ReplyDelete
  23. sir.. what's the start address code for MTK6572? because it is like this
    http://imageshack.com/i/paOs3fK7p
    thanks :)

    ReplyDelete
    Replies
    1. MTK6572 seems to be using ubifs partition. that will be difficult for you since the tool was made for ext4 partition type.

      Delete
    2. can i use this as the address of boot.img and recovery img sir?
      http://imageshack.com/a/img909/5720/hX5oLu.png

      thanks :)

      btw.. will it brick/deadboot/bootloop my phone if ever i put the wrong code?

      Delete
    3. It should not harm your device since it's like you're just copying..

      Delete
    4. oh.. thank you sir for the help. :) sir.. cherry mobile emerald and cherry mobile flarelite are both MTK6572.. Emerald has already it's CWM. but FlareLite doesn't. can i flash the recovery.img of Emerald to FlareLite since they're both MTK6572?

      Delete
    5. no... It won't work. I don't have flare lite so I can't port cwm or twrp for you guys, sorry.

      Delete
    6. This comment has been removed by the author.

      Delete
    7. i mean.. how to port? / what are the procedures needed for porting sir? can u please teach me ? :D thanks sir Princeton

      Delete
    8. last question sir.. http://androidhubportal.blogspot.com/2014/12/how-to-root-cherry-mobile-flare-lite.html
      i'm trying to root my flare lite following the instructions there.. i did all the steps correctly.. but when i'm going to the CTR (CWM) ... its just white screen.. then the logo of flarelite --> CM Logo ... then ordinary boot ... what's the problem of this sir? few users also encounter this problem.. while some doesn't :/

      Delete
  24. This comment has been removed by the author.

    ReplyDelete
  25. my device is soft briked stucked in bootlooping cause flashed wrong recovery img so sir please upload recovery.img with link here for mtk6577

    ReplyDelete
  26. Hi there,
    Firstly I would like to thank you for your time to make this tutorial
    I would like to make a stock rom (nandroid back up) of my device (MTK6589) and I have followed the steps to make the boot.img and recovery but it was not succesful because they did not appear.
    I have a question, when I make the recovery file, does it have to have the same number of digits the address and lenght?as happens with the boot.img?.
    Another thing is that when I connect the device to my PC, it installs the drivers automatically and when I try to install the one I downloaded from the link you left, I got a message telling the drivers installed are already updated, so I am not able to install yours.
    Moreover I have installed the last version of SP Flash Tool (v5.1352.01) which is different than the one you are using here
    Thank you very much for your help in advance, I will keep trying...

    ReplyDelete
  27. Hi there
    I am trying to make a nandroid backup of my device but I am not able to get it, I follow every single step of your tutorial, but the files do not appear at the end of the proccess.
    My device is a MTK6589 and it is android 4.3, I am using the most updated drivers and also I have tried with different versions of SP Flash Tools.
    Have you got any suggestion?
    Thank you very much for your tutorial and also for your help.

    ReplyDelete
  28. If it did not work for you, you can try this alternative method here:
    http://www.theandroidhow.com/2014/05/how-to-backup-restore-stock-rom-with-sp-flash.html
    however, it requires you to root your phone first.

    ReplyDelete
  29. Good day Princeton :)

    I dont know how to install the MTK usb Drivers

    this is the Mirror Link it doesnt have a install clicky

    and the Direct one

    I download a different files dunno why and I got stuck at Readback i have a mt6582

    ReplyDelete
  30. hello sir I just want to know that after flashing cwm our warranty is gone or we can get it back and does above procedure makes the backup of the locked recovery of the phone (original recovery mode)????? pls pls reply fast

    ReplyDelete
    Replies
    1. You can get back the warranty once you have restored the original/stock recovery and fully unrooted your phone.

      Delete
  31. Hello and good day Sir Princeton, I see that this tools you are using doesn't support yet devices running on Mediatek MT6752M, I have Alcatel Flash 2 (Alcatel 7049D). I just want to know if their's any other way around to achieve this with out devices?

    ReplyDelete
  32. Thank you, works for me.. Can I change the phone logo and and remove some preinstalled apps ?

    ReplyDelete
  33. What should I use, physical_start_addr or linear_start_addr? TIA.

    ReplyDelete

 
Top