yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] hecz0r:
I'm here to report a couple of bugs -

1) The status bar scales with DPI, i.e. it gets smaller than the notch when the DPI is higher. Dunno if it's intended, Luk said it was a bug on his Lineage Rom. His fix for his Lineage 16 was to use this init.kirin970.rc: https://pastebin.com/q72piYML. Maybe you can look into this and include it in your next build?

2) The fingerprint navigation is buggy, as the customisation options in the settings don't apply and sometimes it causes SystemUI to crash. It's also coded unintuitively and not as it was in Huawei Roms/8.1 Lineage, as on tap it used to go back, not home. I'd wish to make it work nicer and customizable, or using the old gestures.

3) I cannot find in settings the Status bar customization, nor the notification settings, nor the screenshot and powermenu customizations that you stated there were in the OP. Substratum OMS doesn't seem to work for me, as it claims it needs root. Is addonsu16 supported?

Otherwise, the last build works just fine and boots just fine! Everybody should give it a try, good job.

Thank you and Luk again for the nice work you put for this device! If there is anything I can do to help, test, debug or whatever i'm more than happy to do so.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Loool noooo CRT is awesome, could never change my mind on that. :D

Good luck with twrp mate. You'd be a hero if you got that working.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
we have the same init.kirin.970.rc because i didn't develop this from scratch. i got Luk's stuff and kept doing what i do.

statusbar getting smaller when we increase the dpi is normal. it happens to all custom and stock roms. also navbar gets smaller. everything gets smaller when we increase dpi.

The frp navigation yes we know it still has bugs , Chris is working on it so i don't do anything there. he will fix it soon.

In settings we don't have statusbar customisations yet, thats why they are not there :D but they will be there.

The OP i wrote it only once and im not going to change it every day or month. Whatever the OP sais, it is or it will be there.

Just enjoy the aosp experience and everything will get fixed eventually with the updates. :good:

correction to what i said. it looks like i successfully upstreamed to 101 until now and also successfully merged the code for the other devices.

https://github.com/Suicide-Squirrel/android_kernel_huawei_charlotte/commits/master

If that goes well until v.153 then i will push this source as our default source
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] hecz0r:
I'd say the notch thing is a bug though, because when the phone is tilted to the right and is playing fullscreen youtube, the volume bar is shown at the margin of the screen, so it's under the notch.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] rajit:
Can you share your localmanifest?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
Ok will take a look and fix it during this or the next week. I want to finish kernel first and it will take days.

Yeah , sync to official and brunch charlotte and it will be there automatically. If you can't sync at the whole rom wait until I'm back from work
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] JunpeiManaka:
Wow. It looks like a nice rom so far (haven't installed it yet)

One very important thing to me: do DRM protected streaming services work? (Talking about Netflix or Amazon Prime Video)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Magisk hide should do the job.

Least that's my experience in the past on custom ROM's
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] JunpeiManaka:
I can get them to install, but ive always had issues with the 5.8 Error in Netflix (Im running LOS 16 atm)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] hecz0r:
Notch is fixed.. kinda in this latest build. The text doesnt scale, the volume bar is problem is there as well.

There is also some screen tearing issues on video playback and dropdown menus which i can't screenshot but would provide photos if needed.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
I can't calculate the exact notch position.

Unless I had the dimensions from Huawei. I'm bored to build test build test for hours until I get this exactly.

Even 1px or 1dp makes a difference.

If anyone knows the exact dimensions of our notch (px or dp not intch or cm) be my guest to tell me
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] hecz0r:
The statusbar dimensions are correct, the font isnt
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] shirruy:
This rom looks promising, cant wait for stupid Huawei to change their mind and reactivate again their bootloader service :eek:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
Would be nice , but it won't happen.

Look how sad this thanks meter is. Only 11 people are here using Cypher OS and more 10 or 15 at Lineage OS.

I can't even get in the mood to do more here.... i only do things that make me happy at least.

Should i comment about TWRP ?

Not even one person sent a recovery.log, or asked for a debug build from the dev.

Me, or any dev can't get in the mood to make things perfect when there is nobody here helping.

Imagine how sad that is. I've had many phones in the past, but i've never seen a TWRP thread this empty.

