• Ignore fastboot: error: could not load ’system.img’: No such file or directory
• Follow Firmware flashing steps.
• Run fastboot reboot recovery
• Format data with the recovery.
• Click apply for update.
• Run adb sideload YAAP*.zip
• Reboot to system.
For first-timers(SD card):
• Download ROM zip and recovery zip.
• Copy ROM zip to SD card.
• Boot to bootloader.
• Run fastboot update recovery-YAAP-*.zip
• Ignore fastboot: error: could not load ’system.img’: No such file or directory
• Follow Firmware flashing steps.
• Run fastboot reboot recovery
• Format data with the recovery.
• Click apply update with SD card.
• Choose the ROM zip and click the power button to confirm.
• Reboot to system once it is flashed.
For dirty-flashers:
• Download ROM zip.
• Follow Firmware flashing steps if fw is updated.
• Boot to recovery.
• Click apply for update.
• Run adb sideload YAAP*.zip
• Reboot to system.
For OTA-flashers:
• Follow Firmware flashing steps if fw is updated.
• Boot back to system.
• Go to Settings->System->YAAP Updater.
• Click Download.
• Be very patient after this step as OTA is a slow process and will take approximately 30-45 minutes (It would specifically be stuck at 68% for that amount of time alone!).
• Reboot after it is done.
Firmware flashing steps:
• Download recommended fw.
• Boot to bootloader.
• Unzip the recommended fw.
• Open a terminal inside the firmware-update directory.
• Flash all .img files with the following commands:
fastboot flash abl_a abl.img
fastboot flash abl_b abl.img
fastboot flash aop_a aop.img
fastboot flash aop_b aop.img
fastboot flash bluetooth_a bluetooth.img
fastboot flash bluetooth_b bluetooth.img
fastboot flash cmnlib64_a cmnlib64.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash cmnlib_a cmnlib.img
fastboot flash cmnlib_b cmnlib.img
fastboot flash devcfg_a devcfg.img
fastboot flash devcfg_b devcfg.img
fastboot flash dsp_a dsp.img
fastboot flash dsp_b dsp.img
fastboot flash hyp_a hyp.img
fastboot flash hyp_b hyp.img
fastboot flash imagefv_a imagefv.img
fastboot flash imagefv_b imagefv.img
fastboot flash keymaster_a keymaster.img
fastboot flash keymaster_b keymaster.img
fastboot flash modem_a modem.img
fastboot flash modem_b modem.img
fastboot flash qupfw_a qupfw.img
fastboot flash qupfw_b qupfw.img
fastboot flash tz_a tz.img
fastboot flash tz_b tz.img
fastboot flash uefisecapp_a uefisecapp.img
fastboot flash uefisecapp_b uefisecapp.img
fastboot flash xbl_a xbl.img
fastboot flash xbl_b xbl.img
fastboot flash xbl_config_a xbl_config.img
fastboot flash xbl_config_b xbl_config.img
• Alternatively for expert users, follow these commands (NOTE: This requires you to have knowledge of what you’re doing!)
• fastboot reboot fastboot
• If you’re on Windows: for %i in (*.img) do fastboot flash --slot=all %~ni %i
• If you’re on Linux: for i in *.img; do fastboot flash --slot=all "${i/.img/}" "$i"; done