yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Andersonnnnn:
Theres no way other that change the all the rom ?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Andersonnnnn:
Nevermind, i try with a diferent TWRp and is solve, thank you all
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Andersonnnnn:
Other cuestion, the dock is suposee to be Big?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] kaesebrot:
Has anyone tested Safetynet and GPay/Wallet. Is Safetynet passed in YASNAC? Is NFC working?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] L4nCeR:
When I have this ROM, safetynet pass after set magisk props, play integrity API is fine (without strong_integrity). GPay works for me.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] d0zzerr:
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.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] lemon567:
Running this ROM and using it as my daily driver. It's smooth its fast its good and does its job. Thank you for providing this ROM 👍👍👍
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
Thanks
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] D3vith:
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.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] aavalos:
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.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] aavalos:
Hotspot (WiFi/data sharing) is not working in October's build.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] lemon567:
Is this ROM still supported/developed or has the dev switched all his efforts/time on A13? I am not asking for an ETA I'm just wondering since there hasn't been any update of late
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
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
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] frank64sunday:
Just installed this ROM on my P20 lite. It is a great experience to have a phone without bloatware - thank you this great work! It would be perfect If I were able to take or to receive calls which is not working actually. It seems to be an LTE or VoLTE problem, because when I restrict the phone to GSM, taking and receiving GSM calls do works. Did I miss a setting somewhere?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
Do you have problem with A13 LeaOS ?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] frank64sunday:
Yes. I tried to installed A13 LeaOS, but it didn't came up. So I switched to A11 and this seem to work.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
It should work on android13 if it works on android11. What model of phone and emui 9 do you have?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] frank64sunday:
Huawei P20 lite

ANE-LX1

EMUI 9.1.401
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
Ok so it's exactly the same version as me and the same phone model. So it should work in android 13, please retry with december leaos. For Android 11 it's been a while since I tested the calls, I'll try with the december version which is compiling. In general the problems you indicate come from the APN parameters
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] frank64sunday:
I tried LeaOS-A13-20221208-iceows-google-ane + patch 1, 4, 8 + stock kernel but I didn't succeed. Boot animation of lineage didn't come up and it allways fell back to recovery.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
Just try this

Download system file : "LeaOS-A13-20221208-iceows-ane.xz" (without google apps)

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, data

Resize system partition in TWRP

Install decrypt patch :1-Huawei-DataPrep-DeCrypt-AB-v1.0-signed.zip

And reboot please, and send me a screen-copy of boot
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] frank64sunday:
ok, just the essential stuff - understood. Will try it out and let you know.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
P20 Test android13 and kernel permissif are here :

https://xdaforums.com/t/android-13-for-p20-lite-tested-gsis.4511925/
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] frank64sunday:
Result: A13 - it does boot!

I tried also the other patches (4) AGPS and 8 (DRM) and it doesn't boot if patch (4) APS is included. I created a video from the failed boot.

I will write a post in the A13 thread.

Voice calling (over VoLTE) still not working, same problems as before. I can issue a call, but the call is terminated on my phone and keeps ring on the receiver side. Dialer app only says: call terminated.

Checked APN parametes and didn't find anything wrong.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Tahir Jamil:
this Anne roms, recovery's and Kernel's also works on honor 9n/9 lite, it's good for me because I have honor 9n, I installed Skyhawk recovery and Phenix kernel of Anne on my device, it works good, but I can't install the latest LeaOs 11 because it requires 3gb system while I have 2.3 gb, I can't delete product and cust because Huawei doesn't support Fastbootd mode, can anyone give me any zip file to delete product and cust or resizing system to 3/4gb, please help 😢😢😢
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] -Alf-:
https://xdaforums.com/t/official-ao...-phh-android-13-version.4502139/post-87835513
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Brayan Jh:
Thank you very much for the contribution. I would like to know if the Rom does not have any errors and if it is totally stable. And another thing, is the DRM patch necessary? Also, my rom is Latin American v9.1.0.355, do I need another DRM patch or can I install the same one?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] LIFATRON3000:
Been using it for 3 months as a daily driver on ANE-LX1 and had 0 issues so far, I have a second stock Huawei same model and I noticed bluetooth connects faster on LeaOS

Thanks @AltairFR and everyone involved I like it a lot

One question: when I update to other version I can't keep my data is this true?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
You can get data when update to new version. Just flash leaos.img and reinstall Google apps
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Baldoius:
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:

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

Any help is appreciated...
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
Use twrp 3.7 android 9 version
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Baldoius:
Thanks. Installed 3.7.0_9-0 now.

Reflashed system image.

The above error does still occur. TWRP seems to be unable to detect the file system.

I can "change file system" to ext4, and then resizing works, but before booting to system TWRP warns that "no OS is installed", and booting to system I end up in TWRP again.

Maybe I am doing something wrong?

TWRP is flashed to `recovery_ramdisk`, ROM by

fastboot flash system LeaOS-20221213-iceows-ane.img

. Afterwards I turn the phone off (holding power button - maybe this is wrong?) and boot to recovery using power up.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Baldoius:
Update: I notice after a fresh flash, that TWRP correctly detects system as ext4.

After attempting resize it "loses" this information.

I tried installation without resizing (but still wiping caches etc.) - Now the phone at least looks like it attempts to boot (hangs longer in the bootloader unlock warning) but then goes straight back to recovery.

I noticed there is a non-official e-recovery still on the device - could this be the culprit?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
Boot to TWRP, change system filesystem to ext4 and format it
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Baldoius:
Did that, reflashed, still cannot resize partition.

TWRP claims that 500 MB is still free, so maybe we can skip resizing. That's a waste of 500 MB, but should work, right?

Omitting this step still causes phone to directly go to Recovery.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Baldoius:
Spoiler content hidden.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Baldoius:
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!
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] curatina:
Hello,

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

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

And, if so, is it possible to update only the security patches?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
Hello.

You can simplify the procedure. A wipe of the internal memory makes a format, which causes a bootloop if you have an encrypted data partition.

You can change it, by remove data file encryption, flash corresponding patch.

You have also an option in twrp to make rm instead of format for wipe data.

Agps have big bug, so i will correct it , tomorrow
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Optick002:
Hello,

I have followed this guide, without optional step of installing gapps.

After booting into lineage OS, everything seems to work fine, just after like 5-10 minutes, my phone reboots, but not actually reboots, as it transitions instantly to showing lineage os loading logo animation, without starting from huawei logo screen.

After that the Lineage OS logo keeps animating in loading state, and after like good 15-20 minutes it properly reboots and loads lineages os. then 2-3 minutes pass and the same repeats.

Any solutions?

What happened: I had an error with sdcard (cant recall what it was) after formating to use it as internal storage for photos etc... and after that, went to galery and my phone entered in a state which I described above.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
Don't use internal storage with sdcard. It is not stable
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Optick002:
Update: solved this issue by removing sdcard and formatting it as external storage
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Optick002:
I'm now trying to reinstall with gapps, and when i try to sideload "1-Huawei-DataPrep-DeCrypt-AB-v1.0-signed.zip" this it throws an error 7, could not mount /system, even though all others worked fine. So I skipped it and installed only "[RECOVERY]LiteGapps_arm64_11.0_v2.6_official.zip" but now it is stuck on the lineages os loading animation.

Any solution how to install gaps which would work?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Optick002:
Fixed.

`mount-system.sh` in the "1-Huawei-DataPrep-DeCrypt-AB-v1.0-signed.zip" was trying to mount `/system`, while in other `.zip` packages, the 'mount-system.sh' was trying to mount `/system_root`.

Updated the 'mount-system.sh' to mount `/system_root` and re-zipped, and it worked.

If anyone else encounters this, you can use this
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
Mount /system or mount /system_root depend of your twrp version
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Nicknackpaddywack101:
Hi!

I want to ask what are the risks of me attempting this from EMUI 8 on a Huawei p9. Is it possible? I have checked and it is treble compliant.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] absolutenooblol:
When i installed it through fastboot, then restarted and it booted into twrp recovery, i couldn't boot into the system and it was stuck in a bootloop. Any help?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Frax3r:
Stuck in twrp or stuck in lineageos logo? If you're stuck in twrp then flash stock recovery_ramdisk. After booting once it you breaks free from forced recovery boot. Choosing "reboot to system" from stock will put you back to lineageos. Afterwards you're free to flash twrp again. And next time don't choose "reboot to recovery" from twrp or you'll be stuck with it. However if you're on lineageos logo then you did something wrong with the steps.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] absolutenooblol:
Thanks! It worked!
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] DadiBit:
Hi, after flashing this ROM I bricked my phone. I believe the issue was caused by the optional step for Google apps. I ended up with a phone which got stuck on the TWRP logo and both erecovery and os won't boot (screen hangs on the orange warning messages).

Fastboot working + ADB root access with TWRP stuck on boot logo = phone softbricked.

I started flashing all the stock imgs, but to no avail. I flashed back twrp and dropped in a root shell with adb shell to run cat /tmp/recovery.log. Last line of code was: I:Setting up '/data' as data/media emulated storage.. To fix this error erase user data with fastboot erase userdata and reboot into TWRP.

I'm posting this because it took me a whole day to figure it out, and maybe someone else (noobie like me) got the same problem (after probably messing up a step... Honestly, I thought that I followed the steps properly, but it looks like I f-d up something anyway).
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] DadiBit:
Quick update: I've tried reinstalling once again the Google apps, since I needed the services for the banking apps and I couldn't get microG spoofing to work, but, again, it broke the data partition.

