[ROM][Huawei][11] LeaOS - Lineage 18.1 for Huawei device (EMUI 8)

Search This thread

AltairFR

Senior Member
Apr 22, 2021
498
234
Huawei P8lite/P8 Lite
Huawei P8
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.
Yes recreate APN correct in many cases the problem
 

nicojard1

New member
Aug 26, 2022
2
1
Non-Official Lineage 18.1 for EMUI 8 hi6250 Huawei (prague, mediapad, warsaw, rhone) - LeaOS

yUIn6TF.png



LeaOS is a project which based on LineageOS 18.1 with Andy Yan's and phhusson's Treble GSI patches. I have added my personnals patches for Huawei devices : Encryption, Signal Strengh, Speed Boot, Assisted GPS, NFC, CAST/Miracast, Media App fixes etc..) and some eremitein patch

Changelog :


LeaOS August 2022 version

  • August 2022 SPL
  • Synchronize with last Lineage Source
  • Fix minor SE denied ioctl
  • Update Lite Google Apps to 2.6

LeaOS July 2022 version
  • July 2022 SPL
  • Synchronize with last Lineage Source

LeaOS Jun 2022 version
  • Jun 2022 SPL
  • Synchronize with last Lineage Source
  • Fix MediaScanner crash and no default sound (ringtone, alarms..)
  • Add support of 8.0.0.412 and superior

LeaOS May 2022 version
  • May 2022 SPL
  • Synchronize with last Lineage Source
  • Correct missing ui sound
  • Update Lite Google Apps to 2.5

LeaOS April 2022 version
  • April 2022 SPL
  • Synchronize with last Lineage Source
  • Replace std menu by Lir shutdown menu
  • Remove vndk-29 and vndk-28 libs
  • Remove unused overlay and media files in product folder
  • Support multi-user
  • Add more options in misc menu of TrebleApp (Safetynet, Spoof pixel, Dump system log)
  • Add GCam Go Greatness NS2 (credit to : @RakinTheGreat)

LeaOS March 2022 version
  • March 2022 SPL
  • Synchronize with last Lineage Source

LeaOS Febrary 2022 version
  • Febrary 2022 SPL
  • Synchronize with last Lineage Source
  • Update superuser app (thanks ponce)
  • Add support storage encryption (activate by flashing a zip file)
  • Add support of internal storage
  • Add more choice in telephony network type (2G,3G,4G)

LeaOS January 2022 version
  • January 2022 SPL
  • Synchronize with last Lineage Source
  • Support now dynamic root (Treble Settings->Misc)

LeaOS December 2021 version
  • Decembre 2021 SPL
  • Synchronize with last Lineage Source
  • Integrate all patches (NFC, CAST, LibAptx, Media..) in the img
  • Add Google Camera Go optional package
LeaOS November 2021 version
  • Initial build - November 2021 SPL



Pre-requisite :

You must have TWRP installed, use this one (make sure to have the unofficial Android 11 one ! ). To install follow this guide "How to unlock Huawei P8 ligt 2017 (en).pdf" or french version "How to unlock Huawei P8 ligt 2017 (fr).pdf"


Installation (crypt or uncrypt)


Update (crypt or uncrypt)


Source Code:

ROM OS Version: Android 11
ROM Kernel: Linux 4.4.x (stock 4.4.23+ or Siberia_4.4.302-1.1.zip)
ROM Firmware Required: EMUI 8
Based On: LineageOS (AndyGCYan)

Credits:
  • DarkJoker360
  • PHH
  • Andy Yan
  • Hamido
  • Eremitein
  • Rakinthegreat

And all the others who tested my patches and helped me improve this ROM

Support Group
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
 

nicojard1

New member
Aug 26, 2022
2
1
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
After several tests, the impossibility of calling and receiving calls occurs when the mobile switches to 4G
 
  • Like
Reactions: AltairFR

11spqr

Member
Jun 27, 2019
43
27
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.
 
  • Like
Reactions: AltairFR

Whirlio

Member
Jun 2, 2017
10
2
I answer you in French in private, I have already had this p
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.
Hey I also have Rhone, did you have any problems when installing the rom?
 

11spqr

Member
Jun 27, 2019
43
27
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://forum.xda-developers.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.
 
Last edited:

mat_BE

Member
Jun 12, 2022
5
2
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 !
 
  • Like
Reactions: AltairFR

AltairFR

Senior Member
Apr 22, 2021
498
234
Huawei P8lite/P8 Lite
Huawei P8
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 !
Hello

It is not possible..sorry
 
  • Like
Reactions: mat_BE
Jun 27, 2009
15
3
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.
 

AltairFR

Senior Member
Apr 22, 2021
498
234
Huawei P8lite/P8 Lite
Huawei P8
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.
Ok show me the android option please
 

Whirlio

Member
Jun 2, 2017
10
2
Non-Official Lineage 18.1 for EMUI 8 hi6250 Huawei (prague, mediapad, warsaw, rhone) - LeaOS

yUIn6TF.png



LeaOS is a project which based on LineageOS 18.1 with Andy Yan's and phhusson's Treble GSI patches. I have added my personnals patches for Huawei devices : Encryption, Signal Strengh, Speed Boot, Assisted GPS, NFC, CAST/Miracast, Media App fixes etc..) and some eremitein patch

Changelog :



LeaOS September 2022 version


LeaOS August 2022 version
  • August 2022 SPL
  • Synchronize with last Lineage Source
  • Fix minor SE denied ioctl
  • Update Lite Google Apps to 2.6

LeaOS July 2022 version
  • July 2022 SPL
  • Synchronize with last Lineage Source

LeaOS Jun 2022 version
  • Jun 2022 SPL
  • Synchronize with last Lineage Source
  • Fix MediaScanner crash and no default sound (ringtone, alarms..)
  • Add support of 8.0.0.412 and superior

LeaOS May 2022 version
  • May 2022 SPL
  • Synchronize with last Lineage Source
  • Correct missing ui sound
  • Update Lite Google Apps to 2.5

LeaOS April 2022 version
  • April 2022 SPL
  • Synchronize with last Lineage Source
  • Replace std menu by Lir shutdown menu
  • Remove vndk-29 and vndk-28 libs
  • Remove unused overlay and media files in product folder
  • Support multi-user
  • Add more options in misc menu of TrebleApp (Safetynet, Spoof pixel, Dump system log)
  • Add GCam Go Greatness NS2 (credit to : @RakinTheGreat)

LeaOS March 2022 version
  • March 2022 SPL
  • Synchronize with last Lineage Source

LeaOS Febrary 2022 version
  • Febrary 2022 SPL
  • Synchronize with last Lineage Source
  • Update superuser app (thanks ponce)
  • Add support storage encryption (activate by flashing a zip file)
  • Add support of internal storage
  • Add more choice in telephony network type (2G,3G,4G)

LeaOS January 2022 version
  • January 2022 SPL
  • Synchronize with last Lineage Source
  • Support now dynamic root (Treble Settings->Misc)

LeaOS December 2021 version
  • Decembre 2021 SPL
  • Synchronize with last Lineage Source
  • Integrate all patches (NFC, CAST, LibAptx, Media..) in the img
  • Add Google Camera Go optional package
LeaOS November 2021 version
  • Initial build - November 2021 SPL



Pre-requisite :

You must have TWRP installed, use this one (make sure to have the unofficial Android 11 one ! ). To install follow this guide "How to unlock Huawei P8 ligt 2017 (en).pdf" or french version "How to unlock Huawei P8 ligt 2017 (fr).pdf"


Installation (crypt or uncrypt)


Update (crypt or uncrypt)


Source Code:

ROM OS Version: Android 11
ROM Kernel: Linux 4.4.x (stock 4.4.23+ or Siberia_4.4.302-1.1.zip)
ROM Firmware Required: EMUI 8
Based On: LineageOS (AndyGCYan)

Credits:

And all the others who tested my patches and helped me improve this ROM

Support Group
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
 
