yashsingh1/xdaforums huggingface dataset:
[Moto G5S Plus Guides, News, & Discussion] Leon1592:
This might of been answered or solved already. Otherwise I really hope this helps. After dealing with this issue a bit, and the device saying the image was unsigned or corrupted etc, I found a way. Most of these images for TWRP that say they work for this device do and if you run into this issue I doubt changing them matters as I've used several.

What worked was copying TWRP to the phone storage, SD card etc.

Then booting into TWRP from fastboot without installing it, using the command fastboot boot (twrp directory to the .img).

Using TWRP I pressed install and install image. I found where I placed the image file on the phone, pressed it and selected flash to recovery. Everything worked fine afterwards, TWRP booting from recovery options etc.

Also, I flashed the boot logo to get rid of the unlocked bootloader warning before I tried to install TWRP. Some said the order might of mattered. I doubt it does.

I would post the URL for the TWRP image I used but I'm not allowed to. But the file name is twrp-sanders-r16.img so if you Google that the first result should be of a post that takes you right to it. But read the actual post and make sure.
[Moto G5S Plus Guides, News, & Discussion] flaviort:
I have root since i1. and became interested in application development. I'm currently developing a beauty salon app for my wife. and as I am a taxi driver, I have developed an app for my clients to request. sorry for the delay

my g5s plus started with root and lasted until the battery ran out, then no longer started with root access. very strange, without me nor even requesting the installation
[Moto G5S Plus Guides, News, & Discussion] ~cyandrew:
My moto is not showing Battery OK (Charging) even when connected to the laptop. Any fix for this?
[Moto G5S Plus Guides, News, & Discussion] jdesignz:
Thanks for this I've learned how to root and sideload apps using terminal. :)
[Moto G5S Plus Guides, News, & Discussion] Sentheb3ast:
Will flashing twrp erase my data?
[Moto G5S Plus Guides, News, & Discussion] Always6z:
Yes it will. Do a backup first

---------- Post added at 11:09 AM ---------- Previous post was at 11:05 AM ----------

Okay. I got twrp installed fine. Data wouldn't mount after first booting to recovery. Done a factory reset and got it to work. I have tried to ROMs now, Pixel and Cosmic. My problem is that I can't seem to get 4g to work in either ROM. Please help. 3g just isn't cutting it.
[Moto G5S Plus Guides, News, & Discussion] akashraj26:
twrp file is missing
[Moto G5S Plus Guides, News, & Discussion] Always6z:
How is that when my twrp is working fine except for not booting into system. Only boots to recovery or bootloader.
[Moto G5S Plus Guides, News, & Discussion] jdesignz:
It's a dead link use this one pick the latest, r16

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

---------- Post added at 02:40 AM ---------- Previous post was at 02:37 AM ----------

If you're not booting directly into system, you must have missing components or you did not backup the important files such system image, recovery, etc etc. Have you flash Magisk already?
[Moto G5S Plus Guides, News, & Discussion] Always6z:
I have flashed magisk. 15.3 or something like that. It works just fine. I will try the r16 and see what happens with my 4g. I am using an unofficial twrp. Would that have anything to do with it?
[Moto G5S Plus Guides, News, & Discussion] jdesignz:
I used r16 and it's my first time unlocking bootloader, flashing, and rooting, all are working fine.

Magisk has nothing to do with the boot. You should have backup everything first (well except for the cache thingy), before that Magisk stuff
[Moto G5S Plus Guides, News, & Discussion] Always6z:
Forgot to back anything up. Got a little carried away. I didn't know that would affect my 4g tho. Ive rooted several phones and haven't had that problem before. I'm in the process of dwnldng the stock sanders to flash it and see if it comes back.

---------- Post added at 05:48 AM ---------- Previous post was at 05:01 AM ----------

Flashed the r16. Still no 4g and still doesn't boot to system......
[Moto G5S Plus Guides, News, & Discussion] SpaceGray1:
I guess I have a problem

So I had rooted and flashed twrp on my G5s Plus but then I faced some problems as my phone was "could not be decrypted" so I reflashed twrp and put on the linage os 15 as it was very late in the night the following morning I could not detect wifi so after some deep digging I found the stock room flashed it with regular recovery and yesterday when I reflashed twrp and rebooted my phone it was gone.

Do you think there is a solution as I need to flash some new tweaks on my phone

Thanks in Advance

SpaceGray
[Moto G5S Plus Guides, News, & Discussion] Adi5:
Did you try flash stock rom via fastboot?
[Moto G5S Plus Guides, News, & Discussion] SpaceGray1:
Yes
[Moto G5S Plus Guides, News, & Discussion] maximran:
This will not work in xt1804? Indian model?
[Moto G5S Plus Guides, News, & Discussion] Adi5:
Works
[Moto G5S Plus Guides, News, & Discussion] SpaceGray1:
It worked for me before but now I have a issue
[Moto G5S Plus Guides, News, & Discussion] osemoka:
Does it work for Windows 10 and for 7.1 and 8.0 Android firmware?
[Moto G5S Plus Guides, News, & Discussion] Adi5:
Yes I have windows 10 g5s plus xt1805 and android 7.1.1 and works
[Moto G5S Plus Guides, News, & Discussion] William1020000:
I think the magisk link is broken. Can anyone provide another working one?
[Moto G5S Plus Guides, News, & Discussion] Adi5:
https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Moto G5S Plus Guides, News, & Discussion] jacdelad:
I installed the adb driver and fastboot driver, my system recognizes a "Fastboot sanders S". But the device manager shows the device as "driver missing". This is not the first phone I want to unlock (HTC Desire S/One X/Desire 500, several Samsung devices (which is easier, thanks to odin) and some Sony). This must be a very stupid failure caused by me, can someone help me?
[Moto G5S Plus Guides, News, & Discussion] Adi5:
Install moto device menager
[Moto G5S Plus Guides, News, & Discussion] jacdelad:
Aye thank you very much! That helped. Maybe OP can put a note to first post (maybe I'm not the only one to miss that step).

---------- Post added at 01:16 PM ---------- Previous post was at 12:40 PM ----------

Next problem: Can't flash recovery. It always tells me "(bootloader) Image not signed or corrupt". Bootloader is unlocked, but after flashing I have no recovery at all on my phone.
[Moto G5S Plus Guides, News, & Discussion] Adi5:
I had same error but I have twrp on my phone
[Moto G5S Plus Guides, News, & Discussion] jacdelad:
I can't boot into recovery there is none. I tried the unfficial 3.1.1 and 3.2.1-r16. I'm deeply sorry to bother you with my ****.:(
[Moto G5S Plus Guides, News, & Discussion] Adi5:
I use r16 and works,try again
[Moto G5S Plus Guides, News, & Discussion] jacdelad:
I did. "unknown reboot target recovery"

Also: "has slot: recovery: not found"???
[Moto G5S Plus Guides, News, & Discussion] Adi5:
In fastboot/bootloader menu You have recovery mode option and it will boot in twrp
[Moto G5S Plus Guides, News, & Discussion] ____Mdd:
Recovery is getting flashed correctly, use volume key to navigate to recovery option and power key to boot.
[Moto G5S Plus Guides, News, & Discussion] jacdelad:
Nope. It tries to enter recovery, but there is none. Seems like my partitions are ****ed up. Btw system boots fine.
[Moto G5S Plus Guides, News, & Discussion] Adi5:
You must flash no opt verify in twrp

Flash again and boot twrp
[Moto G5S Plus Guides, News, & Discussion] jacdelad:
How?
[Moto G5S Plus Guides, News, & Discussion] ____Mdd:
Flash again as you did before "fastboot flash recovery xyz.img"

Then don't start to system, if you start system after flashing twrp, it will rewrite stock recovery, so after flashing boot into recovery..
[Moto G5S Plus Guides, News, & Discussion] Adi5:
Fastboot flash recovery twrp.img

Fastboot boot twrp.img

And Flash twrp.img in in twrp and no opt zip
[Moto G5S Plus Guides, News, & Discussion] jacdelad:
Hell yeah, that worked. Thanks very much. This is rather confusing compared to Samsung or HTC.:laugh: I'll get the rest working on my own. Thanks again!!!
[Moto G5S Plus Guides, News, & Discussion] Adi5:
No problem
[Moto G5S Plus Guides, News, & Discussion] jacdelad:
Problem on my side: no op zip? Where do I find it? Missed that step and now it's still gone...
[Moto G5S Plus Guides, News, & Discussion] Adi5:
You also can flash magisk and format data

Should work without no opt zip
[Moto G5S Plus Guides, News, & Discussion] jacdelad:
Ah yiss, finally worked now. I installed AOSP Extended, root and everything. Works fine now. Thanks for everyone for the patience.:good:
[Moto G5S Plus Guides, News, & Discussion] joaonds:
I need Minimal ADB (download section with error 404)

Someone help me ?

Thanks
[Moto G5S Plus Guides, News, & Discussion] jacdelad:
Try Google, I found it with Google.
[Moto G5S Plus Guides, News, & Discussion] Nephalem7:
TWRP Recovery Flash Issues

Hello,

I have been having an issue flashing TWRP.img to my Moto G 5S Plus. I have tried two different images with the same results. Some things to note are:

•After I requested my unlocked boot loader key from Motorola my boot-loader message now says boot-loader unlocked ID: Bad Key.

•After I unlocked my boot-loader everything reverted to factory settings, I made sure I re-enabled ABD USB Debugging and even turned off ABD verification due to the unsigned or corrupt message I kept receiving.

Boot-loader Information Screen- Some potential relevant information

AP Fastboot Flash Mode (Secure)

Product/Variant: sanders XTI806 64GB P5

flashing unlocked

Attempt to flash TWRP

C:\Users\D*****\Desktop\Moto G5S Plus\platform-tools>fastboot devices

Z********* fastboot

C:\Users\D****\Desktop\Moto G5S Plus\platform-tools>fastboot flash recovery twrp

.img

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:recovery: not found

target reported max download size of 536870912 bytes

sending 'recovery' (15082 KB)...

OKAY [ 0.385s]

writing 'recovery'...

(bootloader) Image not signed or corrupt

OKAY [ 0.204s]

finished. total time: 0.594s

C:\Users\D****\Desktop\Moto G5S Plus\platform-tools>fastboot reboot recovery

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

fastboot: usage: unknown reboot target recovery

C:\Users\D****\Desktop\Moto G5S Plus\platform-tools>

P.S. It has been awhile since I did this with my Moto G 2015. I hope it's something simple that I am missing or overlooking.

Thank you for your time.

---------- Post added at 03:28 PM ---------- Previous post was at 03:22 PM ----------

I figured it out. Thank you.
[Moto G5S Plus Guides, News, & Discussion] TerraBuzz:
I was doing a lot of research before rooting my phone. By using this guide and carefully reading all the comments and replies from you guys, I can finally managed to root my phone. Thank you all...!
[Moto G5S Plus Guides, News, & Discussion] osemoka:
Hey, links are down :(

Can i install magisk from this link? v14 or v16?

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

Twrp 3.1.1 or 3.2.1?

https://xdaforums.com/moto-g5s-plus/development/unofficial-twrp-3-1-1-0-moto-g5s-plus-t3669700

https://xdaforums.com/moto-g5s-plus/development/recovery-twrp-3-1-1-r7-t3694910

miniADB from here?

https://xdaforums.com/showthread.php?t=2317790
[Moto G5S Plus Guides, News, & Discussion] wolrik:
I had a Motorola update this morning and after it finished, I got the TWRP menu, but can't seem to do anything from there. Every time the phone reboots, I get the same TWRP menu. Where do I go from here to get my phone working again?

Moto G5, Android 7, TWRP 3.1.0-0
[Moto G5S Plus Guides, News, & Discussion] wolrik:
Panic over, partially. I have no idea how I did it, but I got it working again, although back to factory defaults. So now lots of work to get it how I want it again.
[Moto G5S Plus Guides, News, & Discussion] osemoka:
Magisk modules still doesn't work?
[Moto G5S Plus Guides, News, & Discussion] wolrik:
I think the phone is back to factory default, except for TWRP being installed. Says it's not rooted anymore. I stupidly allowed an OTA update which failed, so I assume TWRP starts at boot up because of that? I can get the phone to start by TWRP / Reboot / Bootloader / start - but next time I reboot, TWRP starts again. My memory is fading fast (I'm 68!) so I don't even remember how I rooted the phone and installed TWRP in the first place. :)
[Moto G5S Plus Guides, News, & Discussion] Phazmos:
Let's see if I understand this correctly.

Using start from bootloader will start the os, but a reboot from the os (or reboot/system from twrp) just goes back into recovery (twrp).

What exactly do you want to do with the device:

Use custom versions of Android?

Use the configuration it originally came with?
[Moto G5S Plus Guides, News, & Discussion] wolrik:
Many thanks for your reply, but as I found the latest image for my phone, which has the update I had tried to install, I decided to flash that and start from scratch.

Regarding TWRP, I had hardly used it since installing it, and had even forgotten I had made a back up 3 months ago. Old age has a lot to answer for. :)
[Moto G5S Plus Guides, News, & Discussion] Munchkin86:
can't make it work

Already fail at the beginning:

when I enter: fastboot oem get_unlock_data I get the following error

C:\Program Files (x86)\Minimal ADB and Fastboot> fastboot oem get_unlock_data

fastboot : Die Benennung "fastboot" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines

ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern

enthalten), und wiederholen Sie den Vorgang.

In Zeile:1 Zeichen:1

+ fastboot oem get_unlock_data

+ ~~~~~~~~

+ CategoryInfo : ObjectNotFound: (fastboot:String) [], CommandNotFoundException

+ FullyQualifiedErrorId : CommandNotFoundException

Any suggestions?
[Moto G5S Plus Guides, News, & Discussion] Phazmos:
Well, that was the fix - actually, when you get that twrp thing happening all you do is flash the stock recovery, reboot, then flash twrp again and make sure to boot into twrp once. But you're good to go, no worries now.

Age - ha - that's just experience! I don't have as much experience as you, but I am not far behind, not far at all.

Remember - we have experience - and there's no substitute for it - we have the advantage!

Enjoy !
[Moto G5S Plus Guides, News, & Discussion] Adi5:
V16

3.2.1 r16

Yes
[Moto G5S Plus Guides, News, & Discussion] l0gandroid:
the links are dead
[Moto G5S Plus Guides, News, & Discussion] Nafunnufan:
Followed instructions, there were a few hiccups along the way but eventually..

Unlocked Bootloader [Check]

Flashed TWRP via command prompt [Check]

Installed Magisk via TWRP [Check]

Now Root Checker shows successful rooting.

Magisk passes safety test.

Magisk reports that it has given superuser access to the apps that need it, and the apps think they have it. (NoBloat thinks it's removing/disabling programs and AdFree thinks its blocking ads), but they're not.

I think this is f2fs I've got "mount /dev/block/loop0->/sbin/.core/img failed with 13: Permission denied" in my Magisk log a couple of times", but I haven't been able to find a custom kernal or patch to fix it.

Any help would be greatly appreciated.
[Moto G5S Plus Guides, News, & Discussion] juniorhonorato1986:
Reserved.
[Moto G5S Plus Guides, News, & Discussion] susemano:
Help! Cant flash any roms!!

I have followed the above procedure of unlocking bootloader and installing twrp for moto g5s plus (XT1804). I am sure I did it correct. Now when I want to flash a rom (any rom for g5s plus) it keeps giving me 'error:255 failed'. I dont know what to do now. Please help anyone! :crying::crying::crying:
[Moto G5S Plus Guides, News, & Discussion] super-drone:
you have to update your twrp to r19 to flash 64bits ROMs
[Moto G5S Plus Guides, News, & Discussion] susemano:
God that helped!! I had to flash a new version of twrp and now flashed AEX rom 8.1 !! Looking good!!:D:D:D
[Moto G5S Plus Guides, News, & Discussion] super-drone:
Nice! Glad it's solved
[Moto G5S Plus Guides, News, & Discussion] BigBopper66:
How did you figure it out? I am running into the same issue.
[Moto G5S Plus Guides, News, & Discussion] Abhilash23:
Does the data gets wiped while rooting the phone
[Moto G5S Plus Guides, News, & Discussion] Phazmos:
If it's already unlocked - no
[Moto G5S Plus Guides, News, & Discussion] Abhilash23:
No....I am rooting for first time... Will it erase the data... Flashing the roms?
[Moto G5S Plus Guides, News, & Discussion] Adi5:
U have to do format data in twrp,so Ur data will be erased
[Moto G5S Plus Guides, News, & Discussion] Abhilash23:
Kk... Thank you
[Moto G5S Plus Guides, News, & Discussion] Phazmos:
To flash roms you have to unlock bootloader. Unlocking it will erase all user data.

Regardless of what else you hear - unless you want to remove encryption, formatting data is unnecessary.
[Moto G5S Plus Guides, News, & Discussion] mabvmet:
Links down!

Links down in the original post... Can someone re-upload files, please?

Thanks in advance!

---------- Post added at 09:01 PM ---------- Previous post was at 08:55 PM ----------

I'm stuck with the TWRP procedure, I need some help, please!

Hi guys! :P

I need help with this issue:

I tried it yesterday and I have some troubles with this procedure, so here I go!

1.- The BootLoader is unlocked. :)

