yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] BroodjeAap:
Hi, I flashed this rom this morning, and everything seems to be working except for the camera.

For the complete picture, I had the LineageOS rom before this (camera also didn't work), I wiped data and cache with stock recovery, switched to fastboot to flash TWRP, pushed and flashed the rom + gapps.

I then booted into the rom and let android restore my backup.

For a quick camera test I installed the Open Camera app, but that said it "failed to open camera, camera may be in use by other app".

After that I waited for the backup restore to complete and flashed the Huawei camera app, hoping that would add some necessary libraries/dependencies in the background, but it just crashes immediately (and the Open Camera still doesn't work).

Have I missed a step somewhere?

If not, here are the logcat (-b all) outputs for when the camera apps start:

Open Camera

Huawei camera

Not entirely sure these are useful, but here they are :D
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
Ok I will have a look at your logs later.

Keep in mind this.

I DONT KNOW IT FOR SURE, it's just something that it happened before at LG devices.

The hardware used to be slightly different and only LG had the solution and only stock LG rom worked.

Some devices had a different and maybe a cheaper camera part. It's something that depends on the factory that created the devices.

I hope it's not the same case here , because it's another thing to buy a g4 with 200 euro and have a cheap part inside and a totally different thing to buy a 700 euro device and have a cheap part inside.

When I will look at the logs I will know.

If that's the case, there is nothing you can do.

You can't just give your phone back to Huawei because you saw at a logcat that a custom rom doesn't work. They don't care about it.

EDIT: [MENTION=2420935]BroodjeAap[/MENTION]

open camera reports: unknown camera id

and stock huawei app reports error: E AndroidRuntime: at com.huawei.camera2.utils.GlobalCameraManager.getDefaultCameraId(GlobalCameraManager.java:226) which also an error to get the default camera id.

Something is wrong there. You either flashed wrong kernel, either there is a difference at your hardware; a different camera part
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] metuskale:
I need a clarification about install process. I have just upgraded to Stock Pie ROM so I can flash the ROM. I got TWRP installed, downloaded files.

Can I just wipe data / cache from TWRP?

After installing and rebooting the step says: "our kernel is still not booting, when your p20 pro reboot to bootloader on it's own, flash the stock PIE KERNEL.img to kernel partition." Where do I get the pie kernel img?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] BroodjeAap:
I skipped flashing the stock Pie kernel because of this comment, did I misinterpret that?

If the current kernel I'm using can give you some more information, where can I find that info (I thought it was in "About Phone")
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] metuskale:
I tried to flash this rom but I got a bootloop. I was on clean non rooted 9.0 official rom. I followed steps but wont boot. Any idea?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MikeYT22:
If you still have the rom flashed do the next things:

1. Flash stock Kernel

2. Flash stock recovery

3. Do a factory reset in recovery and then clean cache

then it should boot
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] metuskale:
Thanks for answers.

Where can I get 1 and 2?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MikeYT22:
Find the lates update.zip for p20 pro emui 9

---------- Post added at 08:37 PM ---------- Previous post was at 08:14 PM ----------

You can contact me on discord Mike Jackson #0858
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
none. nowhere.

about kernel normally shows only what the developer want to show to people.

In that post i said i have a working kernel, i didn't say that you all have a working kernel.

I said that i can upstream it , not that i already did.

Also if i had a kernel working perfectly, everyone would already know it , i wouldn't keep it hidden.

You need your stock kernel there, from pie

Actually yes. In about 4 hours you will have an update where Chris fixed the Google app on launcher to allow it to theme itself black when we choose black.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MikeYT22:
any new updates coming?Really love this rom, im using it as a daily driver :)

---------- Post added at 07:16 AM ---------- Previous post was at 06:38 AM ----------

Sweet cant wait :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] lalexi:
Hi kessras, great rom, thanks for your work!

Anyone got the IR blaster working? It seems to work on LOS16 (https://xdaforums.com/huawei-p20-pro/development/rom-lineageos-16-0-t3878455/post78735141#post78735141), but both mentioned apps do not work with my equipment on this rom.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] BroodjeAap:
Ah my bad, I'll flash the stock kernel tonight, thanks for the help/patience :good:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
Apps and logcat. Don't make me click links and read threads and then with some dark badass magic fix it.

Don't say thank you. Click thanks button inside xda when you want to thank somebody.

To say thank you doesn't add in stats.

If all said thank you , I'd look at my profile here as if I've done nothing at all.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] samunoalejo96:
Working on p20 EML-L09?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] lalexi:
Hi kessaras, that question was not for you, I was just asking if IR blaster works for other users, as I'm not sure if it is my equipment or the rom. I will send you a logcat.

