yashsingh1/xdaforums huggingface dataset:
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
I'll see what I can find. Motorola kinda sucks about getting the latest firmware but I'm trying to build a list of all firmware variants even if they're not june 1 that we can then OTA to latest.
[Moto G5S Plus Guides, News, & Discussion] BlueDragonHans:
Once again, many thanks pizzaboy192... I'm trying to find the rom for the RETLA channel too, but Google doesn't help me (only shows stuff for the G5 Plus, not the G5S Plus lol)

If I find something, I will share it

Thanks again!
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
According to https://xdaforums.com/showpost.php?p=74922155&postcount=85 in the other thread they are running 116-26 (And it sounds like they're still stock) so maybe try the firmware that is in the RETEU folder? (There's a good chance the firmware in the MEGA folders are multi-region and could be labeled wrong. I didn't upload them)
[Moto G5S Plus Guides, News, & Discussion] Don DD:
According to the thread I linked previously, OP says: "Finally, I have installed the 116-4-5 RETAIL. It seems to work perfectly until now!"

https://xdaforums.com/showpost.php?p=76759745&postcount=16

I'm not sure '116-4-5' is correct. Maybe it's '116-45'
[Moto G5S Plus Guides, News, & Discussion] jeffrey017:
Still no luck, i tried manual install via update from sdcard and via sideload.
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
Get the recovery log and share it
[Moto G5S Plus Guides, News, & Discussion] BlueDragonHans:
I'm back with some news...

I tried on my XT1800 the "SANDERS_RETAIL_7.1.1_NPSS26.116-45-5_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip" and the "SANDERS_RETAIL_7.1.1_NPS26.116-45_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip" from the https://firmware.center/ webpage, but none of those was up to date for my phone... then I tried the RETEU file that pizzaboy192 leaved on the start of this thread and is more updated than those other two that I mentioned before (I got the June 1st 2018 Security Patch) and seems to work fine... still no Oreo, of course, only in Brazil, but we must be patient :p

Shoutout to pizzaboy192 and Don DD, thanks for the orientation.

According to the Chilean Motorola Webpage, it's up to date

https://support.motorola.com/rola/e...droid-series/moto-g5s-plus/documents/MS130070

Btw, I found this mirrors with some roms too...

https://mirrors.lolinet.com/firmware/moto/sanders/official/RETAIL/
[Moto G5S Plus Guides, News, & Discussion] Sapan97:
Help me

I had manually upgraded to soak test through zip file...now i want to downgrade to 7.1 official....and i m noob here...someone please guide me easiest way...i m stuck on 1st sock test with battery draining issue
[Moto G5S Plus Guides, News, & Discussion] jeffrey017:
here mine.

thanks.
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
That firmware is in the RETBR folder. It looks like 3rd party ROMs don't overwrite the Moto firmware notes which is good. Flash that firmware unless you've already tried to flash something else. If that's the case I'll have to do more digging
[Moto G5S Plus Guides, News, & Discussion] jeffrey017:
So do you mean i need to download retbr firmware??

---------- Post added at 11:50 AM ---------- Previous post was at 11:47 AM ----------

This is not my original firmware. I already flash a firmware uploaded in many website. And I use a mod kernel right now.
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
The firmware in the RETBR folder matches your build. I would say there's a very good chance that we haven't properly understood how locale and firmware match, but it's easy to match the firmware numbers that Motorola uses since the first few sets won't change based on your device. The 26-116 means Sanders, (any of the G5s+) the next 2 is a firmware kind for some forms of phone (not sure what phones are for each category) and the last two numbers are the update level.

oh. In that case I'll need to do a bit of digging.
[Moto G5S Plus Guides, News, & Discussion] Pddgangsta:
What about the "Retepac" variant? Where can i find its firmware?
[Moto G5S Plus Guides, News, & Discussion] dilippathak:
Currently I am on soak test 1, can i go back to stock 7.1 via this procedure or can anyone

advise other mathod.

Thanks in advance
[Moto G5S Plus Guides, News, & Discussion] Sanjay.it:
found some error, Please check

Hi My Mobile Model is XT1804 - RetIN, I just do each and everything step by step as you guide, My phone is booting from start message "Your device is unlocked and can't be trusted, and after that booting with the Moto logo as i was purchased.

my phone working fine as earliest with IMEI and Serial number.

I am just little bit confused about below error, please suggest. sorry for the bad english

Error 1 -

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img_sparsechunk.6

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:system: not found

error: cannot load 'system.img_sparsechunk.6': No such file or directory

Error -2

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

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

(bootloader) 'fbmodeclear' is not a supported oem command

(bootloader) See 'fastboot oem help'

FAILED (remote failure)

finished. total time: 0.188s
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
The first one just says the firmware file was smaller than expected, but is not a problem. Some firmware has 5 system pieces, some has 6.

The second one is just saying it didn't understand the command. If your phone works fine, this also isn't an issue
[Moto G5S Plus Guides, News, & Discussion] Sanjay.it:
Thanks for your Quote...

i am just attached screen shot, please check.

Qus 1: my boot-logger still unlocked? showing message in startup booting "Your device is unlocked and can't be trusted".

Can i locked it with this attached screen shot firmware (NPSS26-116-61-11).

Qus 2 : In future will I got OTA update?

Please Suggest.
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
Yes, your bootloader is unlocked. My thread does not give the lock commands because there were too many people locking it with bad flashing or other issues and it can be difficult to relock.

It will get OTA with a locked bootloader. You can download the OTA even when rooted and using TWRP, but you can't install it, unless TWRP and root are removed. Of you want that message to go away, and your phone is working properly, then use the relock commands from the thread linked to at the top of the first post here.
[Moto G5S Plus Guides, News, & Discussion] echo92:
The second error reported may be due to the incorrect commands for setting and clearing fastboot mode (clearing fastboot mode is useful if your device starts up on the bootloader screen and is otherwise okay).

To set fastboot mode: fastboot oem fb_mode_set (note the underscores)

To clear fastboot mode: fastboot oem fb_mode_clear
[Moto G5S Plus Guides, News, & Discussion] Sanjay.it:
Thanks for your Quote :

So, can i use this command to locked my boot mode as you said to go with fast-boot Flash mode. Please suggest?

To clear fastboot mode: fastboot oem fb_mode_clear

---------- Post added at 12:30 PM ---------- Previous post was at 12:22 PM ----------

Command given to Locked boot mode : but still boot log showing Unlocked in to startup? Any suggestion

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

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

OKAY [ 0.176s]

finished. total time: 0.178s

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

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

rebooting...

finished. total time: 0.192s
[Moto G5S Plus Guides, News, & Discussion] echo92:
Can i ask what you mean by 'locked my boot mode'? Are you wanting to relock your bootloader? If so, these commands will not relock your bootloader, they are merely for maintaining fastboot mode and then clearing it after flashing.

If you want to relock your bootloader, you should be aware that you won't get back your warranty. Also, you do not need a locked bootloader to receive OTA updates. If you're still intent on locking your bootloader, you'll need to check that OEM unlocking is enabled in Settings>Developer Options, and that you have the latest firmware for your device.
[Moto G5S Plus Guides, News, & Discussion] Sanjay.it:
Hi Thanks for your Quote first.

I Just want to ask to fix this attached screen shot startup, ( RetIN - Build number NPSS26. .116-61-11 ).

or if i got future OTA updates in this Situation than after update it will automatically removed, please suggest
[Moto G5S Plus Guides, News, & Discussion] scudzy:
Hi there, my G5s+(XT-1805) are retapac channel. I've lost my IMEI & can't get LTE signal since I flashed custom ROM. So which version should i flashed here? Thanks in advance.
[Moto G5S Plus Guides, News, & Discussion] Sanjay.it:
Thanks for your Quote..:)
[Moto G5S Plus Guides, News, & Discussion] vinod meel:
i was on PE rom and yesterday i flashed stock rom but didnt get the network and emei no..so i again installed twrp and flashed the oreo rom and take backup of efs and then restore the stock rom restored the efs folder and got evertything working..but now i want to bootloader locked. but if i flash the stock rom with oem lock command do i still able to install the twrp..bcz it will be needed for restoring the efs folder(in case if i doesnt get emei and network)
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
You can go back to stock, get your imei and efs repaired (use the thread linked to in the OP to do it properly without needing Oreo), reinstall TWRP using fastboot, make sure it's all working properly, and then just flash the recovery, boot, and OEM partitions and attempt to relock if you want to

Relocking does not get warranty back, and is not required for OTA updates.
[Moto G5S Plus Guides, News, & Discussion] omegaorgun:
So I am running unlocked, twrp and custom rom, if I follow all the steps here is that all I have to do?
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
Yes. You will be back to stock, with an unlocked bootloader.
[Moto G5S Plus Guides, News, & Discussion] Swizzy88:
Which ROM do I need to return to stock on xt1803 retgb? I don't see a lot of talk about RETGB models so hesitant to flash anything. All I have done so far is unlock bootloader, root and change kernel. Currently I am on NPSS26.116-26-14, 1st April 2018 Security patch. Is there an Oreo rom for this device yet?
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
116-26 should be in one of the folders in the first mega link on the first post. If you are using the stock ROM it shipped with, then flashing any 116-26 will be safe.
[Moto G5S Plus Guides, News, & Discussion] Swizzy88:
I'm still using the official Moto ROM, just rooted and twrp installed and whatever OTAs I received since I bought it. All the instructions from OP are the same for my rom I assume?
[Moto G5S Plus Guides, News, & Discussion] Swizzy88:
The file SANDERS_NPSS26.116-26-18_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml worked for me perfectly.

Only problem I have encountered was the 'fastboot OEM fbmodeset' and 'fastboot OEM fbmodeclear' those commands failed but it doesnt seem to make a difference for me.

Thank you for me instructions and help
[Moto G5S Plus Guides, News, & Discussion] echo92:
Good to hear your device is working well.

Yeah, those commands should be 'fastboot oem fb_mode_set' and 'fastboot oem fb_mode_clear' (note the underscores). I'm not sure where the original poster got those commands from, but seems that those fb_mode commands are incorrect (the rest of the flashing commands look okay). Wouldn't really affect your flash anyway - the fb_mode commands seem to set and clear fastboot mode (presumably to ensure you complete the flash?), as long as your device stayed in bootloader mode.
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
I will update the OP.

Thank you for this note!
[Moto G5S Plus Guides, News, & Discussion] D13Gho:
Hi, yesterday I installed a stock rom with this version (picture), and I don't know if it was the correct region, I want to receive Oreo. I'm from Chile, south America, and I wonder if you can help me choosing the correct one please. Thanks

Sorry my bad English
[Moto G5S Plus Guides, News, & Discussion] ashish_zarekar:
I made a big mistake,

Unlocked boot locker, Flashed TWRP.

yesterday i got oreo update and i hit install update.

and now it it redirecting me to TWRP only. not allowing me to boot my device. please help me
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
If you have a backup of your stock recovery, install that and then reboot. Oreo update might fail but it will go back to system after
[Moto G5S Plus Guides, News, & Discussion] navnit75:
Like did everyone recieved the update? I am in stock and still i didn't recieve update. Model is XT1804 INDIAN VARIANT. so should i wait? Or should i install stock again
[Moto G5S Plus Guides, News, & Discussion] ashish_zarekar:
don't have backup,
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
In TWRP, do Reboot and then System. It should take you into the system.

if it does, go to Settings, About Phone, and copy down the Build Number and Software Channel parts and post those here. That should help us get you the correct Recovery to install.

