yashsingh1/xdaforums huggingface dataset:
[P8 Lite (2017) Development] DieBill:
Can I just flash this rom? My device is the PRA-LX1
[P8 Lite (2017) Development] :
I found solution.

1. Rebrand to PRA-LX1 back using eRecovery

2. Reflash EMUI 8 using nocheck recovery

3. Wait to get booting EMUI 8 (once it boot, you can go to step 4)

4. Then flash Oreotwrp, and stay in bootloader to flash system.img of LineageOS 15.1 by Haky86

5. Then reboot using buttons to Oreotwrp and just swipe to factory reset, then reboot.

6. It should boot.

This worked for me.

Hope it will work for you too.

I will remove the non-booting point on phh-treble wiki as it isn't linked to phh-treble but to wrong installation

Edit: the wiki was already edited by someone that explain the issue. so everything good.
[P8 Lite (2017) Development] raiden99:
Hi guys, I have the same problem..

AOSP boots, while LOS doesn't. I've tried flashing from AOSP without any wipe as said on the Wiki but it keeps going into bootloop.

Even flashing via bootloader doesn't work ..
[P8 Lite (2017) Development] haky 86:
man did flash emui8? if no will not boot.
[P8 Lite (2017) Development] raiden99:
Yeah, today I was running emui8. Then, I flashed LOS but it didn't boot, so I tried with AOSP and it worked.

I tried flashing LOS from AOSP but it still doesn't boot .. dunno why
[P8 Lite (2017) Development] haky 86:
you have to "format data" on twrp after each install.
[P8 Lite (2017) Development] raiden99:
I've just tried formatting data after each install but with Lineage Os it keeps bootlooping. I don't understand what I am doing wrong mmh
[P8 Lite (2017) Development] haky 86:
5 July if not wrong.
[P8 Lite (2017) Development] haky 86:
Note: skysilk beta vps is officially live since my own pc is pretty old for building, developments will be slowly since today.

At least I maintain this device since nougat through oreo then pie.

So please avoid asking eta.

thanks for understanding
[P8 Lite (2017) Development] kisvagen:
Haky ur my last hope , can u add something from pixel experience that kill recents lag? Really want to use Los , and recents lag killin me. Im in PE. Choppy when reopen settings or other app from recents.
[P8 Lite (2017) Development] skeeter92:
Hello, this rom work on p9 lite 2016 ?

Thanks.
[P8 Lite (2017) Development] haky 86:
nope. only hi6250 who get emui 8
[P8 Lite (2017) Development] :
Getting this error: This package is for device hi6250; this device is prague.

Using this recovery -> https://xdaforums.com/p8lite/p8-lite-2017-development/unofficial-twrp-3-2-1-0-oreo-t3773970
[P8 Lite (2017) Development] haky 86:
Use Honor 9 Lite from this link

https://xdaforums.com/9-lite/development/recovery-twrp-3-2-1-0-t3789306
[P8 Lite (2017) Development] pepapo:
Hi, I am trying to flash the prague image on the PRA-LX1, but it gives me error 7 (E1001: Failed to update system image).

Is there any fix for Prage devices? I've seen a fix for hi6250 a few pages back.
[P8 Lite (2017) Development] haky 86:
1) use honor 9 lite twrp, I mention in the OP

2) in case error 1001 persist, reboot to twrp, resize system partition, flash aosp 8.1 by phhuson then flash my los by following it steps.
[P8 Lite (2017) Development] pepapo:
Thanks for the quick reply. I was already using the honer 9 lite twrp, so im on solution 2 now.

How do i resize the system partition, i find no option in twrp for that?
[P8 Lite (2017) Development] haky 86:
Boot to TWRP > Wipes > Advance Wipes > check system partition then tab on "Resize system".
[P8 Lite (2017) Development] pepapo:
AOSP 8.1 by phhuson is installed now and running.

But I get the same message when trying to flash your image from recovery:

Patching system image unconditionally...

E1001: failed to update system image
[P8 Lite (2017) Development] haky 86:
I was already fixed in the latest build, dunno then.
[P8 Lite (2017) Development] :
Thanks now i flashed it. Cannot boot though, it crashes on loading screen and bootloop.
[P8 Lite (2017) Development] haky 86:
Join my telegram for some helps if you want ;)