If people do not start to support us , i don't see any magic happening.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] josdehaes:
I guess noone knew they *could* ask for a debug build. I think there are people who want to help. I have twin babies so don't have time, and my phone needs to work...
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] shirruy:
Dont lose hope my men, if I see any bootloader services in the net and works will definitely will try your rom, cuz i've check your previous works and they are amazing!!! So cheer up and let those amazing codes flow into you :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] argh9:
I can prolly help out with some testing in a few days when I have the time, feel free to pm me what kind of logs etc you want.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] raffabraz:
I can help too if you can port our camera from last builds. Just guide me where I can do it. That's the only reason I don't use custom roms for this device. I don't mind bugs. But I bought this device because of the camera.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
telegram for guidance. the thread is for debugging and posting errors.

I will only tell you how to find what you need.

you download the already ported camera, since someone already did that.

You unzip the content of the zip and you look inside what you need.

Then you download the UPDATE.APP of pie. you extract system , you mount it and extract the exact same files.

You push them in the same zip along with the new app and voila. you have the pie camera ported.

You flash it and log when you open it. The log will tell you if you need more libs (dependencies).

if you want to ask more find me in tg in cypher os community @ pavlaras without gap.

EDIT:

some time ago i ported op3t camera to g4 by adding the libs in proprietary and building with them.

I can't promise that it will work, but i could give it a try some time in the near future to add all dependencies of the huawei camera in our proprietary and see how it goes.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] JunpeiManaka:
So I've installed the ROM and thus; here are my findings so far:

First off, I'll start with the things i liked:

-Performance and visuals are beautiful. props for that!

-Battery seems to be decent too

-all device features i tested so far seem to work as intended

-proper deactivation of fingerprint gestures when using navbar (something i have been hoping for)

Now on to the issues I'm facing at the moment:

-Netflix completly kills the phone when starting a stream (phone forcibly shuts down)

--Ive also tried disabling liboencrypto with magisk, but the problem persists

- the Statusbar does not like F-Stop constantly changing from fullscreen to non-fullscreen, thus causing visual glitches (the statusbar area just 'takes a screenshot of what it should look like in one particular moment and just sticks with it)

-I've observed the statusbar thing also happen in other fullscreen apps. Will provide screenshots, if wished for (atm I dont have my phone on me)

Ill also happily help and provide logs, beta testing and any other help. Feel free to PM me.

Kira <3
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
FRP navigation fixed.

One bug remain there; After reboot we just have to disable-enable the frp navigation and it will work fine again.

I was working on the battery styles and i forgot to revert before i share the build, but ok.

You will just have no battery icon, or Circle battery icon. In this build only, the default portrait/landscape battery icon is broken.

It's already uploading.

Whats difficult ?

You adb push in the temporary directory because whatever you push in there, it gets deleted on reboot, so you skip the step to remove junk.

if you can't adb push inside the temporary directory, use gui.

Plug in your device after you boot to TWRP and copy paste the rom and gapps inside.

Hit install in TWRP and install them.

Sorry but it's up to people to "pressure" the TWRP maintainer to fix TWRP.

It's also up to people to practically ask for a debug TWRP build and help him fix it.

Also i don't see people hitting any thanks button.

If people don't care then the whoever dev is, doesn't care too since he can personally use the phone in whatever way he likes. No need for him to do "extra" work.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Raku22:
Hi I like your roms

but it's a little bit difficult to install
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
This is the one I usually go with. This is on 100%

At 99% show numbers.

PS: dark is just so much better looking too :svetius:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
gralloc issue.

E Gralloc2: buffer descriptor contains invalid usage bits 0x4000000

i fixed that now but it gave me a 0x4002000 error then.

if i dont fix it now i will fix it during this next week. im not staying home all weekend even if it was God will :D

EDIT:

This now:

W MapperHal: buffer descriptor with invalid usage bits 0x4002000
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ectoplasma22:
Do you think porting this ROM to regular P20 would be complicated? Or maybe could I even try this version
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Hi, Thank you for this Rom testing now, so far it awesome, will continue to test and report back.

Device: CLT-L04

Android 9, was on EMUI 9

Installed through OTG method

---------- Post added at 05:08 PM ---------- Previous post was at 04:47 PM ----------

Root works great as well. Again thanks.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Have you tried to install it anyway ? There is a chance I think it'll boot.

I'm running an Honor View 10 ROM now on a p20 pro, same bugs as other ROMs, NFC and Stereo.

Flash instructions would be the same, obviously no liability on the dev.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Laoguang:
OMG, you guys are amazing!!! Happy to see so many people are working on this device!!:D:D:D
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] josdehaes:
Lineage os 16 for p20 Pro has working NFC.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dragonik81:
Kessaras & LuK1337 they do a great job!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Yep I am fully aware, bare in mind that the AOICP ROM I am using is Oreo.

It's the best ROM (even with its faults) I've used on this phone period, which is why I'm hesitant to switch.

If I were to then it'd probably be to this one.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Anyone else have a glitchy alarm clock?

---------- Post added at 10:31 AM ---------- Previous post was at 10:24 AM ----------

I was able to get the P20 Pro camera on it, except if RAW is enabled it freezes.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dragonik81:
I have when i use simplegapps, now i flash open gapps full, and no issue.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Great! thank you. that might fix my rooting issue as well.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MikeYT22:
Did you try rooting yet? Thinking bout reinstaling with opengapps
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
Vedrick if you need any help to debug the app share a zip of what you have done so far and I will check it.

If I make it work without bugs I will add it as prebuilt in our rom.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
The one that flashed without issue can be found at this link (LINK) I installed the P Version
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
Sharing with you the February security patch. Also fixed the battery styles.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ChangeToTower:
Is there any chance to get the Oreo version of this port working on Pie AOSCP? If yes, I might change from AOSiP to this one..
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Me thinks this LINK
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ChangeToTower:
Thanks. Anyone on AOSCP willing to test and report?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
Already did. I don't see any difference.

The app works fine. But I don't understand what's different and why all this for just an app.

For me all apps are the same.

What I want is quality. And since blobs and Hals are the same with the stock , the quality is the same.

So I'll keep using my favorite app from playstore.

Edit:

The quality depends on the Hal and since we use prebuilt; they are already there in our vendor,

our quality is the same with stock.

The apps are just interfaces and modules.

If you like the stock Huawei camera for the manual control, then yes you are right .

If you like it for the quality, then your eyes are deceiving you.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Gotcha, my bad, I thought the stock app wasn't utilizing all the cameras. Thanks for the update.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ChangeToTower:
Thanks. Will change to your ROM this evening.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
what i like in the huawei camera is the beautify mode.

They have a great algorithm, it can make us look like models :p

Sadly out there there is no app that can offer a kind of rich manual control, a simple interface without ads and crap and a nice beauty mode.

We need to use two camera apps or .... port huawei camera app that can offer all three.

But just for the knowledge part, quality depends on hals, not the app.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] linusfessler:
Awesome rom! This will be my daily driver from now on.

I've been having one problem though, recently. Does anyone have any idea why my recents are the old cards that scroll vertically and not the new horizontal Pie cards? I had the Lineage rom before and it worked there, tried it again today and it's gone. Also, shouldn't the new gesture navigation be there?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
if you disable system apps thats what happens. Enable Luna launcher again.

I don't know then. The only thing I know is that Luna launcher is needed for gestures and for new UI and for the navbar. So the only thing I could think of, was that you maybe disabled it.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] linusfessler:
I use Luna launcher as default launcher. I installed stock Gapps (Pixel launcher doesn't even crash), could those be the problem?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Magisk root works

I was able to get Magisk installed. Tested a few root apps without issue.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
If it's the camera you mean then the main problem for me on AOICP was the settings button being covered and the gallery app being crap and not opening.

The treble one linked fixes both those issues..
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] FirstEver:
I'm testing it on my CLT-L09

TWRP -> Installing ROM from /tmp -> Error

huawei.verify_vendor_build_id() failed to read

current vendor build id: -2

Updater process ended with ERROR: 7​

I have turned off the vendor check in updater-script file by removing this line:

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

Now I can install it, but it doesn't work = bootloop.

Officially, I'm still on CLT-L09 8.1.0.133(C782), and I can't flash stock Kernel from Android 9.0 :/
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
netflix

yes you can

https://xdaforums.com/huawei-p20-pro/development/huawei-p20-pro-charlotte-l29c432b131-8-t3809964

i was waiting for huawei to send me the pie before i start working on p20 pro, but i got bored and upgraded myself

EDIT:

About Netflix that some asked.

It returns way too many invalid bits.

Here, i fixed some: https://github.com/CypherOS/device_huawei_charlotte/commit/663e658cea1e4c2964a301a240427cd86f70cda5

But it still has more invalid bits.

The command to allow more invalid bits, sadly doesn't stack up, so i can't allow more.

