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

Search This thread

Andersonnnnn

Member
Oct 3, 2022
9
2
Other cuestion, the dock is suposee to be Big?
 

Attachments

  • IMG_20221011_235610.jpg
    IMG_20221011_235610.jpg
    147.5 KB · Views: 26

d0zzerr

New member
Oct 21, 2022
1
0
I have tried this rom recently. Instagram videos(reels) are pixelated or blury. My network speed is good(32mbps). I dont have this problem on stock rom(I am using stock rom now).

I think all gsi roms have same problem.

extra info:
- Safetynet -> Basic integrity PASSED, CTS Profile FAILED
- kernel Phenix 4.9.319
- stock rom 9.1.0.278
- 8-Huawei-FixPreav-AB-v1.0-signed.zip insalled.
 

D3vith

New member
Nov 2, 2022
1
1
Hello. First, thanks for your work, been using it and it runs well. But when choosing (in the ROM) the Micro SD as internal, it shows an error. I looked it up and they had the same problem in this forum:
https://gitlab.com/LineageOS/issues/android/-/issues/2212

However, the solutions they show do not consider (they do show one with root, but keep reading) that after doing the process and getting the error, the ROM started to reboot without control with just a few seconds after rebooting again. I ended up just using my SD as portable and manually moving the files I download. Do you know something about this or a solution?

Also, in my phone, the magisk root method works great. But in my brother's phone (we have the same one, P20 Lite - ANE-LX3), at the time of flashing the magisk img and rebooting to the recovery (the system but with root), it boots with almost the same problem that happened earlier with the SD problem (I noticed that the system wasn't detecting the SIM but idk if it's only now or earlier with the SD problem happened that too) and sometimes when trying to fix it, some apps were having problems (poppin up errors at the time of booting the system). I couldn't solve this and just did a stock reset and flash the custom ROM on his phone (with all the patches and gapps lite that you provide). So... Again, do you know something about these? Asking here about the second problem because I think is a ROM based problem; I did the same process with both phones but for whatever reason, it didn't worked on my brother's phone.

Also, what's the offline charging patch about? Was there a problem when charging with the phone off? I mean, the charging while shutted off just doesn't work, right?

And one last question if you let me ask: What are the “Huawei fast charge” options about? Should I let it at maximun and that's it? Thanks in advance.
 
Last edited:
  • Like
Reactions: AltairFR

aavalos

New member
Aug 14, 2022
4
3
Hey, thanks for keeping it up with this build! I'm still running the July build because I don't know how to upgrade to the latest one (October), without losing data. Is it possible to simply flash the latest .img file using TWRP and expect not to lose any data? My data partition is encrypted, if that's relevant.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I am unable to install this ROM on my device.
    Previously I have gone back to Stock EMUI. System booted.

    Device and current ROM: ANE-LX1 9.1.0.368(C432E6R1P7)
    TWRP installed is 3.4.0-1 as per the linked thread.

    Flashing system and recovery ramdisk works. I get a complaint about
    Invalid sparse file format at header magi
    but I guess that shouldn't cause any issues as I've read in other threads.

    Using TWRP 3.4.0-1 I am unable to resize system.
    The error message is:

    Code:
    /sbin/e2fsck -fp /dev/block/mmcblk0p52 process ended with ERROR: 4
    Unable to repair System

    Any help is appreciated...
    1
    I am unable to install this ROM on my device.
    Previously I have gone back to Stock EMUI. System booted.

    Device and current ROM: ANE-LX1 9.1.0.368(C432E6R1P7)
    TWRP installed is 3.4.0-1 as per the linked thread.

    Flashing system and recovery ramdisk works. I get a complaint about

    but I guess that shouldn't cause any issues as I've read in other threads.

    Using TWRP 3.4.0-1 I am unable to resize system.
    The error message is:

    Code:
    /sbin/e2fsck -fp /dev/block/mmcblk0p52 process ended with ERROR: 4
    Unable to repair System

    Any help is appreciated...
    Use twrp 3.7 android 9 version
    1
    So, after a long back and forth, I was able to get it working by doing the following.
    Writing it down as it might help someone in the future.

    1. Flash skyhawk recovery to recovery_ramdisk via fastboot
    2. Boot recovery and flash skyhaw recovery to erecovery_ramdisk (as described in the section "Flash over recovery" of the link above )
    3. Flash system, recovery_ramdisk and userdata from Stock ROM via fastboot ( <- i seemed to need that to get a working userdata partition) - I used 9.1.0.368(C432E6R1P7) but any other should be fine as well
    4. fastboot reboot
    5. (Device boots into stock recovery, don't panic - probably fixing up partitions): Select reboot
    6. Device boots into stock ROM - takes about 5 minutes, be patient
    7. Ignore welcome screen, turn device off
    8. Enter E-Recovery (plug USB cable to computer and device, hold Vol+ Key)
    9. Spin up adb shell, cd /data and run rm -rf * (- formatting always caused my recovery to hang and destroy the GPT table, the rm way was the only thing working for me)
    10. Flash Custom ROM via E-Recovery
    11. Wipe Cache/Dalvik - DO NOT select Data/Internal Storage (we already did that)
    12. Install needed patches (except AGPS which breaks boot) / GApps
    13. Reboot

    Et voilà - Lineage will boot and welcome you with the setup screen. (surprisingly fast - only took about 2 minutes for first boot)

    No clue why I had to do this. Never got warm with Huawei devices anyway.
    Weirdo device. Hopes this helps fellow P20 Lite users. Cheers!

    The ROM is working well so far. Thanks!
    1
    Hello,

    I have a doubt regarding the updates with the monthly security patches. If I follow all these steps...

    1675023102456.png


    ¿Will I lose the installed programs and also the system configuration?

    And, if so, is it possible to update only the security patches?
  • 4
    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 January 2023 version

    • January 23 SPL
    • Synchronize with last Lineage Source

    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://forum.xda-developers.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
    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
    I am using the official version twrp 3.6.1 for anne. But I think older versions work too.

    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