https://t.me/HakyGSI
[P8 Lite (2017) Development] pepapo:
Was that not only fixed for the hi6250 image?

I'm guessing I shouldn't try installing that on a prague device.
[P8 Lite (2017) Development] haky 86:
I'm checking the issue, that's why flashable isn't a good deal for treble.

My next oreo build will system.img I'm not going to care about flashable anymore!

thanks for understanding
[P8 Lite (2017) Development] haky 86:
09/09/2018

lineage-15.1-20180909-UNOFFICIAL-hi6250.zip

Fix E1001 errors, I'm not going to remake it if still persists, downgrade to emui 8 again (do not flash patch01 build), flash honor 9 lite twrp test 2 build then flash my rom and it will boot for sure.

Fix delay & camera flash about dark pics.

Next rom is DotOS with fixed camera but I will release it in the following page
[P8 Lite (2017) Development] pepapo:
Thank you for your work!

Can I use this for prague devices too?
[P8 Lite (2017) Development] haky 86:
yep, I've it on my prague c432b372 device too :)
[P8 Lite (2017) Development] pepapo:
Thank you. It's working fine now. I flashed it and then added with gapps nano.

Does your device pass the safetynet check? Mine doesn't, even though there is no root installed (bootloader is still unlocked).
[P8 Lite (2017) Development] haky 86:
I flash magisk 17.1 without issues on cypher, but didn't test if pass safetynet or not.
[P8 Lite (2017) Development] pepapo:
I flashed magisk 17.1 too. I passes now.
[P8 Lite (2017) Development] jorgenoris:
Does the USSD code work? is that it is important to me and I do not know a ROM that works
[P8 Lite (2017) Development] haky 86:
USSD IMEI's command example
[P8 Lite (2017) Development] steven360:
Haky, that isn't a 100% correct example of a USSD code. I know for a fact that USSD codes for checking a prepaid balance from the dialer does not work on any custom rom. Some work, and some don't.
[P8 Lite (2017) Development] haky 86:
I know this is a thing that most users will not understand, as you see works in some and some don't.
[P8 Lite (2017) Development] kfatah22:
Haky sorry but I was a little late but I am now trying to convert my p8 lite 2017 pra-lx1 from android 7 to 8 ... all links with your tutorial in it are missing the nocheck recovery ,,, I can not find it anywhere !!

can you please provide me a link or any one of your folks can provide me with it, please.
[P8 Lite (2017) Development] haky 86:
If you are at C432 firmware

follow this tutorial

https://www.haky86.com/wiki-hi6250-en/#Flash-Emui-8x-Oreo-C432-Manually

the firmwares can be downloaded from firmware finder.

or join my group maybe someone can help you ;)

https://t.me/joinchat/CZYEbEpfYY8bvXxucQO9pw

I delete firmwares coz I need space for my new roms.
[P8 Lite (2017) Development] haky 86:
I was planning one too, but since there is 4th lineage 15.1 well I'm not forced to update it.
[P8 Lite (2017) Development] haky 86:
lineage-15.1-20200503-UNOFFICIAL-hi6250

lineage-15.1-20200503-UNOFFICIAL-hi6250.zip

Fix mostly everything.

SPL: April 2020.
[P8 Lite (2017) Development] marcosgoy:
help, instructions

Hey, i have installed roms several times, but last time was like 2 years ago so i understand the matter but i dont remember exactly the steps. first i root my device, install the twrp recovery. then put the .img file thats inside the zip downloaded, on the phone, or i just put the hole .zip file?

Once that is done, i wipe data, wipe cache and the install de img

am i missing something? thank you in advance! sorry for all the questions
[P8 Lite (2017) Development] Graveen:
[MENTION=4883214]haky 86[/MENTION]

As far as i know, this is the only rom perfectly working on PRA-LX1:

- camera is working as intended

- bluetooth does not have issues

- sound is correct

Your LOS16 (or OpenKirin one) got theses issues LOS15 does not have. I'll stick to it.

