[P8 Lite (2017) Discussion] omega_55_lul:
Update: You can flash B370 released on (July 12 2018) too, tested and successfully updated from B366 to B370, this update includes July 2018 security patches

Hey everyone, in this guide you can update to the latest build of EMUI 8 by using the Nocheck Recovery, I know that you can update it by using HuRUpdater, but this guide is for flashing from the Nocheck Recovery

ATTENTION: THIS GUIDE IS ONLY FOR DEVICES ALREADY RUNNING EMUI 8, DO NOT TRY THIS ON EMUI 5 OTHERWISE YOU WILL GET INTO ERROR MODE (!!!)

I'm not responsible for any bricks, this has been tested to work to update from B322 to B364, It should work for future builds too

In this tutorial I will show you how to update to the latest build of EMUI 8 by using TWRP and the nocheck recovery, with my guide I successfully updated from B322 to B364

Requirements:

> Nocheck recovery - Link: https://xdaforums.com/p8lite/p8-lite-2017-development/recovery-recoveryoreonocheck-install-t3777974

> TWRP (Use the one by Dil3mm4) - Link: https://xdaforums.com/p8lite/p8-lite-2017-development/unofficial-twrp-3-2-1-0-oreo-t3773970

> Minimal ADB and Fastboot - Link: https://xdaforums.com/showthread.php?t=2317790

You need to have both the Bootloader and FRP Unlocked

Step 1: Go here: http://pro-teammt.ru/firmware-database/?firmware_model=pra-lx1c432&firmware_page=0 , Download the one that says FullOTA-MF (B365 for single sim devices and B370 for dual sim devices) and download update.zip, update_data_full_public.zip & update_full_PRA-L31-hw_eu.zip

make sure you don't download the one that says FullOTA-MF-PV since that one is for updating from EMUI 5

Step 2: After downloading, you should get an "update.zip", "update_data_full_public.zip" and "update_full_PRA-L31-hw_eu.zip" packages, copy the files to the EXTERNAL SD Card (Don't copy to the internal as it won't work)

Step 3: Download the NoCheck Recovery from the link and copy to the EXTERNAL SD Card

Step 4: Download TWRP from the link and copy into the same folder that you installed ADB

Step 5: Connect your phone from the PC and boot into fastboot mode (Power button + Volume Down)

Step 6: Now launch ADB (I recommend using Minimal ADB and Fastboot), and run this command to flash TWRP

fastboot flash recovery_ramdisk nameoftherecovery.img

( in this case the latest recovery name is recovery_1105.img )

Step 7: Reboot your device by holding the power button and let it power on

(Note: Make sure you remove Google accounts, Fingerprint and the Password unlock before updating to avoid any issues)

Step 8: Now, reboot into TWRP by holding the Power button + Volume Up

Step 9: In the TWRP Menu, go to Install > Select Storage > Micro SD Card > Install Image and find the NoCheck Recovery that you copied into the EXTERNAL SD Card, flash it to the recovery_ramdisk partition

Step 10: Now go back to the main TWRP Menu and go to Advanced > Terminal and type this

echo --update_package=/sdcard/update.zip > /cache/recovery/command

and then Enter

After that, type reboot recovery into the Terminal of TWRP

Step 11: Your phone will reboot to the NoCheck Recovery and install the update, and reboot automatically once the update is finished

Step 12: Congrats, you just successfully updated to the Latest EMUI 8 build​

(Note: If your build number is still the same as before updating, flash update_data_full_public.zip & update_full_PRA-L31-hw_eu.zip)

In this case you should do this

Step 13: After it booted, Reboot your phone again to fastboot mode by pressing Power button + Volume Down and launch ADB, and run this command to flash TWRP again

fastboot flash recovery_ramdisk nameoftherecovery.img

( in this case the latest recovery name is recovery_1105.img )

Step 14: Reboot your device by holding the power button and let it power on

(Note: Make sure you remove Google accounts, Fingerprint and the Password unlock before updating to avoid any issues)

Step 15: Now, reboot into TWRP by holding the Power button + Volume Up

Step 16: In the TWRP Menu, go to Install > Select Storage > Micro SD Card > Install Image and find the NoCheck Recovery that you copied into the EXTERNAL SD Card, flash it to the recovery_ramdisk partition

Step 17: Now go back to the main TWRP Menu and go to Advanced > Terminal and type this

echo --update_package=/sdcard/update_data_full_public.zip > /cache/recovery/command

and then Enter

After that, type reboot recovery into the Terminal of TWRP

Step 18: Your phone will reboot to the NoCheck Recovery and install the update, and reboot automatically once the update is finished

Step 19: After it booted, Reboot your phone again to fastboot mode by pressing Power button + Volume Down and launch ADB, and run this command to flash TWRP again

fastboot flash recovery_ramdisk nameoftherecovery.img

( in this case the latest recovery name is recovery_1105.img )

Step 20: Reboot your device by holding the power button and let it power on

(Note: Make sure you remove Google accounts, Fingerprint and the Password unlock before updating to avoid any issues)

Step 21: Now, reboot into TWRP by holding the Power button + Volume Up

Step 22: In the TWRP Menu, go to Install > Select Storage > Micro SD Card > Install Image and find the NoCheck Recovery that you copied into the EXTERNAL SD Card, flash it to the recovery_ramdisk partition

Step 23: Now go back to the main TWRP Menu and go to Advanced > Terminal and type this

echo --update_package=/sdcard/update_full_PRA-L31_hw_eu.zip > /cache/recovery/command

and then Enter

After that, type reboot recovery into the Terminal of TWRP

Step 24: Your phone will reboot to the NoCheck Recovery and install the update, and reboot automatically once the update is finished

Step 25: Now you should get the full installation of EMUI 8