If it doesn't, share where you bought the phone (Store & country) along with phone model number (Ex: XT1804) and we can see if we can make an educated guess.
[Moto G5S Plus Guides, News, & Discussion] ashish_zarekar:
i followed THIS tutorial and now my mobile is working fine. but now it is not showing me an update, need to check.

can you suggest me best rom for playing games and it should have good battery backup ?

Now i am planning to move to custom roms.
[Moto G5S Plus Guides, News, & Discussion] SandorG:
i can't download the retus file, it's not downloading from MEGA
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
Hi, what is a good alternate place to upload the file?
[Moto G5S Plus Guides, News, & Discussion] BlueDragonHans:
Google Drive ;)
[Moto G5S Plus Guides, News, & Discussion] shaik1169:
I flashed the August Nougat Stock ROM coming from Pixel Experience Oreo ROM and now my device is facing a lot of issues. USB debugging doesn't show up at all, even though phone charges. Phone hangs up after using it for sometime, after 2-3 days, I have to restart to get it back and sometimes phone itself restarts automatically. My Moto G5s plus is a mess right now? Any solutions for this from anyone?
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
https://drive.google.com/open?id=161Z95p4Ss16xgzvAix5O2kxCktY-LwCM

What model of phone do you have and what Nougat Stock did you flash over it?
[Moto G5S Plus Guides, News, & Discussion] shaik1169:
I have the Indian Version of Moto G5s plus(RETIN) and I flashed SANDERS_NPSS26.116-61-11_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip nougat Stock ROM. I was on Pixel Experience ROM.
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
Have you tried the factory reset from the stock recovery?
[Moto G5S Plus Guides, News, & Discussion] shaik1169:
Yeah. Tried that a couple of times. Device will work fine for a few days and then it hangs. But however, USB debugging never works. Not even with factory reset.
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
Have you verified that your USB cable is good and the PC has the adb drivers installed? I've noticed that adb devices show up differently in stock and custom ROMs.
[Moto G5S Plus Guides, News, & Discussion] xSpartacusx:
i bought my xt1806 RETUS back in december or january or something.. i dont know what my security patch was that i was on before i went to using custom roms.. i havent gone back to stock in a long time, so how can i find out what stock version to go back to inorder to receive OTA updates and get stock oreo?

--edit--

would i just use trial and error to see if i get OTA updates at all?

i wanna say i have a june / july 2017 security patch at one time... im unsure though..
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
You can throw the June retus on it and it will be fully up to date.
[Moto G5S Plus Guides, News, & Discussion] xSpartacusx:
the june 2018?

i read in the OP that if you dont flash the correct Stock security patch your device last had, that ota wont work?

or maybe it had the december 2017 security patch... i dont fkin know..
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
Yes, xt1806 running June 2018 retus will get retus ota when it comes out. If you want, you can confirm it using Lenovo Motorola smart assistant
[Moto G5S Plus Guides, News, & Discussion] xSpartacusx:
even though i had an older patch before going into the roms? or does it only fk up if its the other way around, where you get an older patch when you had a newer one before going custom?

and may i have a DL link please?
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
The files on the OP are up to date and official Motorola recovery files. Since they're newer than what you had last it will just update everything
[Moto G5S Plus Guides, News, & Discussion] xSpartacusx:
Okay thank you!!!!

---------- Post added at 12:55 AM ---------- Previous post was at 12:48 AM ----------

