Development [r26] arter97 kernel for OnePlus 9 series - OnePlus 9 Pro

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
arter97 kernel for OnePlus 9 series running OxygenOS​
/* Features */
Supports OnePlus 9 series
Fully rebased kernel without unnecessary OnePlus code
Latest CAF msm-5.4 kernel fully merged
Latest Linux v5.4 subversion merged
Latest Google’s security fix merged
BBR as the default TCP network congestion control
Features the latest WireGuard
Modules support disabled for lighter kernel
Latest Wi-Fi drivers from Qualcomm with customized config
Built with Clang 13 and ThinLTO
Power optimizations
Memory management optimizations
Latest SELinux subsystem backported from mainline
Latest f2fs backported from mainline
Latest BFQ I/O scheduler backported from mainline
mmap/mremap backported from mainline for a major performance boost
Touchscreen optimizations for lower latency
Uses LRNG for better performance
/* Details */
- Fully rebased kernel without unnecessary OnePlus code -
This kernel is not based on the stock OxygenOS kernel source provided by OnePlus. Instead, it’s based on the latest and greatest Qualcomm has to offer. Only the necessary parts from the OnePlus kernel have been cherry-picked, such as OnePlus 9 specific device drivers.
This effectively kills all kernel modifications/optimizations from OnePlus, including the infamous app throttler.
Due to the completely different base, this kernel will behave drastically different from other kernels, in both good and bad ways.
- Power optimizations -
This kernel makes some conscious decisions for reducing power consumption.
First, the stock OnePlus configuration forces display-related processes to use the big cores exclusively.
This configuration brings a huge power regression since it makes every frame dispatch to wake up and use the power-hungry cores.
This kernel resets this profile to use the configuration Google recommends, which is to use the LITTLE cores exclusively instead. (Reverted in r2 as it seems like that little cores aren't enough to drive 120 Hz fluidly.)
This kernel allows these processes to use little and middle cores (0-6), depending on the load.
Second, this kernel disables wakelocks upon Wi-Fi’s RX unicast packet transmissions. qcom_rx_wakelock is one of the major culprits to increased idle power consumption. Although its total wakelock time is quite low, it's catched very frequently and prevents the system from entering suspend repeatedly.
As dropping unicast or local ARP packets doesn’t pose practical issues on Android, this kernel disables qcom_rx_wakelock.
Third, this kernel reduces the duration of the Bluetooth ISR wakelock from 2 seconds to 100ms. This was done from an observation that the average userspace response time from ISR is less than 10ms.
My kernels have been doing this for years and no Bluetooth-related issues were reported.
Fourth, the vibrator driver used in this kernel no longer controls the cpuidle driver. The stock kernel disables the cpuidle whenever the vibrator is used. This kernel disables it as the vibrator is not that sensitive to deadline misses.
There are other small improvements throughout the kernel tree as well.
- Memory management optimizations -
This kernel marks the first Linux v5.4 based Android kernel to have MGLRU backported.
MGLRU is a big deal in everything Linux related, especially for Android.
Esper have a great article on what is MGLRU in a nutshell: https://blog.esper.io/android-dessert-bites-22-linux-memory-management-38419756/
TL;DR:
According to Google’s fleetwide profiling, multi-generational LRU yields an “overall 40% decrease in kswapd [the kernel daemon that manages virtual memory] CPU usage,” an “85% decrease in the number of low-memory kills at the 75th percentile,” and an “18% decrease in app launch times at the 50th percentile.”
Click to expand...
Click to collapse
This kernel also disables LMKD and uses an in-kernel solution called SimpleLMK, made by kerneltoast. You can track how often SimpleLMK kicks in by monitoring:
Code:
/sys/module/lowmemorykiller/parameters/lmk_count
This kernel also changes a lot related to swap and zram.
The swap-related code has been backported from Linux v5.9 (link1, link2) to efficiently support fast swap device and allow swappiness over 100. This kernel currently sets swappiness to 160 on < 6GB of RAM, 120 on 8GB and 90 on 12GB.
zram has been also backported from mainline Linux and further tweaked to use block device writeback. This is equivalent to the recent “RAM Plus” feature that companies have been marketing that uses the internal storage to extend RAM.
This kernel uses zram writeback to offload idle pages (i.e., really, really unused RAM) to the internal storage. As it's extremely slow to bring pages back from UFS, writeback code works quite conservatively. It'll start to writeback pages that haven't been used for a day or two. It makes use of the hidden 2GB “last_parti” partition from the UFS storage.
Along with zram writeback, this kernel also enables deduplication with xxHash. Each page stored in zram is checked for deduplication to further save memory. With these 2 features combined, RAM reaching 1GB is additionally saved, but your mileage may vary.
zram writeback is temporarily disabled to avoid lags on long uptime with r20.
The post boot script used in the stock ROM is also overridden and it sets the readahead to 128KB. As I/O workload under Android is mostly random, high readahead doesn’t help and only increases memory thrashing.
This kernel also incorporates a lot of patches to reduce/optimize memory allocations used throughout the entire kernel.
mmap/mremap code was also backported from Linux v5.10 to optimize ART (see here for more info).
- Latest subsystems -
This kernel backports the SELinux subsystem from mainline Linux. This includes caching improvements that drastically reduces time spent on lookups. 10K lines of code has been changed.
This kernel also backports f2fs (Flash-Friendly File System) from mainline Linux. This includes bug fixes and performance improvements such as shorter discard latency, more optimized GC logic for Android, and checkpoint merging.
BFQ I/O scheduler has also been backported from mainline Linux for better I/O performance.
- LRNG -
This kernel ditches the traditional RNG driver from the Linux kernel in favor of LRNG. See here and here for more info.
A rudimentary throughput benchmark shows an improvement of 10.5% (keep in mind that this is only one aspect of an RNG metric).
- Battery charging management -
- Battery charging code has been backported from OxygenOS 12. There are numerous fixes there.
- A case where the charger negotiation doesn't go smoothly, the stock kernel will have the charging current limited for prolonged time instead of retrying. This kernel retries AICL right after re-negotiation, so the charging speed will be fixed for this particular case.
- Users can now unlock 27W (9V 3A) charging through USB-PD. From my testing, the battery charges 2% per minute.
Most decent USB-PD chargers should be capable of 27W (including all PD chargers that I personally own), but do note that this is dangerous if you connect to a non-27W capable charger (i.e., 3A unsupported on the 9V voltage profile) when this is enabled.
Write 0 to /sys/modules/oplus_chg/parameters/limit_pd enable this new behavior.
- OnePlus lowers the temperature limit when the screen is on for cooler user experience. Users can now also change this behavior and allow the device to get a little hotter by forcing the kernel to behave the same during screen-on and screen-off.
This is not dangerous but it'll obviously mean the device will be hotter when you use it and charge it simultaneously.
Write 1 to /sys/modules/oplus_chg/parameters/ignore_screen_state to do this.
- This build now disables surface temperature monitoring in the charging code for non-SuperWarp chargings. This mechanism is a separate one from what's described above, and I've personally ran into multiple charging annoyances due to this, resulting in a super slow 3W charging when I need to charge urgently.
OnePlus have set the threshold too low, resulting in real charging issues in practice. This behavior is somewhat lifted with OxygenOS 12, and my kernel takes it further and removes it entirely for non-SuperWarp charges as other perfectly fine safety mechanisms exist.
See the commit for more details:
oplus_chg: disable non-swarp strategy policies · arter97/[email protected]
This mechanism serves to limit the charging current (not input current) depending on the surface temperature, but it fails in practice for so many different reasons. First, the input current is st...
github.com
/* Notice */
OxygenOS 12 is unsupported.
Non-OxygenOS custom ROMs are supported, but your mileage may vary wildly. Most notably, gesture orientations on some ROMs may be inverted.
Custom ROMs that uses OxygenOS 12 kernel, including LineageOS 19.1, are not supported.
This kernel touches vendor_boot and dtbo partitions, meaning you'd need to restore said partitions whenever you're switching to another kernel or stock.
Please make a back-up of these partitions. The installer doesn’t do this automatically for you. Installing the stock ROM with a full OTA restores said partitions as well.
/* Disclaimer */
Your warranty is now void.
I am 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 me for messing up your device, I will laugh at you. Hard. A lot.
/* Thanks to */
Vishalcj17
kristofpetho
kdrag0n
kerneltoast (SultanXDA)
/* Instructions */
1. Read the above. Please.
2. Flash the zip file from FK Kernel Manager. Any other installation methods are untested.
/* Downloads and links */
arter97.com
Kernel source
Telegram chat link

/* Changelog */
r27
Simple LMK fix merged (lesser app kills)
Built with LLVM 16.0.3 compiler
LA.UM.9.16.r1-13100-MANNAR.QSSI13.0 merged
Linux v5.4.242 merged
f2fs fixes merged from Linux v6.4
Wi-Fi drivers updated to 2.0.8.32U
r26
Switched to LLVM 16 compiler
Merged a few GPU improvement patches from Snapdragon 8 Gen 2 kernel
Removed unnecessary overhead from kmap_atomic() for better performance
Fixed a kernel panic from connecting USB peripherals
Merged latest memory-management fixes
LA.UM.9.16.r1-12900-MANNAR.QSSI13.0 merged
LA.UM.9.14.r1-21300-LAHAINA.QSSI12.0 merged
Linux v5.4.237 merged
Latest exFAT from Linux v6.3 merged
Latest f2fs from Linux v6.3 merged
Wi-Fi drivers updated to 2.0.8.32R
2023-03-05 security patch merged
r25
Applied memory-management patches from kerneltoast to improve responsiveness (ported by Kaz205)
Added a workaround to f2fs to perform GC better
Merged latest memory-management fixes
LA.UM.9.16.r1-12700-MANNAR.QSSI13.0 merged
Linux v5.4.228 merged
Latest exFAT from Linux v6.2 merged
Latest f2fs from Linux v6.2 merged
Wi-Fi drivers updated to 2.0.8.31V
2023-01-05 security patch merged
r24
Disabled DFS on AP mode to remove 60 seconds delay on hotspot activation
LA.UM.9.14.r1-20800-LAHAINA.QSSI13.0 merged
Linux v5.4.224 merged
Latest exFAT from Linux v6.1 merged
r23
Reverted a commit that can cause CPU temperature monitoring issues
Memory management fixes merged made from upstream
Latest MGLRU patches merged (1669 lines changed)
Battery percentage report fixed (from LineageOS)
Battery charging code backported from OxygenOS 12
Fixed a stock kernel bug where charging current is limited for a prolonged time
27W (9V 3A) USB-PD charging unlocked (should be manually enabled)
Added screen-state-aware charging toggle
Surface temperature monitoring disabled for better charging
Now built with the latest Clang 15.0.3
Some patches merged from Amazon AWS Linux fork
RTL8152/8153 drivers updated to v2.16.3
Some patches merged from a downstream fork, made by buzzcut_s
LA.UM.9.14.1.r1-07500-QCM6490.QSSI13.0 merged
Latest f2fs from Linux v6.1 merged
Linux v5.4.222 merged
Wi-Fi drivers updated to 2.0.8.31H
Latest exFAT from Linux v6.0 merged
2022-10-05 security patch merged
Latest WireGuard merged
r21
Proactive compaction backported for better long-term performance
Switched I/O scheduler from BFQ to Samsung's SSG for lower CPU overhead and better Android-specific optimizations
Wi-Fi drivers updated to 2.0.8.30E
RTL8152/8153 drivers updated to v2.16.1
Latest f2fs fixes from Linux v5.19 merged
Some patches merged from a downstream fork, made by buzzcut_s
Storage performance improved (fuse)
HL/HMARK netfilter modules enabled for TTL modifications (hotspot)
r20
Backported MGLRU (a major change)
Fixed full system crash on some custom ROMs (by LibXZR)
Added a few memory patches to improve responsiveness (by kerneltoast)
Fixed page allocation failures introduced from mainline
SimpleLMK re-enabled after fixing soft random reboots
Fixed excessive RMNET_DFC wakelock
Fixed OnePlus charging code to handle worker failure
Backported updated arm64 memory functions for better performance
Disabled REFCOUNT_FULL to optimize performance over security
Tuned swap/zram configurations
Disabled zram writeback to avoid lags on long uptime
Optimized pstore for better performance
Added haptic level adjustment by flar2
Reduced memory usage by matching CONFIG_CMA_AREAS to minimum required
Re-enabled arm64 erratum that was previously disabled by mistake
Fixed rare random reboots (zsmalloc patch by kerneltoast)
Backported more BFQ commits from mainline
Backported mm/mremap fix from mainline
Now built with the latest Clang 14.0.7
Device-tree updated to LA.UM.9.14.r1-19300-LAHAINA.QSSI13.0
LA.UM.10.9.1.r1-02800-QCS610.0 merged
LA.UM.9.16.r1-11000-MANNAR.0 merged
Latest f2fs from Linux v5.19 merged
Linux v5.4.197 merged
Wi-Fi drivers updated to 2.0.8.29W
Latest exFAT from Linux v5.19 merged
Latest LRNG v45 merged
2022-06-05 security patch merged
r12
Fingerprint code merged with latest the LineageOS
90 Hz timing removed for custom ROMs to avoid noticeable gamma shifts
Now built with the latest Clang 13.0.3
Linux v5.4.186 merged
Latest exFAT from Linux v5.18 merged
LA.UM.9.14.r1-19300-LAHAINA.QSSI13.0 merged
Wi-Fi drivers updated to 2.0.8.27T
r11
Added support for non-OxygenOS, custom ROMs (screen-off gesture orientations may be inverted)
Added a workaround to prevent soft random reboots due to memory management
Fixed a fingerprint-related memory-leak from OnePlus display source code
Merged a few f2fs patches to improve responsiveness
Backported more BFQ commits from mainline
Backported mm/mremap fix from mainline
Latest WireGuard merged
LA.UM.9.16.r2-03700-MANNAR.0 merged
Linux v5.4.184 merged
Wi-Fi drivers updated to 2.0.8.27S
2022-03-05 security patch merged
r10
Bug-fix, stable release
r8
Fixed r7's memory optimizations
Merged latest exFAT
r7
Fixed a SELinux memory leak that happened since r1a12 (thanks to @Kaz205 for reporting and testing)
Merged some memory operation optimizations
Further improved the workaround to fix unwanted doubles presses from the power button
r5
LA.UM.9.16.r2-03500-MANNAR.0 merged
Linux v5.4.179 merged
Wi-Fi drivers updated to 2.0.8.26Z
2022-02-05 security patch merged
Backported UNIX socket latency optimization from Linux v5.17
r4
Fixed lmkd not working, resulting in freezes
Minor performance and power optimizations
Linux v5.4.175 merged
r3
SimpleLMK disabled for now to fix random soft reboots
Fixed random app crashes and freezes due to op_cgroup
Bluetooth drivers re-worked to fix Bluetooth-related issues
USB malfunctions fixed (dwc3)
LA.UM.9.14.r1-18900-LAHAINA.0 merged
LA.UM.10.9.1.r1-00800-QCS610.0 merged
Linux v5.4.174 merged
Wi-Fi drivers updated to 2.0.8.26T
2022-01-05 security patch merged
Latest WireGuard merged
Latest f2fs from Linux v5.17 merged
Latest LRNG v43 merged
Read-write semaphore backported from Linux v5.16 to improve smoothness under heavy I/O
Now built with the latest Clang 13.0.2
Disabled SLUB per-CPU partial caches for better latency (by Sultan)
r2
Display-related processes are now allowed to use the middle cores as well for better smoothness
Enabled more mremap() performance improvement that was missing from r1
LA.UM.9.14.r1-18400-LAHAINA.0 merged
LA.UM.9.16.r1-08100-MANNAR.0 merged
LA.UM.10.9.1.r1-00300-QCS610.0 merged (contains a lot of new improvements including power optimizations)
Linux v5.4.159 merged
Wi-Fi drivers updated to 2.0.8.25M
2021-11-06 security patch merged
Watermark boosting disabled to fix aggressive app killings (by Sultan)
Workaround added to fix unwanted doubles presses from the power button
r1
First stable release

Reserved 2

Reserved 3

Holy **** this is exciting. This kernel is the one that I ran back on my OP7P and it's why I loved that phone so much. Is the 9 why you stopped development on that device?

Nice to see your kernel here in the 9 Pro forums! Kudos

Thanks for this!

Cheers!! Already running since r1a1.

Very Nice, this kernel will have agressive ram management like oppo?

Damn! Nice, arter.

Will work on android 11 right?

Mangtas_666 said:
Will work on android 11 right?
Click to expand...
Click to collapse
First post: Only OxygenOS on Android 11 is supported.

So awesome to see arter97 here.

Anyone running this yet? If so how is it? Thinking of flashing this on stock 11.2.9.9

Woa nice to see you here! Thank you

Does vendor _boot get altered after flashing kernel meaning flash back untouched backed up vendor boot to take next ota?

Mangtas_666 said:
Will work on android 11 right?
Click to expand...
Click to collapse
All OP9P phones run Android 11. This kernel is made for the OP9P. How can it not work on Android 11?

mattie_49 said:
Does vendor _boot get altered after flashing kernel meaning flash back untouched backed up vendor boot to take next ota?
Click to expand...
Click to collapse
Was using this kernel briefly, and just updated to 11.2.9.9 (Global), had to flash stock vendor_boot, dtbo, and boot to be able to upgrade.
lendawg said:
Anyone running this yet? If so how is it? Thinking of flashing this on stock 11.2.9.9
Click to expand...
Click to collapse
During my brief time using the kernel, had a minor issue whereby AUX (via USB-C) in my car wasn't working.
BTW thanks for the awesome kernel, planning to use it once wireguard support is added!

Another new alpha build is up with big changes yet again.
I still have quite a few TODOs left, but I ported many changes from my OnePlus 7 Pro kernel.
Wi-Fi will behave differently with this kernel, so please let me know if you encounter Wi-Fi issues.
r1a7
Wi-Fi configuration merged with the latest CAF
Wi-Fi's rx_wakelock disabled and removed
Support for WireGuard added
Bunch of memory optimizations
Bunch of optimizations for screen and the GPU driver

Does kernel support k-cal colors and additional wakelocks blocking than said in Op?

Related

[MM 6.0.1 OOS/H2OS 3.5.x Kernel 3.18.57][22 JUN] Dorimanx 1.1 PWR CORE

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​ Dorimanx OP3T Kernel for STOCK 6.0.1 OOS/H2OS 3.5.x​
No Oxygen 4.x.x or CM/LineAge SUPPORT!!! GO AWAY NOW!​
My PM box, is for Emergency ONLY! do not send me PM's just because you cant post! that is lame, post something useful and post in thread.​
​
My kernel was based on OP3T Stock Kernel 3.5.4.​
Kernel Tree is 3.18.57, + OP3T and CAF updates + my tweaks and lots of tuning!​
Global Credits!
Flar2 for many kernel mods
Cyanogen/LineAge/Code Aurora for many kernel mods
Andip71
Franciscofranco
SultanXDA
OP3 Devs for Stock kernel base!
To all my sources in GITHUB!
Linus Torvalds for Linux source!​
WHAT INSIDE:
Kernel support OOS/H2OS 3.5.x
Kernel compiled with GCC 6.3.0 64Bit adapted for OP3T
Kernel includes all new security patches.
Kernel updated up to 3.18.57 build.
Kernel includes all original last 6.0.1 changes by OP3T Devs.
Kernel operate in 300HZ + all needed fixes to do that.
Kernel has DASH charge and USB Fast Charge (USB mode up to 900mA with MTP on)
Kernel has swipe to wake features by @FLAR2 (up,down,right,left,and dual tap).
Kernel include Sweep2Sleep allows sweeping from right to left and backwards!
on soft buttons to turn off the screen. by @FLAR2
Kernel has support for screen color change app. (KCAL Interface).
Kernel has support for touch keys light delay, default 6sec. by @andip71
Kernel include KGSL fixes and reworked GPU driver (use 133MHz min freq to save juice, goes to idle @ 100MHz)
Kernel include all latest patches from Code Aurora source for 3.18.y
Kernel include Enhanced TCP methods
Kernel include IPA/TIMERFD/WIFI/NETLINK wakelocks removal code by @franciscofranco
Kernel include open source QUALCOMM Wi-Fi driver updated to max without debugs.
Kernel include advanced binder driver from main line 4.10.y kernel.
Kernel include CDROM emulation on mass_storage (compatible with DriveDroid 0.10.18+)
Kernel include latest F2FS driver for 3.18.y with fixes for speed and stability.
Kernel include ZEN,NOOP,BFQ,DEADLINE,CFQ,FIOPS,SIO I/O govs tuned for SSD.
Kernel includes Elementalx, Blu_active, Interactive, Conservative, Ondemand, Performance CPU GOVS.
Kernel support FSYNC mode for FS. (Off by default)
Kernel includes ARM enhanced performance and battery patches
Kernel support Backlight Dimmer feature.
Kernel supports CPU OverClock/UnderClock for both clusters.
Kernel support thermal driver tuning, max heat for cores, default 70c.
Kernel includes advanced crypto drivers and latest qseecom decryption driver.
Kernel includes updated EXFAT and FUSE + NTFS drivers.
Kernel support for not forcing encryption.
Kernel includes support for CIFS driver.
Kernel includes fast finger print sensor mod when screen is off.
Kernel includes support for Haptic Feedback (vibrate) tuning (more/less)
Kernel includes massive code update for sound driver, and @FLAR2 sound/mic gain control interface.
Kernel include boost to I/O by mounting partitions with optimized flags, and updated MMC driver.
Kernel includes updated BT and NET/PPP/VPN/DATA drivers.
Kernel include mode to ignore home and touch keys when finger is pressed against the screen.
Kernel includes Aroma Installer for easy install with few simple changes that can be selected.
Kernel includes many patches to camera, GPU, and screen drivers.
Kernel has OTG enabled by default internally.
Kernel has Notification LED Control driver by @andip71
Kernel include usage of power efficient workqueues in many drivers by @franciscofranco
Added Support For INIT.D Scripts, from kernel 0.5
Kernel will switch to NOOP I/O Sched during screen Off time to save power. by @SultanXDA
Kernel will boost CPU frequency when screen wakeup to improve user experience, by @SultanXDA
Known BUGS!
Post reports, i will fix.
Standard disclaimer:
By installing this kernel YOU will take full responsibility for any damage to your device!
Hardware or software! no one forcing you to install it.
So please do not blame me if you read wrong! or didn't read at all the instructions that i have written for YOU.
But you can feel SAFE to use it, as I test every release on my phone!
Before I publish it for download.
Your warranty will be void by installing custom kernel as my.
Kernel Sources:
KERNEL GITHUB
TO DOWNLOAD GO DOWN!!! YES MORE DOWN...(do i need to repeat?)
How To Install:
You will need to have device with Latest Recovery installed! Please install the 3.0.4.1 BUILD!
>>>Here is the Recovery you need!<<<
Old recovery can corrupt your DATA partition as my kernel using latest F2FS driver. new recovery has updated driver.
YOU MUST UNLOCK OEM BOOTLOADER!!! OR YOU WILL BE STUCK ON BOOT!
Refer to other threads for recovery install process and for oem bootloader unlock.
Download kernel, upload it to your SDCARD, anywhere.
Always have STOCK Kernel for your ROM!
Reboot to Recovery.
THINK AGAIN! did you made backup? NO!!!!??? DO IT NOW!
If you had any other Custom kernel, Install STOCK kernel or dirty flash your ROM,
to clean any trace from other kernel. then install ROOT if you wish! then install my kernel.
Do not clean any cache or dalvik (needed for ROM only!).
Reboot!
If you wish to UNINSTALL my kernel, there is a uninstaller ZIP for you.
it's will remove all ramdisk changes, and install last 3.5.4 stock kernel, preserving ROOT if was installed!
Have Fun and report.
Donation Board:
ME donated 140+ hours to update stock to now.
Krija = Dorimanx App updates! (Serious Donation!).
VanderLo
Mirror #1 by willflint
Mirror #2 by GITHUB!
Info for Web Hackers,
in my mirrors, there is nothing to take!
My work is public and for the people!
Please let my mirrors work in peace.
Thanks.
​
Mirror #1
Mirror #2
More Usefull Links:
Few Apps that you can use.
STOCK Kernel 3.5.4 last OTA
Uninstall Script + Stock Kernel
​
Change logs:
22/06/17
Kernel 1.1 Final Build for MM 3.5.x
*Updated with 3.18.57 critical patch
*Merged fix for infinite loop in wake boost code.
13/06/17
Kernel 1.0
*Merged security update to prevent hackers using memory access exploits.
*Merged patches 3.18.55 + 3.18.56, changes in:
CHAR,NET,OF,PCI,USB,MM,KERNEL CORE,SECURITY,FS
*Compiled new GCC 7.1.0 kernel toolchain,
and used it to fix many kernel bugs during kernel compile.
*Merged cleanups to unused code for CPU cortex-a53.
*Disabled some TRACING code.
*Merged changed to reduce log spam.
*Merged updates/fixes for FS,SOUND,QCOM,RTC,CPUFREQ,NET,WAKEUP,MDSS,DEVFREQ.
24/05/17
Kernel 0.9
*Merged latest F2FS driver updates, great read/write I/O performance, 20% more speed.
Also better power usage during suspend. Discard and GC threads now sleep too.
*Merged many updates from LOS tree (CM14.1 - 7.1.1) including MMC,SOUND,CORE,TRACE,VIDEO,CAMERA,
MDSS(screen panel),SOC,IPA,KGSL(GPU),ASHMEM,CRYPTO,BINDER,QCOM MODEM,QCOM SUBSYSTEM,
*Merged patch 3.18.54 including NET,USB,TTY,FS,BT,CORE,PADATA updates.
*Merged security fix for SU thread, now hackers will have hard time exploiting ROOT
with apps that didnt asked for ROOT. it's very big step in security with ROOT!
*Merged updates to boost I/O performance and CORE RT tasks.
*Merged better HACK for SafetyNet checks. (if you have ROOT, SafetyNet will not pass the check!).
15/05/17
Kernel 0.8 STABLE
*Changed setting sleep I/O gov to wait 5sec before activating.
*Merged main line kernel patches 3.18.52 + 3.18.53,
included RAM(MM),ARM64,NET,FS,CORE,USB,POWER,LIB,SOUND.
*Merged updates to UFS controller (storage driver)
*Merged new driver that will boost cpu freq when screen wakeup for 5sec.
*Merged updates to cpufreq + cpustats drivers, bugs + ram leaks fixes.
*Merged update to Arm64 code to reduce delay on RAM allocations.
*Merged Memory code updates.
*Merged GPU ION driver security fixes.
04/05/17
Kernel 0.7 STABLE
*Merged new driver that will set NOOP as I/O sched on all mounts when screen goes off.
and restore other I/O gov when screen is ON after 10sec. this will help to reduce power usage
while in suspend, and speedup the wakeup.
*Merged bug fixes for touchscreen driver.
*Merged big patch 3.18.51 from main line kernel.
*Merged few fixes for EXT4 driver.
*Merged fix for L2PC and GPU driver detected by Franco.
25/04/17
Kernel 0.6 STABLE
Kernel 0.5 BETA (deleted, bug in NET code)
*Reverted changes in NET code that triggered kernel crash!
*Merged new updates to FS,Qseecom,MDSS,Camera,USB,KGLS,RCU,SOUND
*Merged new updates to Power,SPMI,SOC,Security,Thermal,MMC,MODEM
*Merged update for CPUIDLE code should help to gain even more power during suspend.
-->>0.5<<--
*Merged updates to WIFI Driver + fixes for non original code changes.
*Tuned touch boost freqs on boot. (1.2ghz + 1.4ghz big cluster)
*Merged MASSIVE code updates for Screen,USB,NET,MODEM,CRYPTO and camera drivers from CM14.1 kernel.
many RAM leaks fixed and few possible critical bugs are gone!
*Merged few updates to Interactive gov.
*Merged Sound Driver updates.
*Merged MMC driver updates.
*Merged QseeCom driver updates.
*Merged update that increase KGSL memory store for GPU.
*Merged new GCC 6.3.0 Kernel compiler with latest Binary updates and tuning.
*Merged MASSIVE update 3.18.49 from main line source.
*Merged MASSIVE update 3.18.50 from main line source.
*Fixed PSTORE not writing logs on boot/crash.
*Added INIT.D support as requested. put your scripts in /data/init.d folder!
it's will be auto added on boot if you select to have INIT.D support in AROMA Installer.
29/03/17
Kernel 0.4 STABLE
*Merged fix for FS code for file permissions.
*Removed timer stats that no one need.
*Fixed wakelock blocker code. now device will deep sleep at last. flat line in battery graph.
*Merged many bug fixes for screen driver (mdss)
*Merged bug fixes for camera, sound, and leds drivers.
*Merged bug fixes for BT, hwmon, qpnp, NET, HID drivers.
26/03/17
Kernel 0.3 BETA.
*Updated BLuActive CPU GOV from dev source.
*Merged change that fools apps and show kernel is in green state (stock)
*Updated Interactive CPU gov, allowed to set max timer rate on screen off,
For now I have set it to 40K default screen on is 20K.
*Fixed timekeeping code bug in suspend.
*Merged many code changes that fix kernel memory leaks in many drivers! Thanks to @sultanxda
*Merged update to kill wakelocks code by @franciscofranco + some improvements in screen on/off code.
*Merged many changes in kernel to silince useless debug mess.
*Merged update for WIFI regional DB.
*Changed F2FS driver to use noinline_dentry by default to support older twrp.
I am STRONGLY advice to install TWRP 3.0.4.1 as it’s including new F2FS driver that don’t mess DATA partition!
*Merged updates to GPU freq driver.
*Merged bug fix for USB code.
*Merged improved CRYPTO optimization for our CPU.
*Enable JUMP_LABEL code to optimize some functions in kernel if possible.
*Added user configuration in AROMA installer for TouchKeys LED delay. And for Wakelocks ON/OFF
Already set as I think best, but you can do whatever you like.
To be able to disable touch keys leds, unselect the touch keys override option.
Please create DATA backup before booting just in case.
Best to use TWRP 3.0.4.1 with this kernel and any other!
15/03/17
Kernel 0.2 STABLE.
*Merged update to Blu_Active CPU GOV from dev @ENGstk
*Merged ability to disable some NET/TIMER wakelocks to save power during suspend by @franciscofranco
I have set to disable the: wlan,timerfd,wlan_extscan_wl,qcom_rx_wakelock,ipa.
*Merged update to binder code.
*Changed kernel to 300HZ timer from 100HZ + corrected critical drivers to use msec to jiffers for there needs.
*Merged updates to vibrate driver, less delay on wakeup using fingerprint unlock. still can be tuned for min/max vibrate force.
*Merged updates to touch boost driver.
*Merged updates to PCI code, will reduce power usage.
*Merged changes by @franciscofranco to many kernel drivers that now will use power efficient workqueue function.
*Merged changes to NET and Kernel Performance drivers that will allow to save more power.
*Merged changes by @franciscofranco to enable screen panel power save functions.
*Merged updates to Interactive CPU GOV, will save more power during screen off.
*Merged updates to scheduling Deadline code.
*Merged many updates to F2FS driver from 3.18.y F2FS stable git, preserving all OP3T needed code + some battery saving changes.
F2FS is now updated up to 4.11.rc1 kernel source.
*Merged change to improve back light curve to max brightness at high sun light. by @franciscofranco
*Changed the default touch keys led time out to 5sec from 6sec.
05/3/17
Kernel 0.1 STABLE.
Initial build Mega Bomb. see what inside list.
XDA:DevDB Information
[MM 6.0.1 OOS/H2OS 3.5.x Kernel 3.18.57][22 JUN] Dorimanx 1.1 PWR CORE, Kernel for the OnePlus 3T
Contributors
dorimanx
Source Code: https://github.com/dorimanx/DORIMANX-OP3T-KERNEL/commits/master
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2017-06-22
Created 2017-03-05
Last Updated 2017-06-28
Saved For me!
*Kernel can be tuned with Kernel Auditor App.
*Screen Color can be modded with app in my APPS folder. Color-Control-v1.1.apk
*Kernel support Flar2 Kernel app, same for Francisco Franco.
*In time i will add my simple control app for FREE
You can find TWRP recovery in my mirror and supersu.zip + exposed if needed.
Enjoy
Saved For me! #2
First thanks!!!
glad to see you here!! why a MM kernel?
cristianvaz81993 said:
glad to see you here!! why a MM kernel?
Click to expand...
Click to collapse
As he stated in the op
"When there will be EXPOSED for 7.x.x I will build kernel for 4.x.x STOCK"
With the biggest possible font. How did you miss that :laugh:
cristianvaz81993 said:
glad to see you here!! why a MM kernel?
Click to expand...
Click to collapse
I need exposed. and 4.x.x is still bugged. in beta state. i will move to it after some time, it's the only way
But for now i enjoy this monster device with super stable ROM. why to search for problems?
Many think as me. and not all moved to 7.x you will see
I am just flashing stock 3.5.4 because of your kernel <3 thanks for bringing it here .
Really happy to see you here with your awesome work. My g2 is still running your Kernel like a champ.
Welcome
Sent from my OnePlus 3T using XDA Labs
the good old days with the g2....
glad to see you here
thanks and good luck.
also with MM 3.5.3 as i need xposed.
Sent from my ONEPLUS A3010 using XDA-Developers Legacy app
The hero is here.
Welcome master, glad to see long awaited punch, thanks for supporting 3t :fingers-crossed:
Can I flash it over stock 3.5.3?
Sev_07 said:
Can I flash it over stock 3.5.3?
Click to expand...
Click to collapse
Yes, should work fine. But if you decided to stay for now with mm. Update to last build, its very stable.
Sent from my OnePlus 3T
Appreciate the MM support!!!!
Also follow the master from G2 to 3T
Just downgrade my 3t from nougat for xposed and this kernel jumped out!
Thanks master Dori for this great kernel, everything runs very well for now.
only thing I noticed is that button led can't turn off now?
The most stable 0.1 version I've seen
btw can I format cache to F2FS with this kernel? or does that make any sense?
Thanks again.
Been very pleased with your kernel in G2 days, I'm sure this one also live up to expectation... Unfortunately I'm using N now, so I'll keep on watching until Xposed for N is released... Keep up the good work! :good:
Here we are......
Woow! I've used your kernel on my G2 days. Gonna try this out on the weekend. thanks dori!
I noticed that button led can't turn off now also.

[KERNEL] Dorimanx V3.5 OP3+T Nougat 7.1.1 STOCK 4.5.1 Tree 3.18.140 [26 JUN] PWR CORE

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Dorimanx OP3/T Kernel for STOCK 7.1.1 OOS/H2OS 4.1.6+7+4.5.1 + BETA!
NO > Oxygen 3.x.x or CM/LineAge/OREO BETA SUPPORT!!! GO AWAY NOW!
My PM box, is for Emergency ONLY! do not send me PM's just because you cant post! that is lame, post something useful and post in thread.
​
My kernel was based on OP3/T Stock Kernel 4.1.6+7+4.5.0 + BETA 15/24 Source.​
Kernel Tree is 3.18.140, + OP3/T and CAF updates + my tweaks and lots of tuning!​
Global Credits!
Flar2 for many kernel mods
Cyanogen/LineAge/Code Aurora for many kernel mods
Andip71
Franciscofranco
SultanXDA
OP3 Devs for Stock kernel base!
To all my sources in GITHUB!
Linus Torvalds for Linux source!​
WHAT INSIDE:
Kernel support OOS/H2OS 4.1.x
Kernel compiled with Linaro GCC 7.1.1 Android Bionic 64Bit adapted for OP3/T
Kernel includes all new security patches.
Kernel updated up to 3.18.140 build.
Kernel includes all original last 7.1.1 changes by OP3/T Devs.
Kernel operate in 300HZ + all needed fixes to do that.
Kernel has DASH charge and USB Fast Charge (USB mode up to 900mA with MTP on)
Kernel support charging up to 2500ma with any charger! stock locked to 1500ma
Kernel has swipe to wake features by @flar2 (up,down,right,left,and dual tap).
Kernel include Sweep2Sleep allows sweeping from right to left and backwards!
on soft buttons to turn off the screen. by @flar2
Kernel has support for screen color change app. (KCAL Interface).
Kernel has support for touch keys light delay, default 6sec. by @andip71
Kernel include KGSL fixes and reworked GPU driver (use 133MHz min freq to save juice, goes to idle @ 100MHz)
Kernel include all latest patches from Code Aurora source for 3.18.y
Kernel include Enhanced TCP methods
Kernel include IPA/TIMERFD/WIFI/NETLINK wakelocks removal code by @franciscofranco
Kernel include open source QUALCOMM Wi-Fi driver updated to max without debugs.
Kernel include advanced binder driver from main line 4.10.y kernel.
Kernel include CDROM emulation on mass_storage (compatible with DriveDroid 0.10.18+)
Kernel include latest F2FS driver for 3.18.y with fixes for speed and stability.
Kernel include ZEN,NOOP,BFQ,DEADLINE,CFQ,FIOPS,SIO I/O govs tuned for SSD.
Kernel includes Elementalx, Blu_active, Interactive, Conservative, Ondemand, Performance CPU GOVS.
Kernel support FSYNC mode for FS. (Off by default)
Kernel includes ARM enhanced performance and battery patches
Kernel support Backlight Dimmer feature.
Kernel supports CPU OverClock/UnderClock for both clusters.
Kernel support thermal driver tuning, max heat for cores.
Kernel includes advanced crypto drivers and latest qseecom decryption driver.
Kernel includes updated EXFAT and FUSE + NTFS drivers.
Kernel support for not forcing encryption and verity checks.
Kernel includes support for CIFS driver.
Kernel includes fast finger print sensor mod when screen is off.
Kernel includes support for Haptic Feedback (vibrate) tuning (more/less)
Kernel includes massive code update for sound driver, and @flar2 sound/mic gain control interface.
Kernel include boost to I/O by mounting partitions with optimized flags, and updated MMC driver.
Kernel includes updated BT and NET/PPP/VPN/DATA drivers.
Kernel include mode to ignore home and touch keys when finger is pressed against the screen.
Kernel includes Aroma Installer for easy install with few simple changes that can be selected.
Kernel includes many patches to camera, GPU, and screen drivers.
Kernel has OTG enabled by default internally.
Kernel has Notification LED Control driver by @andip71
Kernel include usage of power efficient workqueues in many drivers by @franciscofranco
Added Support For INIT.D Scripts see /data/init.d folder
Kernel will switch to NOOP I/O Sched during screen Off time to save power. by @Sultanxda
Kernel will boost CPU frequency when screen wakeup to improve user experience, by @Sultanxda
Kernel will set max allowed apps in RAM to 60 from 32
Kernel will add advanced busybox binary in /sbin/busybox for advanced users and my scripts
Known BUGS!
Post reports, i will fix.
Standard disclaimer:
By installing this kernel YOU will take full responsibility for any damage to your device!
Hardware or software! no one forcing you to install it.
So please do not blame me if you read wrong! or didn't read at all the instructions that i have written for YOU.
But you can feel SAFE to use it, as I test every release on my phone!
Before I publish it for download.
Your warranty will be void by installing custom kernel as my.
Kernel Sources:
KERNEL GITHUB
TO DOWNLOAD GO DOWN!!! YES MORE DOWN...(do i need to repeat?)
How To Install:
You will need to have device with Latest Recovery installed! Please install the 3.1.1.x BUILD!
>>>Here is the Recovery you need!<<<
Old recovery can corrupt your DATA partition as my kernel using latest F2FS driver. new recovery has updated driver.
YOU MUST UNLOCK OEM BOOTLOADER!!! OR YOU WILL BE STUCK ON BOOT!
Refer to other threads for recovery install process and for oem bootloader unlock.
Download kernel, upload it to your SDCARD, anywhere.
Always have STOCK Kernel for your ROM!
Reboot to Recovery.
THINK AGAIN! did you made backup? NO!!!!??? DO IT NOW!
If you had any other Custom kernel, Install STOCK kernel or dirty flash your ROM,
to clean any trace from other kernel. then install ROOT/Magisk if you wish! then install my kernel ALWAYS THE LAST.
Do not clean any cache or dalvik (needed for ROM only!).
Reboot!
If you wish to UNINSTALL my kernel, there is a uninstaller ZIP for you.
it's will remove all ramdisk changes, and install last 4.1.6 stock kernel, preserving ROOT if was installed!
Have Fun and report.
Honored Fearless BETA Testers! without them i would be lost in dark kernel space:
dimberr
Diechel
misterepicwin
vampire36
RyperX
siggey
bipinbedi
Chris7
Leicxan
Radon94
Donation Board:
ME donated 150+ hours to update stock to now.
Dimberr HUGE Donation!
Betadr X2
Diechel
RyperX
misterepicwin
Cultofluna
Andrej666
Aagato86
Thread Rules:
This is a Kernel development thread ONLY.
Allowed:
1) Any kernel reports with LOGS in case of crash from /sys/fs/pstore/console file.
2)Any satisfaction reports with picks and suggestions about kernel.
3)Any questions related KERNEL.
4)Any important information that may improve this kernel.
5)Any issues you have with STOCK Stable ROM. this what i use and test, all the rest are BONUS.
6)Sound mods and root access. i think it's good information that can improve user experience with my kernel.
Not Allowed:
1) extreme off topic about some ROM mods, APPS, Magisk non ROOT modules,
2)Comparing kernels, other vs other, my vs other.
3)Trolling!, Spamming, hate toward other users, flaming, feeding trolls. posting not in English, NOOB calling other users.
4)Disrespect of any beta tester listed in OP.
All recognized developers Allowed to manage there own threads without bothering forum administrators.
I can, and I will, remove all not allowed posts without blinking.
Mirror #1 by willflint
Mirror #2 by GITHUB!
Info for Web Hackers,
in my mirrors, there is nothing to take!
My work is public and for the people!
Please let my mirrors work in peace.
Thanks.
​
Please consider supporting my work by tipping
Mirror #1
Mirror #2
​
Change logs:
26/6/19
Kernel 3.5 Stable
* Merged linux code update from 3.18.137 to 3.18.140.
* Merged mega patch for F2FS file system driver.
31/3/19
Kernel 3.4 Stable
*Merged all main line linux patches up to 3.18.137
*Merged latest updates to WIFI Driver LA.UM.5.5.r1-09000-8x96.0
16/4/18
Kernel 3.3 Stable
*Reverted some touch screen mods to fix few issues.
*Merged 3.18.85 to 90 from main line.
*Merged aosp updates.
*Merged F2FS Updates.
28/11/17
Kernel 3.2 Stable
*Merged patches 3.18.80+81+82+83+84!
Including: ARM64,BLOCK,I2C,FS,LIB,SECURITY,SOUND,TTY,USB,
*Merged latest F2FS driver updates from source.
*Merged many updates to BINDER code for CAF source.
*Merged mods to touch screen driver by sultanxda, great work for optimization and power save.
*Merged new updates from CM14 including: MDSS,VIDC,
DIAG,CRYPTO,NET,ADSPRPC,SCSI,SOUND,POWER,IPA,MMC,LOCKING core.
*Merged latest WIFI driver updates. ver 06300
08/11/17
Kernel 3.1 Stable
*Merged main stream patches 3.18.74 to 3.18.79
Including: BLOCK,CRYPTO,MMC,NET,TTY,USB,FS,BASE,SECURITY,HID,IOMMU,SOUND,KERNEL CORE,I2C,LIB,SCSI.
Tons of changes! it's 400 commits compressed to patches.
*Merged optimizations to BINDER code from CAF.
*Merged Camera,MMC,KGSL,SOUND,IPA,MDSS,DIAG,QCOM,USB,FS updates from CAF.
*Merged latest Qualcom WIFI driver v06100
06/10/17
Kernel 3.0 Stable
*Reverted changes to SDCARDFS to get rid of bug with folders in storage.
Beta team reporting that all good now.
*Merged patches 3.18.72+73 including:
BLOCK,NET,PCI,SCSI,TRACE,ARM64,FS,SECURITY fixes.
*Merged BINDER updates from CAF and Mainline kernel.
*Merged wakelocks shut when drivers shift operations, by franciscofranco
26/09/17
Kernel 2.9 Stable
*Merged AOSP and CAF updates including:
FS,BlueTooth,Trace,DIAG,Thermal,ASOC,CAMERA,MDSS,
QSEECOM,KGSL,IPA,SOUND,ARM64,TIME,BINDER,NET,
QCOM,SDHCI,USB.
*Merged patch 3.18.71 including:
SCSI,USB,FS,Kernel Core,MM.
*Merged OP3 Dev BETA OBT24+OBT15 color updates.
*Merged latest WIFI driver updates.
*Merged massive update to F2FS from 4.14.y kernel
*Merged latest updates to SDCARDFS from CAF and AOSP.
*Merged latest OEM OP3 4.5.0 kernel updates.
09/09/17
Kernel 2.8 Stable
*Merged OP3/T BETA branch OBT23+OBT14
It's updates to colors switch Srgb and nightmode.
*Merged main line update 3.18.68+69+70!
Many changes to: FS,Kernel Core,NET,BT,SOUND,ARM64,SCSI,LIB,MM
*Merged updates to BINDER CORE from Aosp and main line source.
*Merged updates to F2FS driver.
28/08/17
Kernel 2.7 Stable
*Added busybox mount function to help with working with /system folder.
*Merged latest patches from CAF and AOSP including:
CPUFREQ,DIAG,LOCKS,USB,CAMERA,SOC,NET,KGSL,SOUND,I PA,WIFI updates.
*Merged 3.18.67 patch including: NET,SCHED,Kernel CORE,MM,SOUND updates.
*Fixed selinux not enforced if Magisk installed on EXT4 Data partition!
23/08/17
Kernel 2.6 Stable
*Merged patches 3.18.64 to 3.18.66
Including many many updates to all core drivers and functions.
See GIT if you like to dig in too code changes.
*Merged many updates from CAF and AOSP branches for our device.
*Merged latest OEM OP3/T 4.1.7 update to kernel. (will work just fine with 4.1.6 and BETA too)
*Added new STOCK 4.1.7 kernel to mirror, and new uninstall zip including 4.1.7 stock kernel.
to install this build on 4.1.7 ROM! make sure you had 4.1.7 stock kernel to get all ramdisk updates by OP3!
06/08/17
Kernel 2.5 Stable
*Merged CAF updates including:
ISP,CAMERA,MDSS,IPA,MMC,USB,KGSL,ION,NET,SOUND,PERF,INPUT,REGULATORS
*Fixed ROM dev ram access to used RAM by apps, no longer show 0B
*Merged updates to F2FS driver from Android dev list.
*Merged OP3 Devs BETA 12 update that focused on color update for night mode.
*Updated Busybox from source.
31/07/17
Kernel 2.4 Stable
*Merged fix for low CPU frequency after deep sleep for short delay.
*Merged Patch 3.18.62 including: CRYPTO,TTY,FS,KERNEL CORE,MM,NET updates/fixes.
*Merged update for F2FS driver from source.
*Merged update to BINDER driver from CAF big improvement in code structure and functions.
Binder is directly responsible in running apps and services, memory allocator.
*Merged patch for android-verity mount check.
*Merged new code that will shrink and compact RAM each time screen goes off after 3sec.
And only once in 15min! This will help to have always fresh and fast device. For very long time of use 150hours+
*Merged fix for QCOM driver to prevent possible memory leak.
*Merged patch 3.18.63 including: POWER DOMAIN,OF,SPMI,PCI,USB,FS,KERNEL CORE,NET, BT+NFC,SOUND.
*Merged new update to WIFI driver LA.UM.5.5.r1-05400-8x96.0 open source perfect module!
*Merged massive fix by Awesome DEV @Sultanxda for debug fs code.
*Compiled new Linaro GCC 7.1.1 = new libs and Android Bionic Core, first time such thing was possible!
And compiled Kernel with this massive native android toolchain!
Noticeable speed and global stability feeling!
My BETA team is impressed! 3 days no words in our discord channel hehehe
*Updated Busybox 1.28.0 from source using GCC Linaro 7.1.1
Now it's possible to use OTA Kernel Update App by @Diechel
It's will auto download kernel, install it via TWRP, and show you the change log
Really cool thing! it's donation app. 1$ feel free to donate, or use the website as before
>>> https://play.google.com/store/apps/details?id=com.diechel.xda.dorimanxota3t.pro <<<
16/07/17
Kernel 2.3 Stable
*Merged latest update to F2FS driver from source. sync with 4.13.y tree.
*Merged fix for min sched windows when kernel using 300HZ.
*Merged CAF patch to fix bugs and security issues in:
CAMERA,MDSS,USB,ADSP,CHARGER,IPA,QCOM,NFC,QCDEV,SOUND
*Merged latest WIFI opensource update LA.UM.5.5.r1-05300-8x96.0
*Merged mods to WIFI driver to reduce battery usage.
*Merged mainline patch 3.18.61 including:
NET,USB,IPC,TRACE,SECURITY
*Merged mod to boost CPU freqs after suspend on wakeup.
*Added SeLinux mode changer in Aroma Installer.
You can set Enforce or Permissive. no apps/magisk modules needed!
*Updated Uninstaller to include selinux mods cleanup.
*Added mount command to be linked to busybox, so apps can remount system and root.
If they are allowed to use ROOT.
09/07/17
Kernel 2.2 Stable
*Merged kernel updates 3.18.59 + 3.18.60
Including USB,FS,Kernel Core,LIB,NET,IOMMU,MM
*Set to deny access from perfd ROM service that can brake CPU gov tuning.
*Tuned Interactive GOV on boot for both cluster,
To deliver great Performance and balanced battery save.
*Tuned Blue_Active Gov default tuning.
*Fixed init.d support from /data/init.d/
*Updated busybox to 1.28.0 made with Linaro gcc 7.1.1 64Bit
*Merged many updates from CAF source for our soc.
Including MDSS,CAMERA,IPA,VIDC,INPUT,QCOM,USB,DIAG,SCHED
*Updated WIFI driver to latest opensource LA.UM.5.5.r1-05100-8x96.0
*Fixed my boot script load on boot to allow better tuning of kernel.
*Fixed not working touch when screen is in half wake state. (liftup, wave gesture)
*Added new driver to allow to limit max freq on both clusters so no other app
or ROM service can set higher. for now not used! and not forced.
I will add controls for it in my app.
*Merged updates to F2FS driver from main source.
*Updated new GCC Linaro 7.1.1 kernel builder 64Bit and made kernel with it.
*Added new controls for CHARGING LIMIT in Aroma installer.
You can set max allowed charge back to 1500ma if you wish!
28/06/17
Kernel 2.1 Stable
*Merged 3.18.58 patch including RAM,USB,NET,FS updates.
*Added overclocking for OP3 Model, one step higher for both clusters, not used by default!
25/06/17
Kernel 2.0 MEGA BOMB Build
Kernel will work with BETA STOCK ROMS!
Including All the in WHAT INSIDE LIST
Tested for long time by fearless beta testers!
And crowned as STABLE.
=============================
XDA:DevDB Information
[KERNEL] Dorimanx V3.4 OP3+T Nougat 7.1.1 STOCK 4.5.1 Tree 3.18.137 [31 MAR] PWR CORE, Kernel for the OnePlus 3T
Contributors
dorimanx, dimberr, Diechel, misterepicwin, vampire36, RyperX, siggey, bipinbedi, Chris7, Leicxan, Radon94
Source Code: https://github.com/dorimanx/DORIMANX-OP3T-KERNEL/commits/master_7.x.x
Kernel Special Features: See What Inside list.
Version Information
Status: Stable
Current Stable Version: 3.4
Stable Release Date: 2019-03-31
Created 2017-06-25
Last Updated 2017-11-28
One for ME :silly:
Some INFO:
ONLY for OP3T!!! do not do this for OP3 model!
If you have Verity Alert on boot that says it's not enforced. and you like to fix it!
Here is how to by @RyperX and @Leicxan
Download modem + firmware 4.02 and the 4.1.6 here:
https://forum.xda-developers.com/oneplus-3t/how-to/firmware-modem-collection-flashable-zips-t3565535
Reboot to Recovery!
Connect your device to PC with USB cable.
1. Install modem 4.0.2
2. boot to fastboot/bootloader (from recovery menu)
3. apply the 2 commands in this order ("fastboot oem disable_dm_verity", then "fastboot oem enable_dm_verity") using fastboot exe file in your PC
C:\Users\admin>fastboot oem disable_dm_verity
...
OKAY [ 0.031s]
finished. total time: 0.032s
C:\Users\admin>fastboot oem enable_dm_verity
...
OKAY [ 0.032s]
finished. total time: 0.034s
C:\Users\admin>
Click to expand...
Click to collapse
4. reboot directly to recovery again using the volume keys and then power key to select recovery!
5. flash modem 4.1.6! or 4.1.7!
6. reboot
Warning of the verity not enforced is gone.
And one more for me
Great you are here
Lets get the OP3t the same lifetime as our LG G2 had
Let the game begin....
Hmm definitely interesting... Will check this kernel out! Nice work by the way...
Happy to see it public ?
Sent from my OnePlus 3T using XDA Labs
Seems amazing!
Just installed, will edit with small review after few days.
Boom Shakalaka
---------- Post added at 06:09 PM ---------- Previous post was at 06:07 PM ----------
RyperX said:
Great you are here
Lets get the OP3t the same lifetime as our LG G2 had
Click to expand...
Click to collapse
Should be exceptional until at least Q4 2020, bring people nicely to the OnePlus 8/8T
<Deleted>
Congratulations buddy [emoji111]
Congratulations man
Thank you so much.
Daym, how many kernels did you combine into this ? xDD
nice nice nice .... waiting long time for this
good job
want to try it....on my op3t
long long long time ago i had this awesome kernel on my Samsung S3.......Damn.....long time ago
Thanks Dori for the Nougat release
cheers
Can this be made for the op3?
Miksel12 said:
Can this be made for the op3?
Click to expand...
Click to collapse
It's a unified build working perfectly on the OP3.
@dorimanx just wow.
I have never encountered this kind of smoothness with my op3. I'm using Open Beta 18.
Not sure how this kind of level of buttery smoothness is even possible to achieve.
Hands down, this kernel is on whole another level of smoothness for op3.
Thank you so much! Any plans to support LineageOS?
Edit: CPU governor was set to performance by default but still very well performing kernel
First LG G2 with the Dorimanx power and finally with OP3, back to the heaven.

[KERNEL][TW & AOSP] PRIME-Kernel v2.1.2

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
List of Supported
Variants
SM-G930S/K/L/F/FD/W8
SM-G935S/K/L/F/FD/W8
ROMs
TouchWiz N base all ROMs (Stock, S8 port ROMs, Note 7/8 port ROMs)
AOSP 7.1.2 & 8.x base all ROMs (Lineage, RR, crDroid & AICP & more...)
Main Features
OSRC's latest Note-FE & S7 source code base.
Using the AnyKernel2(Flashing Tool).
Synapse support.
SELinux Permissive / Enforcing switchable (+ Fake Enforcing Mode).
Linux-stable 3.18.y upstream.
Compile with UBERTC 6.4.1 toolchain.
F2FS support (/data, /cache only).
Optimized for Exynos8890 using the Exynos-M1 flag for compile options.
Gametuner-Mod
Game Booster Mode
intelligent performance enhancement mode in conjunction with Samsung-Gametuner.
Fake KNOX.
chacha20 to random (entropy).
Linaro LSK-v3.18-Energy-Aware Scheduler (EAS) port.
EAS simplifies power and performance management through scheduler-driven tuning to manage more efficiently.
Linux-v3.18 already has EAS installed, but with the LSK-v3.18-EAS, the existing EAS has been further improved and the user can choose between tuning power efficiency and performance.
Linaro v3.18/topic/OPPv2 branch merge.
Lazytime mount options
improved storage performance and longevity.
Similar to DynamicFsync, but operates at the file system level and has no risk of data loss.
CPU/GPU UC & OC.
Limit the maximum overclock range according to the device's ASV value (device yield) to prevent excessive overclocking.
CPU/GPU/BUS voltage control.
GPU Performance Tuning.
Performance/balance/battery separated DVFS user settings.
Thunder Hotplug driver port.
HMP tuning Interface.
Detail charging circuit control allows faster charging.
Added I/O Scheduler 'bfq, fifo, fiops, row, sio, maple, tripndroid, zen'.
Enable Westwood tcp/ip congestion control (not default).
LED FADE control.
PWM Flicker free.
boeffla's generic wakelock blocker driver.
Qualcomm interactive (renamed cafactive) cpu governor porting.
Added battery-friendly 'relaxed' governors, and more.
Provides an add-on that keep kernel settings on unrooted devices.
Synapse: System Tweak add-on available.
Synapse: Provides configuration profile separated by performance/battery/stability.
Many other optimization applications.
How many users are there in this kernel and what is it with custom ROM?
* Go to User Statistics.
With this kernel, the following information is sent once to the developer's server at boot time.
variant, android serial number(not device serial), name of current firmware(ROM), country code, kernel version
* This information is Android apps can see without any special permissions.
* If you suspect other information transfer, open the '/res/synapse/actions/addon' file.
Description for AOSP ROMs
If you are using another developer's custom kernel, or if using ramdisk is corrupted kernel, you may encounter a bootloop or an unknown problem.
If you have a bootloop problem, flash the PRIME kernel after first flashing the builtin kernel in your ROM. (Or flash the ROM again)
This kernel is flashed AnyKernel method, for all kinds of AOSP ROM support.
Download
Latest Version | Older Version
Community
Telegram Group: https://t.me/primekernel
Naver Cafe (for Korean): http://cafe.naver.com/primeusers
How do I enable donation-only add-on features?​
Credit (Thanks. to)
@AndreiLux - Perseus8890 kernel.
@tkkg1994 - refer to some Commits.
@arter97 - cafactive & more.
@osm0sis - AnyKernel2.
@jesec - AOSP kernel source.
@Wootever - PWM Flicker Free.
All members of the PRIME-Kernel NaverCafe.
And all of commited in sources & all of xda developers.
XDA:DevDB Information
PRIME-Kernel, Kernel for the Samsung Galaxy S7
Contributors
Hyunwoo AHN
Source Code: https://github.com/dwander/Linaro-base/tree/herolte
Kernel Special Features: Linaro-LSK-3.18-EAS Port, Gametuner-MOD, Intelli-Performance
Version Information
Status: Stable
Current Stable Version: 2.1.2
Stable Release Date: 2017-12-17
Created 2017-09-23
Last Updated 2017-12-17
How do enable donation-only add-on features?
I only receive donations from your heart.
Do not donate if you intend to unlock synapses.
If you are unable to make a donation of 5.0 USD or more due to economic reasons, please do not donate and request me to unlock Synapse. Then you can use all the functions of synapse without donation.
How to request synapse unlock
Please tell [email protected] the following:
- A matter that is difficult for you to donate(eg economically difficult countries, students without money or credit card).
- The first five letters or screenshots of the KeyCode on the Synapse's first screen.
Change Log
v2.1.2
fixed bluetooth issue in AOSP 8.1
Linux upstream to v3.18.88
v2.1.1
Linux upstream to 3.18.87
Add Android O (8.x) support
Add new commit for AOSP support
Changed AOSP build to TouchWiz base (Integrated AOSP and TW kernel source code)
Fixed WiFi-Hotspot issue for N8 porting ROM
Fixed an issue where the charge state switching notification did not work
Note-FE GPU driver (r15p0) build droped
r12p1 GPU driver is built back into the package
Minor bug fixes
v2.0.1
Reuse AutoASV
Over clock limit relaxed
Removing the State Notifier Driver & Using the FB Driver
Fixed a bug where two big cores could not be used (v2.0)
Corrected the overclock value to actually apply when boosting the big core
Synapse: Memory: Z-Swap compression algorithm selection option removed
Synapse: Labs: gms drain patch removed
v2.0.0
base: Re-based on Note-FE source code
linux: upstream to v3.18.83
f2fs: Updated latest from f2fs-stable branch
init: Fixed video playback delay issues reported by some N8 porting users
tcp: Change the TCP congestion control algorithm default to Westwood (stock: bic)
Synapse: Fixed the problem that the Intelli-Performance setting is released after rebooting
GPU: Remove unnecessary ipa update code
exynos: Separate AutoASV in 5 steps
exynos: Changed AutoASV not to participate in overclock value(only used for big Core boosting)
mm: Change Z-Swap compression algorithm default to lzo(stock value)
Synapse: Memory: Added Z-Swap compression algorithm selection option
Synapse: Add Labs tab
Synapse: Storage: Resolve compatibility issues with DualSIM models
installer-zip: Include a RAMdisk for TouchWiz for all supported models in package(no need for stock kernel flashing)
installer-zip: After the kernel flashing is complete, it automatically flashes when Magisk or SuperSU files are found.
v1.9.3
Upstream to Linux 3.18.80
Synapse->Utility: Added Android ID management function
Synapse->Advanced: Added option to switch to Enforcing mode after booting
Synapse Add-on Updated to v6.4.2
selinux, Improved fake Enforcing
Use new random driver functions
Removing Gametuner-MOD from AOSP build
Minor bug fix
v1.9.0
Supported Note 8 Porting ROMs
Backported random(entropy) driver from Linux v4.14.rc7
Updated AnyKernel2 (bug fix)
Updated mptcp(Multipath TCP) driver (0.90.0 → 0.90.3)
installer, Prevent Magisk from being deleted when merging ramdisk
Reduced screen brightness during boot
r12p0/r15p0 GPU driver to separate build, packaged in one
! Please read the 'Attention to the GPU driver' part on the first page.
v1.8.2
Linux upstream to v3.18.78
Merge G935F DQJ1 firmware sources
Merge Note-FE AQI4 firmware sources
Fix SafetyNet bypass issue.
f2fs: fix potential panic during fstrim
selinux: Apply Fake-Enforcing mode
In Enforcing mode, it actually works in Permissive mode.
Thanks to @jesec
Synapse: minor bug fix
v1.8.0
• Linux 3.18.76 upstream.
• fully merged Note-FE AQH3 firmware sources.
- There are very very many improvements(bad sammy!)
- Not applicable for AOSP binaries​• Added boeffla's generic wakelock block driver. by @andip71
• Synapse > wakelock: Add generic wakelock.
• Synapse: Some English translation.
v1.7.0
• Linux 3.18.75 upstream
• Added IPA update for cafactive, ironactive, impulse governors.
• Added relaxed CPU governor
- Conservative based battery-friendly governer, with performance degradation.​• ironactive, impulse governor removal.
• Synapse: Added EAS-Tune tab.
- Boost support separated by global, top-app, background, and foreground items.​
v1.6.0
Linux 3.18.73 upstream.
Selinux: permissive/enforce mode switching support.
Synapse: Improved to work in Enforce mode.
Synapse: Improved the SynapseLoader add-on to work in Enforce mode.
Synapse: Added SELinux Enforce option.
- More complete SafetyNet bypass & KakaoBank compatible.​Synapse: Updated addon (v6.4.0)
Install-zip: Prevent Magisk from reverting kernel init files before.
Install-zip: Added init binary hexpatch to support f2fs conversion of cache partition.
v1.5.2
aosp: Reduce the haptic feedback strength default by 50%.
synapse: misc: Added haptic feedback intensity control to AOSP.
v1.5.1
Enable cgroup_schedtune.
- EAS Schedule tuning (energy or performance) automation support options.
- CFS boost setting is removed accordingly.​install-zip: Fixed some bugs in the flashing process.
v1.5.0
Linux 3.18.72 upstream.
G935F-DQIC firmware kernel source merged.
Support AOSP 7.1.2 based custom ROMs.
- Tested: LineageOS, crDroid, RR​Changed to AnyKernel method.
Updating the f2fs file system on the f2fs-stable branch.
workqueue improvement.
Apply ADJ_RBTREE to LMK.
Using ARM64 logic on SHA256 / 512.
PWM Flicker Free - Thank's to [email protected]
- information: https://forum.xda-developers.com/s7-edge/development/amoled-pwm-s7-edge-t3517739​Synapse - Added WakeLock control.
- Some are not supported in MTweaks, I recommend using Synapse.​Synapse: Added CPU Voltage margin setting.
There are many more minor changes.
v1.4.0
EAS: Adding a missing commit.
- Fixed temperature rise problem in some high-end games.​GPU: DVFS tuning.
Synapse: Correct default settings when selecting maple IO scheduler.
init: cfs_boost Adjust the default value to 0.
zip-installer: Mali-R12P0 & R15P0 Include the GPU driver in the package.
v1.3.2
Linux 3.18.71 upstream.
changed the source code base to G935FXXU1DQH8.
improved crypto.
fs: updated to the latest in the f2fs-stable branch.
f2fs: support for lazytime mounts.
fstab: support f2fs mount (/system not allowed).
ext4: fix fencepost error in lazytime optimization.
ramdisk: unified with G935FXXU1DQHY base without any 'flat/edge/kor/eur'.
v1.3.0
Disable Exynos-Swap, use ZSwap.
- ZSwap's efficiency is better.​Enable zswap_writeback.
Changed the toolchain to gcc-6.4.1 (UBERTC 6.4.1).
Remove the 'perfect C-state residency' related commits.
Back to r12p0 gpu driver.
- Battery efficiency issue of r15p0.​Fix synaps FC issue.
- In the case of genuine firmware, FC occurs at the first execution.​Optimized & bug fixes for old scripts in synapse.
Ramdisk divided build, global model and Korean model.
- Several issues related to global models.​
v1.2.0
Updated with DQH8 firmware source code.
Linux 3.18.15 ~ 70 upstream rework.
NIVIDIA CPU Relax Patch removal.
- In some games, FC or loading loop issue.​XPAD Joystick driver update (from Google AOSP 3.18 kernel)
ZRAM, KSM off
- ZRAM is duplicates with VNSWAP
KSM is inefficient​Synapse: English translation (90%)
Details(Korean): http://enfree.com/prime/?page=changelog&device=G930
New kernel , i'm going to test now
Tried both with my S8 ROM port.
Boots very slow
When devices i booted it takes some seconds till phone freezes and than reboots!
DirkStorck said:
Tried both with my S8 ROM port.
Boots very slow
When devices i booted it takes some seconds till phone freezes and than reboots!
Click to expand...
Click to collapse
Tell me the name of your custom ROM and the name of your device model.
Hyunwoo AHN said:
Tell me the name of your custom ROM and the name of your device model.
Click to expand...
Click to collapse
My device is SM-G930F and I am using BatMan-Rom V1.3.0
After flashing the kernel I have flashed Magsik 13.6
Thanks
DirkStorck said:
My device is SM-G930F and I am using BatMan-Rom V1.3.0
After flashing the kernel I have flashed Magsik 13.6
Thanks
Click to expand...
Click to collapse
Sorry, can you try again with v1.3.0?
Hyunwoo AHN said:
Sorry, can you try again with v1.3.0?
Click to expand...
Click to collapse
Sorry, my fault. MTweaks was still running what interfered.
Flashed v1.4 with stock GPU drivers. running fine so far but boot time is still longer than with other kernels.
Could you add a global slider to under volt CPU and GPU by a certain value?
EDIT:
In Synapse at "Game Tuner MOD" and "Utility" tab the last few settings are not in englisch
DirkStorck said:
Sorry, my fault. MTweaks was still running what interfered.
Flashed v1.4 with stock GPU drivers. running fine so far but boot time is still longer than with other kernels.
Could you add a global slider to under volt CPU and GPU by a certain value?
Will try this kernel now and report back.
EDIT:
In Synapse at "Game Tuner MOD" and "Utility" tab the last few settings are not in englisch
Click to expand...
Click to collapse
The global slider is hard to implement, because of the UI structure of Synapse.
If you are not comfortable with the Voltage setting, you can get the desired result by returning to Synapse after setting in MTweaks. If you do not know what I mean, try it.
What if it takes a long time to boot? If it is a symptom that only takes longer in the first Bootanimation, it will not be a problem from the second since it recreates the dalvik (ART) cache for some reason.
If it takes a long time to boot each time, it may be because used the G935F ramdisk in this kernel. I tried BatmanROM, but I did not have the problem you said.
In the next version, i will separate ramdisks by variant like v1.3.0.
Korean in the Gametuner-MOD and utility tabs are donation-only functions.
I will translate English donors if they say inconveniences.
Hyunwoo AHN said:
The global slider is hard to implement, because of the UI structure of Synapse.
If you are not comfortable with the Voltage setting, you can get the desired result by returning to Synapse after setting in MTweaks. If you do not know what I mean, try it.
What if it takes a long time to boot? If it is a symptom that only takes longer in the first Bootanimation, it will not be a problem from the second since it recreates the dalvik (ART) cache for some reason.
If it takes a long time to boot each time, it may be because used the G935F ramdisk in this kernel. I tried BatmanROM, but I did not have the problem you said.
In the next version, i will separate ramdisks by variant like v1.3.0.
Korean in the Gametuner-MOD and utility tabs are donation-only functions.
I will translate English donors if they say inconveniences.
Click to expand...
Click to collapse
Ok, tried that with MTweaks and noticed that it was already under volted by my previous settings.
Noticed that there is no tab to disable wakelocks. Do you plan to add this?
EDIT: for now I back to my previous kernel...sorry....
Thanks!
DirkStorck said:
Ok, tried that with MTweaks and noticed that it was already under volted by my previous settings.
Noticed that there is no tab to disable wakelocks. Do you plan to add this?
EDIT: for now I back to my previous kernel...sorry....
Thanks!
Click to expand...
Click to collapse
Kernel-level wakelocks work when requested by an Android system or app.
It is not desirable to force such requests to be ignored.
My Note4 kernel has a wakelock tab. However, it was added because of the deep-sleep problem in some variants of Note4.
If there is a deep sleep (wakelock) problem in our S7, I will add a wake-lock tab.
Again briefly, the wakelock control should not be abused. So, if there are no related problems, I will not add them.
update to v1.5.0
Thanks for supporting AOSP! ?
After flashing 1.5.0 I'm still at 1.4.0 :/
MK73DS said:
After flashing 1.5.0 I'm still at 1.4.0 :/
Click to expand...
Click to collapse
If flashing was completed and there were no errors, it is not possible.
If you rooted or unrooted the kernel after flashing, the old kernel would have been restored.
If you do not know, Flash the kernel after rooting.
Hyunwoo AHN said:
If flashing was completed and there were no errors, it is not possible.
If you rooted or unrooted the kernel after flashing, the old kernel would have been restored.
If you do not know, Flash the kernel after rooting.
Click to expand...
Click to collapse
Indeed, I rooted after flashing the kernel, thank you ^-^
you do a fantastic job with all the feature you added in your kernel(thunderplug,eas, pwm flicker free, etc...). v15 is very recommended
Hey man, thanks for this kernel! I tried it on AOSP for RR which boots but I noticed that flashing this kernel, disabled the option to adjust vibrate intensity. The option in Sound is there but Settings Force Closes when clicking on it. The reason I need to adjust it, is the vibration is back to really strong vibration when touching a key. Hope this details helps. On latest Prime 1.5.0
Andrw0830 said:
Hey man, thanks for this kernel! I tried it on AOSP for RR which boots but I noticed that flashing this kernel, disabled the option to adjust vibrate intensity. The option in Sound is there but Settings Force Closes when clicking on it. The reason I need to adjust it, is the vibration is back to really strong vibration when touching a key. Hope this details helps. On latest Prime 1.5.0
Click to expand...
Click to collapse
issue was raised on edge thread.
https://forum.xda-developers.com/s7-edge/development/kernel-prime-kernel-v1-4-0-t3678159/page5

[KERNEL] [9/8.1/7.0-EOL] LoonyKernel - 31 Jul 2019

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
IMPORTANT:
Always make necessary backups before flashing anything. In this case backup your stock boot in recovery before proceeding.
I will only consider issues that includes clear steps to reproduce the bug, a logcat or a console ramoops (in case of random reboots) or a dmesg (for other issues), because it provides more info than just saying something doesn't work.
Features:
Latest linux upstream version 3.10.108
Up to date as per AOSP/kernel-common and CAF
Unlocked frequency steps for CPU and GPU
Advanced color (kcal) control
Fingerprint sensor as power or home button by flar2
Sound control by flar2
Sweep2sleep by flar2
Boeffla wakelock blocker driver
Backlight dimmer
Spectrum app support
Flashing Instructions for custom roms:
Download TWRP recovery from here.
First backup boot in TWRP then flash the latest LoonyKernel zip. Reboot to system.
For magisk users, if you have already flashed magisk once, there's no need to re-flash it again after flashing the kernel. Magisk root will be retained.
Subsequent releases can be flashed over the same kernel's older version.
Flashing Instructions for stock rom:
Use only official TWRP for flashing on stock nougat or oreo rom. If you are using elementalx kernel then first restore the stock boot image or kernel then flash this kernel to avoid any potential issues with module(s).
Download official TWRP.
Backup boot in TWRP.
Flash latest LoonyKernel zip and reboot the device to system.
Subsequent releases can be flashed over the same kernel's older version.
Download Links:
Stock rom: 8.1.0 (mirror) || 7.0-EOL (mirror)
For my 64-bit AOSiP 9.0 builds: Sourceforge || AFH
Other pie/oreo custom roms: 64-bit (mirror) || 32-bit (mirror)
Credits: flar2, om0sis, Nathan and many other devs for their work.
XDA:DevDB Information
LoonyKernel, Kernel for the Moto G4 Plus
Contributors
lCrD512
Source Code: https://github.com/loonycrd/kernel_motorola_msm8952
Kernel Special Features: All mentioned above
Version Information
Status: Stable
Current Stable Version: r17
Stable Release Date: 2019-07-31
Current Beta Version: --
Created 2017-12-28
Last Updated 2019-08-10
Changelogs
May 02, Stock 8.1.0 - Release 2
Add digital tv module (isdbt)
Update wifi driver to latest CAF oreo tag 'LA.UM.6.6.r1-11000-89xx.0'
Disable various debugging for release builds
Exclude debug symbols from release builds (reduced kernel size)
Few updates to interactive governor
Update spectrum profiles
R.I.P sched boost feature
Various other fixes for cpufreq, crypto, memory etc.
Old releases
March 20, stock 8.1.0 Release-1 initial release
Changes over stock sources
Upstream linux kernel version.
Upstream sdcardfs.
Fix 0 bytes fize size while copying or moving.
Upstream interactive governor.
Add all LK features from nougat. Touch-boost and Fsync toggle have been removed.
Drop deprecated GCC 4.8/4.9 and switch to 7.3.0 for code improvements. All relevant code warnings were fixed.
Other misc. but relevant fixes/patches (can be seen on github).
Feb 8, 9/8.1 Release-12 for ARM64
NOTE: Those who are using my AOSiP or PixelExperience builds should flash the kernel update from the attachment in release post HERE
Android binder and sdcardfs updates.
Drop deprecated GCC 4.9 and switch to 7.3.0 for code improvements. All relevant code warnings were fixed.
Drop kernel size optimization flag as per AOSPs recommendation. Associated code warnings fixed.
Fixed some minor memory leaks. These were not detected earlier when size optimization flag was enabled.
Bring back 160mhz level for idle state GPU.
Squash some relevant upstream patches for xpad driver.
Merged sdFAT updates.
Disabled cpu hotplugging at lower battery levels.
Slight improvements in i/o operations.
Updates to cpusets and cgroup.
Remove sweep2sleep defaults as it conflicts with pie's swipe up gesture.
Fix a minor derp in zram initialization.
Jan 14, 9/8.1 Release-11 for ARM64
Regular android sdcardfs updates.
Upstream CFQ i/o scheduler.
Fixed some more memory leaks and slight memory management improvements.
Upstream patches to kernel scheduler, perf, rcu and cpu hot-plugging.
Updates to Wireguard.
Updates to LZ4 algorithm.
Fixed minor derps with fsync (on/off) toggle functionality.
Upstreamed and performance improvements to Interactive governor.
Replaced powersave governor with conservative for spectrum battery mode. Powersave governor has performance regressions.
CVEs addressed for EXT4 file system, bluetooth and crypto drivers.
Fixed various instances of uninitialized variables, false positives have been ignored. We are using CONFIG_CC_OPTIMIZE_FOR_SIZE which suppresses the compiler warning of uninitialized variables which can sometimes lead to undefined behavior e.g. memory corruption and panic.
Dec 02, 9/8.x Release-10
Switched to non-debug wifi/wlan driver.
Binder updated and inline with AOSP/google.
Regular sdcardfs upstream, some relevant backports from higher version (3.18+).
Few updates and fixes to interactive governor updates.
Merged some CVE patches from Lineage (CVE-2016-8399/2017-2647/2017-6951/2017-13080-upstream...)
Fixed memory leak in video device driver.
Added ARM64 CRC32 hw accelerated module
Few security updates to crypto driver.
Fix deadlock in sound-core driver due to duplicate ioctl_lock.
Disabled DEVPORT - it is not used as shown by previous SELinux policy changes to blacklist it. It is being unset to reduce the kernel attack surface.
Nov 11, 8.1.0 Release-9
Note: Non-dts builds are discontinued from this release. If dts builds doesn't boot then consider updating your rom. Should work on 9.0 as well. We are now up to date as per CAF, Linux-stable as well as Google/AOSP's kernel updates
Merged latest CAF tag LA.BR.1.3.7-05010-8976.0 (rb1.11)
Merged updates from Google/AOSP kernel-common.
Removed input-boost in favour of touchboost and interactive boost.
Removed power optimizer push-pop (popp) restrictions from gpu for potential performance improvements.
Updated and switched to CFQ i/o scheduler
Misc. power/performance optimizations.
Nov 11, 7.0 Release-4:
Removed input-boost in favour of touchboost and interactive boost.
Updated and switched to CFQ i/o scheduler
Misc. power/performance optimizations.
Oct 30, 7.0 Release-3:
Enabled usb tethering.
Removed power optimizer push-pop (popp) restrictions from gpu for potential performance improvements.
Updated spectrum profiles w.r.t qcom-post-boot service on stock rom.
Sep 10, 8.1 Release-8 for custom roms:
NOTE: Balanced profile viz. default is now using performance governor for GPU only to improve ux to some extent. Once the performance gets stable/consistent on oreo roms I'll switch it back to msm-adreno-tz. Users can switch to msm-adreno-tz if they want through kernel managers.
Merged relevant updates from NPJS25.93-14-18.
Allow mounting cdrom using apps like drivedroid etc.
Slight performance improvements.
Sep 08, 7.0 Release-2:
Rebased over latest 7.0 CAF tag.
Merged NPJS25.93-14-18 sources from Motorola.
Allow mounting cdrom using apps like drivedroid etc.
Slight performance improvements.
August 02, Release 7:
Oreo custom roms:
Rebased kernel source over CAF tag LA.BR.1.3.6-05410-8976.0 (7.1.2) and NPJS25.93-14-15 by Motorola
Merged relevant updates from CAF tag LA.BR.1.3.7-05010-8976.0 (8.1.0) and kernel-common
Properly up-streamed up to Linux stable 3.10.108
Merged recent kernel side updates to Wireguard
Removed some not so important i/o schedulers (cfq, maple and noop are more than enough)
Removed useless debug options to for cleaner and smaller kernel
Removed ondemand and conservative cpu governors (not suitable for big.LITTLE)
Reworked CPU oc/uc support to 403/499mhz levels (anything more lower shall yield no real benefit)
Updated spectrum profiles
7.0 Stock Release 1:
Some kernels have different workarounds for modules, therefore, it is recommended to flash 7.0 kernel only over your stock rom kernel. Don't flash over any other custom kernels. This is to avoid any issues with important modules such as wlan (wifi). Subsequent releases can be flashed over the same kernel's older version.
Based on NPJS25.93-14-15 sources by Motorola
Properly up-streamed up to Linux stable 3.10.108
Updated wifi/wlan drivers from latest 7.0 sources from CAF
Added all features mentioned in 1st post. (list updated in op)
Applicable updates from r7 oreo changelog were also merged.
June 14, v6.2:
Fixed mobile hotspot for both 32/64 bit
Removed conservative cpu governor
Switched too GCC 4.9 (Higher GCC versions are causing issues with data, wifi and hotspot as witnessed by some users)
Final update to katnap governor
NOTE: Since v6, I recommend using default kernel settings for CPU, GPU, clock speeds and governor profiles rest you can change. Why? read the explanation below properly...
v6 release came with spectrum app support which allows to switch between various user modes which are - Gaming, Battery, Balanced (default) and Performance. Thanks to frap129 a.k.a Joe Maples for spectrum. You can use the spectrum app to switch between various modes as per your needs with just a single tap.
For e.g. before starting a game just switch to "Gaming" mode from spectrum app to improve the game-play. After game-play is over don't forget to switch back to "Balanced" mode which is also the default. You can also choose "Battery" mode when you keep your device idle for maximum savings. If you prefer smooth user experience without worrying about battery then "Performance" mode is for you.
Both "Performance" and "Gaming" modes are battery hungry but will improve the user and gaming experience respectively so use them accordingly. Similarly don't expect great performance or smooth user experience from "Battery" mode.
"Balanced" mode is self-explanatory.
No support from my side if you're using some kind of mods that might conflict with above mentioned kernel settings. Fair enough! don't need any false reports where the problem might be because of any such mod.
Might be bitter but had to say this, don't bother reporting problems if you can't do it properly. Haven't seen a single post reporting wlan issues with logs and surprisingly I'am not a god who can guess issues from nothing. XDA is a community where users shall also contribute to make things better. Just coming here and searching for download links then complaining about stuff not working... it doesn't work this way. We don't expect much from users, we only want that if we're putting some efforts then users should also take at least some effort to give proper bug reports and feedback. For someone who doesn't know how to take logs etc. try google, you'll find tons of guides over internet and here at XDA itself. Thank you.
-------------------------------------------------------------------------
June 10, Release v6.1:
Fixed hotspot for 32-bit
Replaced fsync toggle with automatic Dynamic fsync driver 2.1 by boeffla
Replaced fp-boost driver with generic wake boost interface
Renamed loony governor to katnap
Some performance improvements during and after boot
Merged moto specific wlan/prima changes
Added 2 more potential wakelocks to block list just in case
NOTE: Since v6 (previous) release I recommend using default kernel settings for CPU, GPU, clock speeds and governor profiles. Why? read the explanation below properly...
v6 release came with spectrum app support which allows to switch between various user modes which are - Gaming, Battery, Balanced (default) and Performance. Thanks to frap129 a.k.a Joe Maples for spectrum. You can use the spectrum app to switch between various modes as per your needs with just a single tap.
For e.g. before starting a game just switch to "Gaming" mode from spectrum app to improve the game-play. After game-play is over don't forget to switch back to "Balanced" mode which is also the default. You can also choose "Battery" mode when you keep your device idle for maximum savings. If you prefer smooth user experience without worrying about battery then "Performance" mode is for you.
Both "Performance" and "Gaming" modes are battery hungry but will improve the user and gaming experience respectively so use them accordingly. Similarly don't expect great performance or smooth user experience from "Battery" mode.
"Balanced" mode is self-explanatory.
----------------------------------------------
June 05, Release v6:
Switched to GCC 6.4-stable (only 64-bit)
Compiled with cortex-a53 tune flags
Introduced my own custom Loony governor based on interactive and franco kernel tweaks
Added spectrum app support and tuned profiles for various modes
Added 160mhz for gpu in "Battery" mode (using spectrum app)
Removed adreno idler and powersuspend (took me time to realise that these are not really necessary)
NOTE: From this release I recommend using default kernel settings for CPU, GPU, clock speeds and governor profiles. Why? read the explanation below properly...
v6 release comes with spectrum app support which allows to switch between various user modes which are - Gaming, Battery, Balanced (default) and Performance. Thanks to frap129 a.k.a Joe Maples for spectrum. You can use the spectrum app to switch between various modes as per your needs with just a single tap.
For e.g. before starting a game just switch to "Gaming" mode from spectrum app to improve the game-play. After game-play is over don't forget to switch back to "Balanced" mode which is also the default. You can also choose "Battery" mode when you keep your device idle for maximum savings. If you prefer smooth user experience without worrying about battery then "Performance" mode is for you.
Both "Performance" and "Gaming" modes are battery hungry but will improve the user and gaming experience respectively so use them accordingly. Similarly don't expect great performance or smooth user experience from "Battery" mode.
"Balanced" mode is self-explanatory.
----------------------------------------------
May 04, Release v5.1:
Note: Sources moved to github.
Merged updates from NPJS25.93-14-15 (Feb, 2018) moto kernel sources,
Merged updates for wlan prima driver to bring in-line with latest CAF tag LA.BR.1.3.7-05010-8976.0,
Switch back to single build for 64bits. Made compatible with all roms,
Few kernel-common updates.
April 28, Release v5:
32-bit support added!
Changes merged from CAF branch (1.3.6) and Google kernel-common
Removed CRC enable/disable toggle - We know we want CRC disabled by default to avoid ~30% performance cost. So, it doesn't make sense to have a toggle for it as users may unknowingly enable it which defeats the whole purpose of disabling it by default in the first place.
Enable 320k AAC encoding
Tuned CFQ i/o scheduler
Added touchboost which is disabled by default. Enabling it will significantly improve the performance at the cost of battery life. This feature can be enabled using kernel manager (EX kernel manager recommended)
Replaced wakeup boost with Fingerprint Boost driver.
Removed boot and boostpulse sysfs nodes from interactive governor. Neither we were using it nor it is needed, users can enable cpu-boost if needed.
Updates wlan prima (wifi) driver to latest CAF tag LA.BR.1.3.7-04410-8976.0
Using cpu_relaxed_read_long and defining relaxed version of some arm64 specific macros, and functions to improve power efficiency. (this one is only for arm64)
Some cpu-boost code clean-up. Removed migration related boost from cpu-boost. Handled by scheduler and governor now.
Added display state awareness to msm_adreno_tz gpu governor. This aids adreno_idler by reducing the overhead.
Backlight dimmer toggle (disabled, enabling this would allow to lower brightness even more)
Apr 05, Release v4.1:
Restore default gpu clocks
Sdcardfs space leak fixed,
Updates merged from google android kernel-common,
Enabled ARCH_POWER and added toggle to enable/disable the same through EX Kernel Manager,
Nuked gentle fair sleeper toggle and re-enabled gfs. Disabling it was causing cores getting stuck at max freq for most of the time,
Added wake-up boost to avoid or atleast minimise any potential wake-up delays. I've personally never faced this on Oreo but some people reported it recently,
Added some more potential wakelocks in Boeffla wakelock blocker driver,
Wlan driver updates merged from latest caf release LA.BR.1.3.7_rb1.11,
Some efforts towards improving memory management a bit.
03 March 2018, Release 4:
Added new boeffla wakelock block driver,
Added wireguard support,
Added adreno idler - ramp down GPU on idle,
Reverted stuff: zen-interactive, frandom, hid,
Added sweep2sleep feature by flar2
Enabled fp to sleep by default, can be used as home too,
Enabled kernel samepage merge,
Merged latest changes and fixes from upstream teambutter.
Release 3.1:
Jan 14, 2018:
reverted some pre-configurations to default settings
Jan 08, 2018:
fixed notification led on supported roms
added maple i/o scheduler
Release 3:
Jan 03, 2018:
implement zen-tune: kernel tuning for interactivity
re-added powersuspend driver
zram increased from 512mb->768mb
cpu boost pre-configured
enabled adaptive low memory killer by default
tweaked deadline and row scheduler
tweaked westwood tcp congestion avoidance algorithm
changed default i/o scheduler to zen
added crc check toggle (disabled by default)
added gentle fair sleepers toggle (disabled by default)
slight undervolt and other power efficient optimizations
disabled some debugging
enabled arch power
added suspend_again handler (update for quick wake-up driver)
added led blink support
implement fast idling of cpu on partial system load
optimized console frame buffer to improve performance
other misc. fixes
fixed simple_ondemand crash
Release 2:
Dec 29, 2017:
fixed audio
switched to default google toolchain
Dec 28, 2017:
fixed zram
enabled core control
enabled homebutton driver
added sound control
added gpu overclock/underclock support
power efficient workqueue patches
added fiops, sio and zen i/o scheduler
blocked wakelocks by default
enabled cpu boost
added wake-up boost
added /dev/frandom support
added quick wake-up driver
added hid patch
Release 1:
enabled advance color control
added cpu overclock/underclock support
Reserved
Can you do a version which uses fingerprint sensor to sleep?
vitor.cardoso180396 said:
Can you do a version which uses fingerprint sensor to sleep?
Click to expand...
Click to collapse
You can configure that using kernel manager.
Alternative option is to use button mapper app by flar2.
i have a lag after flash this kernel. but thank you
When I play a song or a video the sound is crashing, something like cutting, I give u a log and thanks for the effort
Turbo charger doesn't work for me charges very slowly and phone heats up quickly! Any work around with kernel auditor?
I'll flash version 2 and let you know if anything changes
kman46 said:
Turbo charger doesn't work for me charges very slowly and phone heats up quickly! Any work around with kernel auditor?
I'll flash version 2 and let you know if anything changes
Click to expand...
Click to collapse
If ur device is at a temp of 42+°c then the turbo charging won't work, let the device cool down and it will work
im already on r1 loony kernal
how to flash r2 ??
is dirty flashing okk????
i have done a dirty flash of r2 over r1 version but ii feel very laggy n i tried reboot couple of time still little laggy
now back to r1 version
im on XT1644 version with magisk 15.1
thanks dev for your hard work????
waiting for a stable release?
RobertMVazquez said:
When I play a song or a video the sound is crashing, something like cutting, I give u a log and thanks for the effort
Click to expand...
Click to collapse
Same problem here
Release 2 update
RobertMVazquez said:
When I play a song or a video the sound is crashing, something like cutting, I give u a log and thanks for the effort
Click to expand...
Click to collapse
Thanks for the logs
I've updated and re-uploaded the new release 2 zip with audio fixed. Links updated in the op.
Also don't forget to enable Mono audio under Settings->Accessibility
Wow 64 bit is getting real ❤❤❤❤
Thanks for the kernel, what is new in loony-r9.1 for nougat?
kevinarol said:
Thanks for the kernel, what is new in loony-r9.1 for nougat?
Click to expand...
Click to collapse
Not released use the attached zip for nougat it is stabler than 9.1 but not updated in the directory. Features are more or less same.
For xt1625 users after flashing updated loony my phone hangs at unlocked bootloader warning for minutes. All you need to do is power and volume down boot into fast or bootloader mode whatever you call it and choose start again loads fine after that.
To add HDR is probably not going to ever work with xt1625 that's were the devices are different the plus has a 16 mp camera and I got a 13 mp I've got the camera to work but no HDR option like on my nexus.
lCrD512 said:
Not released use the attached zip for nougat it is stabler than 9.1 but not updated in the directory. Features are more or less same.
Click to expand...
Click to collapse
Ok, but why recommend me v7 instead of 9.1 for nougat which is available in download section?
kevinarol said:
Ok, but why recommend me v7 instead of 9.1 for nougat which is available in download section?
Click to expand...
Click to collapse
That's not version 7, don't go by the name of zip. It is updated I was using it personally.
lCrD512 said:
That's not version 7, don't go by the name of zip. It is updated I was using it personally.
Click to expand...
Click to collapse
ahhh thank you ?? Happy New Year!
Update: Release 3
Happy New Year to Everyone!!
Release 3 is out. Download links in first post.
Changes:
Jan 03, 2018:
implement zen-tune: kernel tuning for interactivity
re-added powersuspend driver
zram increased from 512mb->768mb
cpu boost pre-configured
enabled adaptive low memory killer by default
tweaked deadline and row scheduler
tweaked westwood tcp congestion avoidance algorithm
changed default i/o scheduler to zen
added crc check toggle (disabled by default)
added gentle fair sleepers toggle (disabled by default)
slight undervolt and other power efficient optimizations
disabled some debugging
enabled arch power
added suspend_again handler (update for quick wake-up driver)
added led blink support
implement fast idling of cpu on partial system load
optimized console frame buffer to improve performance
other misc. fixes
fixed simple_ondemand crash
Reminders:
Do not reflash magisk if already flashed (root shall be retained). Just flash the kernel zip in twrp and reboot.
Lineage users shall enable mono audio under Settings->Accessibility for audio to work.

