Root Moto G5S and Install TWRP Recovery

Moto G5S root and TWRP

Since their separation from Google, most people will agree that Motorola has somehow lost its way. Although he seems to have found his financial solution, the company's devices no longer excite amateurs. Whatever the case may be, the Moto G5sS, a budget-limited phone launched in 2020, finally has an official version of TWRP. So you can now install the official TWRP recovery on the Moto G5. Obviously, we can also root Moto G5.

Warning

If you root your Moto G5, it will void your warranty. In addition, flashing a custom recovery and using it to flash third-party mods can be risky. You could end up breaking your device. Even if you correctly follow all the steps mentioned below, there is always a chance that things will go south for you. Make sure you know what you are doing and do everything at your own risk. DroidViews or whoever can not be held responsible in such circumstances.

The rooting process does not require you to format your device or format it automatically. However, make sure you have backed up everything important, including files and folders stored on your device's internal storage. Creating a backup is never a bad idea. If you have not unlocked the boot loader yet, your device will be erased, including the internal memory, when you unlock it.

requirements

Before you can root Moto G5, make sure that you have completed the following steps.

  1. A Motorola Moto G5 with an unlocked boot loader.
  2. You will need a Windows, Mac or Linux computer with the tools of the Android SDK platform. We have a specific and detailed guide explaining how to do exactly that for the three platforms, linked below.
    • Download Android SDK platform tools for Windows, Mac, and Linux
    • Extract the downloaded zip file anywhere on your PC. Root Moto G5S "srcset =" https://www.droidviews.com/wp-content/uploads/2019/06/platform-tools.jpg 966w, https://www.droidviews.com/wp-content/uploads/ 2019/06 / platform-tools-768x539.jpg 768w "data-lazy-sizes =" (maximum width: 966px) 100vw, 966px "src =" https://www.droidviews.com/wp-content/uploads/ 2019 / 06 / platform-tools.jpg
    • The extracted platform-tools folder contains all the necessary tools to run ADB and Fastboot.
  3. Since you need to connect your phone to your PC with a USB cable, make sure the cable is not loose.
  4. Activate USB debugging and OEM open on your device, found in Developer options.
    • Go to settings > About phone.
    • Press on Construction number 7 times.
    • You will see a message of toast saying, "You are a developer".
    • Go back to Settings now, and you'll find a new option called "Developer Options", select it.
    • Scroll through the list and discover OEM unlocking and USB debugging and enable it. OEM unlocking should already be enabled or dimmed if you have unlocked your boot loader.
  5. Make sure that there is at least 50% battery left on your Moto G5 to prevent any accidental stoppages.
  6. Windows users will also need to install Motorola USB drivers.

Download Moto G5S TWRP Image and Magisk

Install TWRP on Moto G5S

  1. Launch a command prompt or terminal in the platform-tools folder.
    • On Windows, with the platform tools the folder is open, type cmd in the address bar and press Enter to launch a command prompt window in the folder. platform tools folder "srcset =" https://www.droidviews.com/wp-content/uploads/2019/05/platform-tools-folder.jpg 1032w, https://www.droidviews.com/ wp-content / uploads / 2019/05 / platform-tools-folder-768x511.jpg 768w, https://www.droidviews.com/wp-content/uploads/2019/05/platform-tools-folder-225x150.jpg 225w, https: //www.droidviews.com/wp-content/uploads/2019/05/platform-tools-folder-90x59.jpg 90w "data-lazy-sizes =" (maximum width: 1032px) 100vw, 1032px " src = "https://www.droidviews.com/wp-content/uploads/2019/05/platform-tools-folder.jpg
    • Linux and Mac users can simply right-click in the folder and select Open in the terminal launch a terminal and use adb. open terminal window "srcset =" https://www.droidviews.com/wp-content/uploads/2019/07/Open-in-Terminal-Linux.jpeg 902w, https://www.droidviews.com/wp - content / uploads / 2019/07 / Open-in-Terminal-Linux-768x562.jpeg 768w "data-lazy-sizes =" (maximum width: 902px) 100vw, 902px "src =" https: //www.droidviews. com / wp-content / uploads / 2019/07 / Open-in-Terminal-Linux.jpeg
  2. Once the command prompt or terminal is open, connect your Moto G7 Plus to your PC.
    • On your phone, you will be asked to grant USB debug permission to the PC.
    • If it does not show up yet, enter the following command in the command / terminal prompt to force it.
      adb devices

      Allow USB debug permission "src =" https://www.droidviews.com/wp-content/uploads/2019/07/Allow-USB-debugging.jpg

    • Once granted, the serial number of your device will be returned as shown below.install twrp on the g7 bike more "src =" https://www.droidviews.com/wp-content/uploads/2019/07/adb-devices-command.jpg
  3. Now, use the following command to start your phone in quick start mode.
    adb reboot fastboot
  4. Once in quick start mode, install TWRP on your Moto G5 with this command.
    fastboot flash recovery /path/to/twrp-3.3.1-0-montana.img

    Replace /road of/ with the location path of the image file. This step can be avoided if you move the TWRP image to the ADB folder. This will shorten the order by:

    fastboot flash recovery twrp-3.3.1-0-montana.img
  5. Finally, when the recovery has been flashed, reboot your device.
    fastboot reboot

You can not just flash a custom recovery image such as TWRP on your Android device. There are many wonderful things you can do using the ADB and fastboot commands.

Root Moto G5s

After installing TWRP Recovery on your phone, let's see how to root Moto G5. Just follow the steps below.

  1. Connect your device back to the PC and use the ADB command given below to boot into the newly installed TWRP recovery.
    adb reboot recovery
  2. Once TWRP recovery is complete, it is advisable to start with a full NANDroid backup of your device, in case you want to restore your device.
    • To do this, go to safeguard and select all partitions. Swipe down to start the backup process.
  3. When you have a backup or have decided to skip it, select Install in the TWRP main menu.
  4. Locate and select the downloaded file. Magisk-v19.3.zip file and select it.
  5. Swipe down to flash the zip.
  6. When it's done, you'll see a Restart the system button at the bottom, tap it and your device will restart.

When your device turns on, you will have root access to your Moto G5. You can find Magisk Manager among all your other applications in the application drawer. You can use it to grant or deny root access to other applications, as well as to many other things using Magisk modules.

Leave a Reply