yashsingh1/xdaforums huggingface dataset:
[Moto G5S Plus Guides, News, & Discussion] nd4spdbh:
Im lost at what you are trying to say here. Which Magisks do i flash?
[Moto G5S Plus Guides, News, & Discussion] shu006:
Just install 14
[Moto G5S Plus Guides, News, & Discussion] Schrotty35:
After i flash trwp and reboot to recovery i must enter a passwort but dont have it. I ignored and press return and i in the recovery now. Now i wipe data and reboot again in twrp but whene i make a full backup i get only a error.

Supersu also not work, can not install. get aborting.
[Moto G5S Plus Guides, News, & Discussion] shu006:
U missed 9th step after flashing recovery. You must have to clear data after flashing recovery. And supersu is not working with moto g5s plus.. Use magisk. All steps are clearly mentioned in op.
[Moto G5S Plus Guides, News, & Discussion] qngage12:
been following your guide in unlocking the bootloader... up until "fastboot oem get_unlock_data" the command prompt replied with nothing...

any help is appreciated :)

edit 1:

in turned out that i need a different PC to do this... dunno why... tho i've tried with some other USB in my previous laptop...

progress 1:

now the command "fastboot reboot recovery" didnt make me boot into recovery... i can boot into phone normally...

tried power + vol up = boots normally;

power + vol down = the old moto bootloader/fastboot menu;

tried power + vol down + vol up = the old moto bootloader/fastboot menu

in the old moto fastboot menu, tried the recovery option, but when i got there, no option at all

tracing back to flashing recovery:

"E:\Download\Android\G5s\ADB>fastboot flash recovery twrp-3.1.1-sanders.img

target reported max download size of 536870912 bytes

sending 'recovery' (10236 KB)...

OKAY [ 0.261s]

writing 'recovery'...

(bootloader) Image not signed or corrupt

OKAY [ 0.229s]

finished. total time: 0.491s"

is that normal?

progress 2:

tried different twrp image from other source, and tried your guide again... now i can boot to TWRP...

and rooted... thx for the guyide :)
[Moto G5S Plus Guides, News, & Discussion] Sticklol:
Moto G5S

Is there any chance of this working on G5S (not the Plus version)?
[Moto G5S Plus Guides, News, & Discussion] mikenlob:
tracing back to flashing recovery:

"E:\Download\Android\G5s\ADB>fastboot flash recovery twrp-3.1.1-sanders.img

target reported max download size of 536870912 bytes

sending 'recovery' (10236 KB)...

OKAY [ 0.261s]

writing 'recovery'...

(bootloader) Image not signed or corrupt

OKAY [ 0.229s]

finished. total time: 0.491s"

is that normal?

I tried to different versions of Twrp from two sources, and I get the message about image not signed our corrupt. I even tried flashing the stock recovery and it won't let me do that. Unlocking the bootloader went fine. Any help is appreciated.
[Moto G5S Plus Guides, News, & Discussion] Abhilash23:
Stock one
[Moto G5S Plus Guides, News, & Discussion] susemano:
Rooting your phone doesn't erase anything but unlocking your bootloader will. It's just depends on how you root. If you use kingroot to root your device your data will not be erased. But if you root by unlocking bootloader, it will completely erase your device. So If you just want to root your device but don't want to flash any custom roms then you can choose kingroot. If you want to flash custom ROMs then you must unlock your bootloader.
[Moto G5S Plus Guides, News, & Discussion] jeffrey017:
will erase my app & data after unlocking bootloader & root?
[Moto G5S Plus Guides, News, & Discussion] kevinm2738:
TWRP Bootloop

So after completing these steps my phone is now stuck in a bootloop. Any help? :)

It keeps booting into TWRP Recovery Mode.
[Moto G5S Plus Guides, News, & Discussion] susemano:
Yes unlocking bootloader will erase everything on your device.

---------- Post added at 10:05 AM ---------- Previous post was at 10:03 AM ----------

Did you wipe data, system in twrp when rooting? Just try clean flash the ROM.
[Moto G5S Plus Guides, News, & Discussion] glewo45:
Keep here, i'm in same issue and solved but now i 'm forget what i type in command window using ADB,immediately i will post it,

