Prerequisite files:
WARNING: The steps below will wipe up your device!
In order to fix the bootloop or softbrick, you will need a couple steps below:
- Boot the device into fastboot mode by holding power button and volume up until the droid image shows up.
- Connect the device to a laptop via USB cable and confirm the devive is in fastboot mode by running the command below and return non-empty result.
fastboot devices
- Erase the device partitions.
fastboot erase cache fastboot erase data fastboot erase system
- Reboot the device bootloader.
fastboot reboot bootloader
- Extract the downloaded firmware file. We only need
boot.img
,recovery.img
,fastboot.img
, andsystem.img
files. Flash these files. It will take a time to complete.fastboot flash boot boot.img fastboot flash recovery recovery.img fastboot flash fastboot fastboot.img fastboot flash system system.img
- Reboot the device and it will boot to clean Android stock.
fastboot reboot