yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] sacredsoul:
Anyone has an issue with music stopping playing after a few seconds? Tried in several music apps but it's always the same. Bluetooth works fine though. Only with the builtin speakers.

edit : Attached a logcat ifd anyone is interested.

https://www.pastiebin.com/5b251b9336349

edit 2 : Spotify/YouTube seems to be working fine. Only storage-based music has this issue apparently.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] chikrron:
Hi, I have some problems with the installation of lineage, could you give me the right steps for this please? In my case it boot but it crashes al time and I can't configure the setup. Help
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] reppi:
- Rebrand to C432 if you're not already on it (not confirmed)

- boot to twrp

- wipe - advanced wipe - dalvik, cache, system, data

- install lineage

- install gapps (if it doesn't work, wipe data and flash gapps again)

- reboot system

Don't forget to make a backup in TWRP before.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] RocketGeeezer:
Did you check the battery optimization?

Could be that the app killed in the background
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] sacredsoul:
Yes its set to not optimise the music player...
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] lorreca:
Hello guys

Someone got the stock Huawei camera software working fine? I tried some of them but in some cases seem to impossibile to save in memory the pic, in other case the FP bottom stop to work with gesture...

Any solution?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] chikrron:
Thanks for your answer and support, I am already in C432, Just like the picture attached, but I Don't have any success with the rom.

It boots but with force closes in Google services, Android media process, etc and it's imposible to config the setup.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] reppi:
Come join the telegram support group. I've got an idea. [INT] Huawei P20 Pro support chat

MOD EDIT: TELEGRAM LINK REMOVED
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] awells845:
Couldn't get audio playback through headphones to work. It plays through the speaker.

I have an idea to merge all Kirin 970 device development into a cross development thread as Honor 10, Mate 10 Pro, View 10, P20 and P20 Pro all support the Kirin 970 chip and most Kirin 970 roms boot on these devices.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kessaras:
hi, i am thinking to bring up AOSCP for p20 pro now that im here too, but i need to know if it worths it.

How is the camera quality in LOS , is it any near to the stock emui ?

EDIT:

nvm , i brought it up already and i will soon build and test it.

thanks to [MENTION=5075128]LuK1337[/MENTION] ofc that we have los already , it only took me 5 minutes to do the initial bringup. Thank you Luk. Looking farward to work together the next few years on p20 pro.

p.s. sorry for partially off topic. i posted initially to ask users about the cam and if it worths it to develop a custom rom, but it was faster to just test it and see myself , lol.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Armand Bernard:
It's bad, but if you flash the treble P20 Pro camera you don't lose out on much. I actually bought the P20 Pro because I knew that I could do AOSP and still keep the camera quality.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] sacredsoul:
Is there anyway to disable to capcative button and just use it solely for fingerprint? I am currently using PIE controls and the button shortcuts is messing up with the flow. I can go to Buttons in settings to disable the HW key but then the Nav bar pops up. Already tried Googling but nothing seems to be working.

Edit : Managed to find a fix though it is clunky as hell. Enabled Nav bar which disables the HW key in the settings. Then, using XDA's Navigation Gestures app, I disabled the Nav bar as well. So now everything works like it should.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] hoangtu2410:
me too but sadly seems there are not many dev use p20 pro
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Armand Bernard:
It's still early days. It's not too bad considering how recent the device is. It's unlikely to ever get as much support as Samsung flagship but more will likely come.

Huawei's decision to stop providing unlock codes could be an issue though
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] rowihel2012:
google play not working

always service stop working

how to fix?

---------- Post added at 07:10 AM ---------- Previous post was at 06:15 AM ----------

how to fix twrp not seeing internal storage

i have to format data every time?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Legend , much needed here.

I'll flash it :good:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Armand Bernard:
The latest firmware build makes the unofficial TWRP unable to decrypt. Is there any way to safely flash lineage OS despite this?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] rowihel2012:
Could someone gave us

Dolby atmos works with this rom or viper4android please
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
B131??

Are you disabling pin /password before going to twrp.

Is twrp the pretoriano one? Not the official as that hasn't ever been able to decrypt.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Armand Bernard:
I managed to do it eventually by temporarily removing security, like you said. I was using the unofficial one but the correct code wouldn't decrypt. Might have been due to a firmware update.

I'm sorted now though.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Yep I thought the same, when they mention decryption, they mean AT ALL! Removing the pin/ password is mandatory either way.

Glad to see you sorted. :good:

Clktnks ;)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] 1256092412:
did the latest build fix the headphones (type -c).if it dosent ,how do you guys deal with it 😂
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] roelvanveen:
Hey,

