• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Android Infotech

Android Infotech

Android Tips, News, Guide, Tutorials

  • News
  • Root
  • Firmware
  • Applications
  • Knowledge
  • Tutorial
  • I’m Bored
  • Deals
  • Donate
  • 🔎Search
Home » Firmware » Root Moto G20 XT-2128 Android 11 using Magisk

Root Moto G20 XT-2128 Android 11 using Magisk

by Selva Ganesh Leave a Comment

When you are planning to buy Entry-level mobiles, You should be aware that, You have limited hardware specs. Even if we optimize at a high level, we can only expect slight improvement, not drastic. Moto G20 already comes with the Stock Android 11 version. So, It is already optimized at the core level. But when you are a regular Root apps user or developer, you can root your Moto G20 Android 11 using the below method. Since we are using the Magisk Only method, We can’t install custom ROMs on your mobile. But we can install all Root apps and Magisk Mods to get different features that are not available in the OEM version of your mobile.
Moto G20 Android 11 Storage Options

After root, you will lose official updates, and you have to update your mobile manually. So, Before proceeding with the process, you should know why you need to do it. If you are a regular user, you can try some alternatives for your purpose that don’t require rooting your mobile. When you are a regular root apps user and developer, you can follow the below guide to achieve root on your mobile.

Table of Contents

  • Should you need to Root Motorola Moto G20 Android 11 (Java)?
  • How to Root Moto G20 Android 11 version (XT-2128, International Variants)?
    • Things to check out for;
    • Pre-Requirement Steps
    • Unlock Moto G20 bootloader using ADB and Fastboot
    • Preparing Patched Boot Image file
    • Flash Patched Boot Image in Moto G20 using ADB and Fastboot
      • Boot into Rooted OS
  • What More?

Should you need to Root Motorola Moto G20 Android 11 (Java)?

We thank XDA Developer- topjohnwu and Chris776 (Who successfully tested this method). Without their hard work, We can’t make this method. Coming to root, you should have a proper reason, and you know what you are doing. Yes, with a minimum of 4 GB RAM and a Unisoc T700 Octa-Core processor, You can use this mobile for basic tasks without root for 2-3 Years If you use it correctly. Software is better compared with other manufacturers, Custom skin OS. Don’t root because everybody says that it can become the fastest car in the world when you root your mobile. No. Rooting is to extract some performance from the device. But, you already have Powerful specs and software. So, If you are addicted to some root apps, you can root. But, if you want to test, I won’t recommend it.

Buy Samsung Galaxy S22 Ultra from $6.46/mo for 24 Months with Eligible Trade-In.
Samsung Galaxy S23 available for $0.00/mo with T-Mobile Credit and Trade-in Deal

How to Root Moto G20 Android 11 version (XT-2128, International Variants)?

Moto G20 International Variants comes with a flexible bootloader other than some carrier-locked devices, and it means that we can easily root different smartphone variants. The device can also accept installing TWRP recovery or any other custom recovery file/app.

Also Read-  Download Samsung Galaxy A52 4G LTE SM-A525F/M Android 11 One UI 3.1 Stock Firmware

For most of the methods, We follow Magisk to root our device. TWRP recovery is a custom recovery file that we must install on your devices because you can root them successfully. This article explained the easiest method to follow and install Magisk on Moto G20. However, the tool required for rooting this device is the Magisk App.

You can install TWRP Recovery once available for your Moto G20 to gain Custom Recovery access. Before sharing the tutorial, you may want to know that, without the TWRP recovery present on your device, you can not install any custom ROM or firmware. Does it seem complicated? Relax; we will explain everything briefly in bullets.

Things to check out for;

  • Make sure your device battery is above 50%.

  • You should back up your current files and data and the entire data loss process (save them on external storage).

Pre-Requirement StepsOnePlus 6T OEM Unlock and USB Debugging

  • Enable USB Debugging Mode and OEM Unlock on your mobile. To do this, go to settings >>> about >>> Tap on the “Build Number” 7-10 times consistently to enable “Developer Options,” then go to the “Developer Options” and enable USB Debugging Mode, OEM Unlock. There is no complicated process in Moto G20.

  • Download and install the Moto USB driver to your computer system.

  • Also, download the ADB drivers. Install it on your PC.

