yashsingh1/xdaforums huggingface dataset:
[P8 Lite (2017) Development] kkgodygah:
i had unlock my bootloader and have the unlock code. and have TWRP 3.2.1

but i didnot " have the unofficial Android 11 one"

can i install your TWRP
[P8 Lite (2017) Development] AltairFR:
Yes

DarkJoker360 Developments - Browse /Huawei/P8 Lite 2017/Android-11/TWRP at SourceForge.net

DarkJoker360' s development stuff.

sourceforge.net
[P8 Lite (2017) Development] kkgodygah:
thank you for your help.
[P8 Lite (2017) Development] zuldorak:
Hi, I play "Summoners War" and in this new OS version I can't open the game anymore, I did a fresh install tried with crypt and uncrypt nothing worked and it worked on the previous OS version. On the feedback from the error it says. Source method - "getProviderInfo" and Exception class name - "android.content.pm.PacketManager$NameNotFoundException".

Everything worked great besides the game, great work.

I just tried on all of your roms and I can't open the game on them too, on LIR I tried all 4 version and nothing, it always worked on leaos but stopped working on those 2 last leaos versions.
[P8 Lite (2017) Development] mentalinc:
This is great thanks so much for your efforts

I have a Mediapad T5 and its working great!

The display is all blurry however, any ideas on how to resolve?
[P8 Lite (2017) Development] Kimpsake:
I forgot to update here: my issue was that I didn't include early steps from the Install-guide in subsequent updates. You must use the 1. files for Encrypt/Decrypt even if you've already used them before.

Multi users works now without much issues. I've still some instability when using multiple apps, etc. but I'm a minority in this.

Also, the 3,5mm plug is bugged, but this is a known bug with Lineage's AudioFX - disabling the app and restarting the device solved the issue. I'm still testing if this is a solid workaround if you're looking to use another EQ. For me, Wavelet gave an error "unable to instantiate DynamicsProcessing effects".

The stock SD-card formatting to adopt into internal memory is bugged for me, and I've received recommendations to use another application to achieve this, if that feature is necessary. The ROM is lightweight enough, that at a fresh install there is plenty of space compared to the stock EMUI after factory reset.
[P8 Lite (2017) Development] zaher.kan:
this rom work in Nova 7i (JNY-LX1) ?
[P8 Lite (2017) Development] PRXVISION:
Discarded this phone for a while but I'm back now, did a fresh install of everything and I can boot to ROM but the GPS does not seem to be working. Not working at all....

I did apply the aGPS patch as well but it's still not working, I don't know...

Edit: Sometimes the calling doesn't work and network is bad. Sometimes I need to input the SIM pin code multiple times in a row, as if the phone doesn't properly register the SIM card or something...

Worked fine on EMUI.
[P8 Lite (2017) Development] PRXVISION:
Random chain of thought.... Could my issues with these ROMs stem from my device being dual SIM version?
[P8 Lite (2017) Development] AltairFR:
No, my phone is dual SIM too.
[P8 Lite (2017) Development] PasinduPerera:
Hi I have a Huawei P8 lite 2017 dual sim

Model : PRA-LX1

Build number : PRA-LX1C432B212

EMUI version : 5.0.3

Android version : 7.0

I had to downgrade to EMUI 5.0.3 when try to unlock bootloader. finally I was able to unlock my bootloader, but now I cannot update to EMUI 8. Can you please help me to get EMUI 8.0.0.402 back, can't find it anywhere to download, most links have a paywall. Will I be able to get LiaOS without updating to EMUI 8.0.0.402 ?.

Thank you.
[P8 Lite (2017) Development] wugo201812:
EMUI 8.0.0 is required. ( b406 tested )

http://update.dbankcdn.com/download/data/pub_13/HWHOTA_hotaMigrate_900_9/0d/v3/a997f37b42fc4f3abbf920bd5cd410d8/full/update.zip
[P8 Lite (2017) Development] AltairFR:
Use Huawei HiSuite from Huawei site to upgrade in EMUI8

