yashsingh1/xdaforums huggingface dataset:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] rafeex:
Thank you very much for your work on this kernel is for the research you will do if you succeed I thank you in advance. :fingers-crossed:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] ectoplasma22:
Works flawlessly on P20 EML-L29 C432 on Treble Lineage 15.1 ! This kernel even allows me to use the fingerprint sensor to unlock my device !!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] rafeex:
I answered you in private message I wait for your news :o :)

---------- Post added at 10:41 PM ---------- Previous post was at 10:15 PM ----------
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] starbase64:
wrong download link in first post

correct: https://androidfilehost.com/?fid=11410932744536993078

wrong: https://androidfilehost.com/?fid=11410932744536993070
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
Link fixed
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Hulzer:
Do I need to change settings to use hotplug?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
hotplug is enbaled my default
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] fastkiller:
Hi ,After i flashed this kernel fingertip Stops working and facial recognition also.The fingertip just disapear from the security settings and facial recognition just get stuck.Any solution?Thanks
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] otonieru:
not happening here.

what device model are you on ? CLT - L29/L09/L04/AL00 ? or ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] stephen.brader:
Is it possible for you to add overclocking support above stock 2.3ghz?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] fastkiller:
CLT L29 C134(c33)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
Why overclock more of standard.? Not think is safe
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
Idk is the first tell me this bug
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] otonieru:
am just guessing instinctly, but chances are its because the version gap is quite far,

Evira is based on .159 if am not mistaken ?

His phone is still on .134

thats quite a gap in term of firmware revision i guess.

am on .155 now, and prior to that, i got .150 and .152 , not to mention 3 patch for .152

[MENTION=496683]fastkiller[/MENTION]

try check firmware finder for newer firmware, and update using HuRu
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] cologne83:
Do I need to flash this kernel with twrp? Or can I flash it with "flashy" or twrp app?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] eracerone:
U find your answer in first post.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
Evira is base on official source not his related on Huawey firmware
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] FluFlu:
Hey [MENTION=1385016]resurrect[/MENTION]

I'm thinking about picking up a P20 pro tomorrow, so I poked my head into here/xda ~ as well as grabbing the devices kernel sources directly from Huawei's open source center.

It seems that you have fixed Huawei's broken kernel sources that don't actually build properly OOTB... which is awesome! ~ but unfortunately, you've decided to just commit all of your changes without any real/proper git history, which isn't really helpful. (at least not to anyone who is also interested in hacking on it's kernel).

Do you happen to have your commits / patches broken out so that others interested in possibly working with this device/kernel could have a look, possibly pick up the needed changes / to get the sources to compile?

A big deciding factor on whether or not I will pick up a P20 Pro is, in fact, whether or not I will be able to compile and use my own kernel. I'm sure yours is great; but at the end of the day ~ I still would prefer to work on my own...

thanks for any insights / help ;)

take care!

EDIT/PS: also looks like any modern compiler throws a ton of warnings / lots of stuff to fix in the P20 Pro's kernel ~ can't compile with gcc-8 (although it all looks easy to fix).
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
So Huawey source not his broken Who tell you i fix broken Huawey source not is True i just Compiled and edit somme stuff for git history are 3 source kernel on my github evira evira reworked (base on latest evira) and aops evira 1 version make only for aops Idk how help you i just Compiled and Edit official source man
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] FluFlu:
No one told me that, as i said. I grabbed their source code, ootb it does not compile (and yes, i have proper toolchains, lots of related experience, etc).... i grabbed yours, it get much further along, but eventually breaks - but only because im using a much never toolchain than you are. (So newer compiler detects more issues, some warnings treated as errors, also some of the SOC / driver code needs to be fixed too)...

No worries, i will figure it out myself. Im sure i will get very motivated with device in hand...lol.

After i get it building with gcc8 i want to convert their code to apply it over a proper linux-4.4-lts tree....

either that or contact huawei to see if i can persade them to provide a proper kernel tree / git repo... but im guessing that they wont do that... it is pretty lame how they distribute their source code for the kernel.

Thanks for getting back to me, very appreciated ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] bvannier:
Good morning

I run .161 version and I would like to back-up my actual kernel in .zip.

I don't see in my TWRP back-up the way to get back to my previous kernel, may be it is the boot image in case of problem?

Sorry for my english

Best regards
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
See on first post have link of kernel i g to flash on fastboot
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] bvannier:
Think you, BUT I run .161 version so I don't know if it's good for my version.

