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

Search This thread

TureX

Senior Member
Mar 9, 2011
634
195
Huawei P20 Lite
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.302:
  • Upstreamed to 4.9.302


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
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.298:
  • Upstreamed to 4.9.298


Download:

Phenix - 4.9.302




How to flash:
1- Extract the zip file
2-(Optional) Compare sha1sum to verify img file
3-Flash

The kernel img can be flashed by fastboot or in TWRP :

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
 
Last edited:

TureX

Senior Member
Mar 9, 2011
634
195
Huawei P20 Lite
Hi !
New update is online! At the moment i can't debug the kernel panic at 4.9.195 so for the moment i'm stopping upstreaming.

Cheers
 

-Alf-

Senior Member
Sep 28, 2017
1,923
620
Huawei P9 Lite
Huawei P10 Lite
Hi!
New update is online!
Works fine...:cool:
IMG_20210407_164150.jpg
 
  • Like
Reactions: TureX

jdpoveda35

Member
Feb 11, 2020
12
1
tengo android 9.1.0.335 con el bootloader desbloqueado y me genera un error ala hora de terminar el flash del kernel mi actual kernel es 4.9.148
 

jdpoveda35

Member
Feb 11, 2020
12
1
I have android 9.1.0.335 with the bootloader unlocked and it generates an error when finishing the kernel flash, my current kernel is 4.9.148
 

jdpoveda35

Member
Feb 11, 2020
12
1
this is the error that throws me after flash
 

Attachments

  • SAM_0318.JPG
    SAM_0318.JPG
    5.6 MB · Views: 142
  • SAM_0319.JPG
    SAM_0319.JPG
    5.7 MB · Views: 145

jdpoveda35

Member
Feb 11, 2020
12
1
I've been using these two
fastboot flash kernel Phenix_kernel_.img
fastboot flash kernel "C:\Users\PC GAMER\Desktop\Nueva carpeta\Phenix_kernel_4.9.236.img"
 

TureX

Senior Member
Mar 9, 2011
634
195
Huawei P20 Lite
I don't know , that's strange . Which variant of ane you have?( lx1 , lx3)
Have you got problems with the device?
Are you able to flash image like stock kernel or recovery_ramdisk?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 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.302:
    • Upstreamed to 4.9.302


    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
    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.298:
    • Upstreamed to 4.9.298


    Download:

    Phenix - 4.9.302




    How to flash:
    1- Extract the zip file
    2-(Optional) Compare sha1sum to verify img file
    3-Flash

    The kernel img can be flashed by fastboot or in TWRP :

    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