Reboot in to fastboot

Connect to pc

Run ADB and Fastboot

Type : fastboot oem fb_mode_clear

Hit enter

Reboot system

Done
[Moto G5S Plus Guides, News, & Discussion] marcdw:
Also stuck in a TWRP loop. Above commands do nothing.

Kind of stuck here.

EDIT: After a whole night and almost all of my hot-spot data things are back to normal. Not sure what the exact fix was but all went south when I formatted /data as ext4. Kept getting the decryption unsuccessful thing. Resetting never worked.

Eventually I went back to f2fs and it all starting working again.

After a backup I'll reformat to ext4 and see what happens.

ZTE Axon 7 A2017U, Stock B32, Tapatalk 4.9.5
[Moto G5S Plus Guides, News, & Discussion] glewo45:
Be sure your device recognize by your pc ,with proper driver,for me it's works,
[Moto G5S Plus Guides, News, & Discussion] yohannos:
i'm stuck here in a bootloop to twrp. phone constantly boot to twrp. tried different rom (rr, pixel experience, aex), but all end up booting to twrp. All i can do to boot to rom is to start the rom from fastboot mode (boot to fastboot, then select 'start' ). any suggestions?
[Moto G5S Plus Guides, News, & Discussion] glewo45:
Are you first time install twrp? Make sure yo're format data first and then reboot into recovery again, then flash magisk, then reboot system,
[Moto G5S Plus Guides, News, & Discussion] Adi5:
fastboot oem fb_mode_set

Fastboot oem fb_mode_clear
[Moto G5S Plus Guides, News, & Discussion] yohannos:
well, that was the trick. i don't know why, but i think the exact order is most important for flashing/installion rom. thanks a lot!
[Moto G5S Plus Guides, News, & Discussion] andresgp:
If I only want to root my Moto G5s plus to remove bloatware and do some cleanup:

1. Can I use kingroot? Is it safe/recommended?

2. Will I stop getting Moto updates or Oreo (if we ever get it) if I root with kingroot?

3. Will Netflix still work/update or do I have to download a fix or apk?

4. If I use the method explained in this thread, do I still get Moto Updates/Oreo? Will netflix work?

Thank you so much, I just want to make sure which way to go and if I should root or not at this point.
[Moto G5S Plus Guides, News, & Discussion] djfran10:
TWRP link down, please reupload
[Moto G5S Plus Guides, News, & Discussion] Rcon7:
Get to the telegram channel, new builds already present there.

https://t.me/g5splus
[Moto G5S Plus Guides, News, & Discussion] glewo45:
Rooted device won't getting official update

Not recommended rooting with kingroot,sometimes suddenly you lost root acces

Use this tread method for properly rooted

Use magisk and hit Safety net and magisk hide if you still netflix run or some banking app
[Moto G5S Plus Guides, News, & Discussion] mikeleachuno:
Difference between earlier twrp and twrp-sanders-r2.img

I had problems with an earlier version of twrp-sanders. I used the twrp-sanders-r2.img mentioned later in the thread and all was well. What is the difference in the r2 version? Does it flash 64bit roms? I also flashed magisk v16 and it won't connect to internet and says it doesn't pass safety net but I have no internet problems and play store works fine. Thanks
[Moto G5S Plus Guides, News, & Discussion] marcdw:
The recommended TWRP is r16, I believe, for 64bit ROMs.

https://androidfilehost.com/?w=files&flid=216298

Moto G5s Plus XT1806, Bootleggers ROM Oreo, microG (NoGapps), MultiROM, Tapatalk 4.9.5
[Moto G5S Plus Guides, News, & Discussion] asim.sidz:
The TWRP Recovery and Magisk download links are down. Can OP please reupload them? Thanks in advance..
[Moto G5S Plus Guides, News, & Discussion] marcdw:
Did I not post just above yours a link to TWRP?

If you want 3.1.1 there's a thread for that in this subforum. If you want Magisk there's a thread for that. You can easily obtain these items with little effort.

Moto G5S Plus XT1806, GZOSP_PixelExperience, MultiROM, Tapatalk 4.9.5
[Moto G5S Plus Guides, News, & Discussion] balboyz:
Is that true after unlock bootloader camera quality get low
[Moto G5S Plus Guides, News, & Discussion] Adi5:
No
[Moto G5S Plus Guides, News, & Discussion] Snikeer:
Well, this IS a thread about recovery and root, so it DOES make a lot of sense to have the updated links here.
[Moto G5S Plus Guides, News, & Discussion] ngenfix:
thanks for sharing bro...

very help me
[Moto G5S Plus Guides, News, & Discussion] Vipin8727:
Can we flash super su zip instead magisk?
[Moto G5S Plus Guides, News, & Discussion] Raje dhakal:
Yes its ur wish but magisk is recommended
[Moto G5S Plus Guides, News, & Discussion] CA Ashish:
G5S Plus wipe

Hi, I want to root my device as I had to hard reset due to forgotten lock screen, and i lost my pics and other data. Will I be able to recover the data if I wipe the device with TWRP?

Is there any other way to root G5S Plus or recover lost data after hard reset?

Thanks
[Moto G5S Plus Guides, News, & Discussion] glewo45:
It's will be a lot of works if you don't have back up before even with Installed TWRP on your device no affect to restored your lost,but with rooted device you should have many more method to choose ,you should googling it,it's not guarantee to restored all your lost ,but you should try ,there is many ways,
[Moto G5S Plus Guides, News, & Discussion] Thebear j koss:
Use file manager in twrp to transfer files to another device

Sent from my Moto G5S Plus using Thebear Blue XDA Labs
[Moto G5S Plus Guides, News, & Discussion] shu006:
Links updated.
[Moto G5S Plus Guides, News, & Discussion] Adi5:
This twrp is Old.... No supporting 64bit roms
[Moto G5S Plus Guides, News, & Discussion] jakson7474:
64bits

https://xdaforums.com/moto-g5s-plus/development/recovery-twrp-3-1-1-r7-t3694910
[Moto G5S Plus Guides, News, & Discussion] Adi5:
I know it is.... But should be in 1 post I think
[Moto G5S Plus Guides, News, & Discussion] mabvmet:
No one? ?
[Moto G5S Plus Guides, News, & Discussion] championc:
Download links in the first post are dead
[Moto G5S Plus Guides, News, & Discussion] championc:
Hi all,

I've installed TWRP 3.1.1 but when I go to take a Backup, it says "unable to mount storage". Should I just proceed to wipe ? Can I reboot the phone normally and come back to it tomorrow ?

EDIT: It's OK, I see I needed to put in my phone security password
[Moto G5S Plus Guides, News, & Discussion] championc:
Hi all,

I've just applied the 01 April Security Patch and my phone has rebooted into TWRP. If I select to reboot, it starts to reboot and goes back into TWRP. Any ideas as to how I can get it to reboot back to normal ?

So I'm basically stuck in a TWRP Bootloop

Thanks in advance
[Moto G5S Plus Guides, News, & Discussion] Beanzy420:
I can't unlock theoto g5s plus because attached said it's not supported with the unlock bootloader program. Like smh
[Moto G5S Plus Guides, News, & Discussion] ns78:
why does the command "fastboot oem get_unlock_data" not work? It shows a failure status...something like FAILED > command write failed> no error.. Why is this happening? As others have said that they have successfully unlocked the bootloader of their device using this command, then it should have worked in my case also. Someone please tell me what do I need to do.

Edit: I tried on a different pc and successfully unlocked the bootloader.
[Moto G5S Plus Guides, News, & Discussion] ns78:
Same problem here.... only thing that is different is that you can at least boot into recovery using adb while in my case I have tried to get my device into recovery mode using both adb and manually with device key, both resulted in failure.... I also found this ID: BAD KEY in bootloader warning screen...and when it starts to go into recovery mode an Android logo appears with its chest open and some text "no command" appears.....at this stage I can't do anything but to wait for the device to reboot to Android.... how can I fix this?...any help will be appreciated.
[Moto G5S Plus Guides, News, & Discussion] Beanzy420:
I finally got twrp installed but I cant make a back up of my phone it says backup failed. Cleaning Backup Folder
[Moto G5S Plus Guides, News, & Discussion] mabvmet:
what is the safest way to remove the TWRP recovery and reinstall the Original Recovery for OTA Updates?

Thanks!
[Moto G5S Plus Guides, News, & Discussion] Beanzy420:
these issues worry me a lil
[Moto G5S Plus Guides, News, & Discussion] ns78:
Now I am stuck on back up step... device got stuck on 22% backup completed for a long time , so I decided to cencel the backup and do it again, but......It stuck on that screen...Now I can't even turn my phone off..How can I go to Fastboot mode again? anyone facing this issue...Please reply guys .....what should I do now to get my device into fastboot mode?

I think my phone is frozen...now it won't turn off...**** non removable battery. Is there any way I can turn my phone off? Please let me know guys

Edit: I Pressed volume down key+power key simultaneously....my phone restarted and bootloader warning screen appeared stating youe device will boot in 5 seconds. It's been more than 5 minutes , still my phone is not starting. don't know what to do at this stage. Help me guys

Edit 2: Somehow I have mangaged to go into fastboot mode (Volume down + power key for 30 seconds) and when I selected recovery mode it did not go into recovery rather it stuck on the bootloader warning screen same as before. Seems that there is no recovery at all in my phone. I have tried using the command:

fastboot boot twrp*******.img

then this happened_

downloading 'boot.img'...

FAILED <command write failed <no error>

finished. total time: 0.000s.

So how else can I go into recovery mode? any help would be appreciated.
[Moto G5S Plus Guides, News, & Discussion] Beanzy420:
Ugh this sucks, Ive been reading all this morning on how to fix my issues like the bad key ID, not being able to get recovery to stick and how to even get my recovery to back up. backups fail. I feel like risking it all and erasing everything and flashing a custom rom and going from there. Id hate to boot into recovery everytime I need it though. I just wanna make a back up first though. Maybe if I root it and then get a phone back up app and back it up that way? TWRP 3.1.1 or whatever when flashing that file it goes to start up failed. blah blah blah. Connect your device to your computer to get the Software Repair Assistant,

Error: failed to load kernel!
[Moto G5S Plus Guides, News, & Discussion] Beanzy420:
So my phone was getting storage errors, and I tried rooting which caused some issues with stock firmware it kept going to twrp. Still does that actually even after wiping and flashing a custom firmware and the gapps for rom. good thing I have another moto g5s plus
[Moto G5S Plus Guides, News, & Discussion] ns78:
I wish I could get into recovery mode so that I could root my device....but my phone doesn't let me do it....it gets stuck at bootloader warning screen forever
[Moto G5S Plus Guides, News, & Discussion] Beanzy420:
I get stuck on twrp constantly loading after trying to go to setup phone. its like I'm not able to do anything. Storage mount error!!! I'm ****ed
[Moto G5S Plus Guides, News, & Discussion] Beanzy420:
https://xdaforums.com/moto-g5s-plus/development/flash-official-firmware-moto-g5s-plus-t3681018

do this to go back to stock if that's what you are wanting. I tried this because I kept getting stuck going back to twrp and I had to flash stock recovery after these steps. I fixed all my issues and still don't have root. Idk if I'm gonna attempt following any instructions for a while because this thread screwed my phone up. but the thread I put above helped all my scares away. I was scared I ruined a good phone.
[Moto G5S Plus Guides, News, & Discussion] ns78:
So I tried again to go into recovery but it showed the android logo with its chest open and there were some text written bellow " no command". I tried to flash twrp again but it did not work. instead I got a failure message

downloading 'boot.img'...

FAILED <command write failed <no error>

finished. total time: 0.000s.

So why is this happening and what does that 'no command' text mean?

The TWRP recovery screen does not appear so that means TWRP is not installed in my phone. right? or is it something else?

and one more thing if twrp is not installed then why am I not able to flash twrp again?

