• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Get Droid Tips

Get Droid Tips

Custom ROM | CyanogenMod | Android Apps | Firmware Update | MiUi | All Stock ROM | Lineage OS |

  • Android
  • Games
  • iPhones/iPad
  • Social Media
  • Windows
  • LineageOS 17.1
  • Android 10
  • iOS 14
  • Free Among Us for PC
  • Write for US
  • Watch IPL 2020 For Free
Home Android Tips & Tricks

How to flash patched boot image on your MediaTek device using SP Flash tool

Updated on July 27, 2019 by Abd Razaaq

Advertisements

Here in this guide, we will help you to flash the magisk on any MediaTek powered device using SP Flash tool. Read our step by step guide properly! To flash you need to first create the patched boot image file for your device using Stock boot image from your respective ROM file.

Customizing an Android smartphone and performing advanced tweaks like flashing custom kernels, custom ROMs, overclocking and changing system settings is fun, but you need root access to your device to be able to do these. Well, Magisk is one-way free ticket to perform all these tweaks on your device.

How to flash patched boot image on your MediaTek device using SP Flash tool

Table of Contents

  • 1 What is Magisk?
    • 1.1 Pre-Requisites
  • 2 How to Extract and Patch Boot.image using Magisk?
  • 3 How To Install the Patched Boot Image on MediaTek device
    • 3.1 How to Verify if your phone has a systemless root?

What is Magisk?

Magisk is a systemless interface helps you add different modules to the device. It is based on phh superuser which is an open source root solution. With this tool, you can increase the usability of your device and you get the most out of your Android device.  It is not only a rooting app, it also allows the user to hide root from certain apps, and further provide the ability to easily inject additional features into the Android OS.  If you install the new Magisk Manager you can simply update to the Magisk from within the manager app.

Thanks to the XDA Recognized Developer topjohnwu who is a developer and maintainer of this popular rooting app.

Remember,

  • After Rooting, it may void the warranty of your phone.
  • Rooting will block the OTA updates

Before moving on to the flashing steps, you need to follow a few,

Pre-Requisites

  • Make sure to have enough battery charge on your phone to avoid interruption during the patch installation.
  • Before performing any modification take backup of your device data.
  • This guide is strictly for MediaTek powered device. Do not use it on any other device processor like Snapdragon, Spreadtrum etc.
  • You need PC/Laptop with a micro USB cable to connect.
  • Make sure that you download all the required files on your PC/Laptop

Required Downloads:

  • Download ADB and Fastboot files. (Windows/MAC)
  • Download and Install Android USB Drivers.
  • Download latest stock ROM for your respective device
  • Download and Install SP Flash tool on your PC

Advertisements

Disclaimer: We are at GetDroidTips will not be responsible for any bricking/damage to your phone while/after installing this ROM.

How to Extract and Patch Boot.image using Magisk?

  • First of all, download and extract the ROM to your PC.
  • Attach your device via USB cable and copy only the boot.img file from the extracted folder to your device storage
  • Launch Magisk Manager. When a popup appears asking to install Magisk, select INSTALL and choose install again.
  • Tap on “Patch Boot Image File”.
    Install patched boot image TWRP
  • Navigate to internal storage and select your phone’s boot image that you transferred earlier.
  • Wait for a couple of seconds. Magisk will start patching the boot image.
  • Once the boot image has been patched, copy the “patched_boot.img” from the internal storage and replace it in the same extracted ROM folder on your PC.

Now you can follow the second step to flash the patched boot image file.

How To Install the Patched Boot Image on MediaTek device

  • Install the SP Flash tool on your PC and run the flash tool exe file. spflashtool
  • Once SP Flash tool loads, you will see the screen with a mobile device picture, Now Tap on the menu download (See the screenshot below) sp downloader
  • Now in the download tab, you will find the option Download agent and scatter loading, Now click on the Download Agent and MTK_AllInOneDA.bin (It is inside the SP Flashtool folder -> SP_MDT) downloadagent
  • In the same tab, Tap on the Scatter-loading menu and load the Scatter file which is inside the Stock ROM extracted zip. (If you have extracted, you will find the file named MT6xxx_Android_scatter.txt) – MTxxxx here xxxx is the number of MediaTek processorsp scatter file
  • Now load the MT6xxx_Android_scatter.txt file
  • Once you have loaded, make sure to untick all the files except bootimg
  • Now click the Download buttonSp Download to flash
  • Now to start the Flashing process, You should Remove your battery (Only if battery removable or turn off) Insert again, Hold the Volume Down and Volume Up key together and Connect your Phone to PC/Laptop using USB Cable (Keep the Volume Down and Volume Up button until your computer detects the phone.)
  • Once the phone connects, Flashing will begin, Wait for a few minutes or Two
  • After Flashing has completed, you will see a green button will appear sp green ring
  • Now you can close the SP Flash Tool and also Disconnect your phone and Reboot to see if your device has rooted successfully.
  • That’s it! You should have a rooted device now.

In some cases, if the above method doesn’t work on your MediaTek device, then try via ADB fastboot method.

  • After extracting ADB fastboot tool, you must move the patched boot image to the same folder. Hold the SHIFT key and click on the right mouse button to open the command window/PowerShell.
  • Run the following command in the open command prompt.
    • Flash the “patched_boot.img” to install Magisk and root your Android device:
      fastboot flash boot patched_boot.img
    • For devices with A/B partition system, use the following commands:
      fastboot flash boot_a patched_boot.img
      
      fastboot flash boot_b patched_boot.img

      Please replace [patched_boot.img] with the name of the boot image file you downloaded followed by the .img extension.

  • The flashing process will begin. Once done, run
    fastboot reboot

How to Verify if your phone has a systemless root?

  1. Download and install the Magisk Manager app APK, and launch it.
  2. To verify that you have systemless root, check the top of the screen and if you see all option with Green Tick which means you have successfully rooted and bypassed SafteyNet.Magisk Status Check

So, that’s it. Now that you have rooted your MediaTek device. If you have any queries regarding this, do let us know.

Primary Sidebar

Buying Guide

Tenorshare 4uKey – Bypass iPhone Lockscreen Without Any Hassle

Best Alternatives to Amazon Shopping App

Top 6 Smartphones on Black Friday Deals 

Best Motherboards for the AMD Ryzen 9 5900X

Best Power Supply Unit (PSU) For Nvidia RTX 3090, 3080, And 3070 GPU

Best 3D Mu6 Dummy Head Recording Earphone

Best Hidden Cams To Buy in 2020

60Hz vs 144Hz vs 240Hz Monitors – Differences and Purchase Guide

How To Use PayPal On Amazon To Shop Safely?

RTX 3070 vs 3080 vs 3090: Differences, Performance, Design, Price, and More

Advertisements
Advertisements

© 2021 · Get Droid Tips

  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Editorial Policy
  • Terms of Use
  • Write for Us