With Android 11 out of the box, 128GB 4GB RAM, 5000mAh battery, and a quad rear camera are all equally impressive in their own rights. What might not be impressive is the underlying Unisoc T700 chipset. This has resulted in the change in firmware format from ZIP to PAC and complicated the firmware extraction process up to an extent. But fret not, this guide will show you the instructions to extract the boot.img from the PAC firmware as well. Once you do so, you would get the stock boot.img file which could then be used for rooting purposes. Once rooted, you could gain administrative rights as well as access to the system partition. This in turn will allow you to flash Magisk Modules, Xposed Framework, Substratum Themes, Viper4Android, among others. So without further ado, let’s get started with the guide to root your Moto G20 via Magisk patched boot.img file.

How to Root Moto G20 via Magisk Patched Boot.img

The below instructions are listed under separate sections for ease of understanding. Make sure to follow in the exact same sequence as mentioned below. 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.

Install Android SDK

To begin with, 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.

Enable USB Debugging and OEM Unlocking

Next up, you will 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 > Developer Options > Enable USB Debugging and OEM Unlocking.

Unlock Bootloader on Moto G20

You will also have to unlock the bootloader on your Moto 20 if you wish to root it via Magisk without using TWRP. Do keep in mind that doing so will wipe off all the data and might make the device’s warranty null and void as well. So if that’s well and good, then refer to our guide to How to Unlock Bootloader on any Motorola Device.

Extract Moto G20 Boot.img from PAC Firmware

To begin with, download the stock firmware from Lolinet Mirror corresponding to your device/region/current firmware. Here’s the direct link to the firmware that I am currently using: MotoXT2128-3_JAVA_RETAIL. Once downloaded, extract it to any convenient location on your PC. Then refer to our comprehensive tutorial on How to Extract Motorola PAC Firmware using SPD Flash Tool.

Once that is done, copy the boot.img from the extracted firmware folder and transfer it to your device. We will now patch this file to root your Moto G20 via Magisk patched boot.img

Patch Moto G20 Stock Boot.img via Magisk

Boot Moto G20 to Fastboot Mode

Flash Magisk Patched Boot.img and Root Moto G20

That’s it. These were the steps to root Moto G20 via 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.

About Chief Editor

Root Moto G20 via Magisk Patched Boot img  Extract PAC Firmware  - 87Root Moto G20 via Magisk Patched Boot img  Extract PAC Firmware  - 59Root Moto G20 via Magisk Patched Boot img  Extract PAC Firmware  - 86Root Moto G20 via Magisk Patched Boot img  Extract PAC Firmware  - 48Root Moto G20 via Magisk Patched Boot img  Extract PAC Firmware  - 25Root Moto G20 via Magisk Patched Boot img  Extract PAC Firmware  - 1Root Moto G20 via Magisk Patched Boot img  Extract PAC Firmware  - 33