Is face unlock working?

Thx for the good work. Gonna try is out.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Armand Bernard:
It wasn't working on the build from 7 days ago. I just use Bluetooth. I think the only way to fix most of these things us to go into the system and make a fix ir patch specific to this device.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] 1256092412:
Thanks i choose to wait :laugh:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] LuK1337:
>I think the only way to fix most of these things us to go into the system and make a fix ir patch specific to this device.

Whatever that means.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] reppi:
I really love Lineage. The only drawbacks (at least for me) are the non-working stereo speakers and the limited functionality of the P20 Pro camera port. But that's not specifically on this ROM but all ones of course.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] lorreca:
I agree,

Stock Google experience is the best way to enjoy a smartphone. I'm waiting for a full porting without major bug for the camera. Maybe with Android P will be different. My hope (:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ekremxx:
Better fast but I will back today stock room I wait camera working some stock room..good job .
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] josdehaes:
Working on latest build. Tried to work with EMUI for a few days, but too many little annoyances with Huawei software :-/. So flashed latest Los build (25/6) and now USB audio works :).

[MENTION=5075128]LuK1337[/MENTION] might want to update the cool issues list :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] lorreca:
Maybe stupid question, with this vers. ( https://i.imgur.com/tFkXI4v.jpg ) can I do dirty flash of last build easily?

Any risk?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Hackforever:
https://www.google.fr/amp/s/xdaforu...-p20-pro-camera-app-treble-roms-t3798767/amp/

Photos

Or

https://xdaforums.com/huawei-p20-pro/development/huawei-p20-pro-camera-gallery-treble-t3805011
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Armand Bernard:
The 1st of those. The other doesn't work
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Hackforever:
Yes i tested sorry i'm french and speak litlle english
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] bowlandspoon:
Just flashed this last night. So far seems really decent. Everything appears to be working as it should. Battery life is great too.

Thanks [MENTION=5075128]LuK1337[/MENTION] for cooking this up. Do you plan to continue working on it? I know you haven't got a P20 Pro.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] whitekidney:
How's the battery life compared to EMUI ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] josdehaes:
For me better than EMUI
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] bowlandspoon:
It seems to be better.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] whitekidney:
Sweet.

Can you take some pictures with the AOSP camera so I can try and see what the differences are vs. the EMUI camera app ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] josdehaes:
You don't want to use the aosp camera. Install the stock camera app in lineage OS and get the best of both worlds ;)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] hoangtu2410:
no face detection and no working stereo speaker so of course better battery life
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] whitekidney:
Ah right.

I'm still interested in a few pictures though. Or comparison shots (if possible)

Edit: Also, how does the capacitive button on the bottom work?

I'm not using the onscreen navigation and I've grown used to the button.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] reppi:
Camera quality is the same. Master AI doesn't work though and when using portrait mode it doesn't save the picture. Also a shortcut to the gallery doesn't work so you have to open it manually.

Capacitive buttons work the same way as on EMUI.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] whitekidney:
In EMUI its configureable, I assume it's not in this rom?

For example, press to go back, long hold to go home and swipe for application switching ?

Is it possible to disable onscreen navigation ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] reppi:
It's the same behavior as on emui. And yes you can disable on screen navigation.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] piddlpiddl:
Hey, has anyone tried using waze on the P20 Pro with LOS in Android Auto?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Gravol:
I'm from Canada an unlocked mine a couple weeks ago? Is it very recent they decided to do this? I just used Mexico a region I think
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] makc31423:
Will it work on CLT-L29C10?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] whitekidney:
Yeah.

Luk helped me get mine up and running.

You'll need the stock recovery to wipe data.

Flash official TWRP, sideload/install lineage and gapps.

Boot back into Fastboot and flash the stock recovery (wiping data from TWRP doesnt work) - boot into stock recovery and wipe data.

Now you can boot into Lineage without issues.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] mrnovanova:
Thank you OP for giving us an alternative to the EMUI garbage. Finally I can enjoy this phone. One question is there a way to adapt the display to the notch so that we don't end up with half hidden notifications?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] makc31423:
Thanks,friend,you are helped me very much!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] SMcC2:
It's awesome to see this phone may have some LineageOS potential!

I'm looking in to buying a new phone and the option to install custom ROMs is one of my requirements.

How do you guys like the P20 Pro?

My M9 is getting a little worn out. I put a new battery in it recently, but apps are starting to run slowly and it it's not getting much love from the LineageOS community any longer.

I dig having the combination of removable storage, headphone jack, an IR blaster, but I think it's time to move on.

I was considering the P20 Pro or the OnePlus 6.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] rowihel2012:
The only rom that workd perfect with p20 pro

All other terple roms has problems like fingerprint not working and self reboot every 10 minutes

But animation is aggressive with this tom wile opening apps fells not very smooth
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] lambstone:
Have you tried changing the settings in developers options?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] navalynt:
P20 Pro Camera Test (C432B131)

* The installer linked above removes the LOS Camera and Gallery as part of the install script

I spent a few hours this weekend looking into what it would take to get a fully functional camera with Gallery. I found that a copy of the camera is stored in /product/app/HwCamera2. So the installer above adds a few more files to the /system directory which I believe are necessary for the camera but then symlinks from /system/priv-app/HwCamera2 to /product/app/HwCamera2.

At first glance, it seems that the MasterAI and portrait mode are working, but the Gallery still doesn't open. The thumbnail image for the gallery updates after you take a picture but trying to open the Gallery gets this message: "Unable to view photos. Please add Gallery to the work profile and try again." I have not been able to get around this error so I thought I'd post it up in this thread and see if anyone has any ideas.

Also of note, in the /product partition there is also a file called /product/overlay/Gallery2Overlay/Gallery2Overlay.apk. This may be helpful, I'm just not sure how to use it.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] reppi:
Awesome! Thank you for your effort! Working Master AI is a big step forward imo.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] jbleasdale:
Does anyone have FaceUnlock working in this ROM?

I have installed Stock Gapps and as far as I understand everything should be in place, however Trusted Face does not show up under Smart Lock.

Any ideas?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] lorreca:
You need a Magisk module "Google Face Unlock". After installed the Trusted Face will be shown :good:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] melyou1978:
Is this ROM suitable for daily use? Thank you
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] jbleasdale:
Thanks! Worked as described :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] reppi:
Yes of course ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Hulzer:
What are my advantages over stock? EMUI & Bloatware... What else?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] josdehaes:
Emui is full of bugs, slow, you can not change the notification sound for SMS, Bluetooth works actually worse than in Los), often 'eats up' notifications (e.g. Google photos), constant nagging about Huawei cloud, loads of bloatware, duplication of apps like calendar, email, clock, dialer (if you want to use the Google versions, I do) that really get in the way...

That said, with this ROM, you lose USB audio (dongle+normal headset work, but the bundled earphones don't) stereo speakers and notch support, but that's about it. You do need to flash the stock camera app, which then works but without the gallery shortcut...

It works very well.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] melyou1978:
Thx bro!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] juanreboiras:
Gapps errors

Can someone tell me what gapps should I flash? I get error in recovery. Thanks!!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] side_flip15:
There's a modified pico gapps package you can find in the P20 support group that should work. If you want other gapps package other than pico, you can also find tut on how to and what to edit in the install.sh to make it work.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Armand Bernard:
Why does everyone say they have issues with GApps? I installed the ARM64 Open GApps Micro package with no issues.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Heinzx3:
Are there any more updates? :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] LuK1337:
...last update is 3 days old.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Heinzx3:
sorry I haven't seen it all good.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] youtuber123:
Amazing work! Can I install this on my Honor view 10?

And will it remove the original cam or save it? And is there an uninstaller?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Is the issues list fully up to date?

Also how are people reverting back to the stock ROM?

Nand back up or just erecovery?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] LuK1337:
>Is the issues list fully up to date?

maybe

>Also how are people reverting back to the stock ROM?

Ask people who reverted to stock ROM.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
I'd like to nominate Luk here for the most helpful response I've ever seen on XDA.

You sir are an inspiration to all, you should get a knighthood.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] reppi:
Nandroid backup, yes. It's a matter of a few minutes to revert back to stock and if u have both stock and LOS backup you can easily switch whenever u want. That's what I do if I get tired of one ROM :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] parsifail:
How did you managed to get the microg stuff to work? Incl. signature spoffing? If yes, how did you achieve this?

BR

parsifail

EDIT: Got it. It works with xposed, fakegapps and core services :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] juanantoledo:
Great work bro! Thx!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] navalynt:
Original apps will get deleted. Take a nandroid backup in TWRP before experimenting and that's your Uninstaller. I have no idea if it works on other models.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] waldofr:
Lineageos gallery ?

Hi,

