[Moto G5S Plus ROMs, Kernels, Recoveries, & Other D] droidfuture:
Return Stock Firmware Moto G5s Plus, relock bootloader android 7.1.1

installs without errors(bad key).

In Brazil the xt1802 version is sold, I can not guarantee that it will work in another version.

I already tested it on my phone, and I block the boot again.

My thanks is to [MENTION=5367200]shu006[/MENTION] through his topic:https://xdaforums.com/moto-g5s-plus/development/relock-bootloader-moto-g5s-plus-t3681390, to be able to find a rom to relock the boot.

I left a block .bat already with the code and the rom.

Download ANDROIDFILEHOST

Download MEGA

The rom model used was: SANDERS_NPSS26.116-64-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.info

Questions, Suggestions, Errors and etc ... send it to me.

Attempt 1

fastboot oem lock
fastboot oem lock
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash boot boot.img
fastboot oem lock
fastboot erase modemst1
fastboot erase modemst2
fastboot erase cache
fastboot erase userdata
pause
fastboot reboot

Attempt 2 Update(11/02/18) CODE:

fastboot oem fb_mode_set
fastboot oem lock
fastboot oem lock
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot flash boot boot.img
fastboot oem lock
fastboot erase modemst1
fastboot erase modemst2
fastboot erase cache
fastboot erase userdata
fastboot oem fb_mode_clear
pause
fastboot reboot

Attempt 3 Update(19/02/18) CODE:

fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash boot boot.img
fastboot oem lock

GOOD LUCK!

XDA:DevDB Information

[xt1802][Brazil]Return Stock Firmware Moto G5s Plus, relock bootloader [tested], ROM for the Moto G5S Plus

Contributors

droidfuture

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.1.x

Version Information

Status: Stable

Current Stable Version: NPSS26.116-64-2 7.1.1

Stable Release Date: 2018-01-01

Created 2018-02-10

Last Updated 2018-02-10