At the moment I have the problem that I can't get titanium backup to work with magik and the rom. I know this should not go here, but I had it working yesterday but after a fresh install I can't get it to work. It simply does not ask for root access, but all other root apps do work. Strange.

Also Safety net basic integrety fails after a fresh install (without magisk installed), and I think that worked yesterday. I'll investigate further.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] BroodjeAap:
I flashed the kernel of 195, but that wouldn't boot, it just boots to fastboot.

I then tried 163 and that booted again, but still no camera :(

Is there something else that could be the problem, or is it pretty much guaranteed to be the same problem as with the LG G4 you talked about? :(
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
I don't know , I'm not Huawei , I can't say for sure.

What I know is that you need .195 because that's the one I used when I made the rom.

I worked while I was on .195. it is totally unknown to me if .163 works as good.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] BroodjeAap:
I now only flashed the 195 kernel, could a complete data/cache wipe, rom + kernel (195) + gapps flash change something?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
I don't know.

There is no way for me to know if Huawei updated something in the bootloader stack or in ramdisk in .195 so there is no way for me to know if it actually changes anything that you flashed only kernel.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
IR Blaster for me works without issue, I tried many IR Remote apps and they all worked, they only things on this ROM that doesn't work, at least for me is Dual Speaker and USB-C type audio. NFC works too.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
And sadly I don't have such equipment. If I can rent one from my workplace then I will try fix it
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] BroodjeAap:
So an (maybe unnecessary) update, I decided to go back to stock, because a phone (especially this one) without a camera is annoying.

I used these steps to go back to stock, but 195 wouldn't boot, so I tried 163 and that worked.

Because of that I already expected the camera to still not work and after getting through the setup process it was confirmed.

So the problem must be with one of the other partitions that I didn't flash, not wanting to manually go through each one myself, is used this method to just flash all of it back to stock.

And this worked, I'm on 195 with a working camera.

Posting this hoping it might help someone else with similar problems.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
Oh man....So that's why.

And now you can wipe data, flash twrp and flash aoscp.

Never update half firmware again.

If you do that again and if Huawei happened to update a partition of the bootloader stack , that changes the bytes sequence, then you will hard brick and send it to Huawei , without warranty ofc and pay to fix it and also wait one month until you get it back.

Consider yourself lucky.

EDIT:

To explain a little bit.

Bootloader has partitions.

We consider "bootloader stack" all these partitions that are related to bootloader.

Those partitions are linked to each other and boot in a sequence at a very early boot state where we don't have access normally, unless the manufacturer shares their tools.

Now, if you download the firmware, extract it and use fastboot flash to manually flash whatever partitions meet your eye balls, there are chances that you change the bytes sequence and kiss your smartphone good bye.

Unless the manufacturer has shared a tool , there is no way to fix it then.

(Or if someone hasn't come up with some crazy code and made his own personal app)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MikeYT22:
Any new updates coming out regarding Always on display? It drains battery alot. I get less than half a day with it turned on and abit less than full day with it on. On stock EMUI its wery small difrence.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] BroodjeAap:
Was planning on sticking to stock for a while, but EMUI kept killing Nova launcher in favor of its own, so grabbed your latest version and flashed that, everything is working now, expecting it to be my daily driver for a long time :D
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
I noticed that too the past 3 days.

The always on display is in our framework , not in device. Even if I find what's draining the battery , I may not be allowed to remove it or change it. It depends on our lead dev.

We will see.

I'll start logging it one of these next days and I will see what I can do.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MikeYT22:
Sounds good hope we can get it fixed. :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
soon. i ordered some type C equipment at my workplace. We will sell them there so its ok.

in a few days ill be able to debug the audio there. until then you can use a cheap jack to type C adapter ;)

as promised.

https://gerrit.cypheros.co/#/c/Cyph.../base/packages/SystemUI/res/values/config.xml

It's already there.

Changelog in the op ? Yeah I do.

Now what should I add ? I didn't fix anything. I only customised.

If you want to track down every little detail, see GitHub Charlotte and kirin970. Click commits.

About OTA I'm really sorry, but it exists only in the official, but Chris doesn't build it occasionally.

He only builds once or twice usually.

I don't really know why ^^
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MikeYT22:
Sweet :) This coming in the next update?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] bstiti:
Do u not Update the Changelog List? Do we get OTA Update?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Thanks for these quick updates. I'll be sure to hit that thanks button.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] josdehaes:
USB C adapters (analog) have always worked on all ROMs. This is using the internal DAC of the p20. Digital USB C devices (like the earbuds delivered with the phone) have not. These work in lineage OS 16 though.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] bstiti:
Oh okay, did not know that, i thought if there is a new Version, there must be a new Changelog, cause ''Something Changed''

Well that's okay..

Thanks for your work, we appericate that a lot. Have a nice day! :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] reeved:
Hey, I'm looking to try out this ROM. Where can I find the stock Pie kernel? Thanks!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Am i the only one that never flashes a kernel when installing this ROM?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
You must extract it with emui extractor or use dd command inside adb shell to backup your kernel partition to .img.

Why do you need kernel ?

Before flashing for first time a custom rom simply flash emui latest .195

It doesn't flash kernel. Partition where it flashes is dev/null.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] reeved:
I was asking because of this step in the installation instructions:

Also, will .163 work? I've heard that .195 has issues. Or is it fine now? I'm currently on .163.

Thanks!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Hi All!

I'd like a request. Updating the phone.apk, messanger.apk and the deskclock.apk with the most recent provided by google.

Phone

Messanger

Clock

If not no biggy, the style just looks right with your ROM's interface, especially when you put the apps in dark mode.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
[MENTION=5461026]kessaras[/MENTION]

I appreciate that you're sticking with cypher ROMs structure (totally get that ;) ) but have you thought about adding an addins section ?

Similar to the likes of AOSIP, or even a flashable addin pack with a bunch of options.

IE: CRT off animation, theming, status bar mods, list view animation etc

Used to be stand alone versions of these but they don't exist no more, also not sure how pie plays with everything, but seeing as this is probably the best ROM on the p20 pro (almost the only one :D )

Thought I'd ask.

PS ROM looks decent btw
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Just installed xposed to see what could be added, lol it's horrible. Breaks safety net, mods are years old, most in Chinese.

Uninstalling that crap lol.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
I don't have time to reverse-engineer the Google apps. Blame Google for not updating the open source apps.

The apps there are closed and only Google has the code for them right now.

No add-on section. I don't like it. I used to hate it in N too.

Each feature will be inside the setting section related to it.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Nah I mean like an additional zip pal.. not built into the ROM.

How can you like less options?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
because less = less errors , less loops , less batery drain, stable.

otherwise i'd build RR or AICP for example.

AOSCP is closer to not having anything + what we more need.

One of these days we will most likely get a EMUI update. Don't hurry and flash it.

It will have security patches and bug fixes for EMUI. Those on custom rom they don't need that at all.

If the update will contain any bootloader security patches i will create a TWRP flashable .zip for all of us to update easy without having to go back to EMUI and then back to custom.

*I will keep that up until i trash or sell my p20 pro, so thats at least 2 years. So forget EMUI for those 2 years and keep a closer look to the posts below OP. That's where i will be sharing the firmware update.

**And if TWRP is useless to update the firmware because it won't "see" all partitions, i will simply share a update through bootloader.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] lululala:
Did you have a EMUI9 P20 Pro camera flashable zip ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Angelgmr:
Dual speakers works?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
The flashable zip is on the first post. I use it cause it utilizes all three cameras.

P20 Pro Camera link (Here)

---------- Post added at 08:24 AM ---------- Previous post was at 08:23 AM ----------

Dual Speakers and USB-C type headphones are the only thing currently not working on this ROM. I believe the developer is looking into both.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] mdda7:
i use this rom in my oneplus

this is great

but now i cant flash it because OEM locked

any method to fix it ?

ps : bootloader unlock
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Sound, I'll stick with AOSIP. Only thing that doesn't work compared to this is NFC which I don't use so all good.

Maybe someone will port AOSIP one day.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] aoryx:
Finally got Magisk with passing SafteyNet to work (passing both basicIntegrity/ctsProfile)

Also was able to configure offscreen fingerprint navigation gesture exactly like stocks

Will test and report bugs -if any-

Method:

Flash latest canary Magisk zip with the ROM and Gaps, from twrp. (after this you should have a functional magisk , passing basicIntegrity only)

optional step install Magisik Props Config/ busybox (0smosis) modules to spoof fingerprint and pass ctsProfile.

cheers!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Brilliant. nice work!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Horayken:
Hello, sorry for my question but. Can I use Viper4android on this rom? is using 32 or 64 bit audio driver?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MrDanMak:
Finally switched from stock to this ROM and I couldn't be happier. I can get past the dual speaker issue but my problem now lies with Google Pay.

I pass safetynet on the latest canary build, but unfortunately Google Pay still won't let me add my cards.

Anyone else having this issue?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Same here,
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Use Jame's DSP. Link in themes and apps
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MrDanMak:
I think it might be related to a Google Play Services update. Maybe the next version of Magisk Canary will solve it.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] aoryx:
Have you tried to hide magisk from Google apps, and hide magisk using the decoy app name

Only use Google pay for store cards, but this method works for my banking apps.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MrDanMak:
Yeah I tried but no luck. I guess I'll wait for a Magisk update, or maybe try a different fingerprint.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kizilcali81:
I'm on stock with magisk passing safetynet but google pay doesn't work since two days. It worked perfectly before for storing and paying but now I always get the error, that I can't pay with google pay on this phone anymore. I didn't change anything. So I agree with you, that the problem is not rom related. Hopefully someone fixes this. :(
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] logmms:
How did you manage to install Magisk?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MrDanMak:
Does anyone have a list of working Magisk modules for this ROM? I did try using James DSP but it completely broke Magisk and I had to reinstall. I doubt something like Pix3lfy would work for example.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kizilcali81:
This ROM is really awesome. The only problem i have is i can't change the homescreen weather widget to celsius. Do you know how to do that? I already set to celsius in the weather, google and assistant app but it's still fahrenheit.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] aoryx:
@kessaras

If i may request a feature please,

Would you be able to add support for extended length to nfc with configurable maximal length

https://review.lineageos.org/c/Line.../com/android/nfc/dhimpl/NativeNfcManager.java

Thanks
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
If it's the pixel launcher, click the weather widget then on the 3 bar option icon on the next screen you'll see C and F, change from F to C and you should be ok.

If not, change it to F and kill the launcher then re-open it, then change it again back to C, if it still doesn't change, kill the app one last time , then reopen and you should be good.

---------- Post added at 11:44 PM ---------- Previous post was at 11:42 PM ----------

Isn't there a magisk module for that?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kizilcali81:
It's the preinstalled luna launcher. I have tried what you have said but there is no change :(

The setting was already C. Then I changed to F, killed the App, changed the setting back again to C and killed the app but still no difference
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] aoryx:
Not that I know of, Can you please send the link!

all I could find is an Xposed module, not compatible with Tai Chi·Magisk

Cheers
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Not sure which one it is, it comes with AOSIP on the Honor view 10.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ChangeToTower:
Not working with Magisk. Stuck at boot. Same with Viper.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Depends on the version you use. I was using it recently on AOSIP 8.1 haven't tried pie myself, don't see the point

The one I used is this

https://xdaforums.com/huawei-p20-pro/how-to/jamesdsp-audio-mod-p20pro-t3849944
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Brunori93:
Where to get PIE KERNEL.img?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RazOne:
Guide to install

Hello! Can someone point me to a guide to install this ROM . I am on latest PIE Stock rom .203 . I just received my code today.

And if any bugs can you tell me ?

Thank you very much!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] icethatpuk:
Is it possible to restore a huawei backup on this rom?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] nikifeto:
Hi! I have Beats headphones do they're gonna work with usb c adapter(dongle) on this rom?

Thanks
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Potentially yes, least they could on Oreo and honor 10
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RazOne:
Hello! I have 9.0.0.203 firmware. You will update this version to match with it? Thank you
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dragonik81:
[MENTION=5461026]kessaras[/MENTION] Can You rollout security updates Apr-19?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] gvflavio:
unlock the bootloader, download TWRP official version (do not use the modified versions available), downgrade to version 9.0.0.195 (I am using the European version, although my device is the Latin American version)

When you have version 195 installed, follow the instructions in the first post, I believe it will work.

---------- Post added at 12:23 PM ---------- Previous post was at 12:19 PM ----------

It works in Celsius. Go into security options, then lock screen preference.

---------- Post added at 12:25 PM ---------- Previous post was at 12:23 PM ----------

Flash Magisk Canary in TWRP, then, install Magisk manager apk. Restart. Work for me.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] gvflavio:
Google Pay

Google Pay working fine, tested today.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
v240 , its just security patch update. We dont need it. Also i can't find a full OTA to unpack it and make an flashable update of the bootloader.

About v203 mate i got no idea. My variant CLT L29 had v195 and now v240.

Those others LGRP2 are unknown to me
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RazOne:
Ok so you will update it to match 240?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
Read more carefully ...

Is there a full ota anywhere ? I can't update using a partial ota that only contains a stupid dirty flash of a security patch. I need a full firmware that contains all partitions with everything inside.