[Moto G5S  Guides, News, & Discussion] smbfission:
this list doesnt include CrDroid (based on Lineage but configured for xt1799-2), files found here, use Google Translate chrome extension to translate the instructions:

https://4pda.ru/forum/index.php?showtopic=886009&st=300

Motorola Moto G5s - Firmware

Picture Montana, Motorola Moto G5S, XT1790; XT1791; XT1792; XT1793; XT1794; XT1795; XT1797; XT1799-2

Description | Discussion " | Accessories » | Firmware » | Project Treble »

#

Important information!

Warning: the process of installing third-party firmware deprives you of a guarantee, since unlocking the bootloader is required . The unlock process for the XT1799-2 differs slightly.

Do not try to flash Moto G5 or Moto G5S Plus with these firmwares. These are completely different phones. This theme is only for Moto G5S .

Unofficial list of bugs in custom firmware (XDA)

#

Drivers and Utilities

Driver "Motorola Device Manager" (USB device connection)

Attached fileADB Minimal Fastboot.zip (1,08 МБ)

- flasher for installing firmware in the form of IMG files

#

Official firmware

A mirror with all the firmware is located here: Motorola Moto G5s - Firmware (Post iRewer # 77534343)

#

Based on Android 8.1.0 (O)

Topic on XDA-Developers

PLAYPL for XT1794, version OPPS28.65-37-7-6

RETAIL, device is not definable, version OPPS28.65-37-7-6

ORAEU for XT1793, version OPPS28.65.37-7-4

RETRU for XT1794 , version OPPS28.65-37-7-6

RETAPAC for XT1797, version OPPS28.65-37-7-6

RETBR for XT1792, version OPPS28.65-37-7-6

RETCL for XT1790, version OPPS28.65-37- 7-6

RETEU for XT1794, version OPPS28.65-37-7-6

RETEU for XT1793, version OPPS28.65-37-7-6

RETGB for XT1794, version OPPS28.65-37-7-6

RETIN for XT1795, version OPPS28.65-37-7-6

RETLA1ST for XT1790, version OPPS28.65-37-7-6

TEFBR for XT1792, version OPPS28.65-37-7-6

TIMBR for XT1792, version OPPS28.65-37-7- 6

TRUETH for XT1797, version OPPS28.65-37-7-6 | There is a RETLOCK!

#

Based on Android 7.1.1 (N)

ZUI 3.1 (topic on XDA-Developers )

RETAIL, the device is not definable, version NPPS26.102-49-14

RETRU for XT1794, version NPPS26.102-49-11 - the latest!

RETCN for XT1799-2 , the current version of NZS26.68-108 - the presence or absence of a SIM-lock is not confirmed / mirror of official firmware Android 7.1.1 for XT1799-2 (Green Pomelo)

#

Unofficial firmware (themes on XDA-Developers )

#

Based on Android 9.0 (P) x64

#

Based on Android 8.1 (O) x64

#

For XT1799-2

crDroid v4.7.2 x64

crDroid v5.11 x64

#

Instructions

#

Install official firmware

#

Install unofficial firmware (x64)

Install the Moto Device Manager driver

Unlock the bootloader (see spoiler "Important information!")

Install TWRP from the "Miscellaneous" spoiler

Log in to TWRP

Clean the / system, / data and / cache partitions

Install the firmware you want through TWRP on the phone

--optionally-- Install OpenGApps

--optionally-- Install Magisk . If Google Pay has stopped working, refer to the links in the "Miscellaneous" spoiler.

Reboot phone

#

Install Android O without clearing data

The installation process is described here.

#

Kernels

KaminariKernel kernel for Android 8.1

Reviver kernel for Android 8.1

RadiumKernel kernel for Android 8.1

Kernel for XT1799-2 with working front flash

#

Miscellaneous

TWRP 3.3, x64 | Treble / Non-Treble

OpenGApps - Google applications for installation through TWRP. For our ARM or ARM64 device, depending on the bit depth of the firmware.

CF-AutoRoot (topic on XDA-Developers )

Getting GPay to work with root rights (Magisk) / option 2 / NFC launch methodology on native Motorola g5s XT-1799-2

firmware Fix fingerprint scanner on custom firmware with Android O and P

Archive firmware

List of working and non-working GSI