Yours posted is coming from .159

Regards
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Hulzer:
Do you know when you will release your next build?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
The kernel is the same
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
I release when i can i work i do all on free time wait
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
When i can i release i di all on free time so wait
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] stephen.brader:
can you do a seperate version with selinux set to enforce as my banking app wont work because of selinux permissive
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
i have 2 home banking and inot have problem so use magisk hide for not have problem
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] stephen.brader:
magisk hide doesnt work for it either for Santander uk and i read online its because of the selinux permissive setting even unrooting doesnt work!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Hulzer:
Thanks for your new release!

The noop scheduler does not show up in my kernel tools - is this ok? I can only select "none".
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] otonieru:
Read the explanation on main post,

Huawei use Blk-Mq scheduler to override all I/O scheduler. Thats why we cant manually change it. This is applied since Mate 10 i think,

this scheduler was specifically made for flash storage, and should perform better.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Hulzer:
So it's enabled but not visible. Right? Thanks.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
Yes
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] papar0xy:
Hi i tried to flash this kernel but before that I tried making a backup of my stock kernel but i got the error "failed to mount /system" or something along that line.. How do I fix this?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] otonieru:
mount /system first (if possible) or use different TWRP.

and if possible dont use lockscreen passcode when you are using TWRP, current TWRP cant decrypt storage if you use passcode
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] FluFlu:
It sounds like the security professionals who work for your bank are smart, competent and use common sense.

Setting Selinux to permissive mode breaks a very critical layer of android's security model. Examples; without selinux set to enforcing mode; 3rd party apps can sniff other apps network traffic, potentially access other sensitive/private info, sandboxing / process isolation is no longer nearly as effective, malware would have a much easier time abusing/tampering with your system, applications and kernel, etc, etc. (ie: selinux significantly reduces attack surfaces on the android platform. It's very important).

*permissive mode is only meant for testing purposes, debugging, etc ~ while working on / writing selinux policies. Other than that; it should ALWAYS be set to enforcing...

Some people disable it; in order to allow certain root apps and/or xposed modules to work, but it's a BAD solution. The proper solution is to debug selinux, then use se-tools / sepolicy-inject tool to fix the selinux denials properly ~ this way you're only "loosening" selinux policy where needed ~ ***rather than compromising the entire system.*** (ie: the "Principle of least privilege, still would apply).

I've warned Resurrect in PM that what he is doing is pretty bad.... He claims that because millions of users do it; that somehow means it's safe to do. ~ But that doesn't address the real concerns and shows a complete lack of understanding of android's security model && the underlying technology that's being used... I even asked him to just add a warning on OP - he says he won't do that either...

If anyone is interested, here are some links pertaining to selinux/android;

https://source.android.com/security/selinux/

https://source.android.com/security/selinux/concepts

https://source.android.com/security/selinux/implement

(there are more links in the documentation).

Code && info for setools / sepolicy-inject;

https://github.com/SELinuxProject/setools

https://github.com/phhusson/sepolicy-inject

and a somewhat outdated tutorial (but still useful/relevant) on analyzing selinux policies and using sepolicy-inject

https://android.stackexchange.com/questions/128965/examine-android-v30-selinux-policy

TL;DR;

selinux permissive mode = bad.

selinux enforcing mode = good.

take care!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
So I think we go off topic it's a problem have kernel permissive? for me no kernel start enforced after a lot of user say we need permissive I do permissive now Pls return enforced.....

My source is public who like dev kernel can stop say useless comment it's right say user about selinux permissive but on kernel treadh I say kernel is permissive and for me we can stop write about this
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
Where I admit tath I not know wath I do? If user say a problem can make kernel more safe but I see on this treadh I only make 1 kernel for ouar device and if say fix this and fix this not see (and my source is public) never make a kernel more safe... So stop write useless comment becouse if some dev stop release free kernel source is for this type of comment I add on first post if some user read before write tath I release 1 kernel version enforced so idk why all continue to post useless comment
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
the 2 version with kernel enforced is created on main post!!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] stephen.brader:
Thanks knew it was that fixed my banking app now magisk hide wasnt enough it was because of the selinux as i suspected
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] xanthrax:
Please keep it civil and on-topic as per the OP request, I saw some users expressed their thoughts, the OP did as well, better stop here so further derailment will be cleaned also.

