[P8lite General] Blergonos:
So I recently 'lost' my HTC One E8. Its battery turned into a spicy pillow, and I had it removed. Sadly I couldn't buy a new battery for it, so it's currently residing in my drawer. It was a good phone, and was really fun to work on, like putting in custom roms and recoveries. Anyway, I had to get a replacement phone. In my profile you can see my device inventory. The Nokia 5.1 was a candidate, but the charging port was funny and it was really slow with its built in Android 10, and Nokia made it impossible to downgrade. So that was out of the question. The Nokia 1 was actually ok, no issues with it, but I eventually picked another phone (The Hauwei P8 Lite), since it was a little small, and perhaps slow, for my tastes. Then there was the LG K8, which I actually used before switching to my HTC One E8. Sadly, its charging port was also funny and its Android version (6.0) was to old for my use case, and the lack of custom roms didn't help. The Samsungs were not my phones exactly, so they didn't count. The Oneplus 3... My goodness, what a shame. It is bricked (not by me I found it in a bin XD), and I tried everything to make it work, but nothing worked. I am not giving up on it, but damn man.

That leaved one choice... The Hauwei P8 Lite! It had no problems, and while it had Android 6, which again, was to old for my use case, it actually had good custom roms available! Perfect!

I eventually settled on https://xdaforums.com/t/rom-8-1-stable-lineageos-15-1-for-p8-lite.3928723/, since it seemed stable enough from all the newest comments in that post. And it was also Android 8.1, which was as low as I was willing to go (and as high as I was willing to go as well).

And then I found your guide. And my goodness what a good guide!

So you might be asking, "Why the heck are you replying with such useless information?!? What does this help with?!?" And to that I answer, while the guide was pretty good, there was many problems that I had to solve on my own, and I am going to say what I did to make this phone work, for all the people coming here, wondering how to fix [insert random issue here].

So, here we go!

Problem 0.5: The Erecovery not having a factory reset option

Yeah idk either, wasn't really a problem, since I just did it from the phones settings, but weird either way.

Problem 1: Downgrading to Android 5

This one was pretty funny, since when I first tried it, it either got stuck at 5% or gave an error. Then one error pranked me, since it seemed to be actually working at first, no errors, no getting stuck at 5%. Then, when it completed, the truth settled in... Literally nothing changed. I rage quit for a few hours and tried again. All I did different was absolutely nothing, I did the same thing as when I first started, putting stock Android 5 onto my SD card, and then doing the 3 button press. And it worked for some reason. I still don't know wtf changed for it to work, but hey, all I care about is that it worked. The only theory I got is that I did a double format of my SD card, and did a double factory reset of my phone.

Problem 2: The rooting process

So when I finally downgraded to Android 5, it was time to get KingRoot. It didn't work. I reinstalled it a few times, and got it from different sources, but nothing worked. It gave a network error, for those wondering. I eventually got something else called Kingoroot ( https://www.kingoapp.com/ ), and it got stuck at 90%, but when I exited the app and went back in, it was magically rooted, as if 100% didn't exist. Idk either. But hey, it was rooted!

Problem 2.5: USB Debugging permission message not coming up

Was weird, but the 'adb devices' command worked, so it didn't seem to matter. Also it eventually appeared a little later.

Problem 3: Bootloader driver issue

The rooting process went quite well, and I managed to get the unlocking code, although the shell command that gave it to me was a little bit silly. I got it working by ctrl + v the command and pressing enter a few times. I already got adb & fastboot ++ set up, so that was good too. And downgrading back to Android 6 went smoothly.

The bootloader part is where problem 3 comes in. When I typed in 'adb reboot bootloader', it worked fine, but when I tried 'fastboot devices', no device showed up, and when I tried to give the phone my unlock code, nothing happened. I tried to exit the bootloader by pressing the up button a lot (as it said), but that didn't work. I eventually found out that holding the power button exits. I fixed the issue with this video:

and I successfully unlocked my bootloader! I also successfully flashed the recovery that you recommended (I will get to the problems that I had with it later).

Problem 4: Flashing issues

Part 6 of your guide went perfectly! Part 7 is were I got issues. The recovery you recommended simply didn't install the custom rom I was wanting to use. It kept on giving me error 7. I tried the 'editing meta-inf' fix that I found in this forum, but that didn't help. This led me down a short recovery rabbit hole. To summarize:

https://xdaforums.com/t/twrp-3-2-3-0-ale-all-versions-huawei-p8lite-alice-18-59-18-02-2019.3609582/ didn't work. When I tried to enter the recovery, I just met erecovery. Maybe I did something wrong, but I eventually just didn't use it.

https://eu.dl.twrp.me/grace/twrp-3.1.1-0-grace.img.html this one almost made me think I bricked my phone. Basically, it doesn't work, at least for me.

https://xdaforums.com/t/twrp-openkirin-3-1-1-0-all-versions-huawei-p8lite.3583180/ I didn't try, since the recovery I picked worked fine (will be mentioned below).

https://sourceforge.net/projects/darkjoker360-developements/files/Huawei/P8 Lite/Oreo/LineageOS-15.1/recovery/ worked, but, to be frank... Was kinda crappy.

https://drive.google.com/file/d/1YzswB1paNu5QDQGsqO9M_3khhdvZHqZr/view I both didn't try it and don't even know were it's from or were I even found it.

https://drive.google.com/file/d/1dX04OAwMlI398V8c-gv4PEv3xKkKdiLP/view Is the one I went with. It works quite nicely, and actually installed my rom(s), although it has a small issue were it reboots after a while of not using it, so if you are gonna use it make sure to tap on something random in the recovery to make sure that doesn't happen. Would recommend. Oh yeah, its from @Thespartann

Honorable mention goes to: https://orangefox.download/device/alice , since it also worked fine. I would recommend this one as well.

Also, SuperSU just didn't work on any of the recoveries, for some reason. I eventually gave up on it. I installed Magisk, which isn't related to SuperSU, but whatever. Also, Gapps installed fine.

Also, I used adb sideload to flash my OS, Gapps, and Magisk instead.

Problem 5: Google app's non stop stopping

After many hours of work, I finally got to the OS. I noticed a problem immediately though, Google just wouldn't stop crashing, which made first set up impossible to go through, since I connected to WI-FI, and a lot of the setup required the Google app to not crash EVERY 2 SECONDS AHH.

I fixed it by:

1. https://stackoverflow.com/questions...rough-adb-using-the-adb-monkey-command-but-it | using the command from this link to open the settings app. In the settings app I removed my account that I added, and also disconnected from the internet.

2. https://droidwin.com/how-to-uninstall-google-app-on-android-via-adb-command/ | I used this to uninstall the Google app.

3. the first set up finally worked and finished up.

4. https://www.apkmirror.com/apk/googl...-download/?redirected=thank_you_invalid_nonce | I got the Google app from here (since the Play Store doesn't allow you to use it without signing in, and signing in requires Google), and transferred it to my phone, and installed it.

All of that fixed the Google app issues.

Aaaaannnnddd that's it! After that I settled in to the new OS. I made a few tweaks in the settings, such as:

1. Deleting and disabling apps that I don't use (not many, LineageOS doesn't have bloatware really)

2. Going to developer options and disabling animations, forcing GPU rendering, and enabling a feature that makes it so that a long press of the back button force stops the app that you are currently in. This feature was very useful on my slightly unstable HTC One E8, and might come useful for this Hauwei, but I'm yet to tell.

The rest of my tweaks were personalization.

Thanks for reading my reply! All I can say is wow! What a ride! Learned so many new things, and had a lot of fun!

Last notes:

I haven't installed Xposed yet, and will very soon!

The phone is the ALE-L21 model of the Hauwei P8 Lite

The rom (at least according to me) is perfectly usable as a daily driver, but I only had the rom for a day, so maybe to soon to say.

This was much more difficult to get working than the HTC One E8 lol.

I didn't buy all the phones in my device inventory the second my HTC broke. They are all phones that I used to use that resided in my cupboard (and still do).

I found the HTC and Oneplus in a bin at Lidl. The HTC was in perfect condition, and the Oneplus is bricked.

The rom that I use shows that the IMEI code is unknown, which I got scared of, but after sifting through my selected roms thread right here on XDA, I found the creator saying that that's normal. Note that that's not normal for EMUI 4.1, as mentioned in the guide I am replying to.

I would recommend looking at https://revanced.app/, have fun ;)

The sensors for my rom are disabled

Use https://devcheck.app/ for system info.

Now that I look back, I missed a few recoveries:

[RECOVERY][OpenKirin sources][ALE-L21] TWRP 3.6.1-9.0 touch recovery

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and...

xdaforums.com

[recovery] twrp 3.2.3 ale-l21

Adapted from TWRP Honor 4X, altered default.prop only. TWRP with adaptive storage support. Download: https://yadi.sk/d/fxDhMwkQ3aUNnz Author: I(igor_nikitin)

xdaforums.com

[RECOVERY][MTK] TWRP Huawei P8 Lite Smart TAG-L01

#include /* * Your warranty is now void. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns about features...

xdaforums.com

[RECOVERY][LOLLIPOP]TWRP2.8.7.X for the Huawei P8 Lite (ALE-L04)

Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven...

xdaforums.com

And for those wanting to try roms not older than Android 8, here are some options I found:

[ROM][UNOFFICIAL][8.1.0_r52][alice] crDroid 4.7.2 [BETA]

/*Disclaimer * * Your warranty is... still valid? * * We are not responsible for bricked devices, dead SD cards, * thermonuclear war or you getting fired because the alarm app failed. Please * do some research if you have any concerns about...

xdaforums.com

[ROM][8.1][OpenKirin's RROS v6.0.0 - For Huawei P8Lite]

Resurrection Remix O v6.0.0 For Huawei P8Lite (Alice) *** Test Version *** About : Resurrection Remix the ROM has been based on LineageOS, and including some features from SlimROM, OmniROM and original Remix ROM builds, all...

xdaforums.com

[ROM][8.1][dotOS 2.3.1 For Huawei P8 Lite][Update 01/08/2018]

#DroidOnTime Welcome to dotOS! ROM Version: 2.3.1 Device: Alice Maintainer: XTutorials Build Status: UNOFFICIAL Disclaimer: * Your warranty is now void. * We are not responsible for anything that may happen to your phone by...

xdaforums.com

[ROM][8.1][Android Open Kang Project For Huawei P8 Lite][Update 23/07/2018]

Welcome to Android Open Kang Project! ROM Version: 8.0 Device: Alice Maintainer: XTutorials Build Status: UNOFFICIAL Disclaimer: * Your warranty is now void. * We are not responsible for anything that may happen to your phone by...

xdaforums.com

[ROM[BETA] Android Open Source Project Oreo for Huawei P8 Lite

The Android Source Code Android is an open source software stack created for a wide array of devices with different form factors. The primary purposes of Android are to create an open software platform available for carriers, OEMs, and...

xdaforums.com

[ROM][8.x][WIP][OpenKirin's GZOSP Oreo - Huawei P8Lite]

Android Oreo is coming on Huawei P8Lite *** experimental / testing version *** Working : - Touchscreen - adb & mtp connectivity - Internal & External Storage - Lights - Audio & Video playback - WiFi - GPS NOT Working ...

xdaforums.com

Please note that I haven't tested these roms and recoveries, I'm just listing them here for those who want to quickly find options.

Oh yeah, OP, do you still use the P8?

If you have any questions, recommendations or corrections, feel free! And have a nice day!