The Android operating system, is an open project that makes possible for developers to bring up useful stuff for our smartphones. But, sometimes they turn our smartphones into a scarp. In this tutorial, we will help you to repair, or unbrick Moto G5S using the stock firmware to make it work again. It happens that while installing a custom Rom, recovery, or just after installing an application, our phone stops responding, and gets bricked. Basically, it bricks the Android OS. And flash the stock firmware comes helpful in such cases to revive the handset.
So, if you’ve bricked your Moto G5S, then this guide will help you to flash stock firmware on it, and repair it. The flashing process is almost same as we do with other Motorola’s smartphones. We’ll put the stock firmware using the Android Debugging tool (ADB) through commands. Since, we are flashing the stock firmware, it will wipe out your device completely. All staff, including downloaded apps, custom Rom, custom recovery, games, documents, etc., will be deleted, and this process cannot be undone. So, if you have a chance, then you must backup all important stuff.
Also, if you’re using custom or recovery, those will be replaced with stock ones. Simply, it will downgrade your phone to its very native state. Just like the factory fresh piece. We usually brick our smartphone while installing a custom Rom, or flashing third-party mods. Sometimes downloading third-party apps may cause that problem.
It is highly recommended that we use only official, and Google Playstore approved applications on our phone. Downgrading the Moto G5S to its official firmware will remove all the bricked files, and repair your phone. However, this method works only when the problem is related to the Operating system. If the problem exists in hardware, then only the manufacturer would be able to help you.
However, if nothing works, you should flash the stock firmware on Moto G5S, and see if that works. Flashing the stock firmware also calibrates the phone. It optimizes the performance of the phone. If you’re facing performance issues, app crashes, or some features are malfunctioned, then flashing the stock firmware would give a relief. If you see nothing works in solving issues, the last option that we have is flashing the stock firmware on Moto G5S.
Although, before you flash the stock firmware, you can try to factory reset. In many cases, resetting works. Performing a factory reset on Moto G5S will void all the changes, and downloads. And brings you completely clean, and factory fresh mobile. But if you find that it doesn’t work, just proceed further, and unbrick Moto G5S using the stock firmware.
Since we are flashing a stock firmware, we must discuss some important prerequisites. Read all the prerequisites thoroughly, and make sure to follow them.
- This is not the official method to install stock firmware on Moto G5S. However, it is the most preferred, and working method. In order to achieve success, you must read this guide thoroughly, and perform steps as we mention here.
- As we have discussed already, this process will wipe out your phone completely. We recommend you to backup your phone if possible. Once we perform the process, it won’t be possible to get it undone.
- If you are using a custom recovery, mod, or a custom Rom, that will be replaced with stock recovery, and firmware. And it will delete all the related files, and cache memory.
- To perform this action, you need a Windows powered Laptop/Desktop with internet connectivity. And a USB cable to connect your phone to your PC.
→Download the minimal Adb fastboot Tool (tool to flash this stock firmware) from here. Extract it to your PC and remember the location.
→Download the stock firmware based on the model number of your phone. To check the model number, tap on Settings->About phone->Model.
- XT1793 and XT1794 (Europe) – Download link
- XT1792 (Brazil) – Download link coming soon
Note:- Download the firmware file, and make sure to extract it under Adb fastboot Tool folder. Means, all files should be extracted within the minimal Adb fastboot Tool folder.
That will make easier to flash firmware files, and perform commands.
→Download, and install Moto G5S drivers on your phone from here. It is necessary that you install these drivers as only the ADB tool will be able to communicate with the phone.
Now, you are ready to go further, and repair your bricked phone.
How to flash stock firmware on Motorola Moto G5S to unbrick it
1. Turn off your smartphone
2. Now, boot into bootloader mode – press Volume down +Power button simultaneously. Release them once you get into bootloader mode.
3. Now, connect your phone to your PC using a USB cable.
4. Now, from the extracted Adb fastboot Tool folder, click twice on run.bat file to run the Adb fastboot Tool. The following screen will appear:
5. Now, the command prompt, type following commands:
mfastboot getvar max-sparse-size
mfastboot oem fb_mode_set
mfastboot flash partition gpt.bin
mfastboot flash bootloader bootloader.img
mfastboot flash modem NON-HLOS.bin
mfastboot flash fsg fsg.mbn
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash dsp adspso.bin
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk.0
mfastboot flash system system.img_sparsechunk.1
mfastboot flash system system.img_sparsechunk.2
mfastboot flash system system.img_sparsechunk.3
mfastboot flash system system.img_sparsechunk.4
mfastboot flash system system.img_sparsechunk.5
mfastboot flash oem oem.img
mfastboot erase cache
mfastboot erase userdata
mfastboot erase DDR
mfastboot oem fb_mode_clear
Note:- Make sure that you’ve extracted the firmware .zip file in the ADB Tool folder. Otherwise, they commands will not work.
Now, you can take your phone off from your PC. That’s it, you’ve successfully unbricked your Moto G5S using the stock firmware.
This way, we can easily downgrade the Motorola’s smartphone, and repair. Now, your phone will restart, and bring you to home screen soon. Then, enter your account details to get started with your phone.
That ends our tutorial here, and we hope that it will help Moto G5S users to repair their bricked phone. You are most welcome to leave comments.