first thank you for all this job, finally got it up and running after twrp/encryption struggle...(had to crawl many threads, couldn't find fully comprehensive and working OP).

My question is : this lineageos doesn't seem to include a gallery app. I installed the official one, plus A+, but both galleries never show pictures taken with front camera ! Does someone meet this issue ?

(should I add I can see the pics with file explorer)

Regards
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] olygopoly:
cannot download the camera zip. Premium Access Only since free hosting expired
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] olygopoly:
Im coming from C636 so I do have rebrand to C432 before I can flash this ROM ?

---------- Post added at 10:07 AM ---------- Previous post was at 09:53 AM ----------

do u think open gApps arm64 nano also can be flash without problem ?>
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] dlads:
Thanks man, appreciated

---------- Post added at 02:58 AM ---------- Previous post was at 02:57 AM ----------

Aren't you tempted to fill that void between 2 and 3 active ROMs? I'll test the Jesus or if it for your and answer all questions in thread.

Do it. :good:

Everyone in this entire forum quite turn their heads..

Can't say is easy but we need talent like yours bud.

:svetius:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Infyrana:
Anyone else having problems with Magisk Manager 5.8.1 and this ROM? Not sure whether it's a Magisk bug or has something to do with the ROM, though, but whenever I update from 5.6.1 to 5.8.1, Magisk Manager won't work anymore after one restart. I tried several times including wiping and reinstalling everything several times yesterday. Didn't try with any other ROM yet. The internet connection workaround I found somewhere in this thread also didn't do the trick for me.

I tried flashing su as well, but that didn't do anything which is why I switched to Magisk in the first place.

What's also annoying that if I have SIM card lock active, with every restart the PIN prompt disappears after 1sec and I have to go into SIM settings where the SIM lock shows as disabled (but SIM is not working), re-enable it and enter the PIN twice for it to work again. Didn't find anyone else complaining about that, is that one working for all of you?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] shameemindia:
Hi friends, I'm not noop but have questions regarding this room. Can anyone confirm.

1. Infrared working? 2. Call quality 3. Battery life (screen on time) 4. Camera quality compared to stock (same or different, know about gallery button 5. Mobile data 6. Super charge 7. Video recording 8. Wps 9. Ussd 10. Huawei mutiscreen/wireless display
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Armand Bernard:
I don't see why not. Only the Aroma version has problems I think.

---------- Post added at 10:24 PM ---------- Previous post was at 10:14 PM ----------

1) Not sure, but probably not

2) No issues that I've found

3) Battery life is inferior to the stock ROM but still better than most other phones on the market

4) Same as long as you flash the Camera Port, but you lose out on RAW support

5) Mobile data works fine

6) Super charge still works, or at the very least it still fast charges with the stock charger.

7) If you mean screen recording, I haven't tried I'm afraid

8) No clue. Never used that.

9) Looked it up but I have no idea why you'd need something like this or how to use it

10) I assume you mean something like Chromecast. This should work but I haven't got my Chromecast to check.

Sorry if I wasn't able to answer all of your requests.

Note that USB audio routing and NFC were not working last I checked, there is no option to hide the notch and you don't get one handed mode.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MarcoFL:
Chromecast works like a charm ;)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] hecz0r:
Thank you for taking your time to build this mod. Have installed the v3 script via TWRP but I cannot use the camera. The gallery app crashes when launched normally or via camera, and I can't open any pictures taken. They appear as blank photos in Google Photos, and aren't even saved in the phone's memory. Furthermore, the UI seems to not be responsive to DPI changes:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] navalynt:
Interesting. I probably should have labeled that zip as "Experimental AF." So the Huawei Gallery actually showed up after it was flashed as an installed app? If so, that's awesome! It means that test key signing the APK did the trick and now what I need is to collect log data about why the Gallery is crashing and what files are missing or need to be edited.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] hecz0r:
It's installed alright! I think it's a permissions issue, maybe that's why pictures taken with the camera don't save?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] navalynt:
I don't usually have time to play with this stuff except on the weekends but I'll see what I can do about getting a more stable test version up tomorrow night. Can you PM a logcat of the gallery app crashing and possibly one of the camera taking a picture.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] hecz0r:
The patches you linked from that page 12 don't install. The camera doesn't save any photos!

EDIT:

Reinstalled Magisk, was able to install. Camera works fine. As said in my other post, dpi scaling is still ****ed. Somehow another bug came up, the fingerprint no longer works as navigation button? Wtf. Will try to reinstall Lineage :)))

EDIT 2:

Seems like that magisk module is to blame. Tried different magisk framework versions and so on, seems like it somehow breaks the navigation button. Otherwise, with that zip and [MENTION=1765068]navalynt[/MENTION]'s patch the camera works well!

What magisk verion, exactly, are you on?