[P8 Lite (2017) Discussion] Galatrox:
You have core gsm package installers posted online in few places. Bear in mind, you'll need to manually delete all google related apps to install that, than manually install what you need later on. DO NOT TRY TO FLASH ANY GAPPS OR ANYTHING I BRICKED MY PHONE DOING THAT!

On the topic of bricking the phone, the reason I registered was to add onto the unbricking tutorial a bit. Using better English (no offense original poster, I just had issues myself at some points) and also to clear up some steps after successfully unbricking the phone. There are few important details that were missed and will most likely solve most of the issues people had while unbricking/recovering the phone using the backup files from the first post.

ALL CREDIT STILL GOES TO THE ORIGINAL POSTER! Method is his, I am just providing more details after hours of work to unbrick my own phone!

First off, I am using Honor 8 Lite, the version sold in Serbia, 3GB RAM, Kirin processor. It's basically the same as Huawei p8 lite (2017). I cannot vouch it works for other phones in exact same way, but should work.

After rooting, and losing core google packages, I tried flashing the gapps, but unfortunately I made a mistake because I didn't red and wiped data from the TWRP which as you might guess screwed my system. Proceed to trying to put in custom rom and soon I bricked my phone, only booting into erecovery that is basically useless.

Bear in mind, we are working under assumption that until you bricked the phone you set up your drivers, adb and that it all works!

First off for Honor 8 Lite, the adb provided in the first post did not work, you'll have to go to gizdev's site and download the adb from there! Follow his details on how to set it up! It's very detailed so I won't expand further! I just registered so I can't post the links!

Now onto recovery steps!

- First off you need to flash twrp, again if you came to the point where you need to recover the phone, you should already have it!

- From TWRP mount the SD card, download backup files provided in the original post, and copy them, but not like provided in the screenshot!

-Path is: External SD Card/TWRP/BACKUPS/folder named specifically for your phone (If you name the folder on your phone as mentioned in the screenshot, chances are TWRP won't find it, every device has its own folder name, if you are using the same device as original poster, folder name is as his)

-To get the name, boot into twrp recovery, make a backup of any file, mount the storage on the pc and navigate to the twrp/backups. You'll see a new folder created with your device's specific name). Delete all the files in that folder and copy the backup files you downloaded into it.

- Before you flash stock recovery, I recommend naming them stock and twrp, just so you know which one you are working with. In that case command changes just slightly. To boot twrp you'll type "fastboot flash recovery twrp.img" and for stock you'll type "fastboot flash recovery stock.img"

- Flash stock recovery and do the factory reset!

-Go into bootloader (USB has to be connected to PC and phone, volume down and power button) and flash the twrp recovery.

- In twrp, format data, you'll have advanced settings and data wipe. I used data wipe and that was enough for my phone! Then go to RESTORE option, not Backup. Like I did because I was tired! You'll notice it will show the folder you created in the first step. Don't panic if you notice it shows less files than you copied into the backup folder. That's because by default MD5 is unchecked. I didn't check it and restored. You can check the option, those are just some checkup files to make sure everything works in order but it's not necessary. You'll notice all files are selected.

- Proceed to restore the data!

- When you restore the data, your bootloader will be locked, system will try to boot but because there is no stock recovery it will fail. You'll need to manually unlock bootloader through adb commands, which is fastboot oem unlock "xxxx" (xxxx being the unlock code you were provided by Huawei). Note that if you cannot unlock bootloader you cannot flash stock recovery!

-When unlocked again, flash stock recovery. Phone will reboot, and system will start up. Turn off the phone, boot into stock recovery and do factory reset!

- Reboot and you will have a fresh P8 Lite ROM. Set up your dataYou'll notice you cannot set screen lock patterns, unnistall apps or anything. It reboots the phone. That's ok, you don't need to do any of those things!

- Go to settings > updates and update your firmware! First update is 2.13GB, so make sure you have enough storage! It will take aprox and hour to download and complete the update, even on faster networks (In example my internet is 100/50 so it downloads 2 gigs rather fast, but Huawei servers are slow I guess).

-When the phone boots, still don't do anything. You'll still have some residual files from back up. Go to system > updates and download the next update provided, it's 2 patch files around 900Mb in size, downloads faster, installs slower. This is the latest update available. After updating, your phone will reboot and you will have the clean official ROM, no residual files from apps or anything. Bootloader will remain unlocked until you lock it! Everything works fine, the only side effect is that phone will now be named Huawei P8 Lite (2017)

IF you have any questions feel free to ask