Unlock Moto G20 bootloader using ADB and Fastboot

Moto G20 Fastboot Mode

  • Switch off your device. Then, enter into Fastboot mode. To do this- Press and hold down the Volume Down + Power buttons simultaneously for some time.

Moto G7 Plus Fastboot Mode Warning Screen

  • Press the Volume Up button to continue when you see the warning message.

  • Now, connect the Moto G20 mobile to the computer via USB cable.

  • Launch the fastboot on your computer. Open a Command prompt on your PC and type the below command.

  • fastboot devices
  • It should display the connected devices. If you didn’t get the device, restart the command prompt and Disconnect and Connect your Moto Edge 20/Pro; if you are detected, type the below commands.
  • fastboot oem get_unlock_data

Moto Get Unlock Data

  • Hit enter, you will get some unlock data. Copy those codes and remove < bootloader> Prefix from those lines and copy them into one line.
  • When the above command doesn’t work, then type the below command and hit enter.
  • fastboot flashing unlock
  • Go to Official Moto Unlock Page. Log in with your moto account and in the Box, Paste those codes and Check the unlock Bootloader Status. If you get, Yes, you can unlock; you can request unlock Key from Moto.
  • After the process completes, you will get 20 Digit to unlock the key in your email. Now type the following command to unlock the bootloader on your device.

  • fastboot oem unlock UNIQUE CODE
Also Read-  Download Motorola Moto G22 My UX Android 12 Official Stock Firmware (All Regions)

Moto unlock bootloader command

  • You should type this code two times and Hit enter to unlock your device successfully. After the successful unlock, your device will automatically reboot to the standard OS.

  • Check again to enable “Developer Options,” then go to the “Developer Options” and enable USB Debugging Mode, OEM Unlock. Sometimes they disabled themselves after the boot.

Preparing Patched Boot Image file

  • Download Moto G20 Firmware and save it on your PC. Your Current OS version and Downloaded Version should be the Same.
  • You can use Phone Info to know your firmware version.
  • When you have .pac in the Zip file, you must extract it further using SP Flash Tool.
  • Download SP Flash Tool, Extract the files. Then Choose the “Upgrade Download” Application.

SP Flashtool Extracted Firmware Files

  • Select Load Packet, then choose the .pac file from the firmware extract folder.

Load Packet SP Flashtool

  • Wait for the process to complete. Don’t close the application.

Image Files Folder SP Flash Tool

  • Now Go to the SP Flash Tool folder; you can find the extracted firmware files in the “Image Files” Folder. Copy this folder to a different disk or place it on your PC. Since it is a Temporary folder, You will lose the extracted data, If you don’t copy those files to different areas.

Root Moto G20 Android 11 Extracted Firmware Files

  • Download 7Zip-ZS Install on your PC. Extract the files in downloaded firmware using 7Zip-ZS. You will get a lot of data. Copy boot.img file to your mobile.
  • Download Magisk Manager (Download Latest version) or Magisk canary and Install it on your mobile. Open Installed Magisk and Select Install in Magisk; ask For a zip file and Patch Recovery Image File. Select the boot image file.

Magisk Boot Image File

  • Navigate to your copied boot image File and patch the file in .img format.

Magisk Firmware Patch Process

  • Wait for the process to complete; you will get a magisk patched .img file in the end. The .img file will be in the same folder where you have the boot. img.
  • Copy the magisk_patched.img file to your PC. Rename the file to boot.img again.

Flash Patched Boot Image in Moto G20 using ADB and Fastboot

Moto G20 Fastboot Mode

  • Switch off your device. Then, enter into fastboot mode. To do this- Press and hold down the Volume Down + Power buttons simultaneously for some time.
  • Press the Volume Up button to continue when you see the warning message.

  • Now, connect the Moto G20 mobile to the computer via USB cable.

  • Launch the fastboot on your computer. Open a Command prompt on your PC and type the below command.

  • fastboot devices
  • It should display the connected devices. If you didn’t get the device, restart the command prompt and Disconnect and Connect your Moto G20. If you are detected, type the below command and hit Enter.
  • fastboot flash boot_a patched_boot.img
    fastboot flash boot_b patched_boot.img

