yashsingh1/xdaforums huggingface dataset:
[Moto G5S Plus Guides, News, & Discussion] feviskus:
Yeah some devices (mainly branded ones that are cheaper than usually) are unlockable.

Look here for more information: Motorola\Lenovo Forum.

Is your Moto G5S Plus a Branded Version from a network provider?

Unfortunately, I dunno if u can somehow bypass that ****...Good luck
[Moto G5S Plus Guides, News, & Discussion] doubledragon5:
Do you have a carrier-branded phone if so which one? If it is factory unlocked you can unlock your bootloader. what you have to do with carefully copy and paste each line separately into that thin box then you're going to have to go through each and every one of them and make sure there are no spaces between each if there is remove the space and do it again. I had this problem with my g5s plus and it took me maybe 10 tries to get it right but then I got it unlocked
[Moto G5S Plus Guides, News, & Discussion] logic88:
So when I flash the TWRP recovery and boot into TWRP, I should not swipe to allow modifications to /system?

I wanted to make nandroid backups first of an unmodified system so I can restore if needed to install OTA backups.

Also, is there a new link for the TWRP zip? I can't seem to get the OP link to work. I get a "Service Unavailable - Server currently undergoing maintenance. " error.

Thanks!
[Moto G5S Plus Guides, News, & Discussion] 1976sam:
I agree with you . I think those who have recently purchased this device should just chill till oreo . Save themselves some work and scary moments when they loose IMEI and Volte . New owners my not realize that some of these issues are difficult or impossible to fix for a hobbyist. If this update ever happens i plan on modifing Stock until enough info is available to KNOW that i wont loose the vOlte coming off a custom rom . I think its really crazy that the Volte problem was so ...... idk unfixable ! I cant say i had ever seen a problem that just didnt have a good solution on these forums . Did anyone figure out why that happened ? did it just break some software and why wasnt it fixable ? Anyway GOOD ADVICE RIGHT HERE ! just chill for a min :good:
[Moto G5S Plus Guides, News, & Discussion] mehuldil1:
none of the download link in post working. I downloaded TWRP from other post, in fact 2 but all of them stating image file is either corrupt or signature not there.. i need to flash recovery n get root for my Moto G5s plus.

please suggest how can I get this is resolved.
[Moto G5S Plus Guides, News, & Discussion] Davvos11:
Hi,

I have unlocked the bootloader but I can't seem to flash twrp.

It gives me this output:

# fastboot flash recovery recovery.img
(bootloader) has-slot:recovery: not found
Sending 'recovery' (15082 KB) OKAY [ 0.523s]
Writing 'recovery' (bootloader) Image not signed or corrupt
OKAY [ 0.284s]
Finished. Total time: 0.839s

Then I use the volume keys on my phone to boot into recovery mode and it will show this on screen:

[COLOR="Red"] Start Up Failed:

Your device didn't start up successfully.
Use the Software Repair Assistant on computer
to repair your device.
Connect your device to your computer to get
the Software Repair Assistant

AP Fastboot Flash Mode (Secure)[/COLOR]
[COLOR="Orange"]Fastboot Reason: Reboot mode set to fastboot
USB connected
cmd getvar:has-slot-recovery
cmd: getvar:max-download-size
cmd: download:00eba800
cmd: flash:recovery[/COLOR]
[COLOR="Red"]Error: failed to load kernel[/COLOR]
[COLOR="Orange"]Boot up failed[/COLOR]

I have also tried fastboot boot recovery.img which works but when I flash recovery.img from there it still gives the same message when trying to boot into recovery.

I have tried both twrp-3.1.1-sanders.img and twrp-sanders-r16.img.

Does anyone know a sollution to this?

Thanks!
[Moto G5S Plus Guides, News, & Discussion] D302Thakur:
Sir, your guide is being a source of error for many !

The TWRP that you've provided is 3.1.1 which doesn't support 64bit flashing & persist backup.

The efs backed up using this twrp can't be flashed from other (3.2+).

I suggest you update the twrp to 3.2.1_r21 atleast which supports persist backup !

