yashsingh1/xdaforums huggingface dataset:
[P8 Lite (2017) Development] ohmygoodnessgracius:
Hello, thanks for the quick response and the interest in helping, I tried your suggestion but again I can't interact with user data, I am using mindthegapps A13 as you suggested

but I think gapps might be unrelated, I can't move or copy files from external SD card to Internal storage and vice-versa, but I can move existing file from external to different external folder, or existing file from internal to different internal folder, but I can't copy files in any way which makes me think I simply can't write any new data on the phone storage, from within the phone

if I try creating files on internal storage using file manager apps (for example downloading or copying a file and duplicating it) it will fail with error unknown

creating or writing new files from the phone seems to not be working no matter what I do, even using App Ops with Shizuku (adb mode) to manually give file permissions to these files doesn't help

if I send file (or manipulate, copy, move, create any file) from PC to Phone it works, and using the phone I can move around this file to other folders inside the Internal Storage, but I still can't copy anything using the phone even to just any different folder inside the Internal Storage

I must add, this doesn't happen in LeaOS 18.1, it works fine there
[P8 Lite (2017) Development] ohmygoodnessgracius:
edit on OSS Lineage 20 storage issue:

I downloaded chrome and Xiaomi File Manager from playstore, chrome allows me to download files without a problem and Xiaomi File Manager lets me interact with files from my phone as intended

these two apps make basic things way easier, but I'm surprised these ones work but the ones included with the ROM don't
[P8 Lite (2017) Development] raix1415:
@AltairFR, thank you and all who contributed to this useful ROM.

I would like to ask/report several things to you and community here.

1. what is the latest version of this ROM for Huawei P8 Lite 2017 (PRA-LX1), pls? Is it "LeaOS-20230407-iceows-pra.7z" from the first page or is there a newer one? There are files for many versions on your sourceforge.net site so I don't know if any is for this phone.

2. I have noticed some issues with cellular signal. It seems that when the phone is idle for longer time and someone calls me, the other side often does not hear me at all or hears every 3rd word I say. When we hang up and the other side calls again immediately, usually issue is not there anymore. Has anyone experienced such issues, is it possible to fix it?

3. I cannot find root debugging option in developers settings. There is this option in official Lineage 18.1. There is only usb debugging. How to find/activate root debug option, pls?

4. I had issues that PC did not recognize the phone as authorized with debugging turned on. The problem was that no matter what I tried I did not get the prompt on the phone to accept the fingerprint of a connection from PC. How to make it to appear when connected to a new PC, pls? Standard recommended ways like reset, reboot, turn on/off options, re-plugging etc. do not work.

I apologize in advanced in case any of this topics have already been discussed. In such case, please just direct me to correct page of the discussion. Thank you all who can clarify/answer any of my points above.
[P8 Lite (2017) Development] AreYouAWizzardBayBae:
Hello, first of all I call "same" on points 2, 3 & 4 of above post.

Second of all, I'm wondering why the system is taking 8.4 GB of space, as shown on Settings->Storage under System. The ROM's .img itself is ~2.5 GB.

I have a suspicion that either something goes wrong during "resize system" step (maybe it's unnecessary, someone mentioned something like that) or the system is being copied during booting and runs of a copy. My phone takes a few minutes to boot, as in I see the Huawei unsafe rom warning for a long time, before the Lineage OS logo shows up and I can unlock my phone shortly after.

Either way, having 8.4 out of 16 GB of storage taken up by the system that should've taken 3 GB tops is barely an upgrade over the bloated stock. Is there a solution to that?
[P8 Lite (2017) Development] aLcaTr4z:
Wait a sec, for u guys is USB/ADB still working, when Flashing A13? :O
[P8 Lite (2017) Development] Iconium_:
@AltairFR Do you need a specific EMUI version for LeaOSS 20? Because I cannot get to OTA update the .375~ update via TWRP or DLOAD. And It quite possibly wont boot on old .047 emui. (EMUI 8)
[P8 Lite (2017) Development] smithopher:
When following the instructions for "new install" including flashing "Google Apps lite", I get:

1. Google Service Framework keeps stopping

2. Trebucht keeps stopping

And I cant launch any apps :/

Will try to flash "Google Apps lite" after initial LeaOS start.

Edit:

Ok, these steps worked:

* Wipe cache, dalvik/art cache, internal storage and data

* reboot (WITHOUT flashing GApps)

* System boots fine

* Now (after system initialization) GApps can be flashed
[P8 Lite (2017) Development] smithopher:
I flashed Google Apps lite, enabled "Misc > SafetyNet", but YASNAC reports "The version of the Google Play services installed on this device is not authentic.", see screenshot. Any ideas?

EDIT:

Ok, figured this one out too - YASNAC has to be installed from the play store, see https://github.com/RikkaW/YASNAC/issues/24
[P8 Lite (2017) Development] smithopher:
.. However - YASNAC shows "CTS profile match : fail", similar to https://xdaforums.com/t/rom-huawei-...or-huawei-device-emui-8.4371629/post-88289289 - But I am already using the latest LeaOs Image. Any ideas?
[P8 Lite (2017) Development] Iconium_:
Re-install stock OS.

Re-install the LeaOS ROM.

This fixed the exact bugs for me.
[P8 Lite (2017) Development] smithopher:
How do you re-install the stock OS without locking the bootloader again? Currently I flash the stock partitions manually (via fastboot), which works - But I wonder if there is another way
[P8 Lite (2017) Development] mutonic:
Hi,

Coming from previous LOS 18 installation, does someone know if it is mandatory to flash back to stock first and then reflashing LeaOS from there or there exists a simpler way?

Also having same question as @smithopher regarding bootlocker relock
[P8 Lite (2017) Development] Iconium_:
There are many ways. Such as eRecovery. You do not have to lock the bootloader again to reinstall stock, it would only brick your phone.

However, sometimes the erecovery will not work. (stopped working for me idk why). This led me to manually flashing the stock rom zip which was also not the actual honor rom. it only booted into huawei rom and a completely old EMUI version. For that; you have to flash linage 9 with treble support then flash linage 18 system img. (there are instructions for that on my thread somewhere in this phone's topics.) But i would not recommend doing that.

I do not get your point. If you want to lock the bootloader, use eRecovery to get to latest stock rom and then you can lock the bootloader. You cannot and even if you can; DO NOT try doing so on a custom ROM!!11
[P8 Lite (2017) Development] mutonic:
What I meant is: can we switch directly from a custom rom (LOS18) to another (LeaOS)? OR do we have to reinstall stock in between the two, (thus risking locking bootloader again)

I would rather avoid reinstalling stock and having to mess with bootloader lock/unlock again
[P8 Lite (2017) Development] Iconium_:
I tried doing that once. It did not work. Here's the things I had encountered:

1st try: Bootloops after linage logo

2nd try: Phone restarts after the unlocked bootloader warning screen. Only eRecovery and Fastboot worked. Had to flash stock or siberea kernel to get TWRP working again.

Therefore, I will not recommend you to try that. But the stock rom to leaos 20 flash method also did not work for me :/ ask Altair, maybe he can help!
[P8 Lite (2017) Development] mutonic:
Ah, okay. This confirms my suspicion; it seemed too easy :/

I'm not sure what to do if the stock method is also failing.
[P8 Lite (2017) Development] AltairFR:
You must flash empty userdata partition before flash leaos
[P8 Lite (2017) Development] konstantinos_general:
Hi since latest google Droid Guard update the ROM should be signed with release-keys otherwise it's impossible to pass the Play Integrity. So I was wondering, any plan to release a signed ROM or any help with building the rom ans signed it?

Thanks
[P8 Lite (2017) Development] moitreker:
Tell me, friend, can I install LeaOS-OSS-20.0-20240116-prague.zip to my Huawei P8 lite 2017 (PRA-LX1) EMUI 8.0 ...360 ?
[P8 Lite (2017) Development] -Alf-:
This ROM is compatible with hi6250 devices , and with EMUI 8.0, not with EMUI 8.1.
[P8 Lite (2017) Development] AltairFR:
So you didn’t update to EMUI 9
[P8 Lite (2017) Development] aLcaTr4z:
So, i have to downgrade to 8.0 First? Im confused now. ;D

I had a Custom running, (CAOS). Formated etc. before flashing, etc.
[P8 Lite (2017) Development] AltairFR:
I don’t have a phone on EMUI 8.1 so I can’t test , but you’re probably right
[P8 Lite (2017) Development] AltairFR:
What version of caos?
[P8 Lite (2017) Development] AltairFR:
The P20 Pro is available in EMUI version 8.1, 9.0, 9.1 and 10. Not in version 8.0.
[P8 Lite (2017) Development] aLcaTr4z:
Ahh! makes sense. ;D

Android 11, v313+. But Sadly mtp/adb is broken on A11, so this was my kinda last hope.
[P8 Lite (2017) Development] AltairFR:
ok but A11 exists in version AB, A only, vndklite . And which one did you take?
[P8 Lite (2017) Development] aLcaTr4z:
Ah, thats what u meant. caos-v313+211010-arm64-bgZ, so its A+B.
[P8 Lite (2017) Development] AltairFR:
Yes, it is the AB version of CAOS Android 11

b=ab version

P20 support only AB version of Android, my ROM is A-only version

But try Lir AB version. LiR have all my patches
[P8 Lite (2017) Development] aLcaTr4z:
Thats what i found out on flashing gapps, yes. ;/

Nice! Will give it a go.
[P8 Lite (2017) Development] AltairFR:
Download here

LiR Project

GSI Treble patches. Included Phh, Andy Yan and my personal Treble works. You can using patches/solutions from here and from linked manifests (all or few my own) in none-commercial usage only and yo...

github.com

TrebleGSI - Browse /LiR/2021.12.23 at SourceForge.net

sourceforge.net
[P8 Lite (2017) Development] aLcaTr4z:
Already wiping + flashing. :)
[P8 Lite (2017) Development] aLcaTr4z:
Alright, atempt #1 failed. Did flash the image out of your Post. So another "A" image flashed. But now with the proper Image prepared, once again my /system is too small, even with lite image. So i have to repartition once again my phone. Fml :D
[P8 Lite (2017) Development] lechuckk:
edit wrong thread sorry
[P8 Lite (2017) Development] AltairFR:
And this ROM that works well, what is this name ?
[P8 Lite (2017) Development] aqua_bloub_bloub:
Hello Altair, first thanks all the work you've done. I followed your pdf in french. Everything works fine until I have to install the image. At this point it fail. I also tried to flash through fastboot, I first got an error "Invalid sparse file format at header magic" (I think it is due to the encryption but I don't know how to disable it) then it flashes but when I boot the system just keep loading (waited for approximately twenty minutes).

I dknw what to do. And I cannot add the zip file to my sd card.

Also I cannot resize the system in TWRP because for whatever reason it is not proposed, all I can do is "Change file System".

Also, I wipe system so now I don't have any OS on my phone.
[P8 Lite (2017) Development] AltairFR:
Hello

"Invalid sparse file format at header magic", it's just a warning indicating that it will split the image into several chunks. After the message, it flashes 6 times. Is this the case ?

Can you give me your phone model and especially your version of emui?
[P8 Lite (2017) Development] -Alf-:
Use TWRP 3.2.3.0 by Askuccio, download Here

Maybe downloaded file is corrupt, try to download it again

Boot into eRecovery and try to update phone using wifi + option "Download latest version and recovery". Also you can flash service ROM for your model PRA-LX1 , download service ROM for your region C432 only! (the process will lock your BL again!)
[P8 Lite (2017) Development] aqua_bloub_bloub:
Huawei p8 lite 2017, PRA-LX1

8.0.0.400(C432)

I don't understand why it is important to have a version <402 if wipe the system before flash the system ?
[P8 Lite (2017) Development] aqua_bloub_bloub:
Thanks, I think I will try later this day with this version of TWRP.
[P8 Lite (2017) Development] AltairFR:
After 402 all partitions are différents
[P8 Lite (2017) Development] aqua_bloub_bloub:
Tried again via TWRP, and it failed (no error message error).

Tried vie fastboot and the first part went fine but the second failed. The error : 'partition length get error'.

My version is PRA-L31 8.0.0.401(C432).
[P8 Lite (2017) Development] -Alf-:
what command did you use?
[P8 Lite (2017) Development] aqua_bloub_bloub:
fastboot flash boot lineage-18.1-20211214-UNOFFICIAL-iceows-pra.img

Another thing that is quite strange is that, when I was on EMUI 8.0.0.402, when I connected my phone to my computer and look at its storage, it was display that my phone only 9Gb of internal storage even though it was 16Gb. However when I looked in my phone storage the memory was 16Gb as it should be. idkn if that could help.
[P8 Lite (2017) Development] -Alf-:
Run command:

fastboot flash system etc.
[P8 Lite (2017) Development] aqua_bloub_bloub:
It flashes but when I boot it loads for like 20 minutes then reboot and then it boot in huawei recovery.
[P8 Lite (2017) Development] -Alf-:
nvm...
[P8 Lite (2017) Development] aqua_bloub_bloub:
Tried, and same thing. Phone charges for 20 minutes then reboot in Huawei eRecovery.
[P8 Lite (2017) Development] AltairFR:
20 minutes and after reboot ....do you have format data partition , before flashing ? You can reset all by cmd : fastboot erase user_data, reboot and format data, reboot and flash system
[P8 Lite (2017) Development] aqua_bloub_bloub:
When I try, I got an error message FAILED (remote: 'Command not allowed')
[P8 Lite (2017) Development] AltairFR:
The correct cmd is fastboot erase userdata

Sorry
[P8 Lite (2017) Development] -Alf-:
you probably have a locked BL or FRP.
[P8 Lite (2017) Development] Haru2001:
I need help how can I flash magisk I already tried flashing patch recovery ramdisk.

Nothing happened
[P8 Lite (2017) Development] -Alf-:
I had the same problem, flash linked .zip file in TWRP

Magisk-23-phh-aonly

and then update magisk manager, it worked for me.
[P8 Lite (2017) Development] Haru2001:
Thank you

I'll try this later
[P8 Lite (2017) Development] Haru2001:
I tried flashing the zip it didn't work

Nothing happened after I update magisk

Edit: after reboot to system Via TWRP

No magisk installed
[P8 Lite (2017) Development] Haru2001:
I also tried magisk canary by darkjoker360

And it didn't work. After I flash via TWRP

It boots with no magisk installed I have to manually install magisk and then check if it's working but it doesn't work
[P8 Lite (2017) Development] Haru2001:
After Magisk checking log

Result:
[P8 Lite (2017) Development] -Alf-:
In order not to look like an idiot, I was just trying it, magisk works without problem. Reflash leaos and try again , idk what the problem is... This magisk variant worked for me on all AltairFR's ROMs.

Screenshots:
[P8 Lite (2017) Development] Haru2001:
I tried reflash Leaos

Still the same
[P8 Lite (2017) Development] -Alf-:
Stock kernel?

I tested everything (ROMs, magisk etc.) on P20 lite, maybe that's it...
[P8 Lite (2017) Development] -Alf-:
On Oreo you need flash patched ramdisk , not recovery ramdisk (if I understood correctly)
[P8 Lite (2017) Development] Haru2001:
Thank you so much. Sorry I didn't know in Oreo you need ramdisk Not recovery ramdisk
[P8 Lite (2017) Development] orgix:
It will work on p10 lite?
[P8 Lite (2017) Development] Cap'tain Champi:
Hi! I'm still stuck at getting the downgrade, I followed tutorials on youtube, with dload method it cannot see the package (stuck at 5% then reboots), with HiSuite Proxy it reboots to install it but it fails "Software install failed" for whatever reason (PRA-L31 8.0.0.364 for example)

I'm on version 8.0.0.410 (C432), device PRA-L31.

I can flash twrp from fastboot, access it and do what I want to do but I cannot flash Los 18.1 until I get that damn downgrade.

Have a nice day et merci pour la rom au passage ! :)
[P8 Lite (2017) Development] aqua_bloub_bloub:
It finally worked, thank you so much for your help !!!
[P8 Lite (2017) Development] PRXVISION:
I don't know if it's necessarily related to this particular ROM but is there anything I can do to make some of the banking/security apps and stuff not detect that I have custom ROM/root?

I don't really care if it's rooted or not, I just need to be able to use basic apps.

Everything seems to be working okay otherwise.

Signal strength works, GPS works - these are some of the things that weren't very stable for me on your crDroid7x ROM. I'll see how it goes on this ROM but it seems a lot more stable for now.

EDIT: for example, on your crDroid ROM all of those apps and stuff worked fine and didn't detect the use of a custom ROM/root.
[P8 Lite (2017) Development] aqua_bloub_bloub:
Hello,

I am trying to add Gapps. Unfortunately, when I try to install it in TWRP, I always got the error message :

Updater process ended with ERROR : 1

Error installing zip file 'NikGapps-basic-arm64-11-20220127-signed.zip'

After some research, it appears that I need to flash my boot with a boot.img, However, I can't find one, even in the update.app file (using Huawei Update Extractor).

Has anyone some advice?

Thanks
[P8 Lite (2017) Development] AltairFR:
The problem is not on boot.img but on googles app after February 2021. have you tested the version of Gapps validate with LeaOS ?
[P8 Lite (2017) Development] aqua_bloub_bloub:
Worked like a charm, thanks !! (I just used the Gapps that your proposed)
[P8 Lite (2017) Development] AltairFR:
Well on the occasion I will try to understand why the latest versions of Google Apps do not install under TWRP :-)
[P8 Lite (2017) Development] PRXVISION:
ignored 😞

basically is there any way to mask root usage/custom rom?

magiskhide isn't supported anymore and I don't even know if that's what I'm looking for...
[P8 Lite (2017) Development] moitreker:
AltairFR​

Салют Мастер. Vous conseillez de faire le FORMAT DATA (YES), mais de ce que vous dites sur ce conseil:

Honor 8 - Прошивки EMUI 4.1 - 4PDA

Honor 8 - Прошивки EMUI 4.1

4pda.to
[P8 Lite (2017) Development] -Alf-:
Sorry to sound rude here, but don't mix apples and oranges :)

The Russian article says that it is not recommended to do a factory reset in TWRP (and this is true). Factory reset in TWRP is not the same as Format data & wipe data in TWRP bro ..
[P8 Lite (2017) Development] moitreker:
-Alf-​

I did not understand what you told me.

He says you need to make a data format, and on the Russian site 4PDA it is written that it is not recommended to make data format.
[P8 Lite (2017) Development] -Alf-:
No need to take words out of context...

I've known about this article practically since the day it appeared on the 4pda. Some of the wording is unclear, but it's about "factory reset", you can trust me.
[P8 Lite (2017) Development] Fire_ant:
Would VoLTE work with this patch?
[P8 Lite (2017) Development] BlackDevil11:
Can i install it on honor 7x?
[P8 Lite (2017) Development] -Alf-:
It worked on my P20 lite (running Oreo!), so it should work on BDN.
[P8 Lite (2017) Development] zmbmaxx:
Hello, I installed lineage os18.1 on mediapad t5 10" and now the sound in the headphones does not work, I tried crDroid the same thing, everything works on the stock firmware, has anyone come across this? and is there any way to solve the problem?
[P8 Lite (2017) Development] AltairFR:
Hi!

New update is online (march 2022) !

Cheers
[P8 Lite (2017) Development] AltairFR:
Hi

Thanks for reporting. I just tested, I have the same problem. To fix it you have to go to PHH Treble Settings -> Misc Features -> Audio and check "Force headset switch (Huawei default)", and Disable audio effects

Cheers
[P8 Lite (2017) Development] zmbmaxx:
thanks everything worked
[P8 Lite (2017) Development] buteo:
Hi, @AltairFR thanks for your work but.... too many ROMs from you (crdroid, Lir, LeaOS...)! 😀

Which One to choose and upgrade? Seems LeaOS is which you updated to March version. Do we have to keep installing this now?
[P8 Lite (2017) Development] exzemat:
Hello AltairFR,

I installed your build on huawei nova2 PIC-LX9.

everything worked !!!!

Thanks you very much!

Salut MusculationFrancaise,

J'utilise desormais (suite à l'arrêt du site openkirin) cette magnifique rom que tu nous a concoctée.

tout fonctionne et ça fait plaisir d'avoir quelque chose à jour et fonctionnel

Merci pour ça!
[P8 Lite (2017) Development] RangerKevin2:
Hi AltairFR !

i managed to install your ROM on my P8 lite 2017 PRA-LX1 with Siberia kernel v4.4.302_1.1

everything was fine but after flashing magisk in TWRP, my phone doesn't want to boot and restarts every 5 seconds

It seems impossible to get around this issue...

is there any way to fix this or to root LOS 18.1 without flashing magisk ?

i : the ROM has been installed over 8.0.0.364 C432 firmware | TWRP: 3.6.0_9-0 (official)
[P8 Lite (2017) Development] AltairFR:
Hi

LeaOS has a dynamic root system that you can activate in the trebble settings. No need for magisk. Otherwise I use for my part EMUI 8.0.0.402 which you can download on androidhost.ru
[P8 Lite (2017) Development] RangerKevin2:
Okay, trebble settings just appeared ! They weren't here at first. That's why i didn't find root settings, thanks for the info
[P8 Lite (2017) Development] doktoil makresh:
Hi,

I installed the custom ROM following your guide, all went well. However the wifi is not able to connect, and the cellular connection is really unstable.

Wifi issue : I type in the password, the wifi network is displayed as saved and... nothing

Cellular issue: the cellular logo appears full, then displays the no signal logo, then is back. Sometimes the 4G logo is displayed, but disappears in the next seconds. Everytime I'm trying to dial a phone number, I'm told the cellular network is unavailable.

Please help :)

Edit: While testing I used my smartphone as wifi hotspot and it works! My home wifi is working great with many devices, including a tablet running LineageOS 17.1...
[P8 Lite (2017) Development] AltairFR:
Hi

Can you give me your phone model and your full emui version Thank you
[P8 Lite (2017) Development] doktoil makresh:
Salut / Hi ;)

This is a Huawei PRA-LX1, I had to downgrade its EMUI to version 8.0.0.375(C432)
[P8 Lite (2017) Development] AltairFR:
Salut

Tu parles français ? Do you speak french ?
[P8 Lite (2017) Development] doktoil makresh:
Better than English ;)
[P8 Lite (2017) Development] AltairFR:
Ok so, We will use the French then. Send me a private message please on xda or telegram please
[P8 Lite (2017) Development] wugo201812:
4g mobile data disconnection

mobile phone pra-lx1

emui version 8.0.0.360
[P8 Lite (2017) Development] AltairFR:
Ok try 402 please and check your apn
[P8 Lite (2017) Development] wugo201812:
○k, report after testing
[P8 Lite (2017) Development] AltairFR:
Merci
[P8 Lite (2017) Development] AltairFR:
Download 402 here :

Huawei P8 Lite 2017 PRA-LX1 PRA-L11 hw eu HLRCF Prague-L31 8.0.0.402(C432) Firmware 8.0.0 r1 EMUI8.0 05014FFV [androidhost.ru].zip - AndroidHost.RU

Download file - Huawei P8 Lite 2017 PRA-LX1 PRA-L11 hw eu HLRCF Prague-L31 8.0.0.402(C432) Firmware 8.0.0 r1 EMUI8.0 05014FFV [androidhost.ru].zip

androidhost.ru
[P8 Lite (2017) Development] wugo201812:
4g mobile data disconnection

mobile phone pra-lx1

emui version 8.0.0.402

apn correct
[P8 Lite (2017) Development] AltairFR:
Ok, check your apn please
[P8 Lite (2017) Development] AltairFR:
set your apn settings manually
[P8 Lite (2017) Development] wugo201812:
4g mobile data disconnection

mobile phone pra-lx1

emui version 8.0.0.402

Replenish:

apn correct

twrp-3.6.1_9-0-prague.img
[P8 Lite (2017) Development] wugo201812:
apn correct
[P8 Lite (2017) Development] AltairFR:
The work around that worked are to set sim lock pin and then initially it might ask for pin few times