How to Install Stock Firmware & Unbrick Moto G5

H

How to Install Stock Firmware & Unbrick Moto G5: Android phones often get bricked due to a variety of reasons. It could be due to flashing wrong firmware or installing invalid zip files. Once you altered the stock firmware, the best way to get into the stock ROM is by flashing the official stock firmware released by the manufacturer. In this tutorial, I will guide you how to unbrick Moto G5 by flashing the official stock firmware.

Bricking has been widely classified into two; soft-brick and hard-brick. If your phone doesn’t get booted up or stuck in the boot screen logo, it may be considered as a soft-brick, or generally called as boot loop. You could still see something on the screen if it’s a soft-brick. On the other hand, if your device doesn’t even turn on or you couldn’t see charging indications, that’s hard-brick. The latter is in fact, severe.

As I said above, one of the best ways to fix all these troubles is flashing the stock firmware. But flashing official software might erase your files on the device. So before performing any risk-full experiments, it’s always advised to make a backup of important files.

If your Moto G5 got stuck at boot screen or doesn’t get into the normal form, follow this step-by-step guide to revert it to the normal state by flashing the official stock firmware. After unbricking your Moto G5, you could use your phone normally.

Downloads

[mks_separator style=”dotted” height=”2″]

[sociallocker id=71224]

[mks_button size=”large” title=”Fastboot & ADB drivers” style=”squared” url=”https://doc-0s-bg-docs.googleusercontent.com/docs/securesc/4qt3lb43j3kr4dskk6cb21p4d53k1g6n/4bjoo9f3p467lefi28as0fvcd298b4pd/1496455200000/17977143014977412080/11402648569609366552/0B0MKgCbUM0itNVB1elljU2NPR0k?e=download&nonce=eafqnm5bokbhi&user=11402648569609366552&hash=mcebruu7a061fqmp6rrovnqejpehk8fl” target=”_self” bg_color=”#000000″ txt_color=”#FFFFFF” icon=”” icon_type=”” nofollow=”0″]

[mks_button size=”large” title=”Moto device manager (USB drivers)” style=”squared” url=”http://storage.googleapis.com/tetheredupgrades/MotorolaDeviceManager_2.5.4.exe” target=”_self” bg_color=”#000000″ txt_color=”#FFFFFF” icon=”” icon_type=”” nofollow=”0″]

[mks_button size=”large” title=”Official firmware” style=”squared” url=”https://mirrors.lolinet.com/firmware/moto/cedric/official/RETAIL/XT1677_CEDRIC_NPP25.137-15_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip” target=”_self” bg_color=”#000000″ txt_color=”#FFFFFF” icon=”” icon_type=”” nofollow=”0″]

[/sociallocker]

[mks_separator style=”dotted” height=”2″]

How to Flash Official Stock Firmware & Unbrick Moto G5

  • Download the Moto USB drivers and install on your computer with the help of Motorola device manager application.
  • Now download & extract the Moto G5 firmware on your computer.
  • After downloading the ADB folder, hold shift and right click on an empty location (inside the folder) to open the command window on Windows.
  • Turn off your Moto G5. Boot into the bootloader mode by holding Vol – and Power button together until you see the bootloader logo.
  • Check whether the device is being detected by the PC. Open device manager and see if the device is listed.
  • If no, re-install the USB driver drivers and let the phone attached to the PC for several minutes.
  • Once it’s detected, open the command terminal and execute the following commands one by one.

[mks_separator style=”dashed” height=”2″]

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 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 reboot

[mks_separator style=”dashed” height=”2″]

Make sure you don’t miss any particular command. After hitting the final command, the phone will reboot and get into the stock firmware. Always remember that first boot after flashing a new firmware may take up to 30 minutes and don’t panic about it.

If your Moto G5 had previously rooted, the root access will be lost upon installing the stock firmware. User data will be wiped and the phone will be as good as new.

Now you have unbricked your Moto G5 by flashing the official stock firmware. If you got something wrong or need my help at any time, let me know via comments.

About the author

Sidharth

Professional Blogger. Android dev. Audiophile.

Add comment

Leave a Reply

By Sidharth

Recent Posts

Categories