Kudos to support it !
[P8 Lite (2017) Development] haky 86:
glad for you, and some retards have the courage to call me a retard xD..telegram is being a full of rarts place.
[P8 Lite (2017) Development] Graveen:
[MENTION=4883214]haky 86[/MENTION] just a small question for you.

I understand this is not a GSI ROM. In such a case, how are you doing:

- do you put LOS15.1 in /system and you do not symlink /vendor, providing your own ?

- or do you replace /vendor with your own stuff, thus erasing /vendor for GSI ?
[P8 Lite (2017) Development] haky 86:
-no it's just a specific generic system image.

-I did not include any vendor.

-doing a custom vendor is possible only on emui5.
[P8 Lite (2017) Development] 1234newbie:
Hi Haky.

First of all thank You for great working rom.

I have question, is there a chance that You will create AEX based on Lineage 15.1 ?

I know that You created AEX on Pie, but there where some issues.

Regards.
[P8 Lite (2017) Development] haky 86:
I fix the boot of lineage 16.0 again, well I'll do aex 6.7 prolly.

aex 5.7 is such outdated.
[P8 Lite (2017) Development] 1234newbie:
I can't wait for it ?
[P8 Lite (2017) Development] haky 86:
Due to such of joke, I decide to remove my github account. So no more roms for such retard community.

https://github.com/haky86 this account is not mine, just report it.
[P8 Lite (2017) Development] haky 86:
dunno then.. I didn't post lineage-15.1 on xda before test it.
[P8 Lite (2017) Development] Fr0nK:
- EDIT : Solved
[P8 Lite (2017) Development] NergalDarsky:
Awesome! i've been waiting this rom for so long, if you can give me the emui 8.0 i can start test this rom
[P8 Lite (2017) Development] haky 86:
here the guide

https://xdaforums.com/p8lite/p8-lite-2017-discussion/guide-holy-emui8-treble-rom-pra-lx1-t3773216
[P8 Lite (2017) Development] haky 86:
unfortunately this is an issue are affected in all treble devices not only ours also like the warning "mismatch vendor partition".

I'm not on emui 8 to release any fix anymore due to do some works on emui 5.x sources :cool:
[P8 Lite (2017) Development] Alex261099:
Disable audio FX bass (turn to 0%) or disable audio FX at all...
[P8 Lite (2017) Development] Deevun39:
Do you have to format the data partition to F2FS, like shown here? :confused:

I have tried to install it but it bootlooped.
[P8 Lite (2017) Development] haky 86:
just did a factory reset by "format data" in twrp once installed, in case bootloop try to flash aosp then los by "format data" each flash you did.
[P8 Lite (2017) Development] Deevun39:
For some reason, I cannot get AOSP or LOS to boot. They go to the "Your device has been unlocked" screen and says "Your device is booting now", but it just shuts back down and boots into eRecovery that is all in Chinese.

I don't understand what I am doing wrong. I formatted the data, I flashed the system and vbmeta. I tried to format the data to exFAT, F2FS and ext4 and none worked.

Is there a possible solution, or would I have to stay on EMUI 8? :confused:
[P8 Lite (2017) Development] haky 86:
before flash LineageOS 15.1, you have to convert your device to AL00 B212 (install twice to fix key-tests) -> update to B220 -> flash eLite TWRP -> flash nocheck.img recovery from TWRP -> run the echo command needed to flash oreo -> reboot twrp -> flash update of oreo.

Emui 8.x is highly a mandatory to run any treble rom. the most important thing system partition of Emui 8.x should not be touched/wiped before los-15.1, once flash los-15.1 run Format Data from TWRP and should boot fine then, I'll release an accurate guide on my personal blog linked in signatures ;)
[P8 Lite (2017) Development] Alex261099:
Yes, i had to.
[P8 Lite (2017) Development] Jancker:
this message appear @ every restart
[P8 Lite (2017) Development] haky 86:
That's appear in every treble device, not only our as phhusson told me the most important thing for is primary features like audio, bt, camera, lights, ril and camera are works.
[P8 Lite (2017) Development] Jancker:
Ok, Tnx (grazie)
[P8 Lite (2017) Development] haky 86:
I will release new build soon and see if possible to fix that warning :cool:
[P8 Lite (2017) Development] Jancker:
somebody noticed a problem with play store? I can install 1 app only after restart (1 app - 1 restart), very strange
[P8 Lite (2017) Development] Schubi97:
It's the same for me. Sometimes 1/Reboot sometimes 2/Reboot.