any help would be greatly appreciated.
[Moto G5S Plus Guides, News, & Discussion] pusansen99:
i dont have any drivers for fastboot sanders
[Moto G5S Plus Guides, News, & Discussion] Raje dhakal:
Download it from the link.
[Moto G5S Plus Guides, News, & Discussion] pusansen99:
The minimal adb link is not working.
[Moto G5S Plus Guides, News, & Discussion] [kesav]:
your device has been unlocked and cannot be trusted

HI, after i unlocked my bootloader while reboot system i am getting a error "your device has been unlocked and cannot be trusted" in boot screen.

I have installed TWRP recovery and AEX ROM. No issue using this but like to know how to avoid that warning error!!!:rolleyes::rolleyes::rolleyes:
[Moto G5S Plus Guides, News, & Discussion] Raje dhakal:
Its a message not an error ignore it or replace it by flashing anyother boot.img.
[Moto G5S Plus Guides, News, & Discussion] Adi5:
Flash custom logo.bin
[Moto G5S Plus Guides, News, & Discussion] [kesav]:
Any suggested custom boot logo!! Pls provide download link
[Moto G5S Plus Guides, News, & Discussion] Raje dhakal:
Google it.

Or see in apps and mods section of moto g5s plus.
[Moto G5S Plus Guides, News, & Discussion] [kesav]:
Got it thanks!!
[Moto G5S Plus Guides, News, & Discussion] ns78:
TWRP

Which version of TWRP has worked for you? Please share... I have tried all the versions but none of them worked.
[Moto G5S Plus Guides, News, & Discussion] Adi5:
R21 from telegram Group
[Moto G5S Plus Guides, News, & Discussion] ns78:
Can you please give me a link to download the file?
[Moto G5S Plus Guides, News, & Discussion] Adi5:
t.me/g5splus join here And type #twrp
[Moto G5S Plus Guides, News, & Discussion] ns78:
Thanx.... I have downloaded the TWRP file...have to see if it works or not.
[Moto G5S Plus Guides, News, & Discussion] Samyak039:
Your device does not qualify for bootloader unlocking.

every time i tried getting the bootloader key, only got this message, can't unlock the bootloader.

does anybody knows how to fix this ?
[Moto G5S Plus Guides, News, & Discussion] Locklear308:
Alright r20 works!
[Moto G5S Plus Guides, News, & Discussion] [kesav]:
I used latest version r20. Download some boot logo from Google.
[Moto G5S Plus Guides, News, & Discussion] haroen88:
Link download magisk and minimal adb is dead sir ?

Can you reupload again, thanks sir
[Moto G5S Plus Guides, News, & Discussion] Vinay Narayan Hegde:
Mr. Vinay

The links provided here to download the tools are not working. I have installed Minimal ADB tool and try to run but im my command prompt it is showing waiting for device. Please help

Thanking you,
[Moto G5S Plus Guides, News, & Discussion] Adi5:
Dont quote OP
[Moto G5S Plus Guides, News, & Discussion] mity_dev:
Does unlocking the bootloader erases all user data?
[Moto G5S Plus Guides, News, & Discussion] Vinay Narayan Hegde:
Mr. Vinay

Sorry Adi,

I didn't understand the reply.
[Moto G5S Plus Guides, News, & Discussion] Adi5:
Yes ofc
[Moto G5S Plus Guides, News, & Discussion] AviCorpse:
moto site says my device does not qualify for unlocking bootloader. What do I do?
[Moto G5S Plus Guides, News, & Discussion] doubledragon5:
Does this work for the g5s plus special edition.. The one I bought came from fry's and is carrier unlocked, for all AT&T, T-Mobile, Sprint, Verizon.. Last time I had a plain g5 it did not work...
[Moto G5S Plus Guides, News, & Discussion] doubledragon5:
Ok I have my bootloader now unlocked. But trying to install twrp is a pain. First the link on the OP is bad ERROR 503. So then I found another and manage to get into twrp once.. Now when trying to get to recovery all I get is "No Command".. What is the solution. The latest twrp I flashed was 3.2.1

Once I flash twrp, I can get to it once, then the next time all I get is the No Command Message.. Would the latest security patch affect this?
[Moto G5S Plus Guides, News, & Discussion] Adi5:
U need