fastboot flash boot boot.img command

  • After the process is complete, Press the Volume Down+ Power button to exit Fastboot mode. When the screen goes off, Immediately Press Volume Up + Power buttons to boot into Recovery mode.
  • After entering into Stock recovery mode, Go to Wipe Data/Factory Reset and Select Yes to wipe data. It will erase your saved data on your device. Don’t Boot into OS; read below Boot stages before booting.
Also Read-  Download Realme C17 RMX2101 Android 10 Realme UI Stock ROM

Boot into Rooted OS

  • Press and Hold Volume Up + Power buttons, release all the keys once the Bootloader warning appears. You have to set up your device like a new device, and you can select the root status using the Root Checker.
  • Stock Recovery Boot – Press and Hold Volume Up + Power buttons, release keys while you hold the Volume Up key.
  • You will see Magisk Manager in your App drawer. If you can’t find the app, you can install Magisk Manager on your mobile.

What More?

In my opinion, you don’t need to root for your Moto G20 Android 11 version. If you thought you could Improve Performance By Root, Unisoc T700 Octa-Core processor, and 4 GB RAM. If you don’t know how much RAM you need, You will never use this much RAM. It would help if you did not Boot into Normal OS Booting by pressing the power button after firmware flash, and it will boot you to a Non-Rooted environment. So, you should pay attention to the first recovery boot step.

If you root your device because of the battery drain issues, you can optimize your battery without root. Beyond this, if your purpose is to Disable Bloatware apps, you can do that without using them. This method uses the Magisk patch way, and thus you can’t install Custom ROMs. When you have any suggestions or doubts, comment below.

Source, (2)

Selva Ganesh

Selva Ganesh is the Chief Editor of this Blog. He is a Computer Science Engineer, An experienced Android Developer, Professional Blogger with 8+ years in the field. He completed courses about Google News Initiative. He runs Android Infotech which offers Problem Solving Articles around the globe.

Related Posts:

  • Fix Motorola Moto G20 XT-2128 Stuck on Boot Start screen logo
  • Download Motorola Moto G20 XT-2128 Android 11 Official Stock Firmware…
  • Fix Samsung Galaxy A01 Core Bluetooth Pairing and Not Detecting issues…
  • Fix Samsung Galaxy M01 Core Bluetooth Pairing and Not Detecting issues…
  • Fix Samsung Galaxy M01 Core SM-M013F Stuck on Boot Start screen logo
  • Troubleshoot Samsung Galaxy A11 SM-A115F/M Freeze Not Responding…
Share This Post:

Filed Under: Firmware Tagged With: Android 11, Magisk, Motorola, TWRP

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Join With Us

Deal of the Day

Samsung Galaxy S22 Ultra For $6.95/mo at Samsung Online Store.

Recent Posts

Google Pixel 8 Video Editing

Video Unblur coming to Google Pixel 8

YouTube Shorts Thumbnail Edit Video

How to Change YouTube Shorts Thumbnails?

T-Mobile and Mint Mobile Merger Ryan Reynolds and CEO

No Change in the $15/mo Mint Mobile Plan after T-Mobile Acquire

POCO X5 5G Unlocked Home Screen

POCO X5 5G launched for $230 With 120Hz AMOLED, Snapdragon 695 and 48MP camera

iQOO Z7 Series Back Side

iQOO Z7 Series with 120W Support Launching on March 20, 2023

Advertisement

Footer

Copyright © 2023 AndroidInfotech.com, All Rights Reserved, Android is a trademark of Google Inc. All contents on this blog are copyright protected and should not be reproduced without permission.

  • Subscribe
  • Sitemap
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Our Image License
  • Hosted on Google Cloud
  • Ad Partner Ezoic
  • Corporate Office