yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kaiowas82:
I've updated from emui .195 (modifing update-script)and ended up with the phone starting only in twrp, all fixed thanks to this simple steps.

Also i reflashed twrp after the first boot and now i've both twrp and a rooted lineage nightly.

thanks to everyone involved :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] metuskale:
You mean removing this lines?

getprop("ro.boot.slot_suffix") == "_a" || abort("E3000: This package expects the value "_a" for "ro.boot.slot_suffix"; this has value "" + getprop("ro.boot.slot_suffix") + "".");

and

package_extract_file("boot.img", "/dev/block/bootdevice/by-name/kernel");

Can I just remove the lines in the file inside the zip and flash? Or I have to sign it somehow?

Thanks in advance.

---------- Post added at 03:47 PM ---------- Previous post was at 03:39 PM ----------

Can you confirm which two lines you removed? And how to re-zip the flash file? I have my phone "dead" on TWRP failing to install the LOS rom because of this error.

---------- Post added at 04:03 PM ---------- Previous post was at 03:47 PM ----------

Could you share stock recovery please? I am quite desesperate as my phone is on TWRP and not able to boot to anything else.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Shabo09:
assert(getprop("ro.product.device") == "charlotte" || getprop("ro.build.product") == "charlotte" ||

getprop("ro.product.device") == "kirin970" || getprop("ro.build.product") == "kirin970" || abort("E3004: This package is for device: charlotte,kirin970; this device is " + getprop("ro.product.device") + "."););

assert(huawei.verify_vendor_build_id("P") == "1");

ui_print("Target: Huawei/lineage_charlotte/charlotte:9/PQ2A.190305.002/2cd15ed188:userdebug/release-keys");

ifelse(is_mounted("/system"), unmount("/system"));

package_extract_dir("install", "/tmp/install");

set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);

set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);

mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");

run_program("/tmp/install/bin/backuptool.sh", "backup", "/system/system");

unmount("/system");

show_progress(0.750000, 0);

ui_print("Patching system image unconditionally...");

block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||

abort("E1001: Failed to update system image.");

run_program("/sbin/e2fsck", "-fy", "/dev/block/bootdevice/by-name/system");

run_program("/tmp/install/bin/resize2fs_static", "/dev/block/bootdevice/by-name/system");

run_program("/sbin/e2fsck", "-fy", "/dev/block/bootdevice/by-name/system");

show_progress(0.020000, 10);

mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system", "");

run_program("/tmp/install/bin/backuptool.sh", "restore", "/system/system");

unmount("/system");

show_progress(0.050000, 5);

show_progress(0.200000, 10);

set_progress(1.000000);
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kaiowas82:
as i said i was on .195, i just used the ramdisk i found in the guide to update to emui9....
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] metuskale:
I flashed the LOS with the modified lines but there is no way it will boot at all. Not even wont open twrp :(

EDIT: Got an erecovery message saying that "data partition was serverly corrupted", wiped (twice), rebooted not is booting LOS... Weird as ****
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Shabo09:
So you have LOS now?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] metuskale:
Yes I do have it now. Crossing fingers it will reboot OK
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Heinzx3:
Is there already a method for stereo sound and RAW in the HWCamera?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] metuskale:
I am not able to get the he camera installed. Flashed p version and can't find it under apps
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RazOne:
unfortunately not.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Heinzx3:
Too bad :(
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Heinzx3:
i installed lineage via adb sideload and made a wipe before but after starting a blackscreen comes up and the phone boots into fastboot mode

EDIT:

i fixed with:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Nawafhuw:
is this rom stable ? any issue ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RazOne:
It's stable. A great rom
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Shabo09:
How can I go back to EMUI? I can't find a proper guide.

Is it:

flash CUST.img

flash KERNEL.img

flash Recovery_RAMDISK.img

flash SYSTEM.img

Thanks in advance.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] nortish:
For us poor bastards that didn't unlock the bootloader before f*cking Huawei shut that service down...are we screwed?

I won't be able to install LineageOS without unlocking first?

Skickat från min CLT-L29 via Tapatalk
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] FL0R1AN:
You can unlock the bootloader but it costs around 30 Euro. Google it and you will find your answer :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] nortish:
Yeah I've read about that. It's a bit shady.

Skickat från min CLT-L29 via Tapatalk
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] FL0R1AN:
I have read here on XDA that some managed to unlock. They used FunkyHuawei.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] nortish:
Seen that too but funky ain't working any more.

Skickat från min CLT-L29 via Tapatalk
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Nawafhuw:
my file encrypted after flash ROM via ADB Sideload

i cant tranfer file and i cant flash ggps and root

please help
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Nawafhuw:
sam was ez to root and flash rom