But hey the Rom is running :D

---------- Post added at 11:26 PM ---------- Previous post was at 10:34 PM ----------

After flashing Magisk 16.2 my Phone didn't boot anymore..

Anyone had a better experience?
[P8 Lite (2017) Development] manuel100:
Hi, can i flollow your guide about Emui 8.x installation and then flash this rom if I have on my phone Twrp 3.2.1.0 and Elite Rom 7.6 (Emui 5.1.1)?

Moreover, can I do it if my device is PRA L11(forgive me for all these questions, but I have seen that the procedure is quite complex)?
[P8 Lite (2017) Development] Schubi97:
Bluetooth

Is there any way to fix bluetooth?

Restart automatically after trying to connect.

That makes it impossible to connect to another bluetooth device
[P8 Lite (2017) Development] haky 86:
I paired pc without any issues, this because our emui 8 drivers are for beta and have some bugs? people forget this detail I think.

here my screenshot btw.

ok guys: I need a poll from all you, if you are agree I would like to make another lineage-15.1 always in this topic but using classic method source by device tree, kernel and proprietary blobs (that I already extracted and moved to gitlab due to limited size on github) so if you want build like this..just tell me in the comments.

have a good day
[P8 Lite (2017) Development] jeuxtype:
Yes haky i think that's the best thing to do. And thanks for your endless efforts
[P8 Lite (2017) Development] Sudeep Duhoon:
flash stock ramdisk (no magisk)
[P8 Lite (2017) Development] Schubi97:
Okay then my Smartwatch probably isn't supported.

--------------------

Sounds great :)
[P8 Lite (2017) Development] Iocere:
I had some issues as well connecting to my bt headset and used an app to manually pair the device. Now it's fine
[P8 Lite (2017) Development] Schubi97:
which one? :)
[P8 Lite (2017) Development] Iocere:
Just take first result from play store searching for 'Bluetooth pair'
[P8 Lite (2017) Development] manuel100:
Please help me :(
[P8 Lite (2017) Development] haky 86:
Sorry didn't try from eLite, the best way is removing elite, flash oeminfo and follow my guide steps.
[P8 Lite (2017) Development] NergalDarsky:
AWESOME MAN! Everything works just fine, but i still wondering, for root this rom can i use https://www.cyanogenmods.org/root-lineageos-15-1-android-oreo-rom/ this file, or i need to install magisk?
[P8 Lite (2017) Development] haky 86:
the latest build should be in but don't know why isn't working I'm working on this issue right now so new build will be available soon once fixed.
[P8 Lite (2017) Development] NergalDarsky:
Good to know :) good luck with the develop
[P8 Lite (2017) Development] Abdala2307:
flash camera issue

flash camera issue can you fix it please
[P8 Lite (2017) Development] haky 86:
camera is work, don't rude.
[P8 Lite (2017) Development] haky 86:
** Note **

developments of LineageOS 15.1 paused, doesn't mean ended.

Reason: re-setting up vps

Note: no source will be available for that so I will move to gitlab as private repos, or gather by yourself..

have a good day.
[P8 Lite (2017) Development] bill_klpd:
I just installed your rom but I can't play any music. I always get unable to play track error message.

I also had this error with AOSP GSI. Is this normal?
[P8 Lite (2017) Development] haky 86:
yes as all treble devices.
[P8 Lite (2017) Development] bill_klpd:
Is there any way to repair this? In emui 8.0 it worked. Also in files application it works when I open an audio file.
[P8 Lite (2017) Development] haky 86:
** Note **

Topic gonna close till I fix some issues on my LineageOS.

another thing: please stop spamming the topic by posting fake results about installation, boot, audio, camera.

