- Connect your smartphone to the computer Through original USB data cable. After That, go to Minimal ADB and Fastboot window and enter the following command to boot your device into the bootloader / fastboot mode:
adb reboot bootloader
- Enter the following command to unlock the bootloader of your device:
fastboot oem unlock
- After your device’s bootloader is unlocked, go to the folder where you have extracted the stock ROM file and click on “flash-all.bat” to launch the firmware flashing process.
- Hurrah, Your flashing process is finished, unplug your device and reboot and enjoy it.