I made a post in the Q&A subforum regarding the fee Android 9 roms that we can get.. liquidremix has a nougat and Oreo FW base available, and from what I got told, if I dont have stock Oreo on my phone (and it's updated bootloader) I must use the nougat base?

If so, how can I get stock Oreo? As far as I know 8.1 hasn't been launched yet on Sanders..

And how can I update my bootloader? It says 2.07 on the BL menu..
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
Xt1806 does not have OTA Oreo so just do stock nougat and use nougat base
[Moto G5S Plus Guides, News, & Discussion] xSpartacusx:
Is there any difference between nougat and Oreo base?
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
I think he said in his thread it's the same room, just one for Oreo modems/boot and other for nougat
[Moto G5S Plus Guides, News, & Discussion] androidman2018:
Can you please upload on a torrent site or a better file sharing site? Mega is saying I'm over the quota even after I created an account.
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
Which files do you need? I'll see if I can get them all on my Google drive
[Moto G5S Plus Guides, News, & Discussion] androidman2018:
Don't worry, I got it to download.

---------- Post added at 01:41 AM ---------- Previous post was at 01:03 AM ----------

All the commands ran fine except for this one.

[IMG="error"]https://i.postimg.cc/sXZkqfMs/000580.jpg[/IMG]
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
That one can sometimes error out. The phone should still be factory flashed!
[Moto G5S Plus Guides, News, & Discussion] androidman2018:
Yeah, phone booted back to stock. Although, fastboot commands aren't working. Something wrong with ADB interface/drivers.

Do I have to flash TWRP and Magisk again if I want it rooted?
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
Yes you will need to flash TWRP and magisk for root again.

You also might need to re-install the adb and fastboot drivers because custom ROM adb looks different to the computer than stock ROM.
[Moto G5S Plus Guides, News, & Discussion] androidman2018:
I'm having difficulty doing this. It gives me this error.

[IMG="error"]https://i.postimg.cc/t4dWd8pT/000581.jpg[/IMG]
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
Right click the device, choose "uninstall" and check the"delete the driver" box.

To get the correct drivers for stock, you can install the Lenovo Motorola smart assistant from Lenovo.
[Moto G5S Plus Guides, News, & Discussion] Shivansh Trivedi:
the command fastboot flash system system.img_sparsechunk.0 to system.img_sparsechunk.5 failed '

only the first one says Error <<Too Many Links>>
[Moto G5S Plus Guides, News, & Discussion] AkshayTh9:
Error 2004, after getting it's update (official), but installation gets aborted

this is the error it is showing me after update fails

Supported API: 3

charge_status 3, charged 0, status 0, capacity 61

Finding update package...

Opening update package...

instaliing update...

E: Failed to parse build number in post-build- incremental=9fe

a.

Warning: No file_ContextSource: motorola/sanders/sanders:7.

1.1/NPSS26.116-61-11/18:user/release-keys

Target: motorola/sanders/sanders:8.1.0/OPS28.65-36/9fea:user

/release-keys

Verifying current system...

mount=3

Last mount path =

Last mount time = 1538896104 -> Sun Oct 7 07:08:24 2018

E2004: oem partition fails to recover...oem has been remount

ed R/W and has changed the partition contents...Partition contents

should not be changed for successful updates; reflash

devices to enable OTA updatesE: Error in @/cache/recovery/block.map

(Status 7)

Installation aborted

what could be the problem

if there is any expert in this hep me, thank you

May be I did some changes while flashing custom recovery, any way I could reset all these things....Thank you.
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
[MENTION=8687369]AkshayTh9[/MENTION] please don't quote the OP to post a question

Also, your issue is in the log.

E2004: oem partition fails to recover...oem has been remount

ed R/W and has changed the partition contents...Partition contents

should not be changed for successful updates; reflash

devices to enable OTA updates

Oem partition has been modified from stock. It looks like you need to flash the stock OEM partition to take the OTA, and it should be good after that.
[Moto G5S Plus Guides, News, & Discussion] pizzaboy192:
Try the Lenovo Motorola smart assistant

https://support.motorola.com/us/en/solution/MS126499

Load it up, go to flash, press recover. Hopefully it gets you restored.
[Moto G5S Plus Guides, News, & Discussion] MaxiB91:
Thanks a lot friend for your help ! but unfortunately did all you suggest , downloaded latest Lenovo Motorola smart assistant, went to flash, rescue option, waited the firmware to be downloaded , the process started correctly i saw on the bootloader logs in the phone and it says in pink "invalid piv signed system image" , finishes the process, the phone reboots and back again to the bootloader logs !!

thanks a lot for your time and help hope someone could help me !