Root Motorola Moto G Stylus 2021 Android 10 using Magisk

Moto always uses Stock Android because most users always prefer the Stock version compared with the customized one. So, Unlike other manufacturers, You don’t have to deal with lots of bloatware apps. You can uninstall most of the apps. Moto G Stylus 2021 comes with an Android 10 based Stock Android version. But When you are a regular root apps user or developer, you can root your Moto G Stylus 2021 Android 10 using the below method. Here we are using the Magisk method. So, You can’t install custom ROMS. But when your purpose is using Root apps, then it is enough for your tasks.
Moto G Stylus 2021 with Pen

After root, you will lose official updates. 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.

Should you need to Root Motorola Moto G Stylus 2021 Android 10 (Gen 2, Minsk)?

We thank XDA Developer- topjohnwu and DM.IDOL (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 Qualcomm SDM678 Snapdragon 678 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 when you root your mobile; it can become the fastest car in the world. 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.

How to Root Moto G Stylus 2021 Android 10 version (XT2115, International Variants)?

Moto G Stylus 2021 International Variants comes with a flexible bootloader other than some carrier locked devices. It means that different smartphone variants can be easily rooted. The device can also accept installing TWRP recovery or any other custom recovery file/app.

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

You can install TWRP Recovery once available for your Moto G Stylus 2021 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; everything will be explained 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, full 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 G Stylus 2021.

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

Unlock Moto G Stylus 2021 bootloader using ADB and Fastboot

Moto G Stylus 2021 Fastboot Mode

  • Switch off your device. Then, enter into Fastboot mode. To do this- Press and hold down the Volume Down + Power buttons at the same time 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 G Stylus 2021 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 G Stylus 2021; 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.
  • 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

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

  • You can use Phone Info to know your firmware version.

Moto G Stylus 2021 Android 10 Firmware Details

  • 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; it will 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 as .img format.

Magisk Firmware Patch Process

  • Wait for the process to complete; in the end, you will get a magisk patched .img file. 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 G Stylus 2021 using ADB and Fastboot

Moto G Stylus 2021 Fastboot Mode

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

  • Now, connect the Moto G Stylus 2021 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 G Stylus 2021. 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 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.

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. 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 G Stylus 2021 Android 10 version. If you thought you could Improve Performance By Root; With the Qualcomm SDM678 Snapdragon 678 Octa-Core processor and 4 GB RAM, your device can perform well. 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. 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. Thus you can’t install Custom ROMs. When you have any suggestions or doubts, comment below.

Source, (2)

Also Read-  Root LeEco Le Max 2 Marshmallow 6.0.1 using TWRP and Install Magisk
Share This Post:

Leave a 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.