• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL][EMUI 9][P20 lite] Phenix kernel

Search This thread

-Alf-

Senior Member
Sep 28, 2017
1,626
519
Huawei P9 Lite
Huawei P10 Lite

MadSkyHunter

New member
Jan 20, 2018
4
1
Earth
In the future, will be the wifi not broken for the latest EMUI version ? Or is something built in the linux zen kernel that is not allowing it ?
Also, any method to get the stock kernel ? Im not using this phone anymore but, still i would like to know if there is a way to get it.
 

TureX

Senior Member
Mar 9, 2011
583
164
Huawei P20 Lite
In the future, will be the wifi not broken for the latest EMUI version ? Or is something built in the linux zen kernel that is not allowing it ?
Also, any method to get the stock kernel ? Im not using this phone anymore but, still i would like to know if there is a way to get it.
HI!

Yes, you can flash back extracted stock kernel from service rom.

About higher emui version broken wifi we need to debug what's wrong with a rooted device , but I don't know if I'm able to fix it.

What do you mean with "zen kernel"?

Cheers
 

MadSkyHunter

New member
Jan 20, 2018
4
1
Earth
HI!

Yes, you can flash back extracted stock kernel from service rom.

About higher emui version broken wifi we need to debug what's wrong with a rooted device , but I don't know if I'm able to fix it.

What do you mean with "zen kernel"?

Cheers
Thanks for replying.
Also, the zen kernel is a custom performance focused kernel used in linux distros, you could say that is the phoenix kernel but for Linux Distros on PC. Here a link with more detailed info https://unix.stackexchange.com/questions/603142/what-is-the-zen-kernel and the github if you are interesten in looking into the source code https://github.com/zen-kernel/zen-kernel .
 

MadSkyHunter

New member
Jan 20, 2018
4
1
Earth
HI!

Yes, you can flash back extracted stock kernel from service rom.

About higher emui version broken wifi we need to debug what's wrong with a rooted device , but I don't know if I'm able to fix it.

What do you mean with "zen kernel"?

Cheers
Ups, im idiot, worng answer, what i meant with zen kernel, is because i thought the phoenix kernel is a customized version but for Huawei devices.
 
  • Like
Reactions: TureX

Frax3r

Member
May 18, 2016
36
19
Huawei P20 Lite
Thanks for the updates and happy new year!

Screenshot_20211231-030633_Termux_1.png
 
  • Like
Reactions: TureX

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Thanks for the updates and happy new year!

    Screenshot_20211231-030633_Termux_1.png
  • 4
    PHENIX KERNEL

    Disclaimer:
    Use this kernel at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware and any kind of damages/losses.

    NOTE : Use only on EMUI9 base(stock or custom)

    REQUIREMENTS :

    1. Unlocked bootloader
    2. EMUI 9
    3. Emui version < 9.1.0.300 (Optional, because higher emui version has broken wifi)

    Changelog : 4.9.295:
    • Upstreamed to 4.9.295
    • Disabled Simple_LMK
    • Enabled and fixed Android LMK on Android 11 (thanks @AltairFR for help me)


    4.9.178:
    • Upstreamed to 4.9.178
    • Some optimization for cortex a-53
    • Set lz4 as default compressor for zram
    • Set westwood as default tcp congestion control

    4.9.186:
    • Upstream to 4.9.186
    • Zen i/o scheduler (better performance)
    • Add 2 more cpu to hotplug
    4.9.194:
    • Add Boeffla wakelock blocker
    • Fix mistake to set Zen i/o sched
    4.9.200:
    • Upstreamed to 4.9.200
    4.9.206:
    • Upstreamed to 4.9.206
    • Optimizations
    4.9.220:
    • Upstreamed to 4.9.220
    4.9.236:
    • Upstreamed to 4.9.236
    4.9.246:
    • Upstreamed to 4.9.246
    4.9.252:
    • Upstreamed to 4.9.252
    • Changed gpu governor
    • Optimizations
    4.9.252 v1:
    • Optimizations
    • Compiled by gcc 7.5
    4.9.252 v1.1:
    • Introduced Simple_LMK
    • Add Fast Random
    • Improved scheduler
    • Other littles optimizations
    4.9.252 v1.2:
    • Introduced CPU boost
    • Disabled Huawei DUBAI
    • Cleaned and enabled cpu schedutil governor
    4.9.253
    • Upstreamed to 4.9.253
    • Simple LMK Update
    4.9.263:
    • Upstreamed to 4.9.263
    • Simple LMK Update
    4.9.278:
    • Upstreamed to 4.9.278
    4.9.280:
    • Upstreamed to 4.9.280

    4.9.282:
    • Upstreamed to 4.9.282
    • Optimizations
    • Update Simple_LMK
    4.9.284:
    • Upstreamed to 4.9.284
    • Inserted UKSM
    • Update Simple_LMK
    4.9.286:
    • Upstreamed to 4.9.286
    • Fix screen flickering

    4.9.289:
    • Upstreamed to 4.9.289
    • Disabled Zram/swap
    • Set timer to 300 Hz
    4.9.292:
    • Upstreamed to 4.9.292
    • Enabled Zram/swap
    • Set timer to 100 Hz
    • Enabled Wireguard
    • Disabled UKSM


    Download:
    Phenix - 4.9.295




    How to flash:
    The kernel will be flashed by fastboot :

    open a terminal from the pc and type (cable connected and set to "File Transfer") :

    -adb reboot bootloader
    -fastboot flash kernel <Drag img file here> && fastboot reboot



    XDA:DevDB Information
    Phenix Kernel, Kernel for the P20 lite

    Contributors
    @TureX

    Source Code:

    https://github.com/turex/android_kernel_huawei_hi6250

    Thanks To:
    @DarkJoker360
    @haky 86
    @0ckysaurus
    @-Alf-

    @aled99


    Version Information
    Status:
    Stable
    Current Stable Version: v1.0
    Stable Release Date: 02-03-2021

    Created 02-03-2021
    Last Updated 02-03-2021
    3
    I struggled for half a day with Nusantara GSI 3.2 (bootloop etc.), finally it booted with your kernel 280. Thanks ! :cool:
    2
    I love this kernel, it performs great. Do you have any recommended settings for my ANE-LX3 running CAOS11?

    Out of curiosity, what is Huawei Dubai?

    Thank you once more for your work.
    Hi!
    According to driver module on the kernel, dubai stay for "Device Usage Big-data Analytics Initiative Driver".

    Cheers
    2
    Thanks Alf. This app tests apps installed "per Android rules" and located in the designated directories.
    Security can also be breached by a script for example written in Python, which makes certain resources on the phone work at a certain time and send information (or code written in C, may be compiled as part of the kernel.)
    Hi!
    I didn't apply any script to get information on my kernel, you can see entirely source kernel on my GitHub.
    Is upstreamed and more secure than the original one.
    I also disabled features like Huawei Dubai.
    If you have any doubt you can write again there.

    Cheers
    2
    Hi!
    New update is online!

    Cheers