Home > Root

How to Root Tecno Spark Devices via Magisk Patched Boot.img

In this guide, we will show you the steps to root your Tecno Spark devices using Magisk patched boot.img. While the devices from this OEM might not be among the most supported in custom development, but they still have carved out a niche segment for themselves. In recent years, their popularity is slowly but surely increasing, especially among tech enthusiasts.

On your end, there’s just one requirement that you need to checkmark- an unlocked bootloader. As soon as you do so, there is a plentitude of mods to try out. For example, you could flash a custom recovery like TWRP or try out a custom ROM like LineageOS. Likewise, you may even gain administrative privileges by rooting your device via Magisk.

This in turn will allow you to try Magisk Modules, Xposed Framework, Substratum Themes, Viper4Android, etc. So without any further ado, let’s get started with the instructions to root your Tecno Spark devices using Magisk patched boot.img. Follow along.

How to Root Tecno Spark Devices via Magisk Patched Boot.img

root tecno spark magisk patched boot.img file

The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

STEP 1: Install Android SDK

install adb platform tools windows

First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide.

STEP 2: Enable USB Debugging and OEM Unlocking on Tecno Spark

Next up, you will also have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode.

On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process. So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging and OEM Unlocking.

STEP 3: Unlock Tecno Spark Bootloader

You will also have to unlock the device’s bootloader. Do keep in mind that doing so will wipe off all the data from your device. So take a complete device backup and then refer to our detailed guide on How to Unlock the Bootloader on Tecno Spark Devices.

STEP 4: Extract Boot.img from Tecno Spark Firmware

You will now have to download the firmware for your Tecno Spark device. Make sure to download the same firmware version that is currently installed onto your device. Once downloaded, extract it to any convenient location on your PC.

tecno-spark-boot.img-root-magisk

Then go to its Firmware folder and you shall see the boot.img file. Transfer this file to your device and then move to the next step to root your Tecno Spark device using Magisk patched boot.img.

STEP5: Patch Stock Boot.img via Magisk

  1. First off, install the Magisk App onto your device
  2. Likewise, make sure that the boot.img has been transferred to your device.
  3. Then tap on the Install button situated next to Magisk.
  4. If you see an Options menu, then make sure to enable both the Preserve Force Encryption and Recovery Mode options, and tap Next.
  5. You shall now be taken to the Method selection screen, choose Select and Patch a file.
    patch-stock-boot.img-root-tecno-spark-magisk
  6. Browse to the extracted boot.img file and select it.
  7. Then tap on the Let’s Go option situated at the top right.
  8. Magisk will now load the boot.img file and will patch it accordingly. Once that is done, you would get the Download Complete message.
    magisk-patched-boot-image-root-tecno-spark-magiskmagisk-patched-boot-image-root-tecno-spark-magisk
  9. The patched boot image file will be saved in Internal Storage > Downloads. The name of the file will be magisk_patched.img.
  10. If there are some additional characters at the end of this name, delete them so that the complete name remains magisk_patched.img.
  11. Moreover, transfer this file to your device’s Internal Storage and then only head over to the next step to root your Tecno Spark device via Magisk patched boot.img.

STEP 6: Boot to Fastboot Mode

  1. Connect your device to the PC via USB cable. Make sure USB Debugging is enabled.
  2. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
    command-prompt-inside-adb
  3. Now type in the following command in the CMD window to boot your device to Fastboot Mode
    adb reboot bootloader

STEP 7: Disable DM Verity

You will now have to disable DM verity and AVB on your device before you could proceed ahead and root your Tecno Spark device using Magisk patched boot.img.

  1. So head over to the extracted firmware folder and you should find a vbmeta.img file. Transfer it to the platform-tools folder on your PC.
    tecno-spark-vbmeta.img-disable-dm-verity-avb-root-magisk
  2. Now type in the following command in this CMD window that you have opened inside the platform-tools:
    fastboot --disable-verity flash vbmeta vbmeta.img
  3. If the above command gives out an error, then try the below command:
    fastboot --disable-verity -disable-verification flash vbmeta vbmeta.img

STEP 8: Flash Magisk Patched Boot.img and Root Tecno Spark

  1. To begin with, transfer the magisk_patched.img file to the platform-tools folder.
  2. Now type in the below command in the CMD window (that is opened inside the platform-tools folder) to flash the Magisk Patched file:
    fastboot flash boot magisk_patched.img
  3. Once that is done, reboot your device to the OS via the following command:
    fastboot reboot

Your device will now reboot to the rooted system and your task stands complete. So with this, we conclude the guide on how to root any Tecno Spark device using Magisk patched boot.img. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share:
  • Jabran Ali

    Hi Sadique,

    Thank you for all the work that you have put into an organized form.

    If you could also please write an article on how to download the official firmware file (stock file), so that will be really good,

    Thanks