After running fastboot erase userdata again to fix the same issue the data and the internal storage were corrupted and twrp couldn't fix them. I tried formatting to ext2 and back to ext4, but to no avail (?). In the end, I decided to just relock the phone and go back to stock, since I couldn't afford to use neither LeaOS 20 (only 3 months since initial release aren't enough for me, sorry) nor the 18.1 one without Google apps.

Strangely enough, the p20 lite basics guide suggested installing the data.7z file to fix theming (which I would've been unable to do, since I had just locked everything), but actually the os suggested on its own downloading the .401 img again (please notice that I had that already flashed beforehand due to my slow internet --> no erecovery download) to fix the data partition.

If anyone is facing a similar issue, please provide some feedback, as I believe it's a bug in the provided zips (it might just be that my device is unlucky for some obscure reason)

Sidenote: about the zips... I've installed the 8-Huawei-FixPreav-AB-v1.1-signed.zip fix, but I was wondering if the 1.3 version from the LeaOS 20 ROM could've been used as well, and what benefits it could bring: is there a sort of changelog available somewhere?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] surfcoast13:
Hi all!

Is principle VoLTE working on this rom on Ane-Lx1?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] -Alf-:
there is no custom ROM with working Volte under EMUI 9.1, afaik.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] surfcoast13:
Thank you for your feedback Alf.

Altair meaned: Volte work only with android9 gsi like havoc os

So, when i would flash the latest stockrom (it`s emui 9.1 i think) or some customrom based on android 9, then Volte should work...is this right now?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] -Alf-:
https://xdaforums.com/t/gsi-havoc-2-9-9-los-16-0-9-with-working-volte.4356215/

Running EMUI 8 only.

P.S.: Altair lives in a world of his own, imo...
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] surfcoast13:
Thank you!

I will check this rom out when i have time - or buying a new phone...

because in a few weeks there is no 3G anymore in this country. so back to android 8 or new phone.

what would you do? or do you have a newer phone ?:giggle:

Have a nice evening :)
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Bidhulle:
Hello,

I would like to install a custom Rom for daily use for my ANE-LX1 device.

I have tried to install this Custom ROM but I failed. I used TWRP-3.7.0_9-0-anne.img

Several problems occurs (see log attached ):

at the 1st step (flash system) I got this message "Invalid sparse file format at header magi" but its doesn't crash and the flash continu.

at the 3 step( resize in twrp) function e2fsck return "error : 4"

It seems to be the same error that occur for Baldoius (see post Jan 7, 2023Jan 7, 2023

At the end my system can't boot anymore and it boot to the huawei recovery... with e-recovery that failed. It seems that Huawei have stop its server.

I have seen that Baldoius have proposed a solution but I don't have any stock rom .img to flash via fastboot

"3 :Flash system, recovery_ramdisk and userdata from Stock ROM via fastboot"

The only thing I was able to fine at present is Dload file of Stock Rom.

Anyone can help ?

EDIT :

I finally suceed. Here's my solution :

Flash skyhawk recovery to recovery_ramdisk via fastboot

Boot recovery and flash SHRP_AddonRescue

Reboot to SHRP & Flash Custom ROM

Wipe Cache/Dalvik - Data (I didn't wipe Internal Storage as I needed to unlock the bootloader so It automatically did a factory reset)

Reboot

The system boot to LeaOS. I didn't install any patchs so far as I don't understand what is "DRM patch for EMUI 9.1" .

Can someone explain what's its purpose ?
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Bidhulle:
@AltairFR , do you plan to update this ROM with the last security Patch from the last release of Lineage OS 21 ?

If yes, what is the procedure to update the ROM without lose data ? I supposed it's not as easy that just go to System Updater app inside Android. Is it possible to just flash the new image without wipe anything ?

Thx for helping us to make our device live longer.
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Bidhulle:
Dear XDA community, is there anybody that have the knowledge to update this ROM with the latest security patch ?

The reason I tried to pass to a Custom ROM is that Huawei have no long support at all and let you with old and insecure Android version.

This Rom based on A11 works very well for a daily use, it's just a pity that there is no update since march 2023 where as Lineage still support version 18.

Thx in advance !
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] surfcoast13:
Hi Bidhulle!

I also used this rom before. Now i use this :https://xdaforums.com/t/rom-huawei-13-leaos-lineage-20-0-for-huawei-device-emui-9-1-version.4558665/ daily and it is uptodate and works very well. Maybe you check it out also - greetz! ;)
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] AltairFR:
Yes please use my lineage os 20
[Huawei P20 Lite ROMs, Kernels, Recoveries, & Other] Bidhulle:
Ok guys, I will try it! Thx for answering.
[Mogul, XV6800 General] dearls:
I have appriciated all the help over time here but been doing alot of considering and talking to verizon rep. and alot of posting and looking over at crackberry and think its time to give up on windows and get the new blackberry storm this friday! that thing is sweet and does all i need plus some. my main things are internet and media

i just flashed to dcd's latest 2 days ago but this thing still gets meto mad with the memory issues running movies andso much more.

the new stormhas somuch to offer, larger screen, way more rom memory, 1gb storage with 16gb micro card (comes with 8gb) and so much more
[Mogul, XV6800 General] A7X:
But the BB Storm has no wifi, no flash support, no tabbed browsing. Those are deal breakers right there....and also only 192MB of RAM, nuff said.