Official AOSP for Huawei (anne) - LeaOS-PHH (android 13 version)

Search This thread

AltairFR

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

LeaOS is a project which based on AOSP with trebledroid patches.
This build includes settings parameters for Huawei ANE-LX1 (P20 Lite) as well as several evolutions:
  • Offline charging
  • AGPS Supl20
  • SafetyNet
  • GCam for kirin


Changelog :

LeaOS-AOSP May 2023 version

  • Move to android13-r44 (May SPL)
  • All variant are now mono-modem to avoid LTE/data disconnection
  • Safetynet pass with dynamic spoof pixel model

LeaOS-AOSP April 2023 version
  • Move to android13-r41 (April SPL)
  • Fix audio bug
LeaOS-AOSP March 2023 version
  • Move to android13-r35 (April SPL)
LeaOS-AOSP Feb 2023 version (24/02)
  • Move to android13-r29 (Feb SPL)
  • Add AGPS supl20 features
  • Add securize and pass safetynet (option in TrebleApp Setting)
  • Reduce lag UI

LeaOS-AOSP Jan 2023 version (05/01)
  • Move to android13-r24 (Jan SPL)

LeaOS-AOSP Dec 2022 version (08/12)
  • Move to android13-r16 (Dec SPL)
  • Support data encryption (stock huawei kernel only)
  • Remove Seedvault backup
  • Add Magisk support (need securize phone before)

LeaOS-AOSP Nov 2022 version (09/11)
  • Add Android Beam NFC and HCE NFC
  • Move to android13-r14 (Nov SPL)
  • Fix offline charging (no need patch now)
  • Reduce img size by remove apex files in system_ext
LeaOS-AOSP Oct 2022
  • Add Google Apps version
  • Fix NFC
  • Move to android13-r11
  • Add offline charging patch
LeaOS-AOSP Oct 2022 version (05/10)
  • Fix screen-recorder crash
  • Enable adb root
  • Move to android13-r8
  • First release with android13-r4
  • Wireless Display

Pre-requisite :

You must have TWRP installed, see this post to install it : https://xdaforums.com/t/guide-emui9-p20-lite-basics.4341373/


Installation

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


Source Code:


ROM OS Version: Android 13.0
ROM Kernel: Stock kernel or Phenix 4.9.302 and sup
ROM Firmware Required: EMUI 9
Based On: Google AOSP + TrebleDroid patches

Credits:


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

Kernel :

Support Group
Channel update
 
Last edited:

cvenal

Member
Dec 3, 2015
24
11
28
I have honor play with kirin 970 chaps with emui 9.1 this GSI boot in my phone fine but camera not work in my phone , it is show Image but it is freezing and stop camera app after that
 

Attachments

  • screen-20221007-205806.mp4
    6.1 MB · Views: 0

AltairFR

Senior Member
Apr 22, 2021
724
379
Huawei P8lite/P8 Lite
Honor 9
I have honor play with kirin 970 chaps with emui 9.1 this GSI boot in my phone fine but camera not work in my phone , it is show Image but it is freezing and stop camera app after that
Ok thank you. Can you give me more details about your phone model, your emui version with minor version and your kernel version. I already see that the screen record works
 
  • Like
Reactions: luc.sol

cvenal

Member
Dec 3, 2015
24
11
28
Ok thank you. Can you give me more details about your phone model, your emui version with minor version and your kernel version. I already see that the screen record works
My phone model COR-AL00 and I am use EMUI 9.1.0.312 I can use the harmony os but The system partition can not resize it give 2.8 Gbit when emui 9.1.0.312 I can resize system partition to 4 Gbit
and I am use this kernel
 

Attachments

  • kernel-20220517-permissive.img
    14.5 MB · Views: 90
  • Like
Reactions: AltairFR

luka_bubi

Member
Sep 8, 2018
44
23
www.bubi.si
I can't get NFC to work. I tried your patch as well as "universal" one. The universal one does not work, yours does not install in TWRP. I tried same approach as with the rest of the patches in your description.
 
  • Like
Reactions: AltairFR

Abdelhay.ali

Member
Oct 9, 2022
48
47
Huawei P20 Lite
My phone is p20 lite ANE-LX2J 9.1.0.324(C111E37R1P6). the ringtone and notification stuck on zero

could you put the following Patch in the next build
"Make volume steps and defaults adjustable for all audio streams"
https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/226009

to allow using "ro.config.ring_vol_steps" in build.prop

Edit

Problem solved

I have restored vendor partition. I think vendor partition was corrupted
 
Last edited:
  • Like
Reactions: AltairFR

AltairFR

Senior Member
Apr 22, 2021
724
379
Huawei P8lite/P8 Lite
Honor 9
My phone is p20 lite ANE-LX2J 9.1.0.324(C111E37R1P6). the ringtone and notification stuck on zero

could you put the following Patch in the next build
"Make volume steps and defaults adjustable for all audio streams"
https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/226009

to allow using "ro.config.ring_vol_steps" in build.prop

Thanks
Yes of course. I'm compiling new patches, I need to adapt this one for android 13 and include it immediately
 
  • Like
Reactions: Abdelhay.ali

gamereal

New member
Feb 23, 2022
4
3
Bro I couldn't find the wallpaper and styles feature in setting. I could only see the wallpaper option
 

freddie993

Member
Jun 5, 2022
33
14

LeaOS is a project which based on AOSP with trebledroid patches.


Changelog :

LeaOS-AOSP Oct 2022 version (18/10)

  • Add Google Apps version
  • Fix NFC
  • Move to android13-r11
LeaOS-AOSP Oct 2022 version (05/10)
  • Fix screen-recorder crash
  • Enable adb root
  • Move to android13-r8
  • First release with android13-r4

Pre-requisite :

You must have TWRP installed, see this post to install it : https://xdaforums.com/t/guide-emui9-p20-lite-basics.4341373/


Installation

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


Source Code:


ROM OS Version: Android 13.0
ROM Kernel: Only Phenix Linux 4.9.302 and sup
ROM Firmware Required: EMUI 9
Based On: PHH AOSP + TrebleDroid patches

Credits:


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

Support Group
hi, what is the patch for?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    1665034336189.png

    LeaOS is a project which based on AOSP with trebledroid patches.
    This build includes settings parameters for Huawei ANE-LX1 (P20 Lite) as well as several evolutions:
    • Offline charging
    • AGPS Supl20
    • SafetyNet
    • GCam for kirin


    Changelog :

    LeaOS-AOSP May 2023 version

    • Move to android13-r44 (May SPL)
    • All variant are now mono-modem to avoid LTE/data disconnection
    • Safetynet pass with dynamic spoof pixel model

    LeaOS-AOSP April 2023 version
    • Move to android13-r41 (April SPL)
    • Fix audio bug
    LeaOS-AOSP March 2023 version
    • Move to android13-r35 (April SPL)
    LeaOS-AOSP Feb 2023 version (24/02)
    • Move to android13-r29 (Feb SPL)
    • Add AGPS supl20 features
    • Add securize and pass safetynet (option in TrebleApp Setting)
    • Reduce lag UI

    LeaOS-AOSP Jan 2023 version (05/01)
    • Move to android13-r24 (Jan SPL)

    LeaOS-AOSP Dec 2022 version (08/12)
    • Move to android13-r16 (Dec SPL)
    • Support data encryption (stock huawei kernel only)
    • Remove Seedvault backup
    • Add Magisk support (need securize phone before)

    LeaOS-AOSP Nov 2022 version (09/11)
    • Add Android Beam NFC and HCE NFC
    • Move to android13-r14 (Nov SPL)
    • Fix offline charging (no need patch now)
    • Reduce img size by remove apex files in system_ext
    LeaOS-AOSP Oct 2022
    • Add Google Apps version
    • Fix NFC
    • Move to android13-r11
    • Add offline charging patch
    LeaOS-AOSP Oct 2022 version (05/10)
    • Fix screen-recorder crash
    • Enable adb root
    • Move to android13-r8
    • First release with android13-r4
    • Wireless Display

    Pre-requisite :

    You must have TWRP installed, see this post to install it : https://xdaforums.com/t/guide-emui9-p20-lite-basics.4341373/


    Installation

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


    Source Code:


    ROM OS Version: Android 13.0
    ROM Kernel: Stock kernel or Phenix 4.9.302 and sup
    ROM Firmware Required: EMUI 9
    Based On: Google AOSP + TrebleDroid patches

    Credits:


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

    Kernel :

    Support Group
    Channel update
    2
    Worked baseband thanks iceows
    - issue aosp screen record not working LeaOS 13
    IMG_20221006_202307_422.jpg
    2
    I have honor play with kirin 970 chaps with emui 9.1 this GSI boot in my phone fine but camera not work in my phone , it is show Image but it is freezing and stop camera app after that
    2
    Great ROM, grazie. Magisk not work.
    Only one little problem, GPS is very slow to fix.
    For gps slow, do you have flash the patch agps ? For magisk i don't found the problem (For the moment )
    1
    there stands: kernel version 4.9.148

    i flashed phenix kernel last winter - i am not sure if there is now stock-kernel because i had to flash stockrom before i flashed android 13
    The new phenix kernel is 4.9.319 with erofs