2.- Minimal ADB and Fastboot installed and working. :)

3.- Magisk 14.0 zip stored in phone, and Magisk-5.5.0.apk install (without open it for first time)* :)

* Acording with this tutorial (in Spanish):

tecnocatweb [dot] com/tutoriales/como-ser-root-e-instalar-twrp-en-moto-g5s-plus-muy-facil/

4.- I tried to flash the twrp-recovery.img and I got this result:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.1.1-sanders.img
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) has-slot:recovery: not found
target reported max download size of 536870912 bytes
sending 'recovery' (10236 KB)...
OKAY [ 0.301s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
OKAY [ 0.170s]
finished. total time: 0.471s

Is everything fine until here?

I've been trying this step with deferents images... twrp-sanders-r15.img / twrp-3.1.1-sanders / twrp-3.X.X / twrp-3.x.x-potter / twrp-3.x.x-cedric, etc. with similar outputs.

When I restart the phone and go to the Fastboot mode (power + volumeDown) and try to go to TWRP recovery, where the green android robot is laid down showing a red triangule the phone doesn't do anything but reboot normally.

The phone doesn't do anything with the power+volumeUp command. I haven't been able to start the TWRP recovery to start to root. Did I broke something? :crying:

So Im stuck, I need some help. :rolleyes:

P.D.1: I have a Moto G5s Plus (XT1800) with Stock Android 7.1.1 :P

P.D.2: The links in the original post are down... :(

Thanks guys!
[Moto G5S Plus Guides, News, & Discussion] susemano:
Hey I had same issue. Try twrp image with version r16. It worked for me.
[Moto G5S Plus Guides, News, & Discussion] mabvmet:
Thanks for your answer!

Do you have a link of the one that worked for you?

Or can you share the file, please?

Thank you!
[Moto G5S Plus Guides, News, & Discussion] susemano:
Hey, Here's the link. Hope it helps. :)

EDIT: Thank me if it helps!

https://androidfilehost.com/?fid=889964283620777591
[Moto G5S Plus Guides, News, & Discussion] mabvmet:
It worked for me!

This works finally. Thanks buddy!!! :):):)

P.D. The Thanks button don't work for me, so is someone try this solution, please, give it to him! ;)
[Moto G5S Plus Guides, News, & Discussion] susemano:
Are you on stock ROM or already flashed?
[Moto G5S Plus Guides, News, & Discussion] allbruno:
just the bootloader

Hi all,

Is it possible to erase all data on a device and then reinstall?

Recently I noticed that even using recovery to erase all data from a device, many files remain in memory. Could be done as the computer, format the "hard drive" and just keep the bootloader, without recovery, the ROM, etc.

But remembering that I've already considered all the options of twrp "advanced wipe".
[Huawei P9 Lite 2017 (General)] lesa84:
Hi,

I bought P9 Lite 2017 kown also as P8 Lite 2017 and did factory reset from the stock recovery.

Now I have problem with Factory reset protection. The problem is that I bought it from other person and I have lost the number from him. So I tried some tutorials I have found online but nothing functioning.

So now I am able to turn on phone until Verify account page...maybe I can reinstall firmware but I am not sure which version. Its form Austria and unlocked, and if I want to install custom recovery I have to go in Developer settings and enable USB debugin and OEM unlock but I cant do it now.

So any opinion is appreciated. Thanks
[Huawei P9 Lite 2017 (General)] GedeonTaylor:
Hi, that is interesting. If you want to fix it without oem.. Maybe impossible but if not, then boot into erecovery (connect to your computer then vol up+ power) After this you can disconnect, hopefully it will fix your phone.
[Samsung Galaxy Note 8 Questions and Answers] BigMosley:
When I get into my vehicle (2016 Ford F150) and turn the engine on my phone automatically connects to Bluetooth (Ford Sync) and the phone screen lights up with the "Loud Volume Warning" and I have to press OK for it to go away. I have also noticed that my Bluetooth volume on my device (SYNC) is always on Max and if I try to turn the volume down it just jumps right back to the Max. :confused:

Anyone else experience this or can test this in their vehicle? Since pressing OK on the Volume warning I believe it wont ask you again until you reboot your phone again.
[Samsung Galaxy Note 8 Questions and Answers] koolboyztn:
That's how is always been to me.
[Samsung Galaxy Note 8 Questions and Answers] BigMosley:
So you always have to press OK to the Volume warning when first entering your vehicle everyday? Does your screen stay lit until you press OK or eventually turn off?
[Samsung Galaxy Note 8 Questions and Answers] koolboyztn:
only when i adjust the volume on the phone.
[Samsung Galaxy Note 8 Questions and Answers] marctronixx:
Its to protect you from.. you. :)

Not just for the car. It happens over headphones as well.

Nanny "feature". Some cat on here made some kind of "script" to disable this automatically.

EDIT: https://xdaforums.com/galaxy-note-8/themes/mod-disable-volume-warning-root-t3671539

https://xdaforums.com/galaxy-note-8/themes/stop-warning-im-grown-t3673273
[Samsung Galaxy Note 8 Questions and Answers] bpleat:
Try an app called "Bluetooth Volume Control", I find it useful for this issue.
[Samsung Galaxy Note 8 Questions and Answers] TechBSwift:
You guys realize you can fix this without any extra software right... Just go into setting, sounds, volume, click the little three dots in top right corner for media volume limiter. Turn it on and slide the bar all the way up. Now when you get in your truck or connect headphones you won't get that stupid popup anymore
[Samsung Galaxy Note 8 Questions and Answers] BigMosley:
Warning still pops up after a reboot.
[Samsung Galaxy Note 8 Questions and Answers] atunguyd:
Strange, I don't have that option in my volume settings
[Samsung Galaxy Note 8 Questions and Answers] BigMosley:
Doesn't matter, not a permanent fix anyway. After a reboot this warning still comes back.
[Samsung Galaxy Note 8 Questions and Answers] CCJ22:
God what a nightmare of a first world problem. I hate that notification
[Samsung Galaxy Note 8 Questions and Answers] CCJ22:
Any luck on finding a fix/
[Samsung Galaxy Note 8 Questions and Answers] lew616:
i have a 2015 Ford Fiesta ST with MyFordSync and when it connects with mine, it automatically jumps to bluetooth audio and restarts the last video/music file i had watched/listened to on my device. but for volume mine is the opposite, it's always all the down.