don't waste my time with useless reports.
[P8 Lite (2017) Development] Jaizu:
Working fine in P10 lite, thanks for your work!
[P8 Lite (2017) Development] haky 86:
new build coming till today I'm trying to fix sepolicy errors. :cool:
[P8 Lite (2017) Development] CarlosAG10:
Thanks! And by the way, did you see the C432 Euro Oreo firmware in FF? How should we proceed now?
[P8 Lite (2017) Development] Wire1122:
Yes, in ff there are two fws full ota mf pv of oreo
[P8 Lite (2017) Development] haky 86:
I discover a method to upgrade to c432 oreo without wasting time in downloading tones of gb of firmwares.. will release a guide once get worked.. and it's useful method especially for who have limited resources aka internet connection like me.
[P8 Lite (2017) Development] Wire1122:
Thx a lot
[P8 Lite (2017) Development] CarlosAG10:
The Huawei Master :D

Thanks a lot mate
[P8 Lite (2017) Development] :
Hey [MENTION=4883214]haky 86[/MENTION]

I'd like to report you some points :

About bugs : Isn't a lot of bugs, the only one I care is about auto brightness (NFC I don't care).

About RR, you should take a look to this thread, the OP fixed much bugs but he don't share source :/

In any ways, thank you, I use it daily and it is really better then EMUI, it change life :)
[P8 Lite (2017) Development] haky 86:
Hi

I already saw it and he just take fixes from stock emui 8, nothing more and nothing less, plus the signal fix that always low I was the first one who apply on treble and get it from our repo at CodeOfHonor repos which he didn't give any credits but as a diplomatic mature person I prefer to keep going with works.

My actual work in progress that I'm merging stuff from CoH to enable overlays features and fix headset icon that I will not share to avoid stealing fixes without providing credits. I already done a build but I'm waiting the ota to c432 oreo ;)
[P8 Lite (2017) Development] haky 86:
16/04/2018:

fix headset icon.

merger power_profile from our CoH.

set vibration patter.

set vibration settings.

set config_longPressVibePattern.

enable auto power mode.

fix automatic brightness.

fix ambient display,

fix 4G icon.

fix doze display state.

fix google play compatibility issue for some apps.

add USB storage permissions.

fix Music app.

fix fingerprint permissions.

fix pwrprof.

fix charger-off.

increase system partition size to include gapps now you have almost 10gb of free space ;)

16/04/2018:

https://basketbuild.com/filedl/devs?dev=haky86&dl=haky86/HuaweiP8Lite2017/Roms/Android-8.0/lineage-15.1-treble-prague-16042018.tar.gz

Note: if you fetch lower vibration because I didn't add the complete implementation yet, it was fixed but I delete the commits accidentally so those fixes will not be uploaded at the moment also flashable version will be available soon I'm working on it, check the screenshots about fingerprints and Music app ;) .

have fun.
[P8 Lite (2017) Development] Jancker:
Thanks for your work, i have a little question, how to update the rom without loose all data?
[P8 Lite (2017) Development] haky 86:
I flash this build over old one without format data and did not lose nothing ;)
[P8 Lite (2017) Development] :
Just installed it, everything is running well so far :)

Good job!
[P8 Lite (2017) Development] Jaizu:
Good job mate, this is starting to get really interesting p:
[P8 Lite (2017) Development] haky 86:
**Fix Apps FC Bugs: **

flash the system.img as: fastboot flash system_a system.img && fastboot reboot.

Reboot to TWRP.

Go to Format -> Format Data.

Go to Format -> Advanced Wipe -> select dalvik + cache + data.

Reboot system, now you should able to install any app you want ;).

check my screenshots ;) :cool::cool::cool:
[P8 Lite (2017) Development] Schubi97:
awesome news :fingers-crossed:

Does anyone know if flashing Magisk already work? :)
[P8 Lite (2017) Development] haky 86:
this depend of Magisk developer if he will provide support for treble rom.
[P8 Lite (2017) Development] PowPaw:
Hi haky 86! This is One of my first messages on this wonderful online forum :)

I only want to ask you a thing. I have a Huawei p8 lite 2017, and I'm now using your LineageOS mod 14.1, and I found it very very good. The problem is this: is there (or will there be) a way to upgrade to your LineageOS without installing emui 8.0 and other stuffs like this? I mean... Without installing anything else extra but directly installing from twrp LineageOS 15.1.

