I just made few changes on the official open source kernel. Maybe I will continue to add some new functions.
My last post: https://forum.xda-developers.com/honor-play/how-to/flash-kernel-to-disable-selinux-emui9-0-t3951264
Some features:
This kernel is based on the official open source kernel.
This kernel allows users to use "setenforce 0" or "setenforce 1" to change the status of selinux.
This kernel unlock some schedulers of CPU and GPU which were hidden.


======FBI Warning======
It was only tested on my phone...
The phone is COR-AL10 and the system is offcial AEX of View 10.
I don't know whether it could work on L29 or official EMUI9.0.
I know it will not work on EMUI8 or other 8 systems.
I don't konw whether it could cause hardware damage to your phone.
=====================
Introducions:
1. Maybe we can backup the kernel first.(If you are brave, you can skip this step.)
I used the mt manager 2.0 (free editon) to copy the /dev/block/by-name/kernel_a to somewhere interesting.
Then we reboot the phone and hold the vol- to enter the bootloader mode.
2. We can use this command to flash the kernel.
3. We can use this command to reboot.
4. If there are any problems after flashing this kernel, you could flash the official kernel or your backup kernel.
ps. Flashing kernel could not cause losing data. But I suggest you do a backup.
pps. Why we flash the kernel to change the selinux status? Because the official kernel don't allow user use the command "setenforce" to change the status. It means that the status must be "enforcing". Now you can use the command "setenforce 0" to make the SELinux interesting.
Source code:
https://github.com/kindle4jerry/honor-play-kernel-9.0-kindle4jerry
Download: maybe you can download it from my githubhttps://github.com/kindle4jerry/honor-play-kernel-9.0-kindle4jerry/releases
My last post: https://forum.xda-developers.com/honor-play/how-to/flash-kernel-to-disable-selinux-emui9-0-t3951264
Some features:
This kernel is based on the official open source kernel.
This kernel allows users to use "setenforce 0" or "setenforce 1" to change the status of selinux.
This kernel unlock some schedulers of CPU and GPU which were hidden.
======FBI Warning======
It was only tested on my phone...
The phone is COR-AL10 and the system is offcial AEX of View 10.
I don't know whether it could work on L29 or official EMUI9.0.
I know it will not work on EMUI8 or other 8 systems.
I don't konw whether it could cause hardware damage to your phone.
=====================
Introducions:
1. Maybe we can backup the kernel first.(If you are brave, you can skip this step.)
I used the mt manager 2.0 (free editon) to copy the /dev/block/by-name/kernel_a to somewhere interesting.
Then we reboot the phone and hold the vol- to enter the bootloader mode.
2. We can use this command to flash the kernel.
Code:
fastboot flash kernel xxx.img
Code:
fastboot reboot
ps. Flashing kernel could not cause losing data. But I suggest you do a backup.
pps. Why we flash the kernel to change the selinux status? Because the official kernel don't allow user use the command "setenforce" to change the status. It means that the status must be "enforcing". Now you can use the command "setenforce 0" to make the SELinux interesting.
Source code:
https://github.com/kindle4jerry/honor-play-kernel-9.0-kindle4jerry
Download: maybe you can download it from my githubhttps://github.com/kindle4jerry/honor-play-kernel-9.0-kindle4jerry/releases