now im stuck icant do anything

this phone is so useless

how can i back to 8.1 easy steps?

i want to sell it
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Heinzx3:
That I have on it however remains also only with the TWRP Logo stuck...
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] LuK1337:
Try that one https://kremowka.xyz/files/twrp-3.2.3-0-charlotte.img
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] starbase64:
[MENTION=5075128]LuK1337[/MENTION]

Magisk works?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] LuK1337:
Nope〜
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ChangeToTower:
I am facing the same issue with my L29 - stuck at TWRP logo. It actually doesn't matter which version is flashed..
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Jeanny92:
Hello,at first a have to unlock bootloader -That's right.? I cannot find help anywhere.i just communicated with Huawei,no chance:( so how can you flash anything?hope to get a soon answer.thanxxx
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] LuK1337:
Try to adb pull /tmp/recovery.log after like a minute it's stuck on splash screen.

Yes, you do.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Jeanny92:
But how may i root my device with locked bootloader?

Thank u
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ChangeToTower:
Here it is, the log after trying to enter twrp (stuck at teamwin screen)..
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] LuK1337:
Something about your userdata partition makes it unhappy, you may want to try `fastboot erase userdata` then wipe data in stock recovery and see if it works again lol.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ChangeToTower:
Wow, thank you so much. Erasing userdata did the trick.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] forever_lol:
I don't mean to be impolite but this is not bootloader unlock thread. There are already few topics in q&a section where ypu can find the answer. Just do some search.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ChangeToTower:
..tried now several times to get your LOS16 working on my device, but unfortunately not successfully. Flashing works flawlessly, but I noticed that it takes quite a long time even to get from the initial bootscreen (your device is booting now..) to the bootanimation of LOS. After that, it seems to stuck at the bootanimation. Tried all three versions available, none seemed to work. Any idea? Went to EMUI 9 for now, looking forward to switch to your ROM soon. Thank you anyways for your work, appreciated!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] LuK1337:
Wipe data in stock recovery after flashing it.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ChangeToTower:
I did - I flashed stock recovery right after flashing LOS and GApps, did a factory reset (even wiped cache from stock recovery) and rebooted.. And then as described..
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] starbase64:
[MENTION=5075128]LuK1337[/MENTION]

How can i update this rom? flash over (sideload) a new rom zip ends in bootloop.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] LuK1337:
Well, that's what I do.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] starbase64:
i have flashed kirin camera zip with sideload, but no camera installed.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] LuK1337:
Who would have thought that some old ass script wouldn't know how to handle system-as-root lol.

( protip: you can modify it yourself; /system -> /system/system )
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ChangeToTower:
Any advice on that? Is it possible that it's normal that first boot takes maybe 20 minutes? Thanks.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kaiowas82:
they were encrypted before.... sideload gapps and magisk the same way you done for the rom, follow the guide on how to patch and flash ramdisk, factory reset i erecovery... done!

ps. the phone is useless only if u don't know what you're doing ;)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Nawafhuw:
Instructions :

Download the latest build and gapps

Reboot to recovery

Flash the latest build and gapps

Reboot

I followed those instruction and you give me new things

who should I follow ?

I flash rom but gpps and root not pass via adb

I'm not new

I root so many phones

but this dump Huawei make it hard
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RazOne:
Sideload rom and gapps

Reboot to bootloader

Flash stock recovery

Reboot to recovery

Wipe data , fache

Reboot

Enjoy your rom
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Nawafhuw:
updater process end with error: 7
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RazOne:
What version are You on? B195? You need to modify the updater script and delete those 2 lines . Just search the thread.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Nawafhuw:
i rolle back to stock rom , all custom rom for this phone very bad

my phone CLT-L29
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] nortish:
What do you think is bad with this rom?

Skickat från min CLT-L29 via Tapatalk
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] cimbom:
are you do possible added fm radio on this rom
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] nortish:
Seems not even the shady people on eBay can unlock the bootloader anymore. ****ing bull****. Bye bye Huawei, not gonna by anymore of your stuff.

Skickat från min CLT-L29 via Tapatalk
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Nawafhuw:
installation and coding

developer need to make custom ROM with gpps and root instead of install it one by one to avoid problems

and make custom rom without gpps and root for user who won't root and gpps

this will help a lot

like what a doing with windows

I made custom windows without driver and other stuff to made windows faster

and I made other version with all driver and software installed with windows installation
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] nortish:
Ok so it's not the actually ROM you don't like. It's the installation process. Big difference.

Skickat från min CLT-L29 via Tapatalk
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] oOHiggsOo:
And if I update LOS do I have to install TWRP again, then the update and then again stock recovery?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RazOne:
Unfortunately , yes.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] oOHiggsOo:
I unpacked the LOS file and removed the 2 lines, then packed the LOS folder again. Now I want to install the zip file, but I get the error "invalid zip file format"

I have tested it with WinZip, WinRar and 7zip.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] marcushesketh1991:
What's the battery life like on this compared to the stock emui?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Manuele83:
Battery life is almost the same. Probably little better. But the rom is amazing. I will never go back to stock.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Saison2018:
Sorry if it was already asked but could someone confirm if Google pay is worki g on this rom?

Thanks
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] marcushesketh1991:
Does this have the same camera as stock or the Google camera?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] oOHiggsOo:
How you do you install it, i have the fw .236
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] fuckie:
What about stock gcam? Does it work natively?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] marcushesketh1991:
How easy is this to update?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RazOne:
You already have stock Huawei camera
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] fuckie:
I asked precisely about stock gcam
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] oOHiggsOo:
Can one explain how I have to edit file? I unzipped the LOS zip file, deleted the 2 lines in the updater file and then zipped everything again. TWRP brings me but the error 'invalid Zip file'

I'm on FW .270 and official TWRP 3.3.0.2
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Saison2018:
Nobody is using Google Pay with this rom?

Thanks
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] otonieru:
you can't extract the whole thing, edit, and then re-zip it, the zip wont work since it's unsigned

use 7zip,

extract only files that need to be edited, and put it back after you finish editting it. (by drag and drop)

other way is to re-sign the zip, but thats more troublesome
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RazOne:
Probably it works. Worth a try
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Giraff3:
GCam does not work fully, you'll still face the problems stock EMUI has with it (No HDR+, No nightsight etc.) RAW capture doesn't seem to be working at the moment either in the stock Huawei camera which has been brought up before.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] djlukas1983:
How does the calling using a loud speaker work on this ROM? Does the other person hear you clear? What is a battery life compared to EMUI? Is it possible to use an optical zoom camera lens when I use EMUI camera on Los16?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RazOne:
Loudspeaker calling is working as intended. Battery life is perfect ( for me ) and you have all functionality of stock camera on lineage too.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] djlukas1983:
Thanks for you answer. Is the 9.0.0.159 firmware still required? Or can I flash it on top of 9.0.0.283?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RazOne:
You can flash on top of any version b195+ but you should remove those 2 lines of script.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] djlukas1983:
Do I have to do it in every update and is it possible to update LOS build using an OTA without a computer?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] josdehaes:
Yes and no.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] damige85:
I have updated to lineage 16 from the latest stock release. To get this working i had to comment out the lines as mentioned before.

From my understanding this is causing the lineage kernel to not be applied? Correct?

I'm assuming this is a temporary thing until LineageOS becomes compatible with the latest huawei firmware.

If this is permanent we would need to figure out a downgrade so to be in line with the lineage kernels. Is there already a guide for this? I could not find a link to the 9.0.0.159 firmware.

If this is temporary how would i know when its safe to run the OTA? Only here on XDA?

edit: After some more research:

i found some 159 firmware (but am not allowed to post it, thanks xda) . But also funkyhuawei provides a downgrade service (looks like spoofing dns of the erecovery, i could try this myself, if ssl certificates are not checked)

I'm assuming now that because the latest kernel has not been open-sourced by huawei we will have to wait for this to happen? Or would it be possible to flash something(what would this be?) back to 9.0.0.159 level, so that the old kernel works again.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] GER-VooDoo:
Hello, I'm pretty new to the P20 AOSP stuff and could need a helping hand to install Lineage (at the moment I'm on CLT-L29 9.0.0.270, bootloader is unlocked):

- Does the current TWRP (3.3.0-2-charlotte) work?

- Should I downgrade to an earlier firmware (if yes is there any good tutorial for 9.0.0) or remove the two lines in the updater script as described in one of the earlier posts?

Thx in advance
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] damige85:
Hi VooDoo, from my experiance:

TWRP 3.3.0-2-charlotte works fine.

I have the downgrade question also.

If you want to remove the lines, keep in mind its two things: 'boot.img' (one line) and 'slot_suffix'(could be two line depending on editor)

If you forget the boot.img it will drop into fastboot every time.

As stated before these edits are not supported by lineage and you will need to perform these on every update (for now)

In any case, for me its running great. Only things i miss are the front firing speaker, and a good camara app. (Trying, gcam atm, but this one is not 100% stable)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] damige85:
So, There is a first time for everything. I made my own flashable zip that does the required modifications(it removes any lines containing: "boot.img" and "ro.boot.slot_suffix" so that lineage 16 can be flashed if coming from an unsupported huawei version)

I have tested this myself and it works. This should save me a lot of time when installing updates.

Its probably not pretty, but it works for me. Any tips are appreciated.

Guide to upgrade from Lineage16 to newer lineage16:

#1) Make a directory called : /sdcard/lineagepatch

#2) Put in this directory !ONE! lineage-16*.zip file for example: lineage-16.0-20190522-nightly-charlotte-signed.zip

#3) Put in this directory my zip: p20la16fix.zip

Download here:

we.tl/t-zL5h1I43SY <- still not allowed to post links :crying:

#4) Run my zip: it will create the file lineage-patched.zip.

#5) Install lineage-patched.zip

#6*) If you had installed other zips like: "Mind the Gapps" and "addonsu" install these zips aswell

#7) Clear cache/dalvik cache

*** make sure to only have one lineage zip file in the directory, as i have not accounted for multiple!!, i wont take responsibility for any damage ***

Edit: I also noticed that i had to reinstall Gmail, Youtube, Keep, Maps, from the appstore anyway(app instantly crashes) <-- seems like this is because of the "Mind the Gapps" reinstall, is this always the case with an OTA install?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] GER-VooDoo:
I got it to work but my phone says it only has 16Gb of total sorage, any solutions or tips?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] damige85:
Did you follow this guide?

https://wiki.lineageos.org/devices/charlotte/install

(Except ofcourse the edits you need to do if coming from newer huawei firmware)

For me this worked, 128gb seen.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] GER-VooDoo:
I did the following:

- install TWRP with fastboot

- boot to TWRP

- Format data (then my TWRP got to an endless loop, "Formatting Data.... Done" and i rebooted after a view minutes)

- installed Lineage, SU and Gapps via Sideload

Had some trouble booting but after a view wipes it worked :eek:

*edit: In TWRP i get the data partition with 111 GB listed. I'll try to install Lineage again

*edit again: That did it :) thx
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] KennyDumah:
When I install the official TWRP and format data it stucks on "done" and if I reboot nothing happens and its hanging on the bootscreen.

It's also not able to boot into erecovery or TWRP anymore.

I need to manually flash system, cust, cache, recovery_ramdisk to make my phone work again and be able to do something.

Could somebody provide a tip for me? I'm on .283. Could this be an issue for TWRP?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] djlukas1983:
Don't wipe using TWRP. After installing a ROM, Gapps and SU Package install the No check recovery, reboot to this recovery and make wipe in it.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] damige85:
I can confirm the hang on "done" when doing a format. It tries to format data with f2fs.

Fyi: I did a format to ext4, and this seemed to work almost instantly.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] djlukas1983:
Where can I find an EMUI Camera working in LOS16?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] damige85:
I use "HwCamera2_addon_P.zip", works fine but no AI(i didnt use it anyway)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] djlukas1983:
Thanks, it works great. I tried Huawei camera from apkmirror, it worked but only partly. I could shut a photo but in pro and auto mouse picture hadn't been saved. Other modes seemed to work well. Now it's alright. Thanks mate.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] KennyDumah:
How could I get quickswitch on a different launcher ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] abyssq:
Have you tried the QuickSwitch magisk module?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] KennyDumah:
Gave me a bootloop
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] djlukas1983:
Is there a way I can get more battery efficient on LOS 16? Battery dropped 23% over night, on EMUI I'd got 6% drop in the same time, with the same apps.

I have an battery battery saving turned on. What can I do more?

I found out my CPU does not get a deep sleep mode. I came from 9.0.0.283 firmware.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] damige85:
I just checked mine and noticed i was getting a low amount of deep sleep(7% over 10h) good call! Originally i suspected it had to do with the kernel mismatch, but i seem to have fixed it regardless.

In my case it was a caldav app partial wakelocking.

Diagnosed it with "Betterbatterystats" and fixed it with "Greenify" (other apps might be able to do the same, i dont know about those)

EMUI has quite a strict policy on blocking background apps, and probably was doing it for me on the original firmware, hence deep sleep was not an issue till now.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] djlukas1983:
Greenify helped. Now my battery dropped 4% over the night, and deep sleep is 84% amount of time. Thank mate for the hint.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Cronio:
Does this ROM work with a normal P20 (not pro), model no EML-L09? Cheers
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] michalhejl:
Could I have a question please: Is it possible to update from one Android version into the next while using a Custom ROM without needing to flash the entire ROM and reinstall all apps and settings? In other words now that Huawei won't get new Android versions from Google/Huawei, is it possible to buy a new phone, flash e.g. LineageOS 16 right at the start and have it update to LineageOS 17 automatically or semi-automatically without needing to reinstall apps and settings? Thanks.