Thank you so much ;)

Have a nice day

Inviato dal mio HUAWEI P8 lite 2017 utilizzando Tapatalk
[P8 Lite (2017) Development] haky 86:
I'm working on LineageOS 15.1 based on emui 5.x since not all hi6250 devices will get oreo so in that way you can flash it without installing without wasting time by upgrading to emui 8 and this thing is going to annoying me as hell.. so it's better to continue the emui 5.x based roms in certain sense.
[P8 Lite (2017) Development] hopeless_bricker:
Thanks and bug

Thank you for developing this amazing ROM. It's very nice to be able to use Oreo on my PRA, let alone lineageOS!

I seem to have found a bug. It seems that it isn't possible to change the launcher at the moment. I've tried Nova Prime and Lightning Launcher and both force close when launched. Thanks to your method of reflashing and wiping l am able to install all other apps and use them without FC, just not the launchers.

Anyway, I'm very excited to see how far you can take this ROM, and I'm also hoping to be able to root it soon.;)

Great work!

EDIT: if you don't mind, what's none-project-treble-enable?

EDIT2: seems it's not just the launchers... I just installed two more apps and they force close as well (signal and Hangouts). I followed your instructions about the FCs too.
[P8 Lite (2017) Development] boxx98:
Its possible fix magisk?
[P8 Lite (2017) Development] PowPaw:
Thank you so much! I think I will wait for that! :)

Inviato dal mio HUAWEI P8 lite 2017 utilizzando Tapatalk
[P8 Lite (2017) Development] DeJobo:
earphones not working right

Hi,

my earphones and headset aren't working right. the sound is very low and bad quality
[P8 Lite (2017) Development] Schubi97:
Disable AudioFX ! :)

---------- Post added at 08:52 AM ---------- Previous post was at 08:45 AM ----------

Asked that yesterday just read the thread ;)
[P8 Lite (2017) Development] DeJobo:
thank youuu ❤️❤️

---------- Post added at 09:37 AM ---------- Previous post was at 09:12 AM ----------

i have a bunch of music on my sd card but they won’t play. I used the standard music app and phonograph but I get error messages
[P8 Lite (2017) Development] haky 86:
for fc read the OP thanks.

none treble enable is oreo based on emui 5.x..
[P8 Lite (2017) Development] CarlosAG10:
Thanks Haky! Any news on your method to update to EMUI 8 from EMUI 5 without rebranding?
[P8 Lite (2017) Development] bill_klpd:
Thanks for your work! I updated to latest but I keep getting error messages to music player. I use vlc which works fine and I can't understant why :P
[P8 Lite (2017) Development] haky 86:
seems Format Data is not enough, you have to do wipe for dalvik, data & cache too. that's how I solve for me.
[P8 Lite (2017) Development] :
I got one since last build (I hope it wasn't reported yet, if yes, sorry for the duplicate). After removing jack cable for headphones, it still detect headphones, so there is no more sound and mic isn't usable. Actually, reboot solve the issue
[P8 Lite (2017) Development] bill_klpd:
Sorry to bother you with this but what TWRP are you using?

I can wipe data and dalvik but it doesn't wipe cache.

I always get error unable to wipe cache. Do you know why this might happen?
[P8 Lite (2017) Development] Zillinda:
Hey,

Has anyone got a clue how to root this lineage and rooted it succesfully?
[P8 Lite (2017) Development] hopeless_bricker:
LiveDisplay doesn't work

I've just discovered that the LiveDisplay feature doesn't work, as it's impossible to toggle. The menu pops up but doesn't change anything. I'm guessing this is due to compositor issues?

I would really appreciate it if you could look into this.

Everything else seems pretty stable at the moment, I'm writing this from the ROM right now. Only other issue is that the Tidal music streaming app crashes my whole system every now and then. I'm not sure if this is from the app or the ROM, though.

Once again, thanks for all your hard work.

P. S.: As for the notreble option, I think you should do what you feel is best. It's your work, so it's your choice.