# For first-timers:
- • Download ROM zip and recovery zip.
- • 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 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__