How To Root Motorola Moto G Stylus and Unlock Bootloader

Rooting is the process of gaining full admin control of the Android device. You can use the device to its full potential,‘Rooting’ means giving yourself special privilege or “root permissions” on your phone. It’s similar to running programs as administrators in Windows.

The Motorola Moto G Stylus comes equipped with a 6.40-inch touchscreen display with a resolution of 1080×2300 pixels. The device is powered by an octa-core Qualcomm Snapdragon 665 processor coupled with 4GB of RAM and 128 GB of internal storage with microSD card support for memory expansion.

The Motorola Moto G Stylus runs Android 10 and is powered by a 4000mAh non-removable battery and supports proprietary fast charging. It features a triple (48MP + 16MP + 2MP) rear camera setup and a 16MP front-facing camera.

 For more information about Android rooting, check out our detailed post here > What Is Rooting Android Phone? Advantages And Disadvantages

Important Note: Without TWRP, you can’t flash the root files like Magisk. Now we have to manually modify the stock boot image by a patch to get root access on the device

Root Motorola Moto G Stylus and Unlock Bootloader

Warning

rootmygalaxy.net will not be held responsible for any kind of damage occurred to your device while following this tutorial. Do it at your own risk. This will void the warranty of your device.

Pre-Requirements

How To Unlock Bootloader On Motorola Moto G Stylus?

  • First, enable ‘USB debugging and OEM Unlock’ option from setting> developer option>. To enable Developer Options, go to About phone and tap the Build Number 7 times.
  • Install the ADB and fastboot drivers and then restart if you already have the driver installed then skip this step.
  • After installation of the driver, you can see a folder named ADB in your installation directory. Enter the folder, and you find four files including ADB and fastboot.exe.
  • Now press and hold ‘shift’ key and right-clicked anywhere in the folder and select ‘Open command window here’ or ‘PowerShell Window’
  • Now connect your device to PC and enter into the fastboot mode. To enter the fastboot mode of Motorola Moto G Stylus, type the below command in command prompt.
adb reboot bootloader
  • In the command window, type the following command.
fastboot oem get_unlock_data
  • The above command will return a string.
  • Now copy the code in notepad and delete all the blank space so that you will get a single line string.
  • Now Paste the above String (Unlock Code) at the bottom of the Moto site (step 6) and click on Can my device be unlocked? You also need to accept terms and condition on this page by clicking I Accept.
  • The unlock key will be sent to your E-Mail ID, which you used to register at Motorola site.
  • Now copy the Unlock Key and execute the following command.
fastboot oem unlock UNLOCK_KE
  • The above command will Unlock Bootloader of Motorola Moto G Stylus.
  • Reboot and done.

How To Root Motorola Moto G Stylus with Magisk No TWRP ?

#1 Get the stock boot image (Stock Firmware)

  • you can  download Stock ROM of the device (You can find that on the web or Xda forum)

Download the boot file according to your device. Once downloaded, unzip the file and open it, look for a .zip file. Open that file too, now you will see a file named boot.img (This is the official stock image or firmware)

#2 Patch boot image

Select and Patch a File Magisk -Moto G8 Plus
  • Now select the boot image (boot.img). Magisk will start to patch the boot image.
  • After completion, the file will be saved as “magisk_patched.img” in your Downloads folder

#3 Steps To Root Motorola Moto G Stylus

  • Connect your device to PC and transfer the “magisk_patched.img” file from your phone’s download section to the platform-tools folder on your PC

Download and Install Latest ADB and Fastboot SDK Platform-Tools (2019)

  • Now issue the following command to boot your device to bootloader mode (Make sure your device is connected to the PC)
adb reboot bootoader
  • Now issue the command given below to Flash the patched boot image
fastboot flash boot magisk_patched.img
  • For devices with A/B partition system, use the below commands:
fastboot flash boot_a patched_boot.img

fastboot flash boot_b patched_boot.img

Done !!! Just reboot your device. Your device should be rooted now.

Rootmygalaxy a.k.a RMG was started in 2015 with a solo goal of Helping users with easy How-to guides. Slowly the website started sharing exclusive Leaks and Tech News. In these 5 years, we have been credited by the likes of Forbes, CNBC, Gizmodo, TechCrunch, Engadget, Android Authority, GSM Arena and many others. Want to know more about us? Check out our About Us page or connect with us Via Twitter, Facebook, Youtube or Telegram.

Dibyashree Sharma

An NIT Rourkela Graduate in CS, Blogger, Android Geek, and a Tennis Fanatic. I have been writing about Android OS for Last 8 years.

Leave a Comment

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

LineageOS 16 (Android 9.0 Pie) Is now available for many devicesDownload Now
+