Hello! As promised after a few weeks of using your rom, here is my experience:
Using Your August 22 build (not updated yet)
So I'll begin with the problems:
1- SMS app won't send notifications if I lock the phone with the app open. But I have the same problem on my nexus 5 running CrDroid 7 (11 based on LEAOS) so it's not related to PRAGUE nor your patches.
EDIT: seems to be battery saver related, might have to tweak a bit.
2- The system is not stable when using the SD Card as Internal Storage: It "removed" itself when I installed some more apps (first two ones went fine and then phone crashed whilst installing another, reboot and SD Card missing). It seems fine when using it as external storage tho. (I'm using a good Samsung SD Card wich works fine btw)

Now my general appreciation:
Modem: Amazing here in france using Orange Network, I'm glad I'm using your patches since it was horrible on the nexus 5. Here even in poor network configurations where the nexus couldn't even connect I have great 4G and very stable. Thanks!
Battery: I have to always use the battery saver mode. If not I happen to loose about 30% in one single night. It could be a poor battery optimisation since I'm not using any gapps and I think Signal App could be the issue but overall with battery saver it's Ok. Btw could this cause the notification SMS issue? So in general it seems to be under the stock rom in terms of battery opimisation but as I said it could be my fault, but a bit disappointing tbh since battery life was crazy on EMUI and just OK on LEAOS (and without gapps I thought it could improve but seems to be the opposite lol). Also when using EMUI the phone would basically never shut down when battery low and this was freakin amazing idk how they did that.
Screen on time idk really I don't use my phone much, it's a phone.
GPS: Seems fine, had no issue using UnifiedNLP.
Stability: No crash AT ALL except the one I mentionned about the SD Card. I'm doing nothing crazy tho but it's darn stable, never rebooted never went off (except when battery drained).
Calls: Works perfectly, stable.

NOthing more to add, thanks a lot for your work, I will update soon!
Cya
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Congratulations and thank you for bringing us this wonderful rom.
    1
    Hello, is this ROM installable on a PRA-LX1 version 8.0.0.408 (C432), or do I have to downgrade?

    Thanks
    1
    Depend of the size of your partition system on 8.0..408
    In TRWP, I have

    Size 2867
    Used 2717
    Free 150MB
  • 18
    Non-Official Lineage 18.1 for EMUI 8 hi6250 Huawei (prague, mediapad, warsaw, rhone) - LeaOS

    yUIn6TF.png



    LeaOS is a project which based on LineageOS 18.1 with Andy Yan's and phhusson's Treble GSI patches. I have added my personnals patches for Huawei devices : Encryption, Signal Strengh, Speed Boot, Assisted GPS, NFC, CAST/Miracast, Media App fixes etc..) and some eremitein patch

    Changelog :

    LeaOS November 2022 version

    • November 22 SPL
    • Synchronize with last Lineage Source
    • Fix NFC bug found in October version

    LeaOS October 2022 version
    • October 2022 SPL
    • Synchronize with last Lineage Source

    LeaOS September 2022 version

    LeaOS August 2022 version
    • August 2022 SPL
    • Synchronize with last Lineage Source
    • Fix minor SE denied ioctl
    • Update Lite Google Apps to 2.6

    LeaOS July 2022 version
    • July 2022 SPL
    • Synchronize with last Lineage Source

    LeaOS Jun 2022 version
    • Jun 2022 SPL
    • Synchronize with last Lineage Source
    • Fix MediaScanner crash and no default sound (ringtone, alarms..)
    • Add support of 8.0.0.412 and superior

    LeaOS May 2022 version
    • May 2022 SPL
    • Synchronize with last Lineage Source
    • Correct missing ui sound
    • Update Lite Google Apps to 2.5

    LeaOS April 2022 version
    • April 2022 SPL
    • Synchronize with last Lineage Source
    • Replace std menu by Lir shutdown menu
    • Remove vndk-29 and vndk-28 libs
    • Remove unused overlay and media files in product folder
    • Support multi-user
    • Add more options in misc menu of TrebleApp (Safetynet, Spoof pixel, Dump system log)
    • Add GCam Go Greatness NS2 (credit to : @RakinTheGreat)

    LeaOS March 2022 version
    • March 2022 SPL
    • Synchronize with last Lineage Source

    LeaOS Febrary 2022 version
    • Febrary 2022 SPL
    • Synchronize with last Lineage Source
    • Update superuser app (thanks ponce)
    • Add support storage encryption (activate by flashing a zip file)
    • Add support of internal storage
    • Add more choice in telephony network type (2G,3G,4G)

    LeaOS January 2022 version
    • January 2022 SPL
    • Synchronize with last Lineage Source
    • Support now dynamic root (Treble Settings->Misc)

    LeaOS December 2021 version
    • Decembre 2021 SPL
    • Synchronize with last Lineage Source
    • Integrate all patches (NFC, CAST, LibAptx, Media..) in the img
    • Add Google Camera Go optional package
    LeaOS November 2021 version
    • Initial build - November 2021 SPL



    Pre-requisite :

    You must have TWRP installed, use this one (make sure to have the unofficial Android 11 one ! ). To install follow this guide "How to unlock Huawei P8 ligt 2017 (en).pdf" or french version "How to unlock Huawei P8 ligt 2017 (fr).pdf"


    Installation (crypt or uncrypt)


    Update (crypt or uncrypt)


    Source Code:

    ROM OS Version: Android 11
    ROM Kernel: Linux 4.4.x (stock 4.4.23+ or Siberia_4.4.302-1.1.zip)
    ROM Firmware Required: EMUI 8
    Based On: LineageOS (AndyGCYan)

    Credits:

    And all the others who tested my patches and helped me improve this ROM

    Support Group
    3
    Thank you. Feel free to let me know which bugs you detect
    2
    The next version I merge all the patches on the image, there are a lot of them :).
    And I also integrate the kernel I develop with turex
    2
    Finally LineageOS where headphones can be plugged and detected. Nice! I hope it will be more reliable than DarkJoker's one.