The Custom Droid

Android Tutorials, Tips and Tricks

How to Manually Install Moto G5S Android 8.1 Oreo Update (Fastboot/TWRP)

How to Install Moto G5S Android 8.1 Oreo Update

Follow this tutorial to manually install Moto G5S Android 8.1 Oreo update right now using the fastboot image or TWRP flashable zip.


Lenovo-owned Motorola may not be the best Android OEM when it comes to software updates. But the company did keep by its words when it came to rolling out Android Oreo for the list of supported devices. We recently saw the Moto G5S Plus being added to that list. But when it comes to the regular Moto G5S, the Oreo update has only started rolling to the users in Latin America. There’s still an unknown amount of time until the update is available for the rest of the regions.

Well, if you’d rather not wait, then you can also manually install Moto G5S Android 8.1 Oreo update right now. Thanks to our beloved XDA community and senior member Kamin4ri, you can now force upgrade your Moto G5S to Android Oreo. The said member was able to capture the OTA and thus created a TWRP flashable ZIP for users with a custom ROM/root/TWRP installed. He has also provided a link to the official Android 8.1 Oreo fastboot image.

Moto G5S Android 8.1 Oreo Update – Changes and New Features

How to Install Moto G5S Android 8.1 Oreo Update

Motorola certainly wisened up, skipped Android 8.0 Oreo and jumped directly to 8.1 Oreo. Internal beta testing (Commonly referred to as ‘Soak Testing’) for the same began back in June 2018. And now after months of development, Motorola has started rolling the update to a very small amount of users. The new build number is OPP28.65-37.

Now before you head over to the instructions and install Moto G5S Android 8.1 Oreo update, let us take a quick look at the new features.

Being based on Android 8.1 Oreo, the update also tracks back all the changes from version 8.0 as well. Which means you’ll get to enjoy a plethora of new features after updating your phone. These include Picture-in-Picture mode, Autofill Framework, Notification Dots, App Categories, improved background limits, WallpaperColors API, and more. To add, the new update also includes the August 2018 security patches.

Also read: Enable YouTube PIP Mode without YouTube Red on Android

If you’re in the Latin Americas, then make sure to check for the OTA notification. To do so, go to the ‘Settings’ -> ‘About phone’ -> ‘System updates’. If you’ve not yet received the OTA, then follow the instructions below to install Moto G5S Android 8.1 Oreo update right now.

This update was grabbed from RETLA software channel. Which means, once you flash it on your Moto G5S from a different region, you will not receive any OTA updates from your own region. If you’d like to preserve the ability to take updates over-the-air, then DO NOT INSTALL this.

This method should work on the following list of Moto G5S models/variants:

  • XT1791
  • XT1792
  • XT1793
  • XT1794
  • XT1795
  • XT1797


  • As always, we’d first suggest that you take a complete backup of all the data on your phone. This also includes the internal storage. We also have a detailed guide on how to completely backup Android phones.
  • Charge your Moto G5S to a sufficient battery level. This shall help avoid any sudden shutdowns during the update process.
  • Install Android platform tools on the PC. We’d refer to “C:\adb” in the steps below, which is the folder where the ADB and Fastboot binaries are present if you have followed our tutorial. Alternatively, you can also use Minimal ADB and Fastboot tool.

Download Moto G5S Android 8.1 Oreo Firmware

For RETLA (OPP28.65-37) variants:

For RETBR and RETIN (OPP28.65-37-2) variants:

How to Install Moto G5S Android 8.1 Oreo Update

Now, we have laid down two different methods that will help you install Android 8.1 Oreo update on Moto G5S.

Method 1: By Flashing Fastboot Image

