Skip to content

Instantly share code, notes, and snippets.

@0ctobot
Last active July 8, 2021 00:53
Show Gist options
  • Save 0ctobot/e361b360b9e1eb09b41d29436654d21b to your computer and use it in GitHub Desktop.
Save 0ctobot/e361b360b9e1eb09b41d29436654d21b to your computer and use it in GitHub Desktop.
Placeholder
Placeholder
{
"kernel": {
"name": "Neutrino Kernel (Stable)",
"version": "4.19.196-NeutrinoKernel-kamino",
"link": "https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/releases/download/4.19.196-NeutrinoKernel-kamino/NeutrinoKernel-kebab-kamino.zip",
"changelog_url": "https://gist.githubusercontent.com/0ctobot/e361b360b9e1eb09b41d29436654d21b/raw/stable.log",
"date": "2021-07-07",
"sha1": "6e34248d68510e5f907dab32018c772f20ed07a6"
},
"support": {
"link": "https://t.me/OnePlusDevelopment"
}
}
**Neutrino Kernel release for OnePlus 8 Series**
Linux Version: [4.19.196](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/bfa63442b3ffecddbaccee7d3e903d3f7aa5a00e)
Neutrino Subversion: kamino
HEAD: 697ddca
---
**Initial NeutrinoKernel release for OnePlus 8 Series:**
**07/07 HOTFIX:
_- Please note that this build has been re-uploaded in order to correct an issue resulting in certain apps (e.g. Call of Duty: Mobile) sporadically crashing._**
- Complete [manual rebase](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/a67d1c3ca7d8014063b6e92aa91aca3183f39bf3) of @OnePlusOSS source over LA.UM.9.12.r1-08900, eliminating ~70% of OP code including:
* OPCHAIN
* MEMPLUS
* SMART_BOOST
* CONTROL_CENTER
* AIGOV
* UXCHAIN
* ONEPLUS_MEM_MONITOR
* ONEPLUS_HEALTHINFO
* OP_FREEZER
* SLA_ALGO
* RF_CABLE_DETECT
- Unified kernel for OnePlus 8 Series devices (OOS [11.2.1.1/11.0.8.11](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/0fd66a63be8466a82b3d5ef913aaff33be020ec4#diff-8c6792a0c2200599f52b1e500d843355edc35bae7c0583424c960c5360a1d828))
* Initial support for custom ROMs **†**
- Update to [LA.UM.9.12.r1-11500-SMxx50.0](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/d634ca12bac22b8d2f221410ed62f30bdc14487d)
- Update to [LA.UM.9.12.r1-11800-SMxx50.QSSI12.0](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/535e9a76ff4b03f54bf63468fb90620e6ee49450)
* Update WLAN drivers to 5.2.022.8C ([qcacld-3.0](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/15d02ef50c62c612185b8205551bcc7773e7fd39), [qcacmn](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/fed84c7ad83b96829a295d442ca21267c4247fdb), [fw-api](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/5e063372de91cf8eac2a48c2cd031843499fe50b))
* Rebase and merge latest techpack subtrees ([audio](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/8aa12ac2bcacf5a68fa81aa985fab88afab38621), [data](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/b202c14d96829aa6204a1326962b92188692f4f6#diff-c7414c268f1ffff78704a1faef2d5893f8fc970ad29b9471d78424e4323430bf), [display](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/c8bf6b598bd0064f4761f3b6811c5f0cfbd455fa), [video](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/45c9e04a6dfca2e4f73a841cec4b17428652b43b))
* Import latest [DTS changes](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/546ab18af4559cbcbef6932ceedc289df59bd28b#diff-8c6792a0c2200599f52b1e500d843355edc35bae7c0583424c960c5360a1d828)
- Update to Linux [4.19.196](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/bfa63442b3ffecddbaccee7d3e903d3f7aa5a00e)
- Disable [SELinux auditing](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/9c47e0e7f401889b28c7f40cbe1194016826202e#diff-7e832221c9d6c6d705e17e91f62b6c15485fa99bf567e98ca229c31067b012da)
- Disable [Tracepoints](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/6a14a57f43fce1f76072cc93a2ad147abc86fe5e#diff-a6065a1f5fe2d5cb21b1b8d6856207baf4a70c0bd8500af34312b14da2104e3e)/[Ftrace](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/8968aaa89a15e718a931c1ec389ab55424bfad15#diff-a6065a1f5fe2d5cb21b1b8d6856207baf4a70c0bd8500af34312b14da2104e3e)
- Enable Wireguard v1.0.0
- Enable vDSO32 compatibility
- Enable BPF JIT
- Implement accelerated [CRC32 routines](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/8c8a82dfc01e6faf376f3cb95dc7027a589b23e3#diff-76395a6374a23a81e46d8bb9a215316698f61376e2f0a60ef5030675e8fc3349)
- Add NEON accelerated [XOR implementation](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/edd5e7374d9ac7445b7a40cbd5a0c23155d84d9c#diff-76395a6374a23a81e46d8bb9a215316698f61376e2f0a60ef5030675e8fc3349)
- Implement [vbswap](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/e1519c020001f6953094a65388316f4e9d094f07#diff-f6a8512a7224ee511074577fede486a3dede52ee81a13f549410d23df38346c8) as an alternative to zRAM
* Introduce in-kernel swapspace [configuration helper](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/1d3365c9cb24d13ce3fe065d591a29483c7fbd42#diff-f6a8512a7224ee511074577fede486a3dede52ee81a13f549410d23df38346c8)
- Implement [Rapid GC](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/322f80f73a0ad5903b4b741a0d4a1635cbc2232c#diff-5d8b570d3ba4b8fc814397c13595bf2a8c3fd56e7c1037b585e0c78623ba5a10) for F2FS
- Import mainline exFAT drivers ([5.8-1arter97](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/ef312ee8121fb412313f06f412c4337308172f1c#diff-90577f7d4c49a024d9c212f277cc8bb8e79f76c8c4a2e9331905dc3813a454ff))
- Touchscreen optimizations courtesy of @arter97
- Extensive adaptation of @kerneltoast's work ([6ca04eb](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/6ca04ebf75bb488af724aa1cf48772cf78053ecf))
* Treewide dynamic memory allocation avoidance
* Numerous QoS/cpuidle optimizations
* Rewrite [ion](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/4cc6867a73b3b22ac88ea5e4b70786941701336a)/[iommu](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/a8a13f38d99b5975d0d760313e973cf1ed067eae)/[ashmem](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/5d7ee4ef992d892feb7138652dd8479c94ae9b49) drivers for improved performance
* Micro-optimize [PID map reads](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/0dd8c1453e2675969e847d47d786708fa7fa61b6)
- Move to [Simple Low Memory Killer](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/d3415d969bac0e4ecbc6bdc4287991a3081de74c)
* Disable MEMCG/PSI
- Initial [EAS/Scheduler optimization](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/e300f240d5e950ffb564623c3f94bdfb5d072f67)
* Optimize for PELT (Disable [SCHED_WALT](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/92790b5995e53091e794586378dddec54e08806c))
* Split [sched_boost](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/316eb6b28d8c817c8fecc049c0ec586c4e854d4d#diff-1703be5217f73be12e8ed31f8547b69d136b1ec172869be9e8da29cb4e0b4cac) from WALT dependant code
* Recalculate [energy model and CPU frequency tables](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/7dfbc32cee303d98a8c85351f1c2670e6cc8e287#diff-8c6792a0c2200599f52b1e500d843355edc35bae7c0583424c960c5360a1d828)
* Introduce [CPUSet](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/22620ff917e4d9af90944fdf0aeaf776968bd42e#diff-13d1dbb377797bee30c87b4acfc5640c3156c251778293b616d9a18f9137f018)/[SchedTune Assist](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/aebd3f4cea232c30a63d9a729b15a3f04c8d8f2e#diff-f6ae1bbc8ba80a0a46c5a3dc36c20f94be8fbe6e26fe59931614ae65bf6ecf05) helpers
- Enable [in-kernel](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/80362699efcff623ba9536beab20e0e7ba5c0815#diff-903b4c82cdc0d9b629914a5239ff2023c7bbdb0b883eb0fdb8b4abc5cf69ad07) boost and frequency handling
* Revert to [stock minimums](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/e707e96b238cc6dcd1dd0900f9a64619c6e5f7db#diff-903b4c82cdc0d9b629914a5239ff2023c7bbdb0b883eb0fdb8b4abc5cf69ad07) when display off
- Add [API](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/30c2f76b43189cd92a97b9416c1235791e3a6e29) to affine IRQs/kthreads to fast CPUs
- Upstream [DTC scripts](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/20d144ed57d1b78db709d333591b1760155f2294) to v1.6.0-11-g9d7888cbf19c
- Various DTS optimizations
* Disable broken [IRQ detection](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/7f8f6b9fe803218ac5764bf6d5941426be865c4f#diff-8c6792a0c2200599f52b1e500d843355edc35bae7c0583424c960c5360a1d828)
* Disable [debug monitoring](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/69195f527dcdc4c87a97445830a6a00b2f6e47ee#diff-8c6792a0c2200599f52b1e500d843355edc35bae7c0583424c960c5360a1d828)
* Disable expedited RCU [grace periods](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/1b9dfcef2f244bef143240e8300a3ab131b556f3#diff-8c6792a0c2200599f52b1e500d843355edc35bae7c0583424c960c5360a1d828)
* Remove [display ramdump](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/38d816577805379ca717df493267f8e8c65bcb71#diff-8c6792a0c2200599f52b1e500d843355edc35bae7c0583424c960c5360a1d828) memory region
* Inline with SM8250-AB [GPU frequency table](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/a98e0d078ba9829650c1f874cae11eda33066c8c#diff-8c6792a0c2200599f52b1e500d843355edc35bae7c0583424c960c5360a1d828)
* [Cleanup](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/3380f432b199f5cc3fa237331f49baf10e3cffdf#diff-8c6792a0c2200599f52b1e500d843355edc35bae7c0583424c960c5360a1d828) DTS overlays and [purge](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/89cd3a4825b7e48e7a4993ca5bdf788cd3d01932#diff-8c6792a0c2200599f52b1e500d843355edc35bae7c0583424c960c5360a1d828) legacy DTBS
* Import DSI panel commands from [11.0.6.8.KB05AA](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/6e87f1f013063a34d843c17ec2d519afefd94b93#diff-8c6792a0c2200599f52b1e500d843355edc35bae7c0583424c960c5360a1d828)
- Initial compiler optimizations for Clang 13
* Fix treewide compilation warnings
* Enable [LD_DEAD_CODE_DATA_ELIMINATION](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/a1879d9518bf9d954952409fd39858982a5b192c)
* Compile-time support for [LLVM Polly](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/2b9f32b65efcfc0f3350c3a7084329a20f314e13)
- Enable [Clang LTO / CFI](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/9d0ce6e0309e443739aa1837e90502f7fe4d74b9)
* Fix treewide CFI violations
- Enable [Clang Shadow Call Stack](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/9d0ce6e0309e443739aa1837e90502f7fe4d74b9)
- Silence extraneous [dmesg loggers](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/e1f987f4f78b27a2a23fd09adb1e558c202325fa)
- Extensive first pass [kernel config cleanup](https://github.com/0ctobot/neutrino_kernel_oneplus_sm8250/commit/4e9caae0926097ffd7327bc20a034fa68f5c7a43#diff-a6065a1f5fe2d5cb21b1b8d6856207baf4a70c0bd8500af34312b14da2104e3e)
**†** _**Neutrino Kernel supports both stock and custom ROMs**, on all compatible devices, although I would advise some level of caution as it has not been tested extensively outside of OOS and I can't guarantee flawless compatibility with all custom ROMs, so it will be on you to determine whether or not it's a good fit for your preferred OS. That being said, it should be just fine on most of them._
**Surely this is not an exhaustive list of all the work that has been done during the last 7 months of this comically long beta period, those seeking a more comprehensive look under the hood should refer to the...**
**Complete Changelog:**
(https://bit.ly/3AvoKH3)
Signed-off-by: Adam W. Willis <<return.of.octobot@gmail.com>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment