FORUMS
Remove All Ads from XDA

[ROOT][TWRP][BOOTLOADER UNLOCK] Moto G5s Plus [sanders]

86 posts
Thanks Meter: 127
 
By shu006, Member on 15th September 2017, 11:02 AM
Post Reply Email Thread
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.


Code:
#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
  1. Unlocking Bootloader
  2. Flashing TWRP recovery
  3. 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
    Code:
    fastboot oem get_unlock_data
    The returned string will be used to retrieve your unlock key.
    Example Output:
    Code:
    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:
    Code:
    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
    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.
    Code:
    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
    Code:
    fastboot flash recovery twrp-3.1.1-sanders.img
  • Now run this command
    Code:
    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
Special Thanks


@GeneticEnginer For creating TWRP for Moto G5s Plus.

Note: This root method is founded by @GeneticEnginer and posted by me with his permission.

Extra Guides: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
Attached Thumbnails
Click image for larger version

Name:	Root Moto G5s Plus.jpg
Views:	4752
Size:	252.7 KB
ID:	4273071  
The Following 44 Users Say Thank You to shu006 For This Useful Post: [ View ] Gift shu006 Ad-Free
 
 
15th September 2017, 07:39 PM |#2  
rasik107's Avatar
Senior Member
Thanks Meter: 77
 
More
great !
thanks for this tutorial
16th September 2017, 06:21 AM |#3  
Member
Flag Chennai
Thanks Meter: 17
 
More
Excellent tutorial. Great Job @GeneticEnginer.

---------- Post added at 06:21 AM ---------- Previous post was at 06:19 AM ----------

Quote:
Originally Posted by 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.





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

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

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:
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

(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.

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 zip file ( Downlod link below)


Steps to flash TWRP Recovery.
Download and copy recovery image to ADB driver folder.
Open command promt on ADB folder.
Run this command

Now run this command

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 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 zip size: 5.5MB


Special Thanks
@GeneticEnginer For creating TWRP for Moto G5s Plus.

Note: This root method is founded by @GeneticEnginer and posted by me with his permission.

Seems like you have chanhed your font? Which app do you recommend. At present i am using FONTSTER.
16th September 2017, 07:20 AM |#4  
samitsn's Avatar
Junior Member
Flag Bangalore
Thanks Meter: 1
 
More
Awesome, worked like charm. Thanks so much for the tuitorial.
16th September 2017, 08:25 AM |#5  
OP Member
Flag Kanpur
Thanks Meter: 127
 
Donate to Me
More
Quote:
Originally Posted by Premkrishna

Seems like you have chanhed your font? Which app do you recommend. At present i am using FONTSTER.

I did it manually. And used big font app to reduces font size. Font name is diavlo.
25th September 2017, 01:51 PM |#6  
Manan44's Avatar
Senior Member
Flag Victoria
Thanks Meter: 38
 
More
I'm on Windows 8 and I'm just getting 4 lines of unlock code, is that possible? I tried copying the code and pasting in the website's column, but it didn't work. Also, fastboot reboot command shows OKAY! but the phone doesn't actually reboot. Solution?
25th September 2017, 03:42 PM |#7  
OP Member
Flag Kanpur
Thanks Meter: 127
 
Donate to Me
More
Quote:
Originally Posted by Manan44

I'm on Windows 8 and I'm just getting 4 lines of unlock code, is that possible? I tried copying the code and pasting in the website's column, but it didn't work. Also, fastboot reboot command shows OKAY! but the phone doesn't actually reboot. Solution?

Lines doesn't matter. Just remove every #.
And if command dont reboot then just reboot by pressing power button. There is nothing to worry.
25th September 2017, 03:44 PM |#8  
Manan44's Avatar
Senior Member
Flag Victoria
Thanks Meter: 38
 
More
Quote:
Originally Posted by shu006

Lines doesn't matter. Just remove every #.
And if command dont reboot then just reboot by pressing power button. There is nothing to worry.

I got the unlock key now. But the command doesn't work. I wonder why it doesn't!
25th September 2017, 03:46 PM |#9  
OP Member
Flag Kanpur
Thanks Meter: 127
 
Donate to Me
More
Quote:
Originally Posted by Manan44

I got the unlock key now. But the command doesn't work. I wonder why it doesn't!

Just long press power key to reboot
25th September 2017, 03:47 PM |#10  
Manan44's Avatar
Senior Member
Flag Victoria
Thanks Meter: 38
 
More
Quote:
Originally Posted by shu006

Just long press power key to reboot

I have done that only everytime.
25th September 2017, 03:48 PM |#11  
OP Member
Flag Kanpur
Thanks Meter: 127
 
Donate to Me
More
Quote:
Originally Posted by Manan44

I have done that only everytime.

Thats ok.. Now just flash recovery
Post Reply Subscribe to Thread

Tags
bootloader, moto g5s plus, root, twrp

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes