The Unic0re Kernel is a custom Kernel for the OnePlus 5 with a focus on govanors, security and filesystem support.
This is basically a fork of the Linux 4.x Kernel from Linus Torwalds.
Origin: https://github.com/torvalds/linux
-
SELinux default: permissive
-
Supported filesystems:
- ext2
- ext3
- ext4
- f2fs
- NTFS
- Fat32
- vFat
- XFS
- JFS
- ZFS
- BtrFS
- GFS2
- UDF
- NFS (client)
-
Kernel Govanors:
- Soon
-
I/O Schedulers:
- Soon
$ sh auto-build.sh
Prepare
$ mkdir ~/git
$ cd ~/git
$ export ARCH=arm64
$ export SUBARCH=arm64
$ export CROSS_COMPILE=prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9/bin/aarch64-linux-android-
$ git clone https://github.com/MrFlyingToasterman/android_kernel_oneplus_msm8998
Download a prebuild toolchain (aarch64-gcc4.9)
$ git clone https://android.git.linaro.org/git-ro/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9-linaro.git prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-linaro-4.9
Create custom Kernelconfig (Only if you know what you are doing)
$ make menuconfig oneplus5_defconfig
Build
$ make lineage_cheeseburger_defconfig
$ make
(You may need to add a "--keep-going" because some modules a prone to crash)
fastboot
# fastboot flash boot Unic0re.img
adb
# adb sideload Unic0re.zip
TWRP
A normal TWRP flash
I recommend using TWRP and making a backup, just in case!!
"msm" is the Kernel tree for Qualcomm chipsets
Visit our Webside: https://Secure-Solutions.org/
Your warranty is now void.
We are not responsible for bricked devices, dead SD cards,
thermonuclear war or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this Kernel
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at us for messing up your device, we will laugh at you.
GPLv2 click here to read more.
This program is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.