Based off of LG-G6-DEV/android_kernel_lge_msm8996 commit 757e457)
Note: I own the US997, therefore I cannot test any other releases made available, only compile them and let you try them. Keep that in mind.
Always retain a backup of your current kernel and system image.
- For use on modern AOSP ROMs (10, Pie may be unstable)
- Developer tested on HavocOS-v3.2 (Android 10)
- Uses osm0sis's AnyKernel3 system
- Release builds have significantly reduced debugging messages/routines for slight performance & battery enhancements
- No random reboots compared to V30A kernels (including Melina Reborn rel_r4 and older)
- Optimize compiler flags with better CPU optimizations
- Updated AnyKernel to v3, now retains Magisk zefie/recovery_zip_template
- Previous security updates from past Melina Kernels and new security updates
- Optimize for performance rather than size
- Binary releases built with ubertc aarch64-linux-android-6.x
- DriveDroid CD-ROM Emulation Support
- zzmove and elementalx governors
- Higher performance with lower battery usage
- Various other improvements
- zefie/scripts build helper scripts
- BE DAI Name Table (sound soc HAL) backported from msm 4.x
- Moduleless Kernel, don't need to work about modules and paths
- Most Melina Reborn tweaks are enabled via a custom Kconfig menu, so you can choose which features are enabled
- Re-enable debug via 2 kernel config options (
CONFIG_MELINA_DEBUG_DISABLE=n
CONFIG_MELINA_DEBUG_ENABLE=y
) - Kernel is ready to compile in-tree or out of tree with clang or gcc
- Prepare your toolchain
- Clone this git repository and enter the directory
- Edit
.zefie/scripts/buildenv.sh
, and setTOOLCHAIN
,KERNEL_DEV
andKERNEL_NAME
path for your local setup - To build, run (for example
h870
).zefie/scripts/build.sh setdevice h870 clean build
- To build all 6 kernels (3 devices, debug and non-debug), run
./zefie/scripts/build.sh release-build
- To build all 6 kernels with clang, run
./zefie/scripts/build.sh clang release-build
- To build all 12 kernels with (clang/nonclang debug/nondebug), run
./zefie/scripts/build.sh release-build clang release-build
If all goes well, output will be in build/out/
,
and you can also use .zefie/scripts/sideload.sh
to automatically sideload the most recent zip to TWRP.
This is an incomplete list of sources used for cherry-picking some commits:
- mk2000 Kernel
- nathanchance/android-kernel-clang
- nathanchance/marlin
- SaberMod/android-kernel-lge-hammerhead
- N00bKernel/stanlee
- LineageOS/android_kernel_lge_msm8996
- sonyexperiadev/caf-kernel
- LG-G6-DEV/android_kernel_lge_msm8996
- android-7.0 branch of Melina Kernel
- CrazyAquaKernel for LineageOS by CrazyGamerGR
- DX-Mi5 by pappschlumpf
- leskal/f2fs-stable
- My old Noire Kernel (Samsung SM-T560NU code)
- osm0sis for AnyKernel2
- CrazyGamerGR for CrazyAquaKernel
- @nexusownerforlife for testing on Fulmics
- @Killua96 for the data needed for H870 builds