yashsingh1/xdaforums huggingface dataset:
[Moto G5S  Guides, News, & Discussion] bu3304:
Hi. I can't debrand my G5s Orange (French provider) with this method :

mfastboot flash partition gpt.bin ---> FAILED (remote failure)
[Moto G5S  Guides, News, & Discussion] lohanbarth:
Is your USB debugging enabled?

passed to the next command, the gpt.bin you but error because your bootloader should not be unlocked.

the orange firmware is not out yet.
[Moto G5S  Guides, News, & Discussion] bu3304:
Hello. Yes the usb debug is activated and bootloader unlocked.

On the other hand, the Orange firmware is more recent...

I was able to flash files except boot.img, oem.img and gpt.bin

I cannot even block the bootloader again (boot.img)

I have to wait for a firmware more recent than for that of Orange.
[Moto G5S  Guides, News, & Discussion] lohanbarth:
did you re-enable USB debugging after unlocking the bootloader?
[Moto G5S  Guides, News, & Discussion] bu3304:
Hello. Phone exchanged by Operator. Actually the firmware is more recent:

NPP26.102-49

Security Update: 1 October 2017.

So I will wait for the latest Retail firmware before making any changes to my G5s.
[Moto G5S  Guides, News, & Discussion] lohanbarth:
rom stock flashable (test) to install with the twrp, debloat, no verity deleted, support init-d, the rom is not root.

for root you have to flash magisk.zip and install magisk.apk.

Make backup before flashing this rom

https://www.mediafire.com/file/qsnengqiop597xi/montana.zip

----------------------------------------------

if someone tried the rom, thank you for making a return.
[Moto G5S  Guides, News, & Discussion] janhieber:
I tried, does not work. Tells me something is wrong when mounting system. I should mention that i ****ed up something before on my phone.

That images from OP do also not work on my phone. I have the German XT1794 version.

If someone could provide fastboot flashable images of all partitions for this, that would be really nice!
[Moto G5S  Guides, News, & Discussion] nexx2:
This saved my ass, thanks! I successfully flashed the Stock ROM to my G5S (XT1794)
[Moto G5S  Guides, News, & Discussion] kalyansundhar:
Does any one have stock ROM ZIP file of XT1795 (Moto G5S INDIA)? It contained NPP26.102_19 version by default. I couldn't find anywhere on the net.

The ROM mentioned in this thread (NPP26.102_16) doesn't work for me. Its flashing fine. But doesn't get pass boot logo when I start device.

Thanks

KS
[Moto G5S  Guides, News, & Discussion] lohanbarth:
Hello,

for the moment it is only this available rom, I looked on the internet hundreds of sites, but I have not found any other.

this eom works for some model, xt1792,93,94.

I was also in version NPP26.102_19, before flashing this rom, there is only the cmd gtp.bin which has not passed because it donwgrade the bootloader, but all the rest worked properly, I was departing on an orange rom.
[Moto G5S  Guides, News, & Discussion] kalyansundhar:
Thank you. But won't I lose the baseband? Current baseband version is for INDIA, I believe.

Regards

KS

EDIT: I flashed just system sparse files and boot image. Device booted fine and baseband retained.

Thanks

KS
[Moto G5S  Guides, News, & Discussion] sudd1976:
Cheers Dude,

You are a legend !!!

I only went and bricked my brand new G5S flashing a G5 Lineage Rom and thought that I now had an expensive paper weight.

Thanks to this I was able to fully restore my device.

Thanks once again. :good:
[Moto G5S  Guides, News, & Discussion] Bjr49000:
fastboot flash boot boot.img

target reported max download size of 536870912 bytes

sending boot (16384 KB)...

OKAY

writing boot...

(bootloader) Image signed with key bad key

OKAY 0.440s

finished. total time: 0.967s
[Moto G5S  Guides, News, & Discussion] lohanbarth:
:confused:
[Moto G5S  Guides, News, & Discussion] Adi5:
Can I debrand my phone(play poland) this metod? xt1794 montana version.

