How to unbrick / repair Moto G5S using stock firmware
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.
→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.