Flash twrp

Boot into it

do format data

Reboot twrp

Flash magisk

Reboot phone
[Moto G5S Plus Guides, News, & Discussion] doubledragon5:
Yup thanks I got it.
[Moto G5S Plus Guides, News, & Discussion] djaguwala:
flashing magisk

Can I flash magisk after installing/flashing custom rom??
[Moto G5S Plus Guides, News, & Discussion] 903tex:
Yes
[Moto G5S Plus Guides, News, & Discussion] osccarr:
Hello,

I wanted to ask what version of the recovery I should install so that I could install the latest pixel experience because the link from 1 post does not work, and I want to be sure that everything will work

and one more question, whether with the branded Android 7.1.1 patches from March 1 (npss26. 116-42-11) I can safely unlock the bootloader?

Thank you in advance for your answers
[Moto G5S Plus Guides, News, & Discussion] Adi5:
1. TWRP 3.2.1-0 R21

2. Yes u can unlock
[Moto G5S Plus Guides, News, & Discussion] championc:
BUMP. I have to go into Recovery and select Start every time I want to reboot the phone.
[Moto G5S Plus Guides, News, & Discussion] Adi5:
fastboot oem fb_mode_set

fastboot oem fb_mode_clear

fastboot reboot
[Moto G5S Plus Guides, News, & Discussion] osccarr:
Thanks Adi5, I have more question

My english is not perfect because I am Polish, I want to ask because I'm afraid that I can understand something wrong with the instructions.

I know that after the installation of recovery I have to install anything, because otherwise the system will not start, but I do not understand it

" Reboot to recovery > cancel the password prompt > mount all partitions > Format Data/Userdata (on f2fs) > Reboot Recovery > Mount all partitions again > Flash Magisk > Reboot

Now you are free to use Stock ROM (Decrypted) or Flash any custom rom you want. " i coming from stock rom so i have to do it ?

first install, for example, magisk and then whether to first format these partitions and then magisk. I'm asking because reading a lot of people has a problem with it, and I do not fully understand it myself :(

thank you very much for your help in advance
[Moto G5S Plus Guides, News, & Discussion] Adi5:
U can Ask in pm also polish guy here
[Moto G5S Plus Guides, News, & Discussion] sachinsmac:
is it safe

hey guys ...finally I've taken the decision to unlock bootloader...but I'm scared as well. Currently my device is running soak test oreo rom (OPS28.49-2), so is it safe to unlock bootloader without losing IMEI.
[Moto G5S Plus Guides, News, & Discussion] CX&==:
Can I flash Magisk without do a wipe data first? Anyone try? I wouldn't want lose my all data another one time.
[Moto G5S Plus Guides, News, & Discussion] marcdw:
No. No data wipes necessary when flashing root (Magisk or SuperSU).

Moto G5S Plus XT1806, GZOSP_PixelExperience, MultiROM, TBO Tapatalk 4.9.3
[Moto G5S Plus Guides, News, & Discussion] logic88:
Just got a G5S+ a few weeks ago and haven't gotten around to rooting. I was surprised there's no official TWRP support though. Does anyone have a working link to a known good TWRP? The link on the OP seems to be down.

Also, I noticed that in another XDA G5S+ thread, it warns against booting into TWRP and allowing modifications to /system without rooting or installing a disable-verity zip.

Is that still a concern? Should I not allow modifications to /system and then run a backup first?

Thanks!
[Moto G5S Plus Guides, News, & Discussion] championc:
I wouldn't do it until you get the Oreo update because once you root it, you can no longer install OTA upgrades (which is how Oreo will come).
[Moto G5S Plus Guides, News, & Discussion] amrsy:
Error

Hi, i got this error when flashing this rom: Failed to mount '/data' (Device or resource busy)

Can someone help me fix this?
[Moto G5S Plus Guides, News, & Discussion] vamshii.7:
I've tried the above method but after getting the unlock data formatted it using Moto Data Scrub Tool but when i paste the same in the Motorola website right after clicking on can my device be unlocked? it says your device does not qualify for bootloader unlocking. please help