[Moto G5S Plus Guides, News, & Discussion] shu006:
The best way in which you can obtain the best results from a mid-range Android powered smartphone is by using a rooted system. And since the Moto G5s Plus is one of the best budget-based Android Nougat powered smartphone I strongly recommend you to root its internal system in order to unleash its true potential. So, as you can tell, during the lines from below I will show you how to easily gain root access on your new Motorola Moto G5s Plus.

​

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Steps

Unlocking Bootloader

Flashing TWRP recovery

Flashing Magisk (For Root)

Make sure your battery is over 80% before starting. ​

Step 1 - (Unlocking Bootloader)

Prerequisites

Phone (Moto G5s Plus)

USB Cable

Minimal ADB and Fastboot (See Download Section For Download Link)

Steps To Unlock Bootloader

Download and extract Minimal ADB and Fastboot driver on your PC

Enable developer option on phone ( Tap “Build number” {under About Phone} seven times to enable Developer option ).

Enable OEM unlock and USB debugging under developer option.

Boot your phone into fastboot mode ( Frist power off your phone then press Volume Down Button and Power button simultaneously and hold it for few seconds. You will be into Fastboot mode.)

Connect phone to PC with USB cable.

Now open the folder where you extracted ADB driver and hold Shift key on your keyboard and right click anywhere. Now click Open Command Prompt Here.

Now run this command

fastboot oem get_unlock_data

The returned string will be used to retrieve your unlock key.

Example Output:

On a Windows Desktop, the returned string format would be
$ fastboot oem get_unlock_data
(bootloader) 0A40040192024205#4C4D3556313230
(bootloader) 30373731363031303332323239#BD00
(bootloader) 8A672BA4746C2CE02328A2AC0C39F95
(bootloader) 1A3E5#1F53280002000000000000000
(bootloader) 0000000

On a Mac OS Desktop, the returned string format would be
INFO0A40040192024205#4C4D3556313230
INFO30373731363031303332323239#BD00
INFO8A672BA4746C2CE02328A2AC0C39F95
INFO1A3E5#1F53280002000000000000000
INFO0000000

Now visit Moto Bootloader Unlock website. Agree terms and conditions. Now create or login account.

On next page paste together the 5 lines of output into one continuous string without (bootloader) or ‘INFO’ or white spaces. (Or Use Moto Data Scrub Tool if you can't do this simple job) Your string needs to look like this:

0A40040192024205#4C4D355631323030373731363031303332323239#BD008A672BA4746C2CE02328A2AC0C39F951A3E5#1F532800020000000000000000000000

Paste the code obtained in Moto website.

Now Click on the I Agree Button a Get Unlock Code will appear on the screen. And click the button.

Now you will get your unlock key by email. Check your inbox and get the key.

Now again go to the Command Prompt screen and type this code

fastboot oem unlock ************

(Replace stars with your unlock key)

A warning screen will appear in command just retype the same command and hit enter.

Type this code and your phone will reboot.

fastboot reboot

Done! Your bootloader has been unlocked.

Follow This guide if you want to remove Boot loader Unlocked Warning in startup. Remove Unlocked Bootloader Message Moto G5S Plus, G5S

Step 2- (Flashing TWRP recovery and Rooting)

Prerequisites

Unlocked Bootloader

Minimal ADB and Fastboot (Not need to download if you already downloaded while unlocking bootloader)

TWRP 3.1.1-0 image for Moto G5s Plus (Downlod link below)

Magisk 14.0 zip file (Download link below) (Magisk Hide and modules are not working in Magisk 14.0 with our G5s Plus, Superuser is working fine.)

Steps to flash TWRP Recovery.

Download and copy recovery image to ADB driver folder.

Open command promt on ADB folder.

Run this command

fastboot flash recovery twrp-3.1.1-sanders.img

Now run this command

fastboot reboot recovery

Now you will be booted in TWRP recovery.

Create a complete backup in this step. Do not do anything without taking backup

Now connect your phone to PC. You will see Moto Z storage. Move TWRP backup to PC from your phone. Also move music, images, video and everything to your PC.

Now go to wipe in TWRP and wipe data.

Now copy Magisk zip from PC to Phone.

Now go to install and select Magisk zip and flash. Now reboot to system.

Now you are rooted.

Download Section

Minimal ADB size: 628.5KB

TWRP Recovery size: 9.99MB

Magisk 14.0 zip size: 5.5MB

Special Thanks

[MENTION=7792500]GeneticEnginer[/MENTION] For creating TWRP for Moto G5s Plus.

Note: This root method is founded by [MENTION=7792500]GeneticEnginer[/MENTION] and posted by me with his permission.

Extra Guides:

Relock Bootloader Moto G5s Plus

Remove Unlocked Bootloader Message Moto G5S Plus, G5S

Flash official firmware Moto G5s Plus [sanders]

Appreciate my work?

It is a very hard task to work over mobile data. Please consider making a donation If this guide helped you.

Paypal https://paypal.me/shubhmishra