Skip to content

MrFlyingToasterman/Unic0re_msm8998

Repository files navigation

Unic0re MSM8998

The Unic0re Kernel is a custom Kernel for the OnePlus 5 with a focus on govanors, security and filesystem support.

Preview

Unic0re_msm8998

Linux 4.x

This is basically a fork of the Linux 4.x Kernel from Linus Torwalds.
Origin: https://github.com/torvalds/linux

Features

  • 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

Quick build

$ sh auto-build.sh

Building the Unic0re Kernel

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)

Flash the Unic0re Kernel

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!!


Remark

"msm" is the Kernel tree for Qualcomm chipsets


This project is supported by Secure Solutions

Unic0re_msm8998
Visit our Webside: https://Secure-Solutions.org/

DISCLAIMER

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.

License of the origin Linux Kernel

GPLv2 click here to read more.

License for our modifications

GNU GPLv3 Image

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.