HUAWEI HiSuite | HUAWEI Assistance France

HUAWEI HiSuite

consumer.huawei.com

After download last PRA-LX1 release ROM (8.0.0.402) from androidhost.ru
[P8 Lite (2017) Development] PasinduPerera:
Hi Thank you for the quick response,

Official update with build PRA-LX1 8.0.0.408(C432) is available shall I update to this version and install LiaOS ?
[P8 Lite (2017) Development] PasinduPerera:
Hi Thank you for the quick reply. I do not know how to update using zip file by HiSuite. I am using HiSuite 10.0.0.510_OVE, should I use an older version ?. I didn't find any option to update using a zip file.
[P8 Lite (2017) Development] wugo201812:
I have posted a detailed tutorial before
[P8 Lite (2017) Development] AltairFR:
Hi

8.0.0.408 have a small system partition 2Go, so you can't install for the moment LeaOs lineage version.

After upgrade to 408, you can

- Downgrade to 402 with SD card dload method

- Install LeaOs aosp phh version
[P8 Lite (2017) Development] lelapindelaforet:
Dear all,

As some users in this topic, I experienced issues after flashing system. No possibility to resize the system partition (ERROR: 4).

I tried to avoid this error, run the next steps but I entered in the boot loop.

First action:

My version of ADB was older than the current, and I moved to the new one (version 2022, platform-tools_r33.0.2 here: https://developer.android.com/studio/releases/platform-tools).

After updating ADB to the latest version the command "fastboot flash" reported better transfer logs and the resize action under TWRP worked fine.

But even with this update, boot loop still occurred.

Second action:

I do not remember which version of EMUI I had, still I updated/downgraded to version b402.

Here it is the link to download this version :

From AndroidHost.ru : https://androidhost.ru/1iXF (already gave by AltairFR, please read the unlock manual)

From MEGA: https://mega.nz/file/A7pXjQqA#4Nf-L76AYHU5DWhGFIJXdmyBcKYD_Skw2WxeQiz952g (much faster to download)

After the download, I created a folder named "dload" on my SD card, on put in it the ZIP "update_sd.zip" and the folder "PRA-L11_hw_eu" with inside the ZIP "update_sd_PRA-L11_hw_eu.zip"

I restarted the phone in upgrade mode by pressing Vol UP + Vol DOWN + Power to install EMUI 8 b402.

It took around 20min to update.

Note: As AltairFR explained, flashing back this version redefines the partitions.

It also re-locks your phone, so consider that before flashing with stock ROM.

I unlocked (again) my phone, wait until the factory reset finished (couple of minutes) and restart the initial procedure (ALL steps).

Phone restarting, fingers crossed..... And here it is! LineageOS boot animation appeared!!!!

To conclude:

Before running the update, download AltairFR ROM +scripts AND the stock ROM + latest version of ADB.

I hope this feedback could help newcomers.

And by the way, and HUGE thank to AltairFR for his custom ROMs, **Nous avons encore de bons dev en France !!**

Cheers ;)
[P8 Lite (2017) Development] lelapindelaforet:
Dear users,

After couple of hours, I come back with some questions.

Unable to connect to hidden Wifi: Does anyone experienced same trouble?

I find related topic on Internet about LineageOS and hidden SSID.

Stock LineageOS Gallery app: Unable to access SD card: Is this a error or simply the standard behavior?

I will try this app, seems good: https://play.google.com/store/apps/details?id=com.simplemobiletools.gallery

Toyota MyT (app to manage Toyota car): This application told me that my phone is rooted.

Do I need to install Magisk and check something?

Thank for your answers.
[P8 Lite (2017) Development] AltairFR:
***

Merci pour le message..et faites attention au Renard :)
[P8 Lite (2017) Development] AltairFR:
Securize app in treble setting to remove root for Toyota Car
[P8 Lite (2017) Development] lelapindelaforet:
AltairFR,

By checking the option "SafetyNet" in treble menu, Toyota MyT app starts fine now.

The app "Simple Gallery" allows to add DCIM folder from SD card, so good little app and do the job.

Stay the trouble around hidden SSID.

Never the less, well done ;)

And do not worry I check the foxes....
[P8 Lite (2017) Development] mat_BE:
Hello,

Have you solved this issue ? I have exact the same issue as you described before (I can't call and receive calls but SMS and mobile data are working).

(Je parle français.)
[P8 Lite (2017) Development] Aken6:
Hi,

No I don't really solve the issue, as described on my message above I use 2 APN, it does the job but it's annoying to change every time. I tried different APN but never solve the problem...

Are you using SFR too ?
[P8 Lite (2017) Development] mat_BE:
No, I am not using SFR (I live in Belgium). But I have had some messages with AltairFR and I think the problem is my version of emui 8 so I will try to change it but currently I don't have enough time to do it.
[P8 Lite (2017) Development] Aken6:
Ok so it may not depend on the carrier. Personally I come from emui 8.0.0.402. If you find a solution, let us know :)
[P8 Lite (2017) Development] AltairFR:
I think there are several causes, the EMUI version, the APN configuration and the 4G provider.
[P8 Lite (2017) Development] mat_BE:
Hello, I made an emui update using dload to 8.0.0.402(C432) and now the calls are working. Thank you all for your help. (the problem was my emui version -> 8.0.0.046(0C01) because I installed it with fastboot)
[P8 Lite (2017) Development] Trin32:
Hi, is root working for you guys? I updated from April to Jun and now I get no SU. Checked, unchecked, restarted, it doesn't show.

Clean install fixed all the issues occurring after update :)

Damn my luck, SU app is showing now but root is not detected by apps anyway...
[P8 Lite (2017) Development] denzelcris:
Bonjour

I have installed this on my mediapad t5 (AGS2-W09) using a slightly modified guide:

- used Huawei-Decrypt-Emui_8.zip instead

- rooted with Magisk-v23-Canary-phh-Aonly-A11.zip as instructed in the Lineage OS guide for this tablet

- update Magisk by mistake to v25 but it booted ok this time (phew)

All seems to work good, 5GHz WiFi network (tablet has no SM card), bluetooth, fast UI but

- I had to disable Audio FX when using normal cable headphones because there was a strange "monoish" low-volume sound

- and the included Camera Go app freezes when trying to record video. Open Camera behaves similarly until selecting "Camera2 API" after which all works

- and of course the usual Netflix freezes at logo for some reason while any chromium based web browser randomly freezes

Has anyone succeeded installing Viper4Android on this configuration (Mediapad T5 with Android 11)?

I have tried different custom ROMs like crDroid or Lineage 18.1 with different and many methods with no success so far.

Thanks
[P8 Lite (2017) Development] air32:
Hey, did someone managed to get this rom working on mediapad m5? Since there is no working twrp as i know is was not able to install it. The TWRP suggested on page 1 doesnt work also.

Device is unlocked and fastboot is working.
[P8 Lite (2017) Development] AltairFR:
For Netflix and chrome freeze

The Netflix problem and the chrome problem comes from the widewine L1 drm service.

Je n'ai pas de tablette mais contacte moi en privé on va essayer de basculer en L3
[P8 Lite (2017) Development] vmahe53:
any help i tried to install harmony 2 and hard brick my tab, is there any way atleat install any os or

do anyone have system, boot, cust, recovery, userdata.img with you i want to try with multi-tool to unbrick my tab

thank you
[P8 Lite (2017) Development] HBubli:
EDIT: Nvm, it just started working for some reason lmao.

Im on an Huawei P8 Lite 2017 (PRA-LX1) and the gps doesnt work. I already flashed the agps fix twice but its still not working. Is there a fix for that?
[P8 Lite (2017) Development] AltairFR:
GPS or agps ?
[P8 Lite (2017) Development] HBubli:
GPS. But it doesnt matter since i got it to work.
[P8 Lite (2017) Development] AltairFR:
Install GPS test and check if satellite appear. Disable screen saver in the options
[P8 Lite (2017) Development] Warren_Orange:
If I buy a p8 lite 2nd hand is it still possible to unlock it?
[P8 Lite (2017) Development] AltairFR:
Yes of course . You can unlock with testpoint method, you must open backcover and use potatoesnv
[P8 Lite (2017) Development] Trin32:
I used DC Unlocker. Is non intrusive method via USB cable, but it costs a few Euro. No matter which method you choose, be sure to keep the unlock code until you stop using the phone. Bootloader tends to lock back when you get a bootloop and need to flash the stock firmware.
[P8 Lite (2017) Development] lelapindelaforet:
Dear @AltairFR

Any news about the wifi hidden SSID connection trouble?

My phone works so well, just no possibility to connect on my private Freebox wifi network.

Regards.
[P8 Lite (2017) Development] traversone:
sorry, on P10 lite GPS test app says "No Fix" for a long long time while "in View" says 20-23...what is the fix to make embedded GPS to work?

thank you
[P8 Lite (2017) Development] AltairFR:
Do you have enabled lte or 4g data ?
[P8 Lite (2017) Development] traversone:
thank you! I will flash the .ZIP again (already done at setup time).

p.s. I am with WiFi only, can it be relevant?
[P8 Lite (2017) Development] AltairFR:
Agps work only in 4g/lte
[P8 Lite (2017) Development] traversone:
so..probably I am a bit confused.

what is not working in my case: AGPS or GPS?

another 2 questions: a) the patch "FixPreav" what is intended for? b) do you suggest to flash Siberia kernel?

thank you
[P8 Lite (2017) Development] AltairFR:
Fixpreav is for drm wide. If drm not enable, google chrome crash :)
[P8 Lite (2017) Development] traversone:
ok..what about Siberia kernel?
[P8 Lite (2017) Development] AltairFR:
It is a good kernel. it saves 25% of battery and it is up to date on Linux patches and all the latest versions of 4.4
[P8 Lite (2017) Development] traversone:
I usually use this link:

DRM Secure Stream Test using HTML5 Video Player | Bitmovin

Test DRM protected streams with Bitmovin's Video Player using live code | Including MSE Support ✅ and EME Support ✅

bitmovin.com

to test DRM in Chrome and nothing happens...it keeps loading endless

Netflix (installed from Titanium Backup of working device) hangs up on black screen at startup!

p.s. on stock Browser it works
[P8 Lite (2017) Development] AltairFR:
Install drm info please from playstore. But I think you have a problem with your drm
[P8 Lite (2017) Development] traversone:
using MagiskHide_Props with WAS-LX1A fingerprint (my devices is P10 lite indeed)
[P8 Lite (2017) Development] AltairFR:
My patch is for PRA-LX1 with emui > 401 but perhaps it work with WAS. Please scrolling the screenshot to show Keys section

Install DRM from ataraxian studios please. Clearkey have problem on PRA-LX1 and WAS-LX1A
[P8 Lite (2017) Development] traversone:
apart from reported Fingerprint, my stock ROM is 394 (C432)
[P8 Lite (2017) Development] traversone:
so maybe Netflix does not start because of recent change in API integrity check ? can you try implementing a solution in the ROM itself?
[P8 Lite (2017) Development] AltairFR:
For Netflix i use the 6.26 version. Last version can't start video but app start correctly in my device and with LeaOS PHH version (AOSP)
[P8 Lite (2017) Development] traversone:
6.26 works at my end although an error pops us after every content playing.

sorry for my question: but LeaOS PHH version is different from the 1st post's one?
[P8 Lite (2017) Development] AltairFR:
yes quite different, because that of the first post is based on sources from the lineage community while LeaOS-PHH is based on sources published by Google. LeaOS-PHH takes up less space on the system and also allows you to pass safetynet without magisk
[P8 Lite (2017) Development] traversone:
ah...good to know! Where can I download it if allowed to do?
[P8 Lite (2017) Development] AltairFR:
On xda of course
[P8 Lite (2017) Development] AltairFR:
https://xdaforums.com/posts/87191473
[P8 Lite (2017) Development] isikeren0:
Good work..
[P8 Lite (2017) Development] PufferDude:
Could someone give me a review for this rom? Pros & Cons. How is it both performance & security? Is it 'completely' open-source? Is camera as good as stock, network, battery? I have so many questions as I've been trying to avoid root & custom roms recently, but debloated stock rom (emui 8) is also unsatisfying for me...
[P8 Lite (2017) Development] domcars0:
After tried lot of ROMs to maintain my P8 Lite 2017 up to date, I think this one is really the best. Not only because the maintainer is a French guy ;-) , but cause it's the most stable. It's strong (not as sensible as many other P8 lite custom ROMs), almost if not everything is working, and it's based on the most popular ROM: LineageOS.

I will maybe try the Siberian kernel, why not ;-)

A great " Thank You" to AltairFR (and to all the developers ) who permitted this nice piece of code.

Sorry for my frenglish ;-).
[P8 Lite (2017) Development] lelapindelaforet:
Dear all,

I just installed the update of August, initially I used the April version.

For my part I was unable to run ADB command, because the RSA prompt never appeared on my computer (even after trying the different solutions online).

So rebooting in fastboot via ADB was difficult, but nevermind, there is a trick:

First keep your USB cable connected under your system

Reboot, press and maintain the VOL DOWN button

The phone will reboot in fastboot mode

After accessing fastboot, I was able to flash the system image.

Remember when you install an update to clear caches, without this action, some components do not run well.

During my first flash, I forgot to install LiteGapps, so when the system rebooted, it told me that Google Play Servies are required...

Even after rebooting in TWRP, installing LiteGapps, Google app not running.

So I flashed a second time the system image, reboot in TWRP, resized system partition, installed LiteGapps and AGPS AND clear caches.

In fact, it was not necessary, just uninstalling Google app and reinstalling them fix the issues.

BE CAREFUL! When you install LiteGapps, if it was already installed, the installation run uninstall command! So 2 install could be required.

After the update, the ADB command still no working, my device continues to appear as "unauthorized"

There is an ultimate action I can try, writing my own adb_keys on my device: https://xdaforums.com/t/solved-adb-...t-and-no-revoke-usb-debugging-option.3693961/

@AltairFR, I still have trouble with hidden SSID.

And the application Find My Device contacts the device properly but seems to not request for GPS positioning (note that Maps and other GPS app work well).

But still, your ROM is running smoothly, rock stable, great work! Many thanks for that ;)
[P8 Lite (2017) Development] Mrfunnysnake78:
Salut/Hi,

Is there a fix for the mobile network that keep disconnecting every 3 seconds? I checked my APN, rom is installed from 8.0.0.402(C432), I can't set a PIN code because it keep "reseting" the network. I installed the Siberia Kernel too I dont know if thats the issue?

All the rest seems to work perfectly,

merci AltairFR pour cette rom.

Edit: I deleted my APN, restored them and toggled airplane OFF - ON and now network is pretty stable.
[P8 Lite (2017) Development] AltairFR:
Hello

Yes i have a fix , the fix set the phone to single sim. Do you have a pra-lx1? you are French ?
[P8 Lite (2017) Development] Mrfunnysnake78:
Yes I am french ! I do have a pra-lx1 but I fixed my problem, you can see I edited my own post with the workaround I've found.

Thank you for the quick answer ;)
[P8 Lite (2017) Development] AltairFR:
Set phone to mono sim for PRA-LX1
[P8 Lite (2017) Development] AltairFR:
Yes recreate APN correct in many cases the problem
[P8 Lite (2017) Development] Mrfunnysnake78:
After a reboot the problem is still present.

I flashed the MonoSim patch but it keep disconnecting every 3 seconds, do you have any other ideas?
[P8 Lite (2017) Development] nicojard1:
Hello, thank you for this great job. I tried this on my p8 lite 2017, every thing works fine (wifi, bluetooth, gps...), except...phone calls ! Rarely it's work but often the call is closed immédiately. When I call the messaging several times, I hear the responder for 1 second, as if the call is made and is not hung up, however on my phone the call is over (call completed). Sorry for my English I'm French;). Please
[P8 Lite (2017) Development] nicojard1:
After several tests, the impossibility of calling and receiving calls occurs when the mobile switches to 4G
[P8 Lite (2017) Development] AltairFR:
I answer you in French in private, I have already had this problem
[P8 Lite (2017) Development] AltairFR:
Yes ..
[P8 Lite (2017) Development] 11spqr:
Hi AltairFR,

first of all thank you for your work, the rom is stable and solid, it is my daily driver on Rhone.

In OP you wrote a "how to" for updating phone from previous rom version, without distinction to encrypted or unencrypted data.

I am using an "encrypted data" method and in my case it was impossible to update to newest version of LeaOS without loosing the encrypted data partition.

First I've done steps from update section of OP, and phone hanged on LOS startup screen, then I flashed under TWRP 1-Huawei-DataPrep-Crypt-A-v1.0-signed.zip, and as expected data partition was formatted again(data on that partition was permanently removed) and system booted up properly, like a first start(had to set up language, time, security etc.)

In accordance with the above mentioned case I have a question:

Is there possibility to update encrypted phone without loosing data, or you have to make a backup of entire phone(especially the data partition) and flash the "encryption file" in TWRP?

Thanks in advance,

P.
[P8 Lite (2017) Development] AltairFR:
Hello. thank you for message, I will do a test but normally you have to do an update without deleting all your data. When you did the test, did you see the lineage logo on first boot?
[P8 Lite (2017) Development] 11spqr:
yes, and phone hangs on this stage.
[P8 Lite (2017) Development] 11spqr:
I didn't have any problems installing this rom.

I am using official TWRP 3.6.2_9-0 for prague:

https://eu.dl.twrp.me/prague/twrp-3.6.2_9-0-prague.img.html

Phone have "PHONE unlocked" and "FRP unlocked" red signs on bootloader screen.

I've wiped cache, dalvik/art cache, internal storage, data and system before flashing rom img.

Rest steps was from OP.

Moreover I have installed Syberia latest Kernel from TureX:

https://xdaforums.com/t/kernel-emui-8-p8-lite-2017-siberia-kernel.4373345/

The battery life is significantly improved.

On Rhone this rom is very stable(as I wrote earlier, I am using this phone as my daily driver).

Hope this helps,

P.
[P8 Lite (2017) Development] mat_BE:
Hello,

Would it be possible to have an fm radio app on this rom ? I know there was one on the stock rom and I found the apk but it won't install. I read that it is quite difficult to implement so it wouldn't be a problem if it isn't possible, but if it is, I would use it a lot. And again, thanks for this great rom !
[P8 Lite (2017) Development] AltairFR:
Hello

It is not possible..sorry
[P8 Lite (2017) Development] mat_BE:
Ok, no problem
[P8 Lite (2017) Development] lelapindelaforet:
Dear @AltairFR,

I finally found the problem about the hidden SSID, in fact it was the configuration.

After connecting an other new device to my wifi, it does not want to connect too (as my P8 lite 2017), and all other devices do not failed.

I find in the wifi option on Android that there is a checkbox for hidden network, simply check it solve the issue!

Regards.
[P8 Lite (2017) Development] AltairFR:
Ok show me the android option please
[P8 Lite (2017) Development] lelapindelaforet:
Sure, here it is (capture from Internet but same name and location):
[P8 Lite (2017) Development] Astral:
Found more issues (RNE-L21 8.0.0.348 C185)

1. GPU performance is bad (Game Suite on stock ROM made games not lag)

2. Slow boot compared to stock rom