Unlock bootloader void my warranty yeah?
[Moto G5S  Guides, News, & Discussion] Anrei Titov:
Yes.
[Moto G5S  Guides, News, & Discussion] arpitgautam:
hey please help me i have moto g5s indian variant i.e XT1795 and i want to flash this rom and i have locked my bootloader so after this will i get ota updates????? thanks :)

---------- Post added at 02:35 PM ---------- Previous post was at 02:30 PM ----------

wasted my whole day finding the official rom for my device:confused:
[Moto G5S  Guides, News, & Discussion] lohanbarth:
New firmware NPPS26.102-49-14 August sécurity patch

https://drive.google.com/file/d/1a4_YUXtlX9uMIEYk-3iGwfyDLcvzCeks/view
[Moto G5S  Guides, News, & Discussion] Toro Loco:
Boot Loop here, if you have a phone recovered from hard brick dont flash the rom yet
[Moto G5S  Guides, News, & Discussion] DoctorStrange96:
New firmware - Android Oreo 8.1, build OPP28.65-37 (1 August security patch)

https://rsdsecure-cloud.motorola.co...ubsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
[Moto G5S  Guides, News, & Discussion] urundunus:
How can i flash this?
[Moto G5S  Guides, News, & Discussion] Toro Loco:
Official ?
[Moto G5S  Guides, News, & Discussion] Daniel936:
Got error when I try to enter this page
[Moto G5S  Guides, News, & Discussion] dau999:
New firmware - Android Oreo 8.1, build OPP28.65-37 (1 August security patch)

Hi@all