By "civil" means respect each-other`s points and don`t use " you don`t know how to..." or similar bossy comments, whoever has a different way of doing stuff is free to share on their respective threads and add comments about their work there, as long as the OP is the ... OP let`s respect his thread and work.

Thank you !
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] bvannier:
I am so happy with your kernel, for my daily usage it's absolutly perfect!

Think you for your hard "free" work

Best regards from an old man
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] otonieru:
Hi, [MENTION=1385016]resurrect[/MENTION]

On C636, after .158 update, home button and fingerprint wont work.

I revert to stock kernel, and it work again.

I think Huawei change something in this firmware version.

You might want to take a look if you got time. Thx !
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] kenkino555:
Yeah i am having the same issue. I am on c636 version .158 when i flash evira kernel, fingerprint and face unlock does not work anymore. The options to set fingerprint and face unlock went missing under security option in settings. But after i flash stock kernel, i am able to use fingerprint and face unlock again. Definitely kernel related issue.. evira kernel works fine on previous versions before .158
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] otonieru:
in my case, face unlock still working, only fingerprint went missing from option
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Hansl1:
Installed kernel on .161, fingerprint still works for me. Faceunlock...i don't know, doesn't use that feature.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MajinkenSword:
I'm not sure if this is related to the kernel, but afyer installing this, I can only enroll one fingerprint for security.

Everytime I register an additional one, it asks me for my screenlock password in a loop. Also, the screenlock password within the Developer menu becomes buggy where you can't disable it.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] otonieru:
Thats related, yes.

The way to fix it is by enrolling all your fingerprint using stock kernel first, then flash this kernel after that. All enrolled FP will stay and work as usual.

---------- Post added at 05:09 AM ---------- Previous post was at 05:07 AM ----------

what security update is .161 on ? November 2018 ?

btw yours is probably C432 ? one who experience issue are one who using C636 i think
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Hansl1:
yes to both: mine is a C432 and the patch is dated with 5th of november. Downloaded it with FirmwareFinder and used HuRUpdater0.4.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
I have p20 pro c432 and I'm on 161 never problem with kernel think is problem of your version
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
[MENTION=4066277]otonieru[/MENTION] Not say man I can control? Sure but I can't confirm becouse I have different version so if you can enter on kernel group we can test together
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] skyred5:
How is battery life with this kernel?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] morningtea7:
Well, tested v1.08 on my CLT-AL00, it works fine. However, the physical home button is completely broken (No responses at all, not even basic controls). Hope you would fix this in next update, I could test it for you. :)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] smohanv:
I updated my rooted phone with EMUI 9.0 and lost root. Can I flash this patched_boot? I want to flash magisk. TWRP do not decrypt data hence cannot flash magisk with modded TWRP.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] danifilth4king:
There is currently no known method to root EMUI 9 or working TWRP. You'll have to downgrade back to 8.1 if you want root back :(
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] r3l4x_pt:
honor 10

installed on honor 10 COL-L29 and its working fine

also game guardian is working. it still says ptrace is broken but i can change values
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] papar0xy:
are you using the default permissive or enforced kernel? i still cant execute any scripts on gg
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] r3l4x_pt:
im using the permissive kernel. i dont use scripts so i dont know if they work or not but searching and changing values is working

edit

i tried flip the gun with a script and its working
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] smohanv:
I like your signature quote "Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad". :good:
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Zarapho:
Hello, quick question how did you change the Values for Gameguardian? I am on this kernel too and I got the issue - ptrace, mods may not work-

thanks

Gesendet von meinem CLT-L29 mit Tapatalk
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] r3l4x_pt:
i flashed te evira kernel and then gameguardian. i still get the ptrace not working warning, i click ok select the game i want, search the value i want then change it that it.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Zarapho:
so the mods work on your games?

CLT-L29 C432
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] r3l4x_pt:
yep. editing values and running scripts works
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] med.bassia:
thank you so much sir, just tried it with clt 129 and works perfectly, fixed many problems for me, respect

---------- Post added at 08:12 PM ---------- Previous post was at 08:06 PM ----------

after i installed the new kernel, my home button don't work anymore.., any ideas?

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

same problem here, i hope it will be fixed soon
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] fenderblack:
Since that use the kernel, WhatsApp marks me an excessive consumption of battery, do you know what the problem may be? the percentage is around 20-30%

Huawei p20 pro C432 8.1.159
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] fenderblack:
SOS, i am in bootloop, I had this kernel installed, and then I flashed the original .img, but now my phone does not turn on, it just goes into the erecovery
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] otonieru:
Flash full ROM using HuRU
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] fenderblack:
Yes, I tried to install twrp, and although the command came out to me that was OK in the adb tools, it was impossible to access this, it always took me to the erecovery.

In the end I had to install a clean version with a funkyhuawei credit.

Tnks for your reply
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Zarapho:
I think it's hella stupid if u pay for the ROM... funky just makes money. sure sometimes it's useful but u can get most of the ROM's 4 Free!

I would go into bootloader / adb sideload / flash recovery with TWRP

CLT-L29 C432
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
Kernel development is stopped becouse i sell phone and buy new phone if anyone like continue Project i can send my latest version of source tx all contributors
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] superwahwah:
Which phone did you buy?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
One plus and Google pixel xl 2
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] otonieru:
thx for your hard work brought first custom kernel for this device

i havent got chance to try it. But, is your latest source fully compile-able ? or is there any parts still need to be patched ?

and, is fingerprint/home button issue fixed ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
Official source is Compile-able if need help i can help you ?

Fingerprint/home Button issue Idk becouse i not have problem with it maybe try to Compile official Huawey source can fix this problem and rebase all work to standard Huawey source
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] peteter:
Have fun with your new devices. Do you have the kernel sources pushed to github or some other place? Would love to take a look
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
I can send you link not have linked on github i remove it for error i have only official with added wakeblock fastcarghe and other some stuff i don't remember now
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] peteter:
That would be awesome
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] Hulzer:
Any news? Thanks.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] lvbaal:
Any news? Thanks!
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] peteter:
Got nothing till now, so nope would be my answer
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] zimcommando:
Most of the kernels from the Honor View 10 forum work really well on our P20 Pro. I am currently using the Blu_spark r16 View 10 Kernel without any issues. It has more customisations in MTweaks and quite a few Governors and CPU frequency adjustments. This is the only option because it seems the kernel development on our forum has stalled for now.

https://xdaforums.com/honor-view-10/development/kernel-t3784016
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] lvbaal:
Thanks for the suggestion. I presume you are on stock ROM, being a constraint for using this kernel?

I'm using a custom ROM.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] zimcommando:
Yes, currently using stock rom and it seems fine. I have only just installed it though, so still testing everything.

I may make the jump to AOSIP rom though, just for a change and to see if it's any good.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] lvbaal:
would be interesting to see...
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] otonieru:
and your wifi, bluetooth, nfc, camera are all working normally ?

are you on oreo or pie ?
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] mauritz1972:
Navigation button don't working

I installed and navigation button is not working. I had to set to virtual navigation bar.

---------- Post added at 02:37 PM ---------- Previous post was at 02:13 PM ----------

Navigation button not working. Back to navigation bar buttons.
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] JF-GINO:
Tried this kernel and my WiFi is the only thing that does not work.

too bad too because this Honor 10 kernel is smoother and faster then this one :(
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] MajinkenSword:
Stupidly flashed stock kernel via TWRP

Hi, I got stupid and did not read the first post on going back to the original kernel and now I'm stuck on eRecovery.

In summary, I flashed the KERNEL.IMG via TWRP instead of Fastboot. When I try to go to Fastboot, it says:

ERROR MODE

Attention!

Please update system again

Error!

Func NO: 10 (boot image)

Error NO: 2 (load failed!)

It then reboots automatically after 30 seconds or so.

Is there anyway for me to resolve this? eRecovery tells me to do a factory reset or download latest version and recovery. My problem is it might relock my bootloader.

Please help! :(

====

Update: I did the eRecovery route and all seems fixed though it deleted my internal storage and did a factory reset. I'm also happy to report that it did not relock my bootloader (i checked through Fastboot)
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
i see huawey relase kernel for p20 pro based on emui 9.0 if anyione like i can compile official base and upstream to latest patch but need test kernel so contact me pm for cooperate
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] resurrect:
https://androidfilehost.com/?fid=11410963190603899438

This is link for evira 1.0 base on emui 9.0 flash at own risk i need test confirm working have enabled schedutil and wakelock block and upstreamed to latest patch for now kernel is on enforcing mode flash and pm be if kernel work (i not have device to test it) ??
[Huawei P20 Pro ROMs, Kernels, Recoveries, & Other ] lvbaal:
I'LL test it tomorrow