Further, give an advice on backing up efs & persist, because your guide is the starting point for many, and the persist is being corrupted on installing some custom ROMs.
[Moto G5S Plus Guides, News, & Discussion] ehemehel:
Help me

what should i do if the browser said "Your device does not qualify for bootloader unlocking" ? thanks before dude
[Moto G5S Plus Guides, News, & Discussion] Android-Jack:
I'm buying an unlocked g5 plus. If Oreo is installed ota after purchase, what version(s) of twrp, magisk and SU will work? Or will it be risky, frustrating, uncharted territory to root?
[Moto G5S Plus Guides, News, & Discussion] ghostinrags:
Yup

I agree. This may have worked once, but now it isn't even close. This phone SUCKS. I went back to my Nexus 6 now on Android Pie. F the Moto G5 S jank POS.

Where the hell did my old Hero go... Upgrade.
[Moto G5S Plus Guides, News, & Discussion] :
This guide is almost a year old, is still relevant today, and it really wasn't that difficult to figure out I needed a newer version of TWRP by looking around a bit in our G5s+ threads.

Also, if you don't know that you should ALWAYS back up your efs - that's your fault, not the person who took their free time to make a helpful guide. & when this guide was written TWRP didn't support persist backup - so how is that the guides fault for not directing you to do so?

People whining in this thread because they don't take time to read more current threads and put 2+2 together to figure things out. Good ole XDA laziness & ungratefulness. Some things never change.

Thanks for the guide OP. It helped me out multiple times :good:
[Moto G5S Plus Guides, News, & Discussion] dedsec099:
Please can anyone help me

My pc is not showing my device in cmd

When i type fastboot devices

My pc shows

This command is not recognised as internal or external
[Moto G5S Plus Guides, News, & Discussion] ddarkw:
You have to open the CMD in the fastboot folder. If you have minimal adb and fastboot just click the shortcut on your desktop. If not, go to your fastboot folder and open the CMD. You have to press shift and right click I think, but I'm not sure, you could look up the button combination if it doesn't work.
[Moto G5S Plus Guides, News, & Discussion] dedsec099:
I have followed this step and now when i type fastboot devices this is the error
[Moto G5S Plus Guides, News, & Discussion] ddarkw:
What part of the process are you in exactly? Have you not unlocked your bootloader yet?

Just to be clear, "fastboot" is for when you're in the bootloader. If you're in the OS, you have to use "adb".
[Moto G5S Plus Guides, News, & Discussion] dedsec099:
1.My phone was in fastboot mode

2.Yes i still have not unlocked my bootloader

3.to unlock bootloader my pc should recognise my device and this is the problem my pc is not detecting my device when in fastboot mode
[Moto G5S Plus Guides, News, & Discussion] ddarkw:
Have you installed Motorola's drivers?

Also make sure that you've enabled USB debugging.
[Moto G5S Plus Guides, News, & Discussion] dedsec099:
Link to Motorola drivers pls?
[Moto G5S Plus Guides, News, & Discussion] madeaboutu:
Great Work!!!! can you please check if download links are working?
[Moto G5S Plus Guides, News, & Discussion] ddarkw:
https://support.motorola.com/us/en/solution/MS88481
[Moto G5S Plus Guides, News, & Discussion] dedsec099:
Thanks✌️
[Moto G5S Plus Guides, News, & Discussion] razahaider03:
Minimal ADB link, driver link and twrp link not working.

Please provide i require this.
[Moto G5S Plus Guides, News, & Discussion] therajatshahare:
Thanks.
[Moto G5S Plus Guides, News, & Discussion] razahaider03:
Twrp and minimal adb

---------- Post added at 09:27 AM ---------- Previous post was at 09:26 AM ----------

Twrp
[Moto G5S Plus Guides, News, & Discussion] Rajat Dhaka:
Any way to unlock bootloader of device bought from amazon
[Moto G5S Plus Guides, News, & Discussion] dedsec099:
Same way
[Moto G5S Plus Guides, News, & Discussion] vaibhavcoolm:
Will it work on oreo?

