Hovatek Forum DEVELOPMENT Android [Development] How to root spreadtrum android using a miracle box (.mira) backup
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


[Development] How to root spreadtrum android using a miracle box (.mira) backup

[Development] How to root spreadtrum android using a miracle box (.mira) backup

X3non
X3non
X3non
Recognized Contributor
22,062
28-03-2019, 01:05 AM
#1



In this tutorial, i'm going to show how to root spreadtrum android using a miracle box (.mira) backup. This guide assumes that you can't get firmware in PAC format, you have managed to successfully backup firmware from your phone using miracle box and the bootloader of your phone is unlocked


Requirements



Steps on how to root spreadtrum android using a miracle box (.mira) backup


The steps below explain how to root spreadtrum android using a miracle box (.mira) backup

See the video below or @ https://youtu.be/vGvbrol6I4g

  1. Launch HXD hex editor then drag & drop your ***.mira firmware backup onto the hxd window

    [Image: How-to-root-Spreadtrum-Android-using-a-M...ckup-1.jpg]

  2. Scroll down a little and ensure that boot is above recovery and no other partitions come in between the two of them

    [Image: How-to-root-Spreadtrum-Android-using-a-M...ckup-2.jpg]

  3. Click any location within the middle section (the section with hex values) then press Ctrl + F (to open the find window)

    [Image: How-to-root-Spreadtrum-Android-using-a-M...ckup-3.jpg]

  4. Input the following hex values in the field then click OK
    Code:

    Search for: 41 4E 44 52 4F 49 44
    Datatype: Hex-values
    Search direction: forward

    [Image: How-to-root-Spreadtrum-Android-using-a-M...ckup-4.jpg]

  5. It should find the first location of the values you just searched for, simply take note of the offset (you'll need this later on as it's the start offset for boot)

    [Image: How-to-root-Spreadtrum-Android-using-a-M...ckup-5.jpg]

  6. Now click Search > Find again. It should find a second value, you'll notice the change in offset

    [Image: How-to-root-Spreadtrum-Android-using-a-M...ckup-6.jpg]

  7. Place the cursor directly in front of "41 4E 44 52 4F 49 44" , then click Edit > Select block...

    [Image: How-to-root-Spreadtrum-Android-using-a-M...ckup-7.jpg]

  8. In the select block window, fill in the values then click OK
    Code:

    Start-offset: the offset value you got in the first search (mine is 1701000)
    End-offset: the offset value you got in the second search (mine is 2401000)
    Length: leave untouched
    tick the checkbox beside Hex

    [Image: How-to-root-Spreadtrum-Android-using-a-M...ckup-8.jpg]

  9. Right click on the highlighed values then click Copy (there are three sections in hxd, take note of the section where you copied from cause you'll need to paste in the same section, notice i've copied from the 3rd section)

    [Image: How-to-root-Spreadtrum-Android-using-a-M...ckup-9.jpg]

  10. Press Ctrl + N to open a new empty file then Right click and select 'Paste insert' (notice i'm pasting in the 3rd section because i copied from the 3rd section)

    [Image: How-to-root-Spreadtrum-Android-using-a-M...kup-10.jpg]

  11. If what you pasted includes the A from the second ANDROID, you need to delete this A

    [Image: How-to-root-Spreadtrum-Android-using-a-M...kup-11.jpg]

  12. So the end looks plain like this

    [Image: How-to-root-Spreadtrum-Android-using-a-M...kup-12.jpg]

  13. Press Ctrl + S to save the file, select the location where you want to save the file then name it boot.img

    [Image: How-to-root-Spreadtrum-Android-using-a-M...kup-13.jpg]

  14. Now you've successfully extracted boot.img from within the .mira firmware backup
  15. You can now patch boot using magisk and flash patched_boot using fastboot
This post was last modified: 28-03-2019, 02:58 AM by hovatek.
clay#027
clay#027
clay#027
Junior Member
19
21-01-2020, 12:00 AM
#2
is this work in signed firmware to??
xerxes
xerxes
xerxes
Senior Member
8,355
21-01-2020, 08:34 AM
#3
(21-01-2020, 12:00 AM)clay#027 is this work in signed firmware to??

this method works with .mira backup and spreadtrum android phone only.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram