Skip to content

Releases: Neternels/android_kernel_xiaomi_sunny

NetErnels-7.0: neternels_defconfig: Set default KP mode to 1

31 Dec 15:59
6f0680f
Compare
Choose a tag to compare

#NetHunter #sunny #R #S #T

NetErnels Kernel v7.0-NYSP | 4.14.206
Release Date: 01/01/2023
By: @cyberknight777

Changelog:
▪️https://github.com/neternels/devices/blob/master/sunny/changelog.md

Bugs:
▪️You tell me :)

Notes:
▪️MIUI is not supported.
▪️If you use nethunter, flash the modules zip in magisk too, if not just flash the kernel zip.
▪️Setup kprofiles by doing #kprofiles in neternels telegram group.

Credits:
To my testers as without them this kernel wouldn't be what it is.
To misc others for helping with this release.

NetErnels-sunny-v7-NYSP.zip:-
SHA1: 1b635ed1f8995e7cb0f49573a2d6d7f154837808
MD5: 9a71938aede702a569225461d8a81506

NetErnels-sunny-v7-NYSP-modules.zip:-
SHA1: 9a421f039696a3f9b1b3e89a9b1a3c94d47daf86
MD5: f62e0e0054ae5a07fd531914a2dc5cc3

NetErnels-6.0: defconfig: Bump to `v6-NYSP`

31 Dec 19:11
1ebc54d
Compare
Choose a tag to compare

#NetHunter #mojito #sunny #R

NetErnels Kernel v6.0-NYSP | 4.14.206 New Year Special
Release Date: 01/01/22
By: @cyberknight777

Changelog:
▪️ Rebased off LA.UM.9.1.r1-11400-SMxxx0.0
▪️ Imported wlan drivers, audio drivers and rmnet off LA.UM.9.1.r1-11400-SMxxx0.0
▪️ debloated Xiaomi changes
▪️ nuked some suntana ricing
▪️ fix OTG issues
▪️ upstream kernel/modules.c
▪️ fix modules loading issues
▪️ fix some unnecessary drains
▪️ fix whatsapp web reconnecting issue
▪️ backport AF_UNIX from mainline
▪️ nuke some irrelevant logspam
▪️ nuke irrelevant drivers
▪️ fix vid recording in A12
▪️ build most drivers as a module

Bugs:
▪️ efficient frequencies cannot be modified from FKM or manually at the moment but can be used if kernel is inlined in ROM

Notes:
▪️ MIUI is not supported
▪️ If you use nethunter, flash the modules zip in magisk too, if not just flash the kernel zip
▪️ setup kprofiles by doing #kprofiles in neternels telegram group

Credits:
To my testers as without them this kernel wouldn't be what it is
To misc others for helping with this release

NetErnels-sunny-v6-NYSP.zip:-
SHA1: e95a0737dbf988fec8e125f26646b29bba37c9cd
MD5: 62d8637276605ce4dc2963b0a4ac26a2

NetErnels-sunny-modules-v6-NYSP.zip:-
SHA1: 0f3378112129f2f6b90bc6ce3ea6eaf5ff5a6541
MD5: 22118058ec17c2f673b6bfb3ce40d228

NetErnels-5.0: defconfig: switch to zstd as default zswap compression algorithm

21 Nov 11:22
2ef65ee
Compare
Choose a tag to compare

#NetHunter #mojito #sunny #R

NetErnels Kernel v5.0 | 4.14.206
Release Date: 21/11/21
By: @cyberknight777

Changelog:
▪️ rebased over LA.UM.9.1.r1-11300-SMxxx0.0
▪️ imported wlan drivers, audio drivers and rmnet off LA.UM.9.1.r1-11300-SMxxx0.0
▪️ optimized for size with -Os and nuke debug information with -g0
▪️ init touch driver earlier to not conflict with display notifiers
▪️ sync latest kprofiles with lots of changes and features
▪️ force set frequencies to max/min depending on mode set in kprofiles for performance governor
▪️ add STREEBOG russian cryptographic algorithm
▪️ cfq improvements
▪️ nuked some logging in binder
▪️ nuked some logging treewide
▪️ reduce verbosity of vibrator logs
▪️ force apps to use TCP_NODELAY to improve network latency
▪️ calculate and use an optimized energy table for low power consumption
▪️ calculate and use most efficient frequency table for high perf low power cost
▪️ configure CIB according to set eff freqs
▪️ configure idle minimum frequency of CIB for LP and HP clusters
▪️ configure minimum frequency fallback of CIB for LP and HP clusters
▪️ switch to 50hz tickrate
▪️ rewire fingerprint driver for performance
▪️ nuked IRQ affining for touch and fp
▪️ improved the scheduler by picking a plethora of patches from RenderBroken
▪️ nuked bfq and zen iosched
▪️ reduce wake boost duration of devfreq_boost and cib
▪️ nuke some qcacld logging
▪️ switch to msm drm notifier for fp
▪️ reduce time taken for fp to process and unlock by 1000ms
▪️ force gpu idle timeout to 58ms
▪️ implement rhel's low latency cmdline
▪️ disable kpti hardening
▪️ disable broken irq detection
▪️ nuke lots of debugging
▪️ enable freq-energy-model for {"sched/energy: checkout to android-4.14-stable"}
▪️ pass quiet to cmdline for less verbose output during boot
▪️ use 67us for cdsp
▪️ compile out ipav3 wakelock code
▪️ nuke pm qos changes in vidc
▪️ use relr relocation packing
▪️ backport and adapt binder from android-4.19-stable
▪️ backport an important fix for put_page() from mainline
▪️ backport TCP optimizations from mainline for reduced network latency and overall consistent network speed
▪️ mainlined ZSTD
▪️ use ZSTD for zswap as zstd proves to be better for zswap and other crypto operations

Bugs:
▪️ efficient frequencies cannot be modified from FKM or manually at the moment but can be used if kernel is inlined in ROM

Notes:
▪️ MIUI is not supported
▪️ If you use nethunter, flash the modules zip in magisk too, if not just flash the kernel zip
▪️ setup kprofiles by doing #kprofiles in neternels telegram group

Credits:
To my testers, especially @lemezohaib for testing freqbench for efficient frequencies
To misc others for helping with this release

NetErnels-mojito-v5.zip :-
MD5: 27bca88e1ae986d815df6b2a599103b1
SHA1: 1a5be17424d31723f5e21614c1ceb5e4f826b4d6

NetErnels-4.0: kramel-build: disabled modules

02 Oct 14:32
6e5413f
Compare
Choose a tag to compare

#NetHunter #mojito #sunny #R

NetErnels Kernel v4.0 | 4.14.206 pureCAF
Release Date: 01/10/21
By: @cyberknight777

Changelog:
▪️ rebased off caf_msm-4.14
▪️ fix slow charging issue
▪️ upstreamed dtc to v1.4.6.9
▪️ enabled DCE
▪️ added cpuidle patches for better deep sleep
▪️ build RMNET extensions
▪️ nuked obsolete flag
▪️ nuke printk tracing
▪️ switched to -O3 treewide
▪️ switched to -O3 for LLD
▪️ optimized for kryo 460 setup
▪️ nuked debugging
▪️ nuked auditing
▪️ picked masahiro's kbuild patches for quality of life
▪️ imported wireguard v1.0.20210606
▪️ backported vDSO32
▪️ switched to -O3 for vDSO32
▪️ added NEON accelerated XOR implementation
▪️ enabled arch_supports_int128
▪️ switched to zswap over zram
▪️ added fake block device(vbswap) for zswap
▪️ switched to LZ4 for crypto operations
▪️ upstreamed LZ4
▪️ force inline functions for better optimization
▪️ use power efficient workingqueues treewide
▪️ backported & enabled BBR
▪️ switched to WESTWOOD as default tcp congestion algorithm
▪️ introduced SRANDOM
▪️ switched to SRANDOM over HW_RANDOM
▪️ added KCAL
▪️ introduced PRLMK
▪️ switched to zswap for PRLMK
▪️ backported cgroup patches
▪️ enabled store motion pass for Global Common Subexpression Elimination(GCSE)
▪️ trimmed kernel version info
▪️ disabled menu governor for cpuidle
▪️ added bi-cluster API to affine IRQ and kthreads to fast CPUs
▪️ add cpumask for big and LITTLE CPU clusters
▪️ affine IRQ to big CPU clusters
▪️ add API to migrate current process to a given cpumask
▪️ micro-optimize idle loop
▪️ introduce devfreq_boost driver
▪️ boost DDR bus upon running an atomic ioctl
▪️ boost CPU when committing a new frame
▪️ boost DDR bus for a short amount of time when zygote forks
▪️ affine hwcomposter to big CPUs
▪️ kill userspace boosting
▪️ introduce event-based CPU boosting (CIB)
▪️ boost CIB on power key
▪️ introduced rapid GC for f2fs
▪️ speed up mremap operations by 20x
▪️ introduce KernelSpace Profiles(kprofiles)
▪️ skip cpu-boost if profiles is in battery mode
▪️ skip devfreq_boost if profiles is in battery mode
▪️ boost DDR bus to the max when app is launched according to set kernel profile
▪️ boost CPU & DDR bus to the max when rendering a new frame according to set kernel profile
▪️ reduce time taken to enter deep sleep
▪️ minimally nethunterize the kernel
▪️ trimmed defconfig
▪️ nuked signature verification for modules
▪️ fixed kernel panic caused when entering deep sleep
▪️ inlined active_mode() for lower overhead
▪️ enabled in-kernel ntfs driver

Bugs:
▪️ you tell me

Notes:
▪️ boots on MIUI, but use it at your own discretion
▪️ If you use nethunter, flash the modules zip in magisk too, if not just flash the kernel zip
▪️ rapid GC will take time to get used to
▪️ setup kprofiles by doing #kprofiles in neternels telegram group
▪️ deep sleep may take time to get used to as I reduced time to enter sleep
▪️ due to some issues, modules are removed for this update.

Credits:
To my testers
To @Panchajanya1999, @nem0-z, @ZIDAN44, @ghostrider-reborn for CIB & devfreq_boost tunables
To @dakkshesh07 for developing KernelSpace Profiles(kprofiles)
To dev team for working together in fixing issues

NetErnels-mojito-20211002-2205.zip :-
MD5: 40f3a265ebc2f45fb1351ef6806393bd
SHA1: e614b7e5c4d5705a9bfe55368174734355850a86

NetErnels-3.0

08 Sep 17:44
120a4b2
Compare
Choose a tag to compare

#NetHunter #mojito #sunny #R

NetErnels Kernel v3.0 | 4.14.239
Release Date: 09/09/21
By: @cyberknight777

Changelog:
▪️ fixed proximity sensor
▪️ added in-kernel dt2w
▪️ added uclamp
▪️ added uclamp_assist
▪️ tuned uclamp values
▪️ backported ntfs3 from paragon
▪️ Merged latest LA.UM.9.1.r1-10900-SMxxx0.0 treewide
▪️ Merged latest LA.UM.9.1.r1-11100-SMxxx0.0 treewide
▪️ Merged latest LA.UM.9.11.r1-04700-NICOBAR.0 treewide
▪️ Merged latest LA.UM.9.1.r1-10700-SMxxx0.QSSI12.0 for qcacld and techpack
▪️ Building rmnet extensions
▪️ added rtl drivers from aircrack
▪️ enabled ntfs support
▪️ nuked binderfs for vhci
▪️ enabled vhci & sdio
▪️ fix booting issue on user build roms
▪️ enabled LZ4 for ZRAM compression
▪️ upstreamed LZ4
▪️ enabled LSE_ATOMICS
▪️ added Dead Code Elimination(DCE)
▪️ switched to LLD
▪️ switched to -O3 for LLD

Bugs:
▪️ you tell me

Notes:
▪️ uclamp tuning may behave differently lmk how it goes
▪️ MIUI support is dropped completely
▪️ If you use nethunter, flash the modules zip in magisk too, if not just flash the kernel zip

Credits:
To my testers
To @Jebaitedneko for helping alot with the backport
To @Panchajanya1999 for the uclamp commits and tunables
To dev team for working together to fix the prox sensor issue

NetErnels-mojito-20210907-0130.zip :-
MD5: 175b9712cf819a7d2fe17fa5a43f78c4
SHA1: 758b7c423570cd6f81f9216d24e77c099865566c

NetErnels-mojito-modules-20210907-0130.zip :-
MD5: 18fdcd982054f528b49dd5ee818d273e
SHA1: e3fad443e2954cda6206dbd4c8723bbb347047bb

NetErnels-2.0

07 Aug 11:16
5c1068f
Compare
Choose a tag to compare

#NetHunter #mojito #sunny #R

NetErnels Kernel v2.0 | 4.14.239
Release Date: 07/08/21
By: @cyberknight777

Changelog:
▪️ briccported bbr2
▪️ fixed random heating issues & implemented cpuidle with cpuidle patches
▪️ picked pm qos commits from sultan
▪️ added scheduler patches from private repo
▪️ reverted cmdline patching which caused fastbootd to be unusable
▪️ cleaned up CC and LD version strings
▪️ nethunterized the kernel
▪️ built with EvaGCC 12.0.0

Bugs:
▪️ you tell me

Notes:
▪️temperature around 30-40 is completely normal
▪️MIUI support is dropped completely
▪️If you update twrp, reflash the kernel again too

MD5: 7386077cd67b3ec088847e5725dade85
SHA1: 601c5fa88b17a4c8797f43236267640b9c705832

Credits:
To my testers

NetErnels-1.0: kernel: Use the stock defconfig for /proc/config.gz

19 Jul 09:07
7433117
Compare
Choose a tag to compare

#NetHunter #mojito #sunny #R

NetErnels Kernel v1.0 | 4.14.239
Release Date: 19/07/21
By: @cyberknight777

Changelog:
-base
▪️ Kernel upstreamed to 239
▪️ Merged latest CAF tag LA.UM.9.1.r1-10600-SMXXX0.0
▪️ Fixed regression in irq
▪️ picked sultan's PID map commits
▪️ added scheduler patches
▪️ added lyb_taskmmu for performance boost
▪️ added mm compaction patches
▪️ introduced CPUSET_ASSIST
▪️ introduced STUNE_ASSIST v3
▪️ switched to westwood
▪️ switched to schedutil governor
▪️ switched to -O3 optimization flag
▪️ added tweaks to makefile to build a smaller image
▪️ picked some powerefficient workqueues
▪️ enabled few tty switches
▪️ introduced srandom
▪️ switched to srandom
▪️ Introduced docker Kconfig
▪️ enabled all docker configs
▪️ reverted removal of xt_qtaguid module
▪️ switched to xt_qtaguid
▪️ imported wireguard v1.0.20210606
▪️ added kcal display control

-nethunter
▪️ Nethunterized the kernel
▪️ added HCI0 support (vHCI)
▪️ enabled all cgroups and namespaces
▪️ enabled all ramdisk compression methods
▪️ enabled all ACPI configs
▪️ added HID support

Bugs:
▪️ you tell me

Notes:
▪️Flash the -base version if you're a normal user
▪️Flash the -nethunter version if you're a nethunter user
▪️-nethunter version won't boot on MIUI roms
▪️ doesn't boot on MIUI Hellas

Credits:
@ZIDAN44 for initial bringup which inspired us all
@venom_stark for getting the kernel to boot
To everyone who tested my kernel from test1 to test30

-base
MD5: 49e21695641ae80bcec34c5661557586
SHA1: 9a3873c0933b5abeee9f6a363a36ad348f10d261

-nethunter
MD5: 1e2c33a62fb0834fa7dd68f7017c43ff
SHA1: 04a3d6b4cf1cfe7f447d709d2dddf4ee402ee66d