I just updated my device to Oreo. I am wondering if I can flash the same TWRP image as my device now has stock oreo (and not nougat)?
[Moto G5S Plus Guides, News, & Discussion] shreydn:
Pls give me the steps to root g5s plus
[Moto G5S Plus Guides, News, & Discussion] championc:
Don't do it .... At least until you get Oreo over-the-air update
[Moto G5S Plus Guides, News, & Discussion] ashish_zarekar:
What about r20 ?

Any difference ? just curios.

i watched one video over youtube , they were flashing r20.
[Moto G5S Plus Guides, News, & Discussion] Rajat Dhaka:
It shows error the device is on oreo
[Moto G5S Plus Guides, News, & Discussion] Kchauhan8:
root moto g5s plus stock oreo ops28.65-36

can is use above procedure to root stock oreo or this method is only for android N help me :rolleyes: .
[Moto G5S Plus Guides, News, & Discussion] dedsec099:
Ohh i was on nougat

Dont know how to root oreo?
[Moto G5S Plus Guides, News, & Discussion] kickflipsnnollies:
Is this still a viable method to root? And do I need these specific Magisk/TWRP files or can I just grab the latest ones? Also, if I'm reading correctly this method is for Nougat only?

I've got one of these phones on the way and I'd love go root it and throw on a custom ROM as part of initial setup if I can.

Thanks in advance for any help!!
[Moto G5S Plus Guides, News, & Discussion] astroboye:
Hi, I'm the new owner of a Moto G5S Plus. I'd like to root it but none of the links in the download section no longer works.....

(Download Section

Minimal ADB size: 628.5KB

TWRP Recovery size: 9.99MB

Magisk 14.0 zip size: 5.5MB)

I did not find another way to root it on the section, so please help ;)
[Moto G5S Plus Guides, News, & Discussion] ____Mdd:
Newer links are here,

Minimal adb/fastboot guide: https://xdaforums.com/showthread.php?t=2317790

TWRP (treble enabled) : https://drive.google.com/file/d/1R8u-33V1P97LxbbyRqhpngrJzFWIGYDQ/view?usp=drivesdk

(If you want normal recovery, ask.)

Normal recovery: https://androidfilehost.com/?fid=890129502657595739

Magisk : https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Reminder, unlocking bootloader will wipe internal storage..
[Moto G5S Plus Guides, News, & Discussion] astroboye:
Thank You ____Mdd ;)

ok so tell me what's the difference between the differents TWRP (trebel and normal)

thx again
[Moto G5S Plus Guides, News, & Discussion] ____Mdd:
Treble enabled recovery mounts /oem as /vendor, and able to flash treble ROMs.

If you just want to use root on stock, you can go for normal.
[Moto G5S Plus Guides, News, & Discussion] astroboye:
____Mdd[/MENTION]

I unlocked with succes but twrp flashing "not signed or corrupt"?????

please help

[IMG="error"]https://ibb.co/b6Ut19[/IMG]
[Moto G5S Plus Guides, News, & Discussion] ____Mdd:
That error is ignorable, ignor it.. just need to get OKAY at end of command.

Follow this steps correctly (do not start device without this steps.)

Flash twrp again,

boot into recovery,

(Allow modifications, if ask)

Take backup (all partitions)

Flash magisk,

Then reboot to system

(You can later save/copy backup to PC or somewhere safe, stock backup is sometimes very usefull.)
[Moto G5S Plus Guides, News, & Discussion] astroboye:
It works then I have another question?

in TWRP DO i HAVE TO ALLOW MODIFICATION OR NOT?

Sorry you've already answer...

can I flash the new rom after magisk?

thx again
[Moto G5S Plus Guides, News, & Discussion] Emmaz17:
I have a "Big Problem"

i flashed my moto g5s plus xt1805, i see a video how flash a rom without unlock bootloader.. and flash the rom with this method and can't iniciate my phone, well.. later i try unlock bootloader, but i can't. why? how not unlock bootloader no allow options "Enable OEM unlock and USB debugging under developer option." now can't unlock my bootloader, because can't enter my phone.
[Moto G5S Plus Guides, News, & Discussion] LEANDROMENDES:
this message appears on the motorola website after putting the codes "Your device does not qualify for bootloader unlocking".
[Moto G5S Plus Guides, News, & Discussion] Emmaz17:
What can i do? Can't flash a rom
[Moto G5S Plus Guides, News, & Discussion] championc:
Count yourself lucky.

Wait until Oreo is rolled out and only then maybe consider flashing another rom or rooting.

Once you root, you can no longer get OTA upgrades
[Moto G5S Plus Guides, News, & Discussion] astroboye:
hi, when I try to make a backup with twrp each time it ends at 53% more or less with errors.....why?

how could I fix this?

thx
[Moto G5S Plus Guides, News, & Discussion] timtim1980:
None of the download links are working, help pls

---------- Post added at 12:57 AM ---------- Previous post was at 12:21 AM ----------

Ignore this found links on previous page.......would be gr8 if OP can update the original links too.

Thanks
[Moto G5S Plus Guides, News, & Discussion] lipenheimer@gmail.com:
Could anyone be so kind to please point me to where I can grab a stock OTA of the Sanders 8.1 for the US phones? XT1806 5GS+

I have a Sanders that is at 7.1.1 and still has not installed the 8.1 but the phone is stock and locked and I qam not able to get to /data/data/com.motorola.ota directory to get the image the phone downloaded so i can flash it on my unlocked phone via Fastboot and ADB. or ADB sideload.

Additionally, do I want Fastboot ADB or an ADB sideload like from TWRP.

I have TWRP r20 sucessfully flashed on the unlocked XT1806 so I have the ADB option via TWRP ADB as well as the FASTBOOT ADB. Both are available.

Would sideloading the stock OTA work the same in either instance or is one method better than the other? Thanks.

I am fairly certain I made the mistake of NOT decrypting the phone before taking my first TWRP backup of the stock 7.1.1 before attempting Magisk rooting.

Because SuperSU 2.82 failed (which was my first attempt to root) I decided to try Magisk.

When I tried flashing Magisk from TWRP, TWRP erred on the /boot partition not being stock and that I should restore a stock /boot partition

So I went to my TWRP backup and restored /boot from it and now it just boots right to TWRP so the restore did not go well. I am assuming it is because I did not decrypt first so the /boot I restored and the entire backup is unusable then because it is not decrpyted.

So I read about taking the OTA 8.1 update BEFORE rooting the phone because after unlocking the bootloader and installing TWRP, you CAN'T take OTA updates any further, so doing the work on 7.1.1 would be stopping the OTA 8.1 update, which was not desirable, unfortunately I read that AFTER I had gotten started hehehehe.

So my thought was flashing the OTA 8.1 over this mess via ADB would get me back on track and would yield a bootable /boot partition OR since the rest of the system is on there INCLUDING a restore of an improper unbootable /boot partition would cause this to be a dirty flash over of the 8.1 OTA on top of the non bootable 7.1.1........make this attempt futile anyways?

Can someone set me straight? Thanks for all your hard work people. KUDOS DEVS! Great info and resources. Much appreciated.

Lip Lip Lip
[Moto G5S Plus Guides, News, & Discussion] amritmalviya:
How to root pixel experience 9.0 ROM?
[Moto G5S Plus Guides, News, & Discussion] saileshbro:
rooting moto g5s

hey devs, can i use this method to root moto g5s? it says montana xt1795
[Moto G5S Plus Guides, News, & Discussion] championc:
DON'T ..... Wait until you get Oreo before been considering rooting. If you root now, you won't be able to use the OTA upgrade to Oreo
[Moto G5S Plus Guides, News, & Discussion] saileshbro:
Yes i already have installed oreo update. I was trying to get root guide but there is only available for moto g5s plus and not for moto g5s
[Moto G5S Plus Guides, News, & Discussion] lipenheimer@gmail.com:
OH MY DUH!

I AM BE ST00PID!

I see there is a thread for stock OTA captures.

FABULOUS.

When you are involved in this site you have to READ READ READ READ READ......DUH

Lip Lip Lip

Thanks Devs. Much Appreciate your work.
[Moto G5S Plus Guides, News, & Discussion] Vinay425003:
Can I still follow these steps after I have updated to oreo 8.1.0. And is it necessary to format your device
[Moto G5S Plus Guides, News, & Discussion] killerdrogo:
Download Links are not working

404 Error on download links
[Moto G5S Plus Guides, News, & Discussion] Donehv:
Do you need lazyflasher or the no-vertify-opt-ecrypt zip . I also saw that there was a new twrp image for moto g5s+ (twrp- 3.2.3.1-potter.img) is this the right one? Since all tutorials are old ?and Is this working on 8.1 oreo because I had a upgrade
[Moto G5S Plus Guides, News, & Discussion] marcdw:
No. Our device is sanders. That TWRP is for potter which is G5 Plus. Don't use or flash recoveries, kernels, ROMs, etc. for the potter on the G5s Plus. You will probably screw up your device big time.

Moto G5S Plus XT1806, Liquid Remix v9.1.4 ROM, MultiROM, XDA Legacy
[Moto G5S Plus Guides, News, & Discussion] Donehv:
Okay thank you. I already figgered it out , but I am still doubting if i have the right twrp image. I saw a twrp image sanders with r20 at the end and one with only numbers. Also you haven't answered if i need lazyflasher or a no ecrypt file after flashing magisk. I hope you can help me. This is going to be my first attempt to root my device and i don't want to brick it by any chance. So sorry if i ask stupid questions i just want to be sure.
[Moto G5S Plus Guides, News, & Discussion] championc:
Are you already on Oreo ? If not, wait until you are before considering rooting your device
[Moto G5S Plus Guides, News, & Discussion] Donehv:
Yes I am already on Oreo.

But do you maybe know the answers to my previous questions?
[Moto G5S Plus Guides, News, & Discussion] glewo45:
No,need lazyflasher just flashing magisk before reboot system
[Moto G5S Plus Guides, News, & Discussion] edxe47:
I typed

fastboot oem get_unlock_data

The terminal returned the following statement:

...

FAILED (status read failed (Broken Pipe))

finished. total time: 5.015s

I have never seen this issue when I unlocked bootloaders in the past.
[Moto G5S Plus Guides, News, & Discussion] shreytyagi:
What if I earlier upgraded to official 8.1.0 via OTA? Will this still work?

I had upgraded to 8.1.0 before unlocking the bootloader. Now I have unlocked the bootloader but I don't know if this same method will work on my Moto G5S Plus now also or not.
[Moto G5S Plus Guides, News, & Discussion] timtim1980:
yes it will, I just upgraded everything to the latest update on 2nd Dec and rooted it.
[Moto G5S Plus Guides, News, & Discussion] shreytyagi:
[IMG="Thankyou very much. It worked!!!!"]https://photos.app.goo.gl/ZL1ZvhW6zZ4nZcUB9[/IMG]
[Moto G5S Plus Guides, News, & Discussion] xtkingx:
links

could you pass the links of the files you used to root the moto g5s plus
[Moto G5S Plus Guides, News, & Discussion] bielie:
When i click to download magiks 14.0 in OP. The link direct to some**** wordpress store. Huh
[Moto G5S Plus Guides, News, & Discussion] bielie:
Since i cant download magiks 14 from OP link. Im using magiks 17. I got error like that. Help me please.
[Moto G5S Plus Guides, News, & Discussion] championc:
I have a Euro XT1805 which is rooted and still on 7.1.1.

Is the code available yet to upgrade to 8.1.0 ?
[Moto G5S Plus Guides, News, & Discussion] rvj96:
Look on YouTube for a video titled "HOW TO ROOT MOTO G5S PLUS! / UNLOCK BOOTLOADER / FLASHING TWRP". In the description, next to "Download", there's a link for everything. Sorry but I can't link to outside pages.
[Moto G5S Plus Guides, News, & Discussion] omegaorgun:
Is this treble?
[Moto G5S Plus Guides, News, & Discussion] Kakashi20:
Will this work on oreo version of moto g5 splus too?

---------- Post added at 07:53 AM ---------- Previous post was at 07:28 AM ----------

//////
[Moto G5S Plus Guides, News, & Discussion] archz2:
Thanks for sharing this tutorial. The process is quite simple and similar to rooting OnePlus 5T. I have never taken backups while rooting and never got into trouble. I've been rooting my phones for five years now. No, I'm not over-confident. Just careful.

I have a question, will unlocking the bootloader wipe out all data from my MotoG5 S Plus phone or not? Of course I will definitely take a backup. The transferring of backup to phone I find quite tedious, hehehe.
[Moto G5S Plus Guides, News, & Discussion] thelastprime:
Will this guide still work on my Moto G5S+ Oreo XT1806?

I've never rooted before. What do I need to know before rooting? Is there a good place for me to go learn about the process of rooting?

Thanks.
[Moto G5S Plus Guides, News, & Discussion] Suhail25:
I can't get the unlock code on Motorola website. It's saying your device is not qualified for bootloader unlocking. I did the procedure many times but still no progress. Can anyone help?
[Moto G5S Plus Guides, News, & Discussion] thelastprime:
Same for me

I am having the same issue right now. I think someone said to wait a few days because sometimes the Moto website is broken.
[Moto G5S Plus Guides, News, & Discussion] saumyajit:
Twrp could not be flashed

Fastboot reboot recovery command does not reboot to recovery.

If manually entered into recovery from fastboot by navigating through volume buttons just after flashing twrp neither internal storage nor system is mounted.In TWRP Mount>select storage internal storage (0mb).

After reboot to system then navigating to recovery this time without flashing twrp response is No command.

Twrp flashing screenshot is attached .

Please help/ suggest.

"TWRP used created by [MENTION=7792500]GeneticEnginer[/MENTION]"
[Moto G5S Plus Guides, News, & Discussion] FoxxyOm:
Can i follow same process for my moto g5s plus running on Android OREO 8.1 version......

Please help.....:good:
[Moto G5S Plus Guides, News, & Discussion] omkar2309:
yes you can, it is meant for moto g5s plus. if its stock then you have to unlock bootloader. if you've installed custom rom it only means you've already gone through the process of rooting.
[Moto G5S Plus Guides, News, & Discussion] XrayossmanX:
Links don't work!!!

All the links of this tutorial are fallen ! Pls try to fix it !
[Moto G5S Plus Guides, News, & Discussion] gamejump:
a;; the links are dead please fix itt
[Moto G5S Plus Guides, News, & Discussion] fabz don:
does this work on oreo 8.1 update please help

ffff
[Moto G5S Plus Guides, News, & Discussion] vedant15188:
The links have expired again... please provide new updated links
[Moto G5S Plus Guides, News, & Discussion] agnelwaghela:
Does just unlocking the bootloader (after running the command to unlock twice) factory reset the phone.?

Actually I just want to root the phone to remove the bloatware...
[Moto G5S Plus Guides, News, & Discussion] shu006:
Server is up again. Now working fine.
[Moto G5S Plus Guides, News, & Discussion] UmeshThakur:
Yes unlocking the bootloader will factory reset the phone. So do necessary backups in advance
[Moto G5S Plus Guides, News, & Discussion] agnelwaghela:
Regarding Bank Apps for rooted phones

I was reading lately on consequences of rooting, wherein I found that banking apps stop working on rooted phones and solution mentioned in that case was to use magisk. Is this really necessary ? I'm just confirming because I need banking apps as I use them alot.
[Moto G5S Plus Guides, News, & Discussion] UmeshThakur:
Yes ,once you root ,banking apps stop working .But the good news is that you can still use them by hiding your root status using magisk. I am using mobile banking and UPI apps on rooted phone without any problem . So go for it.You should root if you want to enjoy custom Roms and many more things... Otherwise non rooted stock is also not that bad
[Moto G5S Plus Guides, News, & Discussion] Zanian:
Hey, links seem to be down. Could you post new ones? Thanks!
[Moto G5S Plus Guides, News, & Discussion] Ary3ndra:
link is not working

Download links are not working, please provide an alt. link
[Moto G5S Plus Guides, News, & Discussion] ShivanshJ:
When I paste the code that I got from ADB command prompt on Motorola website , it says that my device does not qualify for bootloader unlocking . Please tell me how can I unlock my bootloader.