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

Search This thread

AltairFR

Senior Member
Apr 22, 2021
724
379
Huawei P8lite/P8 Lite
Honor 9
Non-Official Lineage 18.1 for Huawei (anne) - 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 : Signal Strengh, Assisted GPS, NFC, CAST/Miracast, Default Sound etc..) and some eremitein patch

Changelog :


LeaOS March 2023 version

  • March 2023 SPL
  • Synchronize with last Lineage Source
  • Fix dynamic root functionnality
  • Include AGPS patch

LeaOS February 2023 version
  • Synchronize with last Lineage Source

LeaOS January 2023 version
  • January 2023 SPL
  • Synchronize with last Lineage Source
  • Add more resolution for offline charging

LeaOS December 2022 version
  • December 22 SPL
  • Synchronize with last Lineage Source
  • Fix selinux display status bug
  • Add EMUI 9.1 offline charging
Leaos November 2022 version
  • November 2022 SPL
  • Synchronize with last Lineage Source
  • Fix NFC
Leaos October 2022 version
  • October 2022 SPL
  • Synchronize with last Lineage Source
  • Add patch to fix offline charger (permissif kernel only)

LeaOS September 2022 version
  • September 2022 SPL
  • Synchronize with last Lineage Source
  • Add /splash2 and /modem_log support
  • Add kirin and huawei properties
  • Support permissive (non crypt data) or enforce kernel
  • Fix vndk detect bug

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 EMUI 9.1.0.405 (preav partition)

Pre-requisite :

You must have TWRP installed if you want install patch. and a phone with unlock bootloader

Installation (crypt or uncrypt)


More informations to install here : https://xdaforums.com/t/guide-emui9-p20-lite-basics.4341373/


Source Code:

ROM OS Version: Android 11
ROM Kernel: Linux Huawei 4.9.148 or Phenix 4.9.319
ROM Firmware Required: EMUI 9
Based On: Lineage 18.1

Credits:

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

Support Group
 
Last edited:

brugne92

Member
Jul 26, 2016
7
4
Is anyone experiencing phone call/receive bug? This is the only bug I've found till now. If I start a call it suddenly stops, and if I try to receive a call, I don't see any incoming call popping up.
 
Last edited:
  • Like
Reactions: AltairFR

aavalos

New member
Aug 14, 2022
4
3
The August build didn't work for me, it got stuck on a boot loop. I had to install the July build and that one did work. I really appreciate this effort to bring the latest versions of LineageOS to ANNE.
 
  • Like
Reactions: AltairFR

lootic

New member
Aug 15, 2022
2
0
Hi there! Cool guide! :)

Just before trying it I want to double check one thing, does the DRM-patch for EMUI mean I can install safely without first downgrading? Also for some reason I don't have 9.1.0.405 but rather 9.1.0.401 installed. If you would have a guess do you think the DRM-patch may work with that version too? How hard do you think I would brick my phone if it would not work?
 

AltairFR

Senior Member
Apr 22, 2021
724
379
Huawei P8lite/P8 Lite
Honor 9
Hi.

I have french orange version of ane-lx1 (C109) so my max emui is 405. For 401 version you can install LeaOS without patch , install app drm info from playstore, check if the app show correct info of drm. If the app show nothing, reboot in twrp and install the patch 😀
 

lucsol

Member
Jun 28, 2018
12
5
30
Non-Official Lineage 18.1 for Huawei (anne) - 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 : Signal Strengh, Assisted GPS, NFC, CAST/Miracast, Default Sound 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 EMUI 9.1.0.405 (preav partition)

Pre-requisite :

You must have TWRP installed if you want install patch. and a phone with unlock bootloader

Installation (crypt or uncrypt)

  • Download file : “LeaOS-20220813-iceows-ane.7z" and extract img file
  • Flash system image : fastboot flash system <drag system.img here>
  • Flash twrp image: fastboot flash recovery_ramdisk <drag twrp img here>
  • Boot into twrp: power + vol+ while NOT connected to pc
  • Resize system: Wipe > Advanced Wipe > System > Repair or Change File System > Resize File System > Swipe
  • Wipe cache, dalvik/art cache, internal storage, data
  • (optional) install AGPS patch : 4-Huawei-AGPS-AB-v1.1-signed.zip
  • (optional) install DRM patch for EMUI 9.1.0.405 : 8-Huawei-FixPreav-AB-v1.0-signed.zip
  • (optional) install now Google Apps Lite : [RECOVERY]LiteGapps_arm64_11.0_v2.6_official.zip
  • reboot to System and set up the phone with Lineage first start assistant. You can also add most user
  • Enjoy !!!

More informations to install here : https://xdaforums.com/t/guide-emui9-p20-lite-basics.4341373/


Source Code:

ROM OS Version: Android 11
ROM Kernel: Linux 4.19.x
ROM Firmware Required: EMUI 9
Based On: Lineage 18.1

Credits:
  • Frax3r
  • PHH
  • eremitein

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

Support Group
When was last update for this Rom??
Dose all pached and fixes applied to it??
How stable is it??
Dose this links /post and Rom gets updates and renew as new updates or patches comes out??
 

lootic

New member
Aug 15, 2022
2
0
Hi.

I have french orange version of ane-lx1 (C109) so my max emui is 405. For 401 version you can install LeaOS without patch , install app drm info from playstore, check if the app show correct info of drm. If the app show nothing, reboot in twrp and install the patch 😀
Okay, cool! :)

Regarding downgrading, is that still a thing that is needed for flashing or is it a thing of the past?
 