[r71] arter97 kernel for OnePlus 7 series

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
arter97 kernel for OnePlus 7 series running OxygenOS​
/* Features */
Supports OnePlus 7, OnePlus 7 Pro, OnePlus 7T and OnePlus 7T Pro
Fully rebased kernel without unnecessary OnePlus' code
Latest CAF msm-4.14 kernel fully merged
Using zswap + vnswap to replace zram
- Ditched conventional zram swap approach for more efficient memory operations
- Backported zsmalloc memory allocator from mainline
- Backported zswap compressed page cache from mainline
- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android
Use CONFIG_HZ = 300
Optimized power configuration
BBR as the default TCP network congestion control
vDSO 32 patches to improve 32-bit performance
vmalloc backported from mainline to improve memory allocation performance
Latest Linux 4.14 subversion merged
DM-verity fully disabled (you can remount /vendor to R/W properly)
Timer optimizations
Additional power savings applied to the display panel
RTL8152/8153 USB LAN adapter support
Passes SafetyNet
Built with -O3 speed optimizations
Built with latest GCC
UFS optimizations
Entropy hook on storage removed
Latest mainline f2fs support with GC fixes
CFQ I/O scheduler backported from mainline
Systemless installation (the kernel doesn't touch /system or /vendor)
Modules support disabled for lighter kernel
WireGuard support
Removed RTB(interrupt) logging entirely
No VLAs(info)
A whole lot more...
/* Details */
- Fully rebased kernel without unnecessary OnePlus' code -
This kernel is not based on stock OxygenOS kernel source provided by OnePlus. Instead, it’s based on the latest and greatest Qualcomm has to offer. Only the necessary parts from the OnePlus kernel has been cherry-picked, such as OnePlus 7 specific device drivers.
This brings 2 major changes: less debugging code and an overall lighter kernel.
There are miscellaneous changes made by OnePlus that are supposed to maximize utilization of system memory. But seeing how it’s implemented(heavily relying on zram and a physical writeback swapfile), I decided to remove it entirely.
Users are recommended to disable the “RAM Boost” feature from Settings > System > RAM Boost.
Due to the completely different base, the memory management with this kernel will be drastically different from other kernels.
- Latest CAF msm-4.14 kernel fully merged -
This kernel is also constantly merging the latest Qualcomm Android 4.14 kernel. This tag contains more up-to-date changes from Qualcomm than the regular Snapdragon 855 tag(sm8150).
- Use CONFIG_HZ = 300 -
This changes the context switching interval from 10ms to 3.33ms. Pixel used this for years and Google recommends other vendors to do the same for less jitter.
This is even more important on displays with higher refresh rates.
- Optimized power configuration -
Stock OnePlus configuration forces display-related processes to use the Gold cluster(formerly known as big cores) exclusively.
This configuration brings a huge power regression since it makes every frame dispatch to wake up and use Gold cores.
This kernel resets this profile to use the configuration Google recommends, which is to use the Silver cluster(formerly known as LITTLE cores) exclusively instead. No performance penalty was noticed with this change while massively improving battery life.
- BBR as the default TCP network congestion control -
BBR is a (relatively)new TCP congestion control developed by Google, and it’s regarded as one of the best things you could do to your network configuration. You can find its benefits easily just by Googling BBR. I’ve been personally running BBR for months on various Linux machines including the server running arter97.com and it’s been great.
Now that our Android kernel is running v4.14, I’ve enabled BBR and backported other BBR changes from mainline.
/* Notice */
5G variant is unsupported.
Only OxygenOS is supported, but it is likely that the kernel will work with other ROMs. Though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
/* f2fs */
OnePlus 7T and OnePlus 7T Pro users cannot use f2fs without involving heavy and risky repartitioning operations due to Dynamic Partitions.
r61+ allows using f2fs on OnePlus 7T and OnePlus 7T Pro.
This kernel fully supports f2fs for /data and I encourage everyone to use f2fs with my kernel for better performance.
See here as to why you might want f2fs.
The process differs with T and non-T series.
/* T variants */
The kernel now detects whether the userdata is in f2fs format and patches fstab on boot for OnePlus 7T and 7T Pro users during boot.
This is done in a volatile manner, which means your system files are not modified and using other kernels will revert the effect.
This is half of the puzzle.
The other half of the puzzle is to getting userdata partition into the f2fs format.
Due to lack of a proper recovery for the OnePlus 7T, I patched up f2fs-tools to support formatting while the Android is up and running.
You can use Franco Kernel Manager's flasher to flash the live-formatter.
This obviously removes all data on the device.
Please make sure your data is fully backed-up.
f2fs live-formatter:
https://arter97.com/browse/f2fs/liveformat
Existing f2fs users won't be affected by any of these changes.
Note that the OnePlus 7T and 7T Pro's OxygenOS has an issue handling FBE(File-Based Encryption) with f2fs(which is presumably why they left it out while the OnePlus 7 Pro had it), and encryption will be disabled when you use my kernel's f2fs live-patching feature.
Without encryption, your entire data will be in danger if you lose your device.
Please use f2fs if you understand this trade-off.
(Non-T series users can safely use f2fs with encryption.)
f2fs installation steps:
1. Download and install my kernel.
2. Download and install f2fs live-formatter.
OxygenOS OTA steps:
1. Install OTA and DO NOT reboot.
2. Download and install my kernel using Franco Kernel Manager.
3. Reboot.
Re-format into ext4 steps:
1. Use stock recovery and perform a factory reset.
Re-format into f2fs steps:
1. Use stock recovery and perform a factory reset and turn the userdata back to ext4.
2. Reboot to Android.
3. Download and install f2fs live-formatter using Franco Kernel Manager.
/* Non-T variants */
TWRP is not integrated to the kernel.
Please use a TWRP installer to install TWRP on top of my kernel.
To use f2fs, simply format /data to f2fs with TWRP.
Afterwards, flash f2fs-optimize.zip from http://arter97.com/browse/f2fs/optimize
There’s no need to flash separate zip files for replacing f2fs-tools or fstab.
/* Disclaimer */
Your warranty is now void.
I am 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 me for messing up your device, I will laugh at you. Hard. A lot.
/* Thanks to */
TheCrazyLex
xboxfanj
kdrag0n
nathanchance - for android-linux-stable
/* Instructions */
1. Read the above. Please.
2. Flash the zip file from your existing TWRP recovery.
2.1. FK Kernel Manager also works for installation. EXKM is unsupported and reported to brick the device due to installation failures.
/* Downloads and links */
r30 and up only supports Android 10
arter97.com
Kernel source
XDA:DevDB Information
arter97 kernel for OnePlus 7, Kernel for the OnePlus 7 Pro
Contributors
arter97
Source Code: https://github.com/arter97/android_kernel_oneplus_sm8150
Kernel Special Features:
Version Information
Status: Stable
Created 2019-07-28
Last Updated 2020-10-18
/* Changelog */
r71
Merged f2fs fixes from mainline (fixes quota inode corruptions)
Linux v4.14.233 merged
Wi-Fi drivers updated to 5.2.03.32J
Sultan's Simple LMK updated
r70
zswap + vbswap replaced with zram
Commits backported from mainline to improve lz4 performance (better memory performance)
LA.UM.8.1.r1-17100-sm8150.0 merged
Linux v4.14.231 merged
Wi-Fi drivers updated to 5.2.03.32G
2021-04-05 security patch merged
RTL8152/8153 drivers updated
Merged optimizations from Sultan
r65
Enabled SECCOMP to address recent security vulnerability issue
LA.UM.8.1.r1-16900-sm8150.0 merged
Linux v4.14.226 merged
Wi-Fi drivers updated to 5.2.03.32E
2021-03-05 security patch merged
WireGuard updated to v1.0.20210219
Merged mainline f2fs fixes
Merged optimizations from Sultan
r64
Merged mmap/mremap fixes from upstream to fix some Chinese apps causing reboots
Merged mremap optimization from upstream (~19x speed up)
r63
mmap/mremap, TLB invalidation, mmu_gather backported from mainline for a major performance boost
(Including https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.10-Mremap-Optimization )
Disabled PG table mapping for swap memory allocator (increased performance for 64-bit)
Saved 48 MB of RAM by removing unused reserved regions
Applied MAC fall-through patch for Chinese users
LA.UM.8.1.r1-16300-sm8150.0 merged
Linux v4.14.212 merged
Wi-Fi drivers reverted to 5.2.03.31L to fix compatibility issues
2020-12-05 security patch merged
WireGuard updated to v1.0.20201112
Merged OnePlus kernel changes
r62
A major memory management issue fixed for 6GB variants
A scheduler patch from Pixel merged to improve power consumption
Reverted drm changes from July to fix intermittent frame drops (mostly noticeable from app open/close animations)
Linux v4.14.202 merged (includes a fix for critical Bluetooth vulnerability "BleedingTooth")
Thanks to @idkwhoiam322 and @NTLinhHaHa for this release
r61
SELinux is now set to enforcing
f2fs fstab live-patching implemented to allow f2fs on OnePlus 7T and 7T Pro users
Memory swap's aggressiveness tuned to reflect the device's RAM size
Wi-Fi driver backported from LA.UM.9.12.r1-08400-SMxx50.0
(The version jumped from 5.2.03.31A to 5.2.022.4J)
Merged LE.UM.3.3.2-09000-SDX55 tag
OnePlus brain service is disabled in a cleaner manner
Disabled f2fs' background GC
r60
Applied a fix for rare random reboots since r57
The entire SELinux subsystem backported from mainline Linux for better performance and efficiency
(Magisk users must use Magisk v21.0 or the kernel will not boot)
LA.UM.8.1.r1-16000-sm8150.0 merged
Linux v4.14.200 merged
Wi-Fi drivers updated to 5.2.03.31A
Now built with GCC 10.2
2020-09-05 security patch merged
WireGuard updated to v1.0.20200908
Sultan's Simple LMK updated
Merged optimizations from kdrag0n
Latest f2fs-stable merged
r58
LA.UM.8.1.r1-15400-sm8150.0 merged
Linux v4.14.188 merged
Wi-Fi drivers updated to 5.2.03.27R
Minor trivial optimizations
r57
Linux v4.14.186 merged
Wi-Fi drivers updated to 5.2.03.27K
LE.UM.4.3.3.r1-00500-SDX55 tag merged
Minor memory optimization to the graphics drivers (by Yaro330)
r56
Merged OnePlus kernel changes to support optimized charging
Bunch of memory allocations from various subsystems were reworked to perform much better
Now built with GCC 10.1
2020-06-05 security patch merged
Linux v4.14.183 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.26Q
WireGuard updated to v1.0.20200520
Sultan's Simple LMK updated
Merged optimizations from kdrag0n
Latest f2fs-stable merged
r54
Switched to Sultan's Simple LMK to fix lags and stalls on memory-pressured scenarios
Disabled scheduler debug for better performance
Reduced memory allocations on network sockets
Reworked and optimized vnswap (renamed to vbswap)
Reworked Wi-Fi configuration
USB UASP enabled
Minor fixes to previous memory optimization commits
LV.AU.0.2.0-01800-gen3meta.0 merged
2020-03-05 security patch merged
Linux v4.14.173 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.22Q
r52
Fixed slow boot issue on OnePlus 7T series
r51
Fixed Wi-Fi not working on some devices due to MAC address loading failures
Backported Android ion driver from Snapdragon 865 kernel
Latest f2fs-stable merged
Linux v4.14.170 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.19P
r50
Beta details
Cleanly rebased version
OnePlus performance boost hacks removed
Random reboots with WireGuard fixed
Random reboots with f2fs encryption fixed
Added vibration level control (by flar2)
Few patches from LE.UM.4.1.1-02910-sa515m merged including scheduler improvements
LV.AU.0.2.0-00810-gen3meta.0 merged
Latest OnePlus changes merged
Latest f2fs-stable merged
Linux v4.14.163 merged
Latest Qualcomm's Android 4.14 kernel merged
Wi-Fi drivers updated to 5.2.03.18B
r40
OnePlus 7T and OnePlus 7T Pro support added
Added support for flashing via FK Kernel Manager
Major optimizations to touch panel drivers for lower overheads
Merged a zswap patch for faster lookups - better memory swap performance
Disabled unnecessary kernel log writeback debug feature
Linux v4.14.156 merged
Latest Qualcomm's Android 4.14 kernel merged
(LA.UM.8.1.r1-12200-sm8150.0, LA.UM.8.11.r1-01800-NICOBAR.0, LA.UM.8.9.r1-06500-SM6xx.0)
Wi-Fi drivers updated to 5.2.03.15T
exFAT drivers added
WireGuard updated to 20191127
r33
LA.UM.8.1.r1-10700-sm8150.0 merged
r32
Ported patches from Razer Phone 2 to improve touchboost and general performance (by TheCrazyLex)
Linux v4.14.151 merged
Ported patches from LA.UM.8.9.r1-05300-SM6xx.0
Wi-Fi drivers updated to 5.2.03.14L
Memory management patches applied from kdrag0n kernel
r31
Integrated Google Camera AUX mod
(No need to use a separate Magisk Module)
LA.UM.8.1.r1-10300-sm8150.0 merged
Linux v4.14.150 merged
WireGuard updated to 20191012
Backported patches from LA.AU.0.0.2.c1-07610-gen3meta.0
r30
Rebased the kernel for Android 10 (based on LA.UM.8.1.r1-09500-sm8150.0)
Applied zswap + vnswap for replacing zram
Wi-Fi drivers updated to 5.2.03.13O
Linux v4.14.148 merged
Latest OnePlus changes merged
Latest f2fs-stable merged
Backported BBR TCP congestion control patches (by kdrag0n)
Switched to AnyKernel3
r30 won't work with the OnePlus 7T
r25
Linux v4.14.141 merged
Merged additional f2fs bug-fixes
Kernel download size reduced
LA.AU.0.0.1-15710-gen3meta.0 merged as an extension of SDX55 merge (contains various patches including scheduler enhancements)
GPU runtime overhead reduced
Garbled sound with type-C wired headphones fixed
General stability improvements
r24
Fixed a display-related patch introduced in r20 that may cause severe memory leakage and freezes
r23
Fixed yet another recent f2fs rapid GC changes that caused an indefinite wakelock
Reverted TCP backports and cherry-picked relevant BBR commits to fix rare random reboots
r22
Fixed a recent f2fs rapid GC commit that caused an indefinite wakelock
5G support removed due to improper radio support
Linux v4.14.138 merged
Switched to GCC 9.2.0
r21
Merged some performance improvement patches from kdrag0n
r20
Random reboots due to improper TCP backports fixed (thanks to freak07)
Random reboots due to f2fs rapid GC fixed (thanks to ab123321)
Nightscape fixed
Booting issues with OnePlus 7 non-Pro fixed
Support for OnePlus 7 Pro 5G added
Linux v4.14.137 merged
LA.UM.7.1.r1-15800-sm8150.0 merged
Wi-Fi drivers updated to 5.2.03.11J
Latest OnePlus changes merged
Latest f2fs-stable merged with correct encryption patch
Properly disabled userspace lmkd
Qualcomm RmNet extensions added
Enabled power efficient workqueues
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan)
r1
Initial release
/* Known issues */
None
/* Telegram */
Join our Telegram group:
https://t.me/joinchat/FW_6TBAlmu0DeMzUDyLkIw
Reserved 4
Reserved 5
I'll be the first. Just formatted my device and rooted it, first kernel im going to test!
Wow, very interesting changelog, will be interesting to see how it performs and what others think!
Conflicting decisions between kernel devs it seems on some features, like ZRAM for example.
Looking forward to flashing
Looking forward to flash, there's no klapse support right?
Edit: Damn this kernel is snappy AF ?
Congrats on this release!
Finally arrived! waiting for it since I know you are about to build one for op7pro.
RazorBlade123 said:
Looking forward to flash, there's no klapse support right?
Edit: Damn this kernel is snappy AF ?
Click to expand...
Click to collapse
You came from stock or something else?
NateDev said:
You came from stock or something else?
Click to expand...
Click to collapse
I came from kirisakura, first went to stock and then this kernel
RazorBlade123 said:
I came from kirisakura, first went to stock and then this kernel
Click to expand...
Click to collapse
Did you still flash the f2fs-optimise zip in the OP?
storytellerz said:
Did you still flash the f2fs-optimise zip in the OP?
Click to expand...
Click to collapse
I'm not using F2FS.
Asop or OOS only kernel?
kenbrownstone said:
Asop or OOS only kernel?
Click to expand...
Click to collapse
/* Notice */
Both OnePlus 7 and 7 Pro is supported.
Only OxygenOS is supported, but it is likely that the kernel will work with other ROMs. Though you may encounter minor issues.
Feel free to tip me which commits are needed to fix other ROMs.
Android Q beta is not supported and I’ll not spend my time adding support for it.
Do not ask for premature Android Q beta support.
Click to expand...
Click to collapse
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
thank you @arter97 ... finally ... its been too long... thank you! :good: kamsahamnida
Nice to see here! Kudos
I know it says not supported on Q, but I will still give a try
RazorBlade123 said:
I came from kirisakura, first went to stock and then this kernel
Click to expand...
Click to collapse
Do you have a link to the stock 9.5.10 kernel is zip, flashable form? Thanks

Categories

Resources