[ROM][Huawei][11] LiR - Lineage 18.1 for Huawei device - P8 Lite (2017) Development

Non-Official Lineage 18.1 for Huawei (prague, mediapad, warsaw, rhone) - LiR
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LiR is a project which based on LineageOS 18.1 with Eremitein Treble GSI patches (https://github.com/eremitein/treble-patches/wiki/LiR-Project). I have added my personnals patches for Huawei devices : Assisted GPS, NFC, CAST/Miracast, VoLTE....)
You can enable both SafetyNet options in the Phh Treble settings to pass the SafetyNet test
You also have the possibility of activating an SU dynamically
Changelog :
Lir March 2022 version
March 2022 SPL
Reduce size of image (remove vndk28, vndk 29)
Lir Febrary 2022 version
February 2022 SPL
to the Phh settings > Misc added new options: Restart systemUI and Dump system logs
SuperUser app replaced by updated new one (special thanks for contributors ponces and Amy). if you have problems after dirty update you should first remove app from Apps settings then disable/enable Superuser in Phh settings
Lir January 2022 version
January 2022 SPL
implemented Huawei IMS patches from Iceows
fixes for for some devices (mainly with Oreo vendor, A-only) access for media files from some apps like WhatsApp or Telegram (based on Iceows's patch)
backported changes from v400h device_phh_treble: All devices support unprocessed audio source, Fix audio for Umidigi X and Gome U9,
patch for gsicharger removed, should fix offline charger animation for some devices (need test)
volume dialog UI now follows rounded corners
opt-out cringe TCP info parsing error (AAAAA....) on legacy kernels (commit)
libprocessgroup: Do not remove uid cgroups directory (commit)
GarbageMonitor tile removed
LiR December 2021 version
Initial build
Decembre 2021 SPL
Pre-requisite :
You must have TWRP installed, use this one (make sure to have the unofficial Android 11 one ! )
You must be decrypted before installing it otherwise it won't boot
Installation :
Download this file : lir-v316-220325-arm64-iceows-huawei.7z
go to TWRP
format data
reboot to TWRP again
do a full wipe (system, data, cache, dalvik/art cache) !
reboot to bootloader
extract the img from lir-v316-220325-arm64-iceows-huawei.7z
run: fastboot flash system <drag system.img here>
reboot to TWRP
resize system
(optional) flash patches :
1 - Google Apps lite : [RECOVERY]LiteGapps_arm64_11.0_v2.6_official.zip
2 - Enable AGPS : 7-AGPS-FIX-AltairVendor-v3.6-signed.zip
3 - If you are on EMUI 8.0.0.408 or sup : 8-Huawei-PRA-FixPreav-A-v1.1-signed.zip
reboot to System and set up the phone with Lineage first start assistant. You can also add most
reboot to System
(optional) install GCamGo (GoogleCamera_2.12.413042791.apk)
Enjoy !!!
Not Working :
VoLTE
ROM OS Version: Android 11
ROM Kernel: Linux 4.4.x (stock 4.4.26 or Siberia_4.4.302-1.1.zip)
ROM Firmware Required: EMUI 8
Based On: LiR (eremitein)
Credits:
@eremitein
And all the others who tested my patches and helped me improve this ROM
LiR Project
GSI Treble patches. Included Phh, Andy Yan and my personal Treble works. You can using patches/solutions from here and from linked manifests (all or few my own) in none-commercial usage only and yo...
github.com
Support Group

Reserved

This one works very well so far !
My only complain is about the performance, my phone can become laggy very quick so far, even with no google apps

Thanks for your work !

Hykosit said:
This one works very well so far !
My only complain is about the performance, my phone can become laggy very quick so far, even with no google apps
Click to expand...
Click to collapse
I’ll see if I find the problem. Do you have this problem with LeaOS?

I did not install LeaOS so far.
To be honest I can't say if it's just normal and my expectations where to high, or if it is in fact truly laggy.
Let me know if I can help

This ROM keeps asking for SIM PIN on my phone. Cellular works fine on stock ROM, but fails to connect when running anything derived from phhusson AOSP.
Upstream report:
Honor 8 lite Network/sim continuouly disconnects and reconnects · Issue #1822 · phhusson/treble_experimentations
Hi, I tried almost all the versions of GSI of Lineage starting from android 8.1 (No network issue) to ASOP 11 and lineage 18 . problem is the network gets connected (LTE recommended mode) and then ...
github.com
Reports on XDA:
[ROM][prague][11] LineageOS 18.1 for Huawei P8 Lite 2017
Hi, LineageOS 18.1 for Huawei P8 Lite 2017 *** Stable Version *** About LineageOS is a free, community built, aftermarket firmware distribution of Android 11, which is designed to increase performance and reliability over stock Android for...
forum.xda-developers.com
[ROM][11] DarkJoker360 AOSP 11 for Huawei P8 Lite 2017
Hi, DarkJoker360 AOSP 11 for Huawei P8 Lite 2017 *** Stable Version *** About Android is an open source software stack for mobile devices and a corresponding open source project led by Google. This site and the Android Open Source Project...
forum.xda-developers.com
Specs:
Huawai P8lite PRX-LX1 Prague_L31_HN hw eu
EMUI 8.0.0.400 C432
kernel 4.4.23+
SIM in SIM slot 1
Radio log attached to this post.

Oh it's a very old bug. I'm on PRA-LX1 and I don't have the problem. I'm looking at your tracks. Have you tried with my LeaOS and the siberia kernel?

Yes, I tried with your LiR build, your LeaOS build, vanilla LiR and also the original phhusson AOSP 11.0 v313.
Tried with stock and Siberia kernels.
This keeps happening whatever I flash to system or kernel partitions.
The logs are very very verbose. It's very hard to find the relevant bits imho.
I suspect it might have something to do with the differences regarding Prague-L11, Prague-L31, and Prague-L31HN. Information on the differences is very scarce, but it seems it has something to do with single/dual-sim and some models have a firmware disabled 2nd SIM slot. But I'm just speculating at this point.

Morzzz said:
I suspect it might have something to do with the differences regarding Prague-L11, Prague-L31, and Prague-L31HN.
Click to expand...
Click to collapse
L11 is a P8 lite (2017) single SIM, L31 P8 lite (2017) dual SIM, L31HN is Honor 8 lite.

-Alf- said:
L11 is a P8 lite (2017) single SIM, L31 P8 lite (2017) dual SIM, L31HN is Honor 8 lite.
Click to expand...
Click to collapse
Thank you, that is welcoming information.
It all comes down to this, which is the modem crashing:
Code:
01-06 20:33:25.252 7985 7995 D RIL_GU : [Balong] unsolicitedResetCommandEx, dsda_single_rild is 1.
01-06 20:33:25.253 7985 7995 D RIL_GU : unsolicitedResetCommand cause = 0
01-06 20:33:25.253 7985 7995 D use-Rlog/RLOG-RIL_GU: [unsolicitedResetCommand] proc reset cmd : set reset flag. cause = 0
01-06 20:33:27.030 7985 7995 D RIL_GU : [Balong] unsolicitedResetCommandEx, dsda_single_rild is 1.
01-06 20:33:27.030 7985 7995 D RIL_GU : unsolicitedResetCommand cause = 1
01-06 20:33:27.030 7985 7995 D use-Rlog/RLOG-RIL_GU: [unsolicitedResetCommand] proc reset cmd : reset rild. cause = 1
01-06 20:33:27.030 7985 7995 D RIL_GU : unsolicitedResetCommand, modem_reset_count=1
01-06 20:33:29.036 7985 7995 D RIL_GU : unsolicitedResetCommand,Have receive three modem reset

Tested on p10 lite (dual-sim).
Rom is running smooth and fast, it's really stable and ready for every day use.
Not working:
NFC (sometimes works but it kills my battery, i removed nfc patches from rom)
VoLTE (It seems to work after patch but when i make a call network changes to 3G and when i getting incoming calls the phone rings for 1-2 times and then sends a busy tone to caller)
Working:
SD-Card
BT
Wifi
Signal Meter (Really Thanks for that)
Clock (alarm etc)
Offline charge
Safety NET pass
Magisk (Needs phh v23 for a only)
Screen recorder
GCAM (fixed for huawei version)
ADB with magisk installed (needs manually rsa fingerprint injection because confirmation popup never shows)
Fingerprint
Wake up by proximity sensor
I already tested every android 10-11 rom for p10 lite and this rom guys is the best one.
AltairFR your are a hero! Thanks.

Thank you for the message . For Volte problem, the phone switches to 3G because your provider or current carrier does not support Volte. And indeed when we switch to 3G we have the problem that you indicated

HI I NEED HELP I FOLLEOW EVRYTHING AND THIS HApEN
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system C:\Users\Stan\Downloads\gg\lir-v314-211223-arm64-iceows-huawei.img
target reported max download size of 471859200 bytes
Invalid sparse file format at header magic
sending sparse 'system' 1/6 (460798 KB)...
OKAY [ 13.011s]
writing 'system' 1/6...
FAILED (remote: sparse flash write failure)

Pheonix0110 said:
HI I NEED HELP I FOLLEOW EVRYTHING AND THIS HApEN
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system C:\Users\Stan\Downloads\gg\lir-v314-211223-arm64-iceows-huawei.img
target reported max download size of 471859200 bytes
Invalid sparse file format at header magic
sending sparse 'system' 1/6 (460798 KB)...
OKAY [ 13.011s]
writing 'system' 1/6...
FAILED (remote: sparse flash write failure)
Click to expand...
Click to collapse
Could you indicate EMUI version ? And model of the phone please

Pheonix0110 said:
:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system C:\Users\Stan\Downloads\gg\lir-v314-211223-arm64-iceows-huawei.img
Click to expand...
Click to collapse
Imo incorrect command, try:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system lir-v314-211223-arm64-iceows-huawei.img

AltairFR said:
Could you indicate EMUI version ? And model of the phone please
Click to expand...
Click to collapse
p8 lite 2017 pra-lx1 and emui 8.0 android 8.0.0 but no os anymore

-Alf- said:
Imo incorrect command, try:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system lir-v314-211223-arm64-iceows-huawei.img
Click to expand...
Click to collapse
no c:/ just did not copy

Pheonix0110 said:
p8 lite 2017 pra-lx1 and emui 8.0 android 8.0.0 but no os anymore
Click to expand...
Click to collapse
I have also a PRA-LX1. And you have unlock bootloader ? 8.0.0. ? minor value of emui please

-Alf- said:
:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system lir-v314-211223-arm64-iceows-huawei.img
Click to expand...
Click to collapse
OH WOW I CAN DO THAT TOO

Related

[ROM][11] crDroid 7x for Huawei P8 Lite 2017 and P10 Lite

Non-Official crDroidAndroid 11 v7.x for Huawei (prague)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Changelog :
Febrary 2022
Update to crDrom Febrary version by eremitein (change log) :
crDroid 7.15 base
February 2022 SPL
to the Phh settings > Misc added new options: Restart systemUI and Dump system logs
SuperUser app replaced by updated new one (special thanks for contributors ponces and Amy). if you have problems after dirty update you should first remove app from Apps settings then disable/enable Superuser in Phh settings
patch for vold timeout applied for real now
January 2022
Update to crDrom January version by eremitein (change log) :
January 2022 SPL
crDroid 7.14 base
implemented Huawei IMS patches from Iceows
fixes for for some devices (mainly with Oreo vendor, A-only) access for media files from some apps like WhatsApp or Telegram (based on Iceows's patch)
backported changes from v400h device_phh_treble: All devices support unprocessed audio source, Fix audio for Umidigi X and Gome U9, Add Netflix ID for Mi 11 lite 5G
patch for vold timeout (by Iceows)
opt-out cringe TCP info parsing error (AAAAA....) on legacy kernels (commit)
libprocessgroup: Do not remove uid cgroups directory (commit)
added patch for Huawei RIL signal indicator (by Iceows)
launcher replaced with Trebuchet from LineageOS 18.1
Fix sdcard format internal storage
December 2021
Integrate NFC, Miracast/cast , Live Display patches
Add media patch (Fix "Error loading media" in social apps like instagram, messenger..)
Add support of RNE-L21 (P10 Mate)
Update to crDrom December version by eremitein (change log) :
crDroid 7.13 base
December 2021 SPL
phh patches v313 + some stuff backported from v400 device_phh_treble: fixes for Xiaomi Mi 11 Lite 5G, Motorola One Fusion Plus, Huawei P10, Realme GT ME, Blackview BV9500Plus etc
trying to fix screen recorder bug on some devices (onemoretime..), thanks Iceows for the points
added Phh option for enabling old cutout covering behavior in fullscreen mode
Umidigi A7 Pro: put notch value from stock framework-res
hide OTA menu, that's the way
November 2021
Initial build based on release crDRom11 October 2021 (thanks to *eremitein)
Transform A-Only crDRom11 ROM to Huawei P8 lite 2017 or Huawei P10 lite ROM
Fix AGPS, NFC, Cast/MiraCast and Lineage LiveDisplay
Pre-requisite :
You must have TWRP installed, use this one (make sure to have the unofficial Android 11 one ! )
You must be decrypted before installing it otherwise it won't boot
Installation :
Download image file of the rom crdrom-v315+220202-iceows-pra.7z
go to TWRP
format data
reboot to TWRP again
do a full wipe (system, data, cache, dalvik/art cache) !
reboot to bootloader
extract crdrom-v315+220202-iceows-pra.7z
run: fastboot flash system <drag system.img here>
reboot to TWRP
resize system
(optional) flash patches :
1 - Google Apps lite : [RECOVERY]LiteGapps_arm64_11.0_v2.6_official.zip
2 - Enable AGPS : 7-AGPS-FIX-AltairVendor-v3.6-signed.zip
3 - If you are on EMUI 8.0.0.408 or sup : 8-Huawei-PRA-FixPreav-A-v1.1-signed.zip
reboot to System
Enjoy !!!
Not Working :
VoLTE
ROM OS Version: Android 11
ROM Kernel: Linux 4.4.x (stock 4.4.26 or Siberia_4.4.300.zip)
ROM Firmware Required: EMUI 8
Based On: crDroid
Credits:
@eremitein
And all the others who tested my patches and helped me improve this ROM
https://github.com/eremitein/treble-patches/wiki/crDRom11-Project#changes
Installation went just fine but:
Installing NikGapps-Core ok
Installing NikGapps-SetupWizard failed: "Looks like storage space is full"
Nexst step was Magisk then i was done
Have you resized the partition system?
AltairFR said:
Have you resized the partition system?
Click to expand...
Click to collapse
Of course yes
Fixed, kinda, with OpenGapps Pïco it worked.
Well it boots but I get stuck in a weird loop during the initial setup. I'm stuck in the "Checking for updates" -> "Just a sec..." screens just switching and looping forever. Or when I proceed to do the setup offline without connecting to WiFi, it just sits on the "Just a sec..." loading screen forever.
It seems like some background processes are timing out during the setup process or failing to run properly, I could see the messages pop up for a split second before disappearing, "Speech services by Google keeps stopping" being one of them for example, the others pop up so fast that I wasn't able to read them, but something regarding Google play services or something.
Can I just reinstall the Gapps or...? Or do you think this is an issue with something else? Or is it supposed to take extremely long?
Only google apps before 31/01/2021 are supported by all A11 ROM. Which version did you install?
The same version that I used for the DarkJoker Lineage 18.1 ROM, ogapps-nano-20210803 which worked fine(?) with that ROM, apart from some other unrelated issues with audio/microphone.
Got the gapps working by first booting into system without gapps and completing the initial setup, then going back to recovery and installing the gapps.
So far so good, boot time seems a lot faster than LOS 18.1 from DarkJoker360, but camera isn't synchronized with flash lght(same as in LOS 18.1).
Thank You.
RNE-L21 Here.
Yes I have fixed slow boot. For the synchronisation of the camera I will try to fix it. Perhaps with the stock rom apk camera
PRXVISION said:
The same version that I used for the DarkJoker Lineage 18.1 ROM, ogapps-nano-20210803 which worked fine(?) with that ROM, apart from some other unrelated issues with audio/microphone.
Click to expand...
Click to collapse
What are these other problems? I correct the problems that are pointed out to me in the ROM that I maintain and afterwards I distribute my fixes.
Here is an XDA link on my version of lineage 18 :
[ROM][Huawei][11] LeaOS - Lineage 18.1 for Huawei device (EMUI 8)
Non-Official Lineage 18.1 for EMUI 8 hi6250 Huawei (prague, mediapad, warsaw, rhone) - LeaOS 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...
forum.xda-developers.com
Thank you for trying to fix the camera bug.
Also I forgot to mention that I had to copy the 1080x2160 folder with the offline charger status since my phone screen differ.
I think the only differences between the p10 Lite and Mate p10 Lite(RNE-L21) is screeen size, amount of ram and cpu clock.
I don't use gapps so cannot comment on this tough.
Regards,
P.
Hello
If you are interested I fixed an issue that affects all Huawei A11 ROMs last night. This is a rights issue that prevents applications from reading and writing to the directory that contains the photos. The patch is on the LeaOS thread but it must also work on the crDroid. I will integrate your offline loading images in my next patch. You can send me the zip in MP
Thanks, have a good day
AltairFR said:
What are these other problems? I correct the problems that are pointed out to me in the ROM that I maintain and afterwards I distribute my fixes.
Here is an XDA link on my version of lineage 18 :
[ROM][Huawei][11] LeaOS - Lineage 18.1 for Huawei device (EMUI 8)
Non-Official Lineage 18.1 for EMUI 8 hi6250 Huawei (prague, mediapad, warsaw, rhone) - LeaOS 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...
forum.xda-developers.com
Click to expand...
Click to collapse
Awesome I'll look into that.
The problems I've experienced indeed occur on all of the A11-based ROMs as you mentioned, so perhaps this will fix that.
But just to bring out my problems with the ROM, there seems to be some kind of a conflict with how apps access the camera/microphone:
Sometimes (most frequently when using something like Snapchat) the camera stops working completely (it says that the camera could not be connected to) and you have to exit the app and reopen it to make the camera work again. This is the only issue that also happens on the stock camera app in addition to all of the third party apps.
Also on Snapchat, you're not able to record any videos, only take pictures. When you try to record a video the video preview just freezes and essentially all it will be able to do is just capture a picture of the first frame of the "video" you were trying to take. After that if you try to go back the camera crashes and will only display black image until you close the app and open it again.
When using the camera on Instagram, Twitter, Facebook, you can record videos, but the audio in the captured video is kind of distorted or bad quality.
However when using the stock camera app or the stock audio recorder app the audio was fine, on all of the A11 ROMs I've tried.
So far I've tested Darkjoker Lineage 18.1 ROM and AOSP 11 ROM and also latviandudes Descendant XI and the distorted audio issue has been present on each one of them.
Since nobody has reported these bugs on any of those ROMs, and since it happens for me on all of the ROMs I suspected that maybe it's just my device that is broken but I reverted back and reinstalled original EMUI OS from the Huawei recovery thing, and when testing it on EMUI everything works fine, audio is good, camera works.
So idk, it must have something to do with A11 ROMs?
I havent tested other non-A11 ROMs, so idk if there's any difference there but yeah.
One of the other problems is that applications aren't able to preview photos when you're trying to select photos to send. On FB Messenger for example, it says "Error loading media" for all of the images. On other apps like Discord/Twitter all images appear black/won't load.
This probably has to do with this what you posted:
AltairFR said:
This is a rights issue that prevents applications from reading and writing to the directory that contains the photos.
Click to expand...
Click to collapse
But yes, I really don't have a clue what the other issues are related to but let me know and I can send some more proper examples and explanations or something
I have fix the error "Error loading media". See my thread LeaOS and install the last fix
To download media fix : https://forum.xda-developers.com/t/rom-huawei-11-leaos-lineage-18-1-for-huawei-device.4371629/
I will see if I can reproduce and correct the other problems
11spqr said:
So far so good, boot time seems a lot faster than LOS 18.1 from DarkJoker360, but camera isn't synchronized with flash lght(same as in LOS 18.1).
Thank You.
RNE-L21 Here.
Click to expand...
Click to collapse
Hi,
I manage to reproduce the problem on my version of lineage 18.1 and on my PRA-LX1 . I will try to fix it.
Thanks,
I've updated my phone, "Rhone", to the latest version of crDroid by AltairFR.
My update curve was although different.
I HAVE had installed previous version of crDroid on my phone.
I've booted to TWRP, cleaned cache/dalvik cache, rebooted to bootloader, flashed latest system image via fastboot, rebooted to TWRP again, flashed AGPS patch, resized system partition.
After that phone rebooted to system normally.
I've had all my apps installed and working fine, my sdcard was mounted properly and all my files was still there(phone is using it as an extension to internal system memory).
The only thing I've noticed after first boot was a progress bar with sign "performing system update"!
The offline charging is working grate(no more reboots), thanks AltairFR.
With Syberia 4.4.280 kernel battery life improved significantly, IMHO + 1/3 of initial life on stock huawei kernel, yes it is "one day+" extra time!
What bothers me is the phone model in "about phone" information center.
If any one knows what files have to be edited to change it to RNE-L21 instead PRA-LX1 would be grateful. If it is impossible I'm fine with it.
Thank you very much,
Bests,
P.
11spqr said:
I've updated my phone, "Rhone", to the latest version of crDroid by AltairFR.
My update curve was although different.
I HAVE had installed previous version of crDroid on my phone.
I've booted to TWRP, cleaned cache/dalvik cache, rebooted to bootloader, flashed latest system image via fastboot, rebooted to TWRP again, flashed AGPS patch, resized system partition.
After that phone rebooted to system normally.
I've had all my apps installed and working fine, my sdcard was mounted properly and all my files was still there(phone is using it as an extension to internal system memory).
The only thing I've noticed after first boot was a progress bar with sign "performing system update"!
The offline charging is working grate(no more reboots), thanks AltairFR.
With Syberia 4.4.280 kernel battery life improved significantly, IMHO + 1/3 of initial life on stock huawei kernel, yes it is "one day+" extra time!
What bothers me is the phone model in "about phone" information center.
If any one knows what files have to be edited to change it to RNE-L21 instead PRA-LX1 would be grateful. If it is impossible I'm fine with it.
Thank you very much,
Bests,
P.
Click to expand...
Click to collapse
Yes I have hardcode this properties in my version of crDroid. I can make several version, one for PRA and one for RNE ? Instead make a patch to change after

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

Non-Official Lineage 18.1 for Huawei (anne) - LeaOS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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
Spoiler: Old Changelog
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)
Download file : "LeaOS-20230407-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,
Wipe data
install DRM patch for EMUI 9.1 : 8-Huawei-FixPreav-AB-v1.1-signed.zip
(optional) install now Google Apps Lite : 1-Huawei-DataPrep-DeCrypt-AB-v1.0-signed.zip and [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://forum.xda-developers.com/t/guide-emui9-p20-lite-basics.4341373/
Source Code:
https://github.com/Iceows
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:
@Frax3r (Testing)
@PHH
@eremitein
@RakinTheGreat (GCam)
@TureX (Kernel)
And all the others who tested my patches and helped me improve this ROM
Support Group
AltairFR said:
Non-Official Lineage 18.1 for Huawei (anne) - LeaOS
Click to expand...
Click to collapse
AltairFR said:
my personnals patches for Huawei devices : Encryption.... NFC...
Click to expand...
Click to collapse
which twrp do you recommend to install?
I am using the official version twrp 3.6.1 for anne. But I think older versions work too.
Huawei P20 Lite
Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...
twrp.me
AltairFR said:
I am using the official version twrp 3.6.1 for anne. But I think older versions work too.
Huawei P20 Lite
Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...
twrp.me
Click to expand...
Click to collapse
Hi
Is boot override finally solved?
Cheers
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.
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.
Hi
I will verify in my ANE, perhaps i have not upload the right version. I have also compile yesterday lineage 19.1 , but for the moment not upload it
Thanks for the report
I have not the bootloop. What version of emui do you have? What patch did you install?
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?
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
AltairFR said:
Non-Official Lineage 18.1 for Huawei (anne) - LeaOS
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://forum.xda-developers.com/t/guide-emui9-p20-lite-basics.4341373/
Source Code:
https://github.com/Iceows
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
Click to expand...
Click to collapse
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??
AltairFR said:
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
Click to expand...
Click to collapse
Okay, cool!
Regarding downgrading, is that still a thing that is needed for flashing or is it a thing of the past?
brugne92 said:
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.
Click to expand...
Click to collapse
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?
AltairFR said:
This is a very old problem on android 11 (all GSI and ROM)
Click to expand...
Click to collapse
On GSI (I mean normal GSI, not yours) it's not a problem at all .
AltairFR said:
After 6 months of research, I finalized this weekend a patch for all hi6250 phones
Click to expand...
Click to collapse
. Bravo!
Alf. Do you want test it ?
AltairFR said:
I have not the bootloop. What version of emui do you have? What patch did you install?
Click to expand...
Click to collapse
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).
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?
It have not test in emui9 but in emui8 magisk version canary works natively on LeaOS. You just have to download it from the official site of magisk, rename it to .zip and install it with twrp
aavalos said:
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).
Click to expand...
Click to collapse
It is not gcam from Google in leaos , but Gcam mod. The stock LineageOS cam have some bugs with the flash on huawei

[ROM][Huawei][12] LeaOS - Lineage 19.1 for Huawei device (EMUI 9)

Non-Official Lineage 19.1 for EMUI 9 hi6250 Huawei (anne) - LeaOS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LeaOS is a project which based on LineageOS 19.1 with Andy Yan's and phhusson's Treble GSI patches. I have added my personnals patches for Huawei devices : Assisted GPS, NFC, CAST/Miracast, Default Sound etc..) and some eremitein patch
Changelog :
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 or enforce kernel
Update Lite Google Apps to 2.6
LeaOS August 2022 version
Jul + Aug 2022 SPL
Synchronize with last Lineage Source and v415 phh
Port new functionnalities Treble Setting from 18.1 version (Dump log, restart ui, dynamic root, safetynet, auto run, nolog)
Add miracast support
Add scanner QR support
LeaOS Jun 2022 version
Jun 2022 SPL
Synchronize with last Lineage Source and v414 phh
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-19.1-20220911-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 : LiteGapps_arm64_12.1_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://forum.xda-developers.com/t/guide-emui9-p20-lite-basics.4341373/
Not working :
Offline charging
Bluethooth pairing with code (use app)
Source Code:
https://github.com/Iceows
ROM OS Version: Android 12L (12.1)
ROM Kernel: Linux Huawei 4.9.148 or Phenix 4.9.319
ROM Firmware Required: EMUI 9
Based On: Lineage 19.1
Credits:
@Frax3r (Testing)
@PHH
@eremitein
@RakinTheGreat (GCam)
@TureX (Kernel)
And all the others who tested my patches and helped me improve this ROM
Support Group
Screencopy
Hello, exciting to see android 12 on this phone! A few questions:
* is this good enough to be used as daily driver?
* i remember previous lineage versions having problems with signal strength icon. Do your fixes include fix for this?
* i read some people having problems with wifi and fingerprint on lineage, but fixed them by going to previous stock version with better drivers, is that correct and not related to rom?
* do payments work with this rom? Google Pay and banking apps
* according to your instructions, we have to flash image through fastboot and not twrp as explained in other threads? will twrp flash produce the same result? maybe that's trivial, but i still do not understand the concept fully
* in other threads i read that you need to do factory reset from eRecovery after flashing lineage, do you not have to do that here?
* i could not find information about what this a/ab version is. can you explain?
Signal strengh and wifi are fixes by me since Lineage 18.1. I gave my patches to all the main developers of the GSI
This version of lineage 19.1 have for the moment two problems :
- offline charging
- bluetooth pairing not working
For daily use , use LeaOS Lineage 18.1 please
Betrakiss said:
Hello, exciting to see android 12 on this phone! A few questions:
* is this good enough to be used as daily driver?
* i remember previous lineage versions having problems with signal strength icon. Do your fixes include fix for this?
* i read some people having problems with wifi and fingerprint on lineage, but fixed them by going to previous stock version with better drivers, is that correct and not related to rom?
* do payments work with this rom? Google Pay and banking apps
* according to your instructions, we have to flash image through fastboot and not twrp as explained in other threads? will twrp flash produce the same result? maybe that's trivial, but i still do not understand the concept fully
* in other threads i read that you need to do factory reset from eRecovery after flashing lineage, do you not have to do that here?
* i could not find information about what this a/ab version is. can you explain?
Click to expand...
Click to collapse
-I can't say that for any gsi for our device but it is subjective nonetheless.
-Signal strength is fixed by AltairFR (iceows). Darkjoker360 (Simone) included his fix in his latest emui 8 los 18.1 build as well.
-Fingerprint as in sensor or build fingerprint? Fingerprint sensor will say failed to enroll if you had fingerprint enrolled in emui but did not remove it from emui settings. Factory reset should remove it as well. As for wifi, if you install this rom on top of latest emui build wifi will work just fine. But if you switch your kernel to something else other than stock or harmonyos based kernel it will not connect to wifi. This is not related to rom.
Emui version <9.1.0.300 : You can use any kernel
Emui version >9.1.0.300 : You can only use stock kernel from your emui version or harmonyos based ones. (Turex posted a test kernel in his thread) if you want functioning wifi.
-Google pay is not present in my country so I can't test but it is possible to pass safetynet which should allow you to use it ig.
-As long as twrp you use works properly it shouldn't matter.
-Instructions is missing a step atm, you don't need to do a factory reset if you flash an additional zip file before flashing AGPS patch. 1-Huawei-DataPrep-Crypt-AB to keep encryption or 1-Huawei-DataPrep-DeCrypt-AB to remove it. These zips replicate folder structure of factory reset so you don't need to "reboot, flash stock recovery, factory reset, reboot, flash twrp". Wait for updated instructions or check the link below instructions (Vanilla GSI steps in Flashing Any GSI part).
-AB in gsi builds means system-as-root which p20 lite is. AB in device means a and b slots for each image which isn't present in p20 lite. In short you use A-only builds in emui 8 vendor but use AB builds in emui 9 vendor. Since AltairFR builds for both vendors his sourceforge includes a and ab zips and builds. If it says A, it's not for emui 9 vendor.
Update AGPS fix and Google Apps
hi thanks for the ROM but, i putted correct wifi password but it doesn't work. Why?
freddie993 said:
hi thanks for the ROM but, i putted correct wifi password but it doesn't work. Why?
Click to expand...
Click to collapse
Wifi password on wpa3 ?
AltairFR said:
Wifi password on wpa3 ?
Click to expand...
Click to collapse
No wpa2, I also tried to Hotspot from another device without protection and doesn't work again
I've had this kind of problem before. It usually comes from the kernel or the emui version. What version are you on?
AltairFR said:
I've had this kind of problem before. It usually comes from the kernel or the emui version. What version are you on?
Click to expand...
Click to collapse
i have emui 9
freddie993 said:
i have emui 9
Click to expand...
Click to collapse
Ok but indicate minor version please
scuse me, what does minor version means? i read android 12, version lineageOS: LeaOS i don't have other information.
When i go to the update section, it gives me an error "your device does not support OTA updates!"
freddie993 said:
scuse me, what does minor version means? i read android 12, version lineageOS: LeaOS i don't have other information.
When i go to the update section, it gives me an error "your device does not support OTA updates!"
Click to expand...
Click to collapse
Minor version of emui 9. my version is 9.1.0.405 and you?
Please exec to have exact of your emui version :
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
ah ok, i didn't understand, i already have those information . Please check this thread , in one post i had attached the image with those information.
Thank you
Ok , try phenix kernel please , version 4.9.235 phenix 1.0, it is my kernel on my ANE-LX1:
[GUIDE] [EMUI9] P20 Lite Basics
Special key combos: Power + Vol+ = Recovery Mode While USB connected, Power + Vol+ = Erecovery Mode While USB connected, Vol- = Fastboot Plug USB while holding down Vol+ + Vol- = Download Mode Power + Vol+ + Vol- = Force Dload Flashing Any GSI...
forum.xda-developers.com
Because you have version emui > 300
[KERNEL][EMUI 9][P20 lite] Phenix kernel
PHENIX KERNEL Disclaimer: Use this kernel at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware and any kind of damages/losses. NOTE : Use only on EMUI9 base(stock or custom) REQUIREMENTS ...
forum.xda-developers.com
Ok, I must follow the first link??
freddie993 said:
Ok, I must follow the first link??
Click to expand...
Click to collapse
Yes or just flash kernel in the attachment of the second link
What does "DRM patch for EMUI 9.1.0.405" do?
Another question: I can not pass SafetyNet. I have tried to remove root using PHH Settings => Misc Settings => Securize, but it does nothing. Even if I install PHH's SuperUser app (the Google Play does not have one any more, so I used v.1.0.3.3 from another source) I can not get it to work. I understand I am missing something, but do not know what. Any help would be appreciated.
luka_bubi said:
What does "DRM patch for EMUI 9.1.0.405" do?
Another question: I can not pass SafetyNet. I have tried to remove root using PHH Settings => Misc Settings => Securize, but it does nothing. Even if I install PHH's SuperUser app (the Google Play does not have one any more, so I used v.1.0.3.3 from another source) I can not get it to work. I understand I am missing something, but do not know what. Any help would be appreciated.
Click to expand...
Click to collapse
DRM allows you to play protected videos in Chrome or Netflix. Without this chrome patch freeze as soon as there is a video. If you need to be root use the dynamic root option (treble setting) If you want to pass safetynet install the pixel experience instead

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

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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://forum.xda-developers.com/t/guide-emui9-p20-lite-basics.4341373/
Installation
Download system file : "LeaOS-A13-20230503-iceows-ane.img.xz" (without google apps) or "LeaOS-A13-20230503-iceows-google-ane.img.xz" (google apps version)
Extract img file
Flash system image : fastboot flash system <drag system.img here>
Boot into twrp: power + vol+ while NOT connected to pc
Wipe cache, dalvik/art cache, internal storage
Wipe data
(option) Install DRM patch for EMUI 9.1 to support DRM : 8-Huawei-FixPreav-AB-v1.3-signed.zip
Reboot to System and setup with android assistant
Enjoy !!!
More informations to install here : https://forum.xda-developers.com/t/guide-emui9-p20-lite-basics.4341373/
Source Code:
https://github.com/Iceows
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:
@Frax3r (Testing)
@PHH (manifest)
@eremitein (patches)
@RakinTheGreat (GCam)
@TureX (Kernel)
@Sooti777 (patches)
@Haridhayal (patches)
@harvey186 (patches)
@DarkJoker360 (patches)
@chondoe (patches)
@ponces (patches)
@Adbdelhay.ali (kernel perm)
And all the others who tested my patches and helped me improve this ROM
Kernel :
Android 13 for P20 lite (Tested GSIs)
Here are recent A13 GSIs that booted and worked on my P20 lite Hi6250 Requirements: You can flash SHRP recovery that have all the requirements to make Android 13 boot normally (including permissive kernel, decrypt data, selinux fix, AIO fix and...
forum.xda-developers.com
Support Group
Channel update
reserved
Worked baseband thanks iceows
- issue aosp screen record not working LeaOS 13
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
cvenal said:
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
Click to expand...
Click to collapse
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
AltairFR said:
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
Click to expand...
Click to collapse
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
technodeha said:
Worked baseband thanks iceows
- issue aosp screen record not working LeaOS 13
View attachment 5729269
Click to expand...
Click to collapse
Ok i have fix the pb in yhe next release
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.
Ok i have not test but fix is easy
Thank you for this great ROM
The speaker volume low during calls. I have tried volume booster goodev.apk, but not worked
Awesome rom, everything works fine Only NFC to fix
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
Abdelhay.ali said:
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
Click to expand...
Click to collapse
Yes of course. I'm compiling new patches, I need to adapt this one for android 13 and include it immediately
luka_bubi said:
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.
Click to expand...
Click to collapse
Fix in the 18/10 release
technodeha said:
Worked baseband thanks iceows
- issue aosp screen record not working LeaOS 13
View attachment 5729269
Click to expand...
Click to collapse
Fix in the 18/10 release
Bro I couldn't find the wallpaper and styles feature in setting. I could only see the wallpaper option
AltairFR said:
View attachment 5728215​
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://forum.xda-developers.com/t/guide-emui9-p20-lite-basics.4341373/
Installation
Download system file : "LeaOS-A13-20221018-iceows-ane.7z" (without google apps) or LeaOS-A13-20221018-iceows-google-ane.7z" (google apps version)
Extract img file
Download kernel file here https://forum.xda-developers.com/t/kernel-emui-9-p20-lite-phenix-kernel.4241503/ and extract img file
Flash system image : fastboot flash system <drag system.img here>
Flash kernel image : fastboot flash kernel <drag phenix.img here>
Boot into twrp: power + vol+ while NOT connected to pc
Wipe cache, dalvik/art cache, internal storage, data
Install decrypt patch :1-Huawei-DataPrep-DeCrypt-AB-v1.0-signed.zip
(optional) install DRM patch for EMUI 9.1.0.401 and sup : 8-Huawei-FixPreav-AB-v1.0-signed.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://forum.xda-developers.com/t/guide-emui9-p20-lite-basics.4341373/
Source Code:
https://github.com/Iceows
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:
@Frax3r (Testing)
@PHH (manifest)
@eremitein (patches)
@RakinTheGreat (GCam)
@TureX (Kernel)
@Sooti777 (patches)
@Haridhayal (patches)
@harvey186 (patches)
@DarkJoker360 (patches)
@chondoe (patches)
@ponces (patches)
And all the others who tested my patches and helped me improve this ROM
Support Group
Click to expand...
Click to collapse
hi, what is the patch for?
I do not understand your question. I made more than 10 patches on huawei
@AltairFR i tried to install this rom but at reboot, the screen remains frozen in initial logo HUAWEI
Do you have install phenix kernel ? Do you have uncrypt data partition ?

[ROM][Huawei][13] LeaOS - Lineage 20.0 for Huawei device (EMUI 9.1 version)

Non-Official Lineage 20.0 for EMUI 9 Huawei (ANE, FIG, POT, VTR, STF)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LeaOS is a project which based on LineageOS 20.1 with Andy Yan's and TrebleDroid GSI patches. I have added my personnals patches for Huawei devices : Encryption, Signal Strengh, Speed Boot, Assisted GPS, NFC, CAST/Miracast, Media App fixes, Camera HDR, SafetyNet etc..)
Changelog :
LeaOS Maarch 2023 version
Move to Android r35 (SPL Maarch)
Add offline charging
Add spoof model to pass safetynet
LeaOS February 2023 version
First release
Pre-requisite :
You must have TWRP installed if you want install patch. and a phone with unlock bootloader
Installation (crypt or uncrypt)
Download the version that corresponds to your Huawei phone model here and extract img file. You can choose with ou without GoogleApps
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
(option) Install DRM patch for EMUI 9.1 to support DRM : 8-Huawei-FixPreav-AB-v1.3-signed.zip
(option) Install single modem patch for multi-sim device : 11-Huawei-MonoSim-AB-v1.1-signed.zip
reboot to System and set up the phone with Lineage first start assistant.
Enjoy !!!
Source Code:
https://github.com/Iceows
ROM OS Version: Android 13
ROM Kernel: Linux Huawei 4.9.148
ROM Firmware Required: EMUI 9.1
Based On: Lineage 20.0 and TrebleDroid
Credits:
@Frax3r (Testing)
@PHH
@eremitein
@RakinTheGreat (GCam)
@TureX (Kernel)
And all the others who tested my patches and helped me improve this ROM
Support Group
Channel update
Good news, I had just installed the 23/2/23 release and was going really good, except for the SIM card PIN request which was causing bootloop.After removed the PIN of the SIM card I was haven't any problem for the ROM which was running fine, but I could't fix a problem with mobile data which were not working even after re-set the correct APN and check with the dial number on phone info.
After all that I see the new release that I'm going to install RN.
Thanks for your work. Keep it UP!
I will try to fix this pin code and data problem. This is a problem that affects all dual sim huawei. Are you on dual sim?
AltairFR said:
Flash twrp image: fastboot flash recovery_ramdisk <drag twrp img here>
Click to expand...
Click to collapse
Is TWRP for Stanford (Honor 9) exist? Thanks
Smith Huang said:
Is TWRP for Stanford (Honor 9) exist? Thanks
Click to expand...
Click to collapse
Yes here
altairfr-huawei - Browse /TWRP-Recovery at SourceForge.net
sourceforge.net
AltairFR said:
I will try to fix this pin code and data problem. This is a problem that affects all dual sim huawei. Are you on dual sim?
Click to expand...
Click to collapse
Yes, It's a dual SIM phone. I have just one in it.Anyway I tried the no_gapps version and have not problem with data connection. I think is possibile it is a problem gapps related. Anyway I installed the new release with no gapps and installed LiteApp and works fine.
AltairFR said:
Yes here
altairfr-huawei - Browse /TWRP-Recovery at SourceForge.net
sourceforge.net
Click to expand...
Click to collapse
Thanks again!
It is so great to know that someone is still creating and maintaining honor 9 roms. However, I found a problem in this rom. I am a user from China and using China-mobile customized version STF-TL10 (Though I flashed it to normal China version of base firmware which is STF-AL10 EMUI:9.1.0.225, they are almost the same by the way.). I found there are 3 minor problems and my soloution to them, hope these information are useful to you:
1. rom with Gapps seems too big to flash into system partition, both TWRP and fastboot would just stop flashing process. I don't know why, but the non Gapps version plus "MindTheGapps-13.0.0-arm64-20221025_100653" works for me.
2. Battery Guru app and my own feeling about how fast is battery runs out indicate that the system can't enter deepsleep state and I think that is because of the kernel (maybe Kernel Suspending is not working). I flashed a custom kernel (https://github.com/maimaiguanfan/android_kernel_huawei_hi3660 I attached the file I used below) into the system by TWRP, then everything looks like it works normally.
3. developer USB debug mode will not work if you just turn it on until a system restart being applied. It is just a little bit annoying and I hope others get to know about this, so you won't waste time checking what is wrong...
Thanks for your hard work again! Have a nice day!
Is this project dead or is it in development
Not dead why ?
AltairFR said:
Not dead why ?
Click to expand...
Click to collapse
Oh ok cause I might install it
xqqy said:
It is so great to know that someone is still creating and maintaining honor 9 roms. However, I found a problem in this rom. I am a user from China and using China-mobile customized version STF-TL10 (Though I flashed it to normal China version of base firmware which is STF-AL10 EMUI:9.1.0.225, they are almost the same by the way.). I found there are 3 minor problems and my soloution to them, hope these information are useful to you:
1. rom with Gapps seems too big to flash into system partition, both TWRP and fastboot would just stop flashing process. I don't know why, but the non Gapps version plus "MindTheGapps-13.0.0-arm64-20221025_100653" works for me.
2. Battery Guru app and my own feeling about how fast is battery runs out indicate that the system can't enter deepsleep state and I think that is because of the kernel (maybe Kernel Suspending is not working). I flashed a custom kernel (https://github.com/maimaiguanfan/android_kernel_huawei_hi3660 I attached the file I used below) into the system by TWRP, then everything looks like it works normally.
3. developer USB debug mode will not work if you just turn it on until a system restart being applied. It is just a little bit annoying and I hope others get to know about this, so you won't waste time checking what is wrong...
Thanks for your hard work again! Have a nice day!
Click to expand...
Click to collapse
Good morning .
For partition size problems, it happens often, so I have developed a program to resize the system partition. He is on xda looking for Huawei partition tools.
For the battery I will look on my stf-l09. Have you tested with the aosp version of leaos?
For the USB problem, I did not see this problem.. thank you for the tests
Is this os pre-rooted? Cause I still wanna watch Netflix and stuff
uncognic said:
Is this os pre-rooted? Cause I still wanna watch Netflix and stuff
Click to expand...
Click to collapse
This OS have an option to pass safetynet, so you can use netflix
When i go to download recovery, im not sure which one to download between twrp-3.5.2-v1-figo-emui9.img, twrp-3.7.0_9-0-anne.img and twrp-3.7.0_9-0-anne.img. I have a Honor 9 STF-L09
With the last leaos, you can flash without twrp
Wait what. But the step-by-step giude asks me to flash twrp for a patch
uncognic said:
Wait what. But the step-by-step giude asks me to flash twrp for a patch
Click to expand...
Click to collapse
It is for drm and i don"t know if stf need
Use this twrp :
https://sourceforge.net/projects/altairfr-huawei/files/TWRP-Recovery/twrp-stf-ki960.img/download
xqqy said:
It is so great to know that someone is still creating and maintaining honor 9 roms. However, I found a problem in this rom. I am a user from China and using China-mobile customized version STF-TL10 (Though I flashed it to normal China version of base firmware which is STF-AL10 EMUI:9.1.0.225, they are almost the same by the way.). I found there are 3 minor problems and my soloution to them, hope these information are useful to you:
1. rom with Gapps seems too big to flash into system partition, both TWRP and fastboot would just stop flashing process. I don't know why, but the non Gapps version plus "MindTheGapps-13.0.0-arm64-20221025_100653" works for me.
2. Battery Guru app and my own feeling about how fast is battery runs out indicate that the system can't enter deepsleep state and I think that is because of the kernel (maybe Kernel Suspending is not working). I flashed a custom kernel (https://github.com/maimaiguanfan/android_kernel_huawei_hi3660 I attached the file I used below) into the system by TWRP, then everything looks like it works normally.
3. developer USB debug mode will not work if you just turn it on until a system restart being applied. It is just a little bit annoying and I hope others get to know about this, so you won't waste time checking what is wrong...
Thanks for your hard work again! Have a nice day!
Click to expand...
Click to collapse
Huawei Partition Kit - Enlarge system partition
Huawei Partition Kit This kit allows you to enlarge/reduce (2Go->5Go) the system partition on a Huawei kirin 65x, 960 or 970 phone. You can do it from a Huawei android 9 rom, a Lineage 18.1, 19.1, 20, or an AOSP 11,12 or 13. The kit reinstalls...
forum.xda-developers.com
Hi,
I gave this ROM a spin, but didn't get very far in the process documented in the FP.
First flashed TWRP from here with fastboot to recovery_ramdisk.
Code:
$ fastboot flash system LeaOS-20.0-20230304-iceows-google-stf.img
Invalid sparse file format at header magic
Sending sparse 'system' 1/7 (460241 KB) OKAY [ 11.774s]
Writing 'system' FAILED (remote: 'sparse flash write failure')
fastboot: error: Command failed
I also tried to flash from twrp with adb sideload, but that fails instantaneously.
And now I'm stuck with a phone that won't boot. Any suggestions how to proceed?
Btw, device is an STF-L09.

Categories

Resources