AltairFR

Senior Member
Apr 22, 2021
724
379
Huawei P8lite/P8 Lite
Honor 9
Is anyone experiencing phone call/receive bug? This is the only bug I've found till now. If I start a call it suddenly stops, and if I try to receive a call, I don't see any incoming call popping up.
This is a very old problem on android 11 (all GSI and ROM) and Huawei. After 6 months of research, I finalized this weekend a patch for all hi6250 phones (and even all Huawei). It has been successfully tested on a PRA-LX1. I am looking for someone to test it on ANE-LX1. Would you be ok to take the test?
 

aavalos

New member
Aug 14, 2022
4
3
I have not the bootloop. What version of emui do you have? What patch did you install?
How do I check the EMUI version? I can't find it anywhere. Also, let's say I want to upgrade to the latest build to test it again: is it possible to do it without losing data? And then return to the previous build if it doesn't work, also without losing data.

Edit: also, is it possible to apply builds with the FRP enabled?

Edit:
I would also appreciate if no Google software was installed by default in the ROM. I'd rather have the stock LineageOS camera app than the proprietary Gcam Lite (or whatever it is called).
 
Last edited:
  • Like
Reactions: AltairFR

Barrel Titor

Member
Jul 21, 2015
40
15
Vienna
OnePlus X
Huawei P20 Lite
I'm sorry but it looks like i'm totally lost.
I managed to make almost everything work and i'm really happy this device is still so well supported by the community. But i cannot, for the life of me, bring magisk to work with this ROM.

I suppose this doesn't technically concern you, but i really hope you'll be able to help me nonetheless.

Cheers

Edit: Some details i've missed the first time:
I have TWRP (3.6.2_9-0) running
I already tried flashing a few magisk apk's turned .zip (namely: "Magisk-v24.3" and "v23-canary-phh") using TWRP
TWRP logs mostly "flashed successfully", but in the magisk manager app, magisk isn't being detected

I know about the recovery patch method but
1) i recall magisk natively supporting treble GSI's
2) i had magisk working before but on lineageOS 16/Android 9 (still based on EMUI 9 firmware though) and i think it ran without a modified recovery
3) i could very well be wrong here but: since i've flashed a TWRP recovery_ramdisk, wouldn't that mean i had to patch and then flash the TWRP recovery .img? I don't know why but this seems... Weird?
 
Last edited:
  • Like
Reactions: AltairFR

AltairFR

Senior Member
Apr 22, 2021
724
379
Huawei P8lite/P8 Lite
Honor 9
How do I check the EMUI version? I can't find it anywhere. Also, let's say I want to upgrade to the latest build to test it again: is it possible to do it without losing data? And then return to the previous build if it doesn't work, also without losing data.

Edit: also, is it possible to apply builds with the FRP enabled?

Edit: I would also appreciate if no Google software was installed by default in the ROM. I'd rather have the stock LineageOS camera app than the proprietary Gcam Lite (or whatever it is called).
It is not gcam from Google in leaos , but Gcam mod. The stock LineageOS cam have some bugs with the flash on huawei
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Non-Official Lineage 18.1 for Huawei (anne) - 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 : Signal Strengh, Assisted GPS, NFC, CAST/Miracast, Default Sound etc..) and some eremitein patch

    Changelog :


    LeaOS March 2023 version

    • March 2023 SPL
    • Synchronize with last Lineage Source
    • Fix dynamic root functionnality
    • Include AGPS patch

    LeaOS February 2023 version
    • Synchronize with last Lineage Source

    LeaOS January 2023 version
    • January 2023 SPL
    • Synchronize with last Lineage Source
    • Add more resolution for offline charging

    LeaOS December 2022 version
    • December 22 SPL
    • Synchronize with last Lineage Source
    • Fix selinux display status bug
    • Add EMUI 9.1 offline charging
    Leaos November 2022 version
    • November 2022 SPL
    • Synchronize with last Lineage Source
    • Fix NFC
    Leaos October 2022 version
    • October 2022 SPL
    • Synchronize with last Lineage Source
    • Add patch to fix offline charger (permissif kernel only)

    LeaOS September 2022 version
    • September 2022 SPL
    • Synchronize with last Lineage Source
    • Add /splash2 and /modem_log support
    • Add kirin and huawei properties
    • Support permissive (non crypt data) or enforce kernel
    • Fix vndk detect bug

    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 EMUI 9.1.0.405 (preav partition)

    Pre-requisite :

    You must have TWRP installed if you want install patch. and a phone with unlock bootloader

    Installation (crypt or uncrypt)


    More informations to install here : https://xdaforums.com/t/guide-emui9-p20-lite-basics.4341373/


    Source Code:

    ROM OS Version: Android 11
    ROM Kernel: Linux Huawei 4.9.148 or Phenix 4.9.319
    ROM Firmware Required: EMUI 9
    Based On: Lineage 18.1

    Credits:

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

    Support Group
    3
    I am using the official version twrp 3.6.1 for anne. But I think older versions work too.

    2
    I just do LineageOS updates every month and I backport patches that I do on Android version 13. For example, in December I will put offline charging
    2
    Should I choose 3.4.0-0-emui9_eR by @S_mak" recovery?
    Bingo! :)
    Can I root with magisk?
    Sure... Use "Search this thread", type 'root' , 'magisk' etc.
    2
    Version 3.6.1_9.0 twrp is up, but I can't make a backup with it,
    Use recommended TWRP for Kirin 65x devices
    Link