This method will take you through the process of flashing the official fastboot image. It will also update the phone’s bootloader and partition table. If you think that you will need to downgrade at any point in the future, then please skip the gpt.bin and bootloader.img files.

  1. Download Moto G5S Android 8.1 Oreo fastboot image on the PC.
  2. Extract the content of the downloaded file to C:\adb, where the ADB and Fastboot binaries are present.
  3. Go to C:\adb on the PC.
  4. Hold the SHIFT key and right-click on an empty space inside the folder.
  5. Select ‘Open PowerShell window here’.
  6. Now, power off your Moto G5S and boot it into Fastboot Mode.
    Install Moto G5S Android 8.1 Oreo Update - Bootloader/Fastboot Mode
  7. To do so, simply hold the Volume Down + Power button simultaneously while the phone is powered down.
  8. Connect the phone to the PC using the USB cable.
  9. Enter the commands below in the given order to install Moto G5S Android 8.1 Oreo update:
    fastboot oem fb_mode_set
    fastboot flash partition gpt.bin
    fastboot flash bootloader bootloader.img
    fastboot flash boot boot.img
    fastboot flash recovery recovery.img
    fastboot flash dsp adspso.bin
    fastboot flash logo logo.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 system system.img_sparsechunk.7
    fastboot flash system system.img_sparsechunk.8
    fastboot flash system system.img_sparsechunk.9
    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 DDR
    fastboot oem fb_mode_clear
  10. Once finished, reboot your phone using:
    fastboot reboot

Your Moto G5S should boot into the updated Oreo firmware with all the latest features. Once it boots, you will need to follow the on-screen instructions and complete the Setup Wizard.

Method 2: By Flashing TWRP-flashable Zip

This is the easiest way to install Moto G5S Android 8.1 Oreo update if your phone is rooted or has a custom ROM installed.

  1. Download Moto G5S Android 8.1 Oreo TWRP flashable zip.
  2. Connect the phone to the PC and enable ‘Transfer files’ mode.
  3. Copy the downloaded zip file to the phone’s storage.
  4. Once copied, disconnect the phone and power it off completely.
  5. Hold the Volume Down + Power button simultaneously to boot your Moto G5S into Bootloader Mode.
  6. While in Bootloader Mode, tap either of the Volume keys until ‘Recovery’ shows up on the screen.
  7. Press the Power button to enter TWRP recovery.
  8. [Optional] If there’s a custom ROM installed on your phone, you will need to perform a wipe.
    • Go to ‘Wipe’ -> ‘Advanced Wipe’ and select the ‘Cache’, ‘Dalvik/ART Cache’, System, and Data.
      Install Moto G5S Android 8.1 Oreo Update - TWRP Wipe
    • Swipe the ‘Swipe to wipe’ button for confirmation.
  9. Tap on the ‘Install’ button and select the ‘‘ file.
    Install Moto G5S Android 8.1 Oreo Update - Install TWRP Flashable Zip
  10. Finally, swipe the button on the screen to start the flashing process and install Moto G5S Android 8.1 Oreo update.
  11. Now, if you want to keep TWRP (It will be overwritten upon boot), simply flash the latest Magisk installer zip file. Further, if your phone’s storage is decrypted and you want to keep it that way, then also flash the Universal DM-Verity Disabler zip.
  12. Finally, go to ‘Reboot’ and tap on ‘System’ to boot your Moto G5S into the OS.

When your phone boots, go through the on-screen instructions and set it up. It should now be running Android 8.1 Oreo with all the new features and August security patches. So, go ahead and explore the system.

So, this was our guide on how to install Moto G5S Android 8.1 Oreo update. We hope that it came in handy. If you have any questions regarding the process, then please drop a comment and let us know.

(Source: XDA) – Thanks, Kamin4ri!

About the Author

Founder and Editor-in-Chief

Dhananjay has more than 11 years of experience in Android software customization and development, and has spent the past 10 years writing about it. He spends most of his prime time reading, learning and writing about Android and other open-source projects. He is also a community-taught web developer. Apart from that, he loves mountain biking and playing video games on his PlayStation.

Leave a Reply

Comments are moderated, and published only if they are relevant to the topic and add value in a constructive way. If you disagree with something, please be polite and respectful. We suggest you read our comment policy before commenting.