What i can, but i will never merge it to official, is to hack Gralloc to not return an error when it finds invalid bits.

It's up to you now. if you want netflix at any cost, then my unofficial builds will have it working.

For start, push this media_codecs.xml into vendor/etc so that netflix doesn't cause a shutdown.

adb root
adb remount
adb push media_codecs.xml /vendor/etc/

now netflix will not cause a shutdown.

The problem was the unsupported vp9.secure media codec that only works with the closed source huawei media hal

Further on,

i need to keep working to find out more errors with netflix.

I will share today another build that disabled the "return to error" for gralloc and mapper hal.

And you will all be able to debug netflix this time. At least those who know how to.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
What about an older version and or just use Kodi :good:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dragonik81:
kessaras , can we use this mod? -> https://xdaforums.com/android/development/mod-dual-speaker-soundmod-devices-root-t3735280 to enable stereo?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
I tried a few of these, phone bootlooped from some of them
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] aoryx:
Hallo,

Thank you for the ROM, finally a fully functional Bloat-free ROM for charlotte <3 <3

I have a q for those who installed Magisk, Have anyone managed to pass SaftyNets CTS.Profile check?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
I had a few app glitch on me but worked, like the huewei camera, the clock when setting alarms, clash royale. This glitches were corrected by enabling 'Disable HW overlays' in developer options. In case you come across glitching apps.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
if you turn that to "on" does it save on reboot or you need to switch it to "on" every time you reboot ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
It does disable after a reboot :(
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
it does not anymore.

this is the property that defines on/off of that https://github.com/CypherOS/package...HardwareOverlaysPreferenceController.java#L48

and this is my property, your property from now on from the next build tomorrow.

https://gerrit.cypheros.co/#/c/CypherOS/device_huawei_charlotte/+/8472/

i enabled both hardware accelerations.

And good job finding small stuff that fix several small bugs.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
No problem and thanks for this great ROM, I'll be donating in a few days for all your hard work.

---------- Post added at 12:31 PM ---------- Previous post was at 12:18 PM ----------

I wasn't sure if I should share my install method cause it's different odd but works.

----------------------------------------------------------------------------

- I flash the original huawei recovery

- then I wipe data and cache using that huawei recovery

- then I flashed a specific twrp

- rebooted phone into twrp

- then I connected the phone to my computer and run this command 'adb shell twrp decrypt'

Then i am able to move the files across seamlessly from my computer to the phone.

- Then i do the regular Wipe data & cache and installed the ZIP's

---------------------------------------------------------------------------

This works every time, for this ROM anyways.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Can't run any live wallpaper, not sure why. They install just fine, also not a big deal lol
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
02-13 06:44:15.883 17236 17236 W System.err: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.service.wallpaper.CHANGE_LIVE_WALLPAPER (has extras) }

Live wallpaper picker is not there.

There is no service to handle the choice of a live wallpaper

EDIT:

I thought that live wallpapers are fun for kids. So not to be selfish i added it just in case someone really wants it

https://gerrit.cypheros.co/#/c/CypherOS/device_huawei_charlotte/+/8474/1/device.mk
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MikeYT22:
Is there a way to disable "your device has been unlocked and cant be trusted" boot screen while booting?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] josdehaes:
No. It's the bootloader that prints that.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MikeYT22:
That sucks...
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
Yes it can be done, but if you replace 1 wrong byte in the bootloader stack , then you kiss your p20 pro goodbye.

Only Huawei has the tools to fix it then.

So don't reboot so often to not see it.

EDIT:

Correction.

About Netflix:

It wants to make use OMX.google decoders and encoders. I added them but im still missing their profile routes.

It's not easy.

It make take many days for me to manually figure out the correct routing without breaking other routes.

Right now I have sound and a greenish image in Netflix but it's working. If I find the next days the correct routing or an alternative routing for Netflix , I'll have it fixed.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Vedrick:
Hi everyone, my quick tiles were sticking out of the pull down area, easy fix in developer options you can set the Smallest width to 372 dp
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
netflix is working fine when you press to download a video before watching it. locally it can adapt to the correct audio/media route.

Only when watching online it asks for google media decoders. I don't know how Huawei solved that issue in EMUI to do it too.

Here , if i simply add google decoders , i must also add the full route and it's very hard to get it. Maybe in the future i'll get it.

For now i quit on that because it requires a huge amount of time.