I think the downloadlink is only for Kamin4ri`s device, other than his Hardware get the requestID error.

[MENTION=5736790]Kamin4ri[/MENTION], Are you able to download the zip, and upload it to Cloud?
[Moto G5S  Guides, News, & Discussion] DoctorStrange96:
Fastboot.

---------- Post added at 12:47 ---------- Previous post was at 12:46 ----------

Yes. This is what those in the retla channel received.

---------- Post added at 12:49 ---------- Previous post was at 12:47 ----------

Even I can't download it unless I use LTE. Maybe it'll work if I use a VPN.

But this link does work, not for everyone though. Can someone in another Latin American country apart from Brazil try and download this? Since this is for retla
[Moto G5S  Guides, News, & Discussion] urundunus:
I'm from Chile, im not able to download..
[Moto G5S  Guides, News, & Discussion] dau999:
This is for US Models only:

Version: 26.276.14.montana.retail.en.US

Model
[Moto G5S  Guides, News, & Discussion] urundunus:
Thats why my sim wasnt working, thanks
[Moto G5S  Guides, News, & Discussion] DoctorStrange96:
Okay, so can someone in Colombia, Argentina or Mexico try to download?

---------- Post added at 13:54 ---------- Previous post was at 13:36 ----------

TWRP flashable zip:

https://drive.google.com/open?id=173FMU5cH3AKxaKBksRVmBUf7pdsHSQh_
[Moto G5S  Guides, News, & Discussion] urundunus:
Thank you so much for this, you are a great human being
[Moto G5S  Guides, News, & Discussion] DoctorStrange96:
Not at all!
[Moto G5S  Guides, News, & Discussion] LucasUruguay:
Thank you very much. You are a brilliant person.
[Moto G5S  Guides, News, & Discussion] urundunus:
Zip working flawlessly. Some lagging after the install but once the rom settled down everything started to work just fine, excellent.
[Moto G5S  Guides, News, & Discussion] Gus_tavo:
Can it be flashed on non-rooted devices already? Or just by TWRP?
[Moto G5S  Guides, News, & Discussion] DoctorStrange96:
The zip can be only flashed via TWRP.
[Moto G5S  Guides, News, & Discussion] dau999:
I was wrong, sorry! all official firmwares are: Blur_Version.26.276.14.montana.retail.en.US

Version

Did you Flash all 11 System.img_sparsechunk files? (Flash advise in post 1 contains only 5),

and both oem.img_sparsechunk files? (Flash advise in post 1 contains only 1)
[Moto G5S  Guides, News, & Discussion] urundunus:
I flashed all of them, but now I'm riding Oreo, thanks!
[Moto G5S  Guides, News, & Discussion] Adi5:
K its reteu firmware I can download from there without vpn

Someone tester without erasing data?
[Moto G5S  Guides, News, & Discussion] Daniel936:
If i flash this security patch, is there a chance that I wont receive future updates? Reteu here
[Moto G5S  Guides, News, & Discussion] Adi5:
U will get I think
[Moto G5S  Guides, News, & Discussion] Daniel936:
Did you try to flash this Oreo rom? Works on reteu?

I've seen somewhere zip with blur version for updating manually through Moto update service, but I don't know if it the first soak or final version or if this work with June security patch (by this method you can keep your stuff)
[Moto G5S  Guides, News, & Discussion] Talwar sridhar:
To update in that method the OTA update has to be same software channel as your mobile software channel

Ex: if ur mobile is is of reteu then the OTA should be of reteu
[Moto G5S  Guides, News, & Discussion] Exe557:
Actually, the software channel itself is not checked during OTA update. Just the build fingerprint.

For 1st soak test : "7.1.1/NPPS26.102-49-8/6:user/release-keys"

For OPP28.65-37 : "7.1.1/NPPS26.102-49-11/11:user/release-keys"
[Moto G5S  Guides, News, & Discussion] Talwar sridhar:
But when u update by Motorola update service center the updates try to install in the installation process it displays an error message
[Moto G5S  Guides, News, & Discussion] everyonesweird:
hellow....

can someone mirror this file???

NPPS26.102-49-14 August sécurity patch ????

link is dead!!!!

or someone can give me retin firmware? i lost my imei... hlep
[Moto G5S  Guides, News, & Discussion] lohanbarth:
https://drive.google.com/file/d/1a4_YUXtlX9uMIEYk-3iGwfyDLcvzCeks/view
[Moto G5S  Guides, News, & Discussion] I bondoo7:
Hey guys little help here! I tried using all the above files but every time i try i get GPT error saying security version downgrade................................is there any flashable zip for this[7.1.1]?
[Moto G5S  Guides, News, & Discussion] Mrkblo:
Hello sir. I have a Moto G5s (xt1792 - retbr software channel), that I have updated to Oreo. The battery on my phone is now simply unbearable (and I've tried a factory reset, to no avail). I'm currently seeking to downgrade to 7.1.1 firmware, but was unable to find the firmware containing the August security patch for my software channel. Will this file suit my device?

Is it possible to downgrade without unlocking bootloader in case I use the correct firmware my phone had previous to the Oreo update (NPP26.102-49-14)? I ask because my phone still has 6 months of warranty and I was hoping not to void it.

My concern lies on the possibility of losing IMEI during this fastboot install while trying to flash without unlocking the bootloader (what could be repaired in case I had a backup of efs/persist partitions, but for that I would neeed to unlock/twrp the device).

Any advice would be greatly appreciated.
[Moto G5S  Guides, News, & Discussion] zitrish:
I would like any advice regarding this too...

Does this method delete IMEI?
[Moto G5S  Guides, News, & Discussion] lohanbarth:
it is impossible to downgrade without unlocking the bootloader, and you could lose your imei by doing a downgrade
[Moto G5S  Guides, News, & Discussion] Mrkblo:
Farewell warranty, then. Thank you for taking the time to answer me. I'll make a backup while still on Oreo and flash the latest 7.1.1 available. I know losing IMEI is still a possibility, but I didnt buy a 3000mah snapdragon 430 device to have to charge the battery twice a day. On nougat it was great, a full day easily, now it's terrible.
[Moto G5S  Guides, News, & Discussion] ShattrdChain:
Kindly let us know how it goes.
[Moto G5S  Guides, News, & Discussion] zitrish:
Please let us know the results. I would really appreciate it...

Some people have said that you can prevent deleting IMEI by removing these lines:

fastboot erase modemst1

fastboot erase modemst2

Maybe it works...
[Moto G5S  Guides, News, & Discussion] Oxellaar:
Just flashed the rom on my Montana XT1794. Came from stock 7.1 it was rooted.

After the first flash, he didn't boot, only the "no command" on screen. No boot to recovery, only to bootloader.

I flashed the rom again and again.... The 3th time i succeeded.

But when i reboot, he boots to the bootloader. When i press start in te bootloader, he starts normally to OS.

Its not a big problem, but what went wrong?
[Moto G5S  Guides, News, & Discussion] abettamio:
No oem Image in file

New firmware NPPS26.102-49-14 August sécurity patch

Hello!

I tried to install this August update, but adb returns that there was no oem.img.

My Moto G5s was in bootloop. I didn´t see oem.img, only oem img sparsechunk.0 and oem img sparsechunk.1

which ADB command should I use? Can someone help me?

Thanks! and sorry my ignorance.
[Moto G5S  Guides, News, & Discussion] zitrish:
Hi guys...

Does anybody know where can I get a Nougat stock rom TWRP flashable?

I would like to get this version in particular: [MONTANA_NPP26.102-49-14]
[Moto G5S  Guides, News, & Discussion] vaserbanix:
https://xdaforums.com/moto-g5s/development/rom-stock-montana-moto-g5s-7-1-1-lite-t3725293

https://xdaforums.com/moto-g5s/development/montana-xt1793deodexeddebloatedstok-rom-t3724371

this are the stock roms available for twrp!

Thankyou!
[Moto G5S  Guides, News, & Discussion] zitrish:
Thank you so much for your help, vaserbanix... I really appreciate it...

Are those roms compatible with xt1791?

I'm planning to downgrade to Nougat with your tutorial... Could I update to a newer Nougat version via OTA after installing one of these roms?
[Moto G5S  Guides, News, & Discussion] vaserbanix:
No! you cant upgrade the nougat version.

Even you get an update, dont aply it, you will brick the phone!

OTA update will try to update all partitions including bootloader and the result will be a bricked phone.

Thankyou!
[Moto G5S  Guides, News, & Discussion] zitrish:
Oh, understood, thank you again... ;)

Just one last question: Are those stock roms that you shared me before compatible with Moto G5s xt1791?
[Moto G5S  Guides, News, & Discussion] vaserbanix:
yes!
[Moto G5S  Guides, News, & Discussion] Rakesh Mahto:
Security patch 2019

February 2019 security patch ??
[Moto G5S  Guides, News, & Discussion] JarlPenguin:
Nougat doesn't receive security patches anymore.
[Moto G5S  Guides, News, & Discussion] Rakesh Mahto:
Oreo 8.1 Security patch February 2019

Waiting for Oreo 8.1 Security Patch February 2019 thanks
[Moto G5S  Guides, News, & Discussion] lohanbarth:
https://xdaforums.com/moto-g5s/development/firmware-motorola-g5s-t3845848 or https://mirrors.lolinet.com/firmware/moto/montana/official/RETAIL/
[Moto G5S  Guides, News, & Discussion] Rakesh Mahto:
I lost my stock recovery , On moto G5s X1795 model

When i go to stock recovery it shows No command nothing else., however i install stock official rom still not get my stock recovery anyone help this topic ??
[Moto G5S  Guides, News, & Discussion] lohanbarth:
you are on the recovery stock, press power then volume up and release, normally the options should appear
[Moto G5S  Guides, News, & Discussion] Rakesh Mahto:
Its Shows No Command as shown below image

Shows No Command when i enter into recovery
[Moto G5S  Guides, News, & Discussion] lohanbarth:
watch this video

https://www.youtube.com/watch?v=LA-HwjWFRyQ
[Moto G5S  Guides, News, & Discussion] spike2509:
Hi, worked so far, but my device is not detecting any sim cards now, any solutions? thank you in advance
[Moto G5S  Guides, News, & Discussion] tchagas:
My swim XT1792 went into recovery mode, there is no way to unlock the bootloader, I tried to install several roms but without success.

fastboot oem fb_mode_set

...

FAILED (remote failure)

finished. total time: 0.000s

Every command is failing, I already changed the cable, USB input and this problem continues.
[Moto G5S  Guides, News, & Discussion] Rush:
No unlockable bootloader

=

No fastboot commands
[Moto G5S  Guides, News, & Discussion] tchagas:
What would be possible to do to install the ROM, since you need to have the bootloader unlocked but the system does not start?
[Moto G5S  Guides, News, & Discussion] Rush:
Reinstall the stock ROM using Motorola's tool and EDL mode

(I have never done this, please search for a tutorial online)
[Moto G5S  Guides, News, & Discussion] tchagas:
I tried with Rescue and Smart Assistant (LMSA), I couldn't. The following message appears: Failed to match connected device. Reconnect device, then try again. With EDL Mode I haven't tried it yet, I'll try it later.

To use EDL you need to enable USB debugging, impossible ... the phone does not start the system, it needs the unlocked bootloader!
[Moto G5S  Guides, News, & Discussion] Rush:
Unlocking the bootloader doesn't magically fix your phone.....you want to restore it so you can boot and activate bootloader unlocking (OEM unlocking) in developer settings

---------- Post added at 02:23 PM ---------- Previous post was at 02:22 PM ----------

If you have it activated within settings before it broke, look at the unlock tutorial within the guides section for the Moto G5s on xda
[Moto G5S  Guides, News, & Discussion] tchagas:
I didn't activate ...
[Moto G5S  Guides, News, & Discussion] Rush:
Restore

With

EDL

Or

F

Off
[Moto G5S  Guides, News, & Discussion] tchagas:
What would that EDL mode be?
[Moto G5S  Guides, News, & Discussion] wiktorek140:
Very low level of flashing. If EDL does not work, you bricked your phone permanently.
[Moto G5S  Guides, News, & Discussion] tchagas:
I don't know about this EDL mode, it would have a tutorial "I did some research and found it saying little". I saw some tutorials using a memory card, but the cell phone just lit and flashed the notification led.
[Moto G5S  Guides, News, & Discussion] Y@rkan:
Hi guys!

i flashed my device but won't boot to OS. no matter what command i send or button i press, It aways goes to bootloader screen.

During flash, i've got these erros:

fastboot flash boot boot.img

target reported max download size of 536870912 bytes

sending boot (16384 KB)...

OKAY

writing boot...

(bootloader) Image signed with key bad key

OKAY 0.440s

finished. total time: 0.967s

mfastboot flash partition gpt.bin FAILED

Someone could help me?
[Moto G5S  Guides, News, & Discussion] ShattrdChain:
Hi. Nice work. Does this ROM work for XT1795 variant of G5S?
[Moto G5S  Guides, News, & Discussion] lohanbarth:
it's a global rom, so normally yes
[Moto G5S  Guides, News, & Discussion] h3sh11:
Any chance to upload NPP26.102-49 ?
[Moto G5S  Guides, News, & Discussion] lohanbarth:
hello, as soon as it will be available I or someone will put it online
[Moto G5S  Guides, News, & Discussion] catalin habdul:
Search on Google+ Moto G5S brasil community ,I saw a few days ago the firmware posted there

https://androidfilehost.com/?fid=745849072291688414

I don't know if I'm allowed to post the link here....many thanks to the person who post the firmware there
[Moto G5S  Guides, News, & Discussion] lohanbarth:
do you think it works on the xt1793?
[Moto G5S  Guides, News, & Discussion] catalin habdul:
It works , I have the xt1793 model and I flashed with fastboot method few days ago without problems .
[Moto G5S  Guides, News, & Discussion] catalin habdul:
I just wish to have some custom ROMs for this phone ....
[Moto G5S  Guides, News, & Discussion] arpitgautam:
I am not getting ota updates from the updater section :(

I have XT1795 the INDIAN variant. Recently i unlocked my bootloader,installed twrp and rooted my phone but after few days i locked my bootloader and reverted back to stock rom because at this moment there are no custom roms for this device. But when i rebooted my phone to fastboot it was showing software status modified in place of official and i am not getting any ota update. plz help me to solve this thing as i want updates from my updater section.

THANKS :o
[Moto G5S  Guides, News, & Discussion] deejoy li:
do you think it works on xt1799 model ？
[Moto G5S  Guides, News, & Discussion] lohanbarth:
[MENTION=8756511]arpitgautam[/MENTION]

you have flashed the complete firmware?

[MENTION=7893939]deejoy li[/MENTION]

I will not be able to
[Moto G5S  Guides, News, & Discussion] arpitgautam:
Yes bro I have flashed perfectly but two commands -erase customise and erase clog failed rest all worked.
[Moto G5S  Guides, News, & Discussion] lohanbarth:
did you have this firmware before?

I do not receive them either, but it's because before I was on an orange firmware
[Moto G5S  Guides, News, & Discussion] arpitgautam:
I was having the firmware ending with 19 then I flashed 16 from here and now 49.
[Moto G5S  Guides, News, & Discussion] ShattrdChain:
Those 2 commands should not have failed. Did you use mfastboot or fastboot?
[Moto G5S  Guides, News, & Discussion] h3sh11:
I just flash with mfastbot but on "mfastboot flash partition gpt.bin" show FAILED, someone else had this problem ?
[Moto G5S  Guides, News, & Discussion] ShattrdChain:
Nope. Worked fine on XT1795. On which variant are you on?
[Moto G5S  Guides, News, & Discussion] lohanbarth:
You have not had any trouble while downloading the rom? You should try downloading it again
[Moto G5S  Guides, News, & Discussion] h3sh11:
XT1792 Brazil version
[Moto G5S  Guides, News, & Discussion] ShattrdChain:
Will we receive OTA updates after flashing this stock ROM?

---------- Post added at 07:14 PM ---------- Previous post was at 07:06 PM ----------

That is because your bootloader is unlocked.
[Moto G5S  Guides, News, & Discussion] deejoy li:
I do it but no full functions, the font camera and NFC can't work after flashed this firmware for g5s , everyone can help ?
[Moto G5S  Guides, News, & Discussion] arpitgautam:
Mfastboot doesn't worked :(

---------- Post added at 01:00 AM ---------- Previous post was at 12:59 AM ----------

It's locked
[Moto G5S  Guides, News, & Discussion] ShattrdChain:
Ok. Keep it stock till next month. We will get an update. That update will probably switch the software status to official (probably) as it sometimes happens with Moto phones.
[Moto G5S  Guides, News, & Discussion] arpitgautam:
How can I use mfastboot commands???
[Moto G5S  Guides, News, & Discussion] ShattrdChain:
I guess using mfastboot.exe
[Moto G5S  Guides, News, & Discussion] dau999:
Stock Firmware Moto G5S

Found three Stock Firmware files for download:

https://firmware.center/firmware/Motorola/Moto G5s/Stock/
[Moto G5S  Guides, News, & Discussion] ShattrdChain:
Does flashing any one of these remove the software modified message in bootloader?
[Moto G5S  Guides, News, & Discussion] dau999:
Probably not, this message is because you unlock your bootloader. As i know, even relocking bootloader won`t remove it.
[Moto G5S  Guides, News, & Discussion] Adi5:
When I have locked bootloader,this should work? I read old Moto g1 debranding and works in locked bootloader

Also in g5s working?

Edit VERY THANKS I haven't already brand and works

why fastboot erase customize and clogo I have error? Phone works normallly.This is very threatening problem?
[Moto G5S  Guides, News, & Discussion] Adi5:
I also have this error.You have unlocked bootloader?

Maybe locked bootloader and this errors
[Moto G5S  Guides, News, & Discussion] dinorexvip:
i flashed the full firmware with no errors (only in erase clogo and customize) but now my phone show failed to pass validaton, backup to fastboot ... i download 3 times this version to discard corruption in download but no luck...my phone is from brazil and this rom is from us...this can be the problem?
[Moto G5S  Guides, News, & Discussion] Adi5:
I have same error. Maybe your phone haven't got customize and clogo partition.

Phone works good

You flashed 26.102.49 version of rom?

What version have you got before flash this?

Have you got xt1792,xt1793,xt1794 version of phone?