[r21] arter97 kernel for OnePlus 6 - OnePlus 6 ROMs, Kernels, Recoveries, & Other Devel

{
"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 6/6T running OxygenOS​
/* Details */
Fully rebased kernel with OnePlus' debugging code out
Latest CAF msm-4.9 kernel fully merged
This kernel contains more cutting-edge changes from Qualcomm than the regular sdm845 tag
Latest Linux 4.9 subversion merged
Use CONFIG_HZ = 300
- This changes context switching interval from 10ms to 3.33ms
- Pixel used this for years and Google recommends other vendors to do the same for fewer jitters
Memory management improved(from Pixel 2 & 3)
Pixel's lowmemorykiller used
DM-verity fully disabled (you can remount /vendor to R/W properly)
Scheduler commits cherry-picked from Pixel 3
Timer optimizations
Additional power savings applied to the display panel
Heavily optimized touch panel source code resulting in reduced touch latency
RTL8152/8153 USB LAN adapter support
TWRP integrated with proper f2fs support (see below)
Other various optimizations from Paranoid Android
Permissive SELinux
Passes SafetyNet
Built with -O3 speed optimizations
Built with latest GCC
Westwood as default TCP network congestion control
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
Various changes merged from the Razer Phone 2 and Snapdragon 855
/* Notice */
Both OnePlus 6 and 6T 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.
Unlike my OnePlus 5/5T kernels before, you are free to flash Magisk after installing the kernel. Kernel does not include Magisk by default.
/* f2fs */
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.
TWRP is not integrated to the kernel.
Please use a TWRP installer to install TWRP on top of my kernel.
To use f2fs, download zip files from http://arter97.com/browse/f2fs
Flash f2fs_tools_for_twrp.zip from TWRP. This won’t format your /data partition.
This will replace TWRP's f2fs tools with the latest version and pass the correct parameter to mkfs.f2fs, which is necessary.
This needs to be done everytime you enter TWRP, if you want to re-format to f2fs.
After formatting, or flashing a new ROM or an OTA, /vendor’s fstab needs to be changed.
Flash f2fs_fstab.zip to convert fstab to f2fs again. This won’t format your /data partition.
/* 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
Tim Murray
RenderZenith
nathanchance - for android-linux-stable
/* Instructions */
You can use the zip file to flash the kernel from your existing TWRP recovery.
If you don't have TWRP installed already, you can use the img file to flash the kernel directly from your PC via fastboot.
Both methods will install both kernel and modified TWRP recovery.
You can check if the modified TWRP is installed by looking at TWRP's version name.
It should say "arter97-f2fs".
If you use fastboot method(directly flashing img), you will not pass SafetyNet.
/* Swap variant */
This kernel has a swap variant for memory-hungry users.
- Users with 6GB of memory or heavy multi-taskers are recommended to use the new swap variant
- Ditched conventional zram swap approach and taken zswap+vnswap 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
/* Downloads and links */
arter97.com
Kernel source
XDA:DevDB Information
arter97 kernel for OnePlus 6, Kernel for the OnePlus 6
Contributors
arter97
Kernel Special Features:
Version Information
Status: Stable
Created 2019-01-14
Last Updated 2019-10-28

Reserved

/* Changelog */
r21
Boot issue fixed caused by improper switch to AK3
Brightness issue on exiting AOD fixed
LA.UM.8.3.r1-06300-sdm845.0 merged
Diag USB interface enabled for QPST
r20
Swap compressor backend(LZ4) updated
LA.UM.8.3.r1-06100-sdm845.0 merged
Linux v4.9.196 merged
Wi-Fi drivers updated to 5.1.1.74O
Latest f2fs-stable merged
r19
OnePlus changes merged including support for DC dimming
Linux v4.9.189 merged
Wi-Fi drivers updated to 5.1.1.73W
LA.UM.7.3.r1-08200-sdm845.0 merged
LA.UM.7.8.r1-06900-SDM710.0 merged (includes various scheduler improvements)
r18
Linux v4.9.186 merged
Wi-Fi drivers reverted back to stock Snapdragon 845 ones to resolve signal strength issues
Swap variant's LMK aggressiveness adjusted to use the stock values
r17b1
Linux v4.9.185 merged
LA.UM.7.3.r1-07900-sdm845.0 merged
LE.UM.3.2.1-00910-SDX24 merged
Wi-Fi drivers updated to 5.2.03.10Q
More debugging features removed from Wi-Fi drivers
Wi-Fi regulatory database taken from OnePlus to fix slow handshakes with 5 GHz APs (by LuK1337)
Faulty Low Memory Killer fixed to work better and resolve wake-up delays
General scheduler improvements backported
Virtual memory allocator performance improved
Task scheduler debugging disabled properly for lower overheads
Many parts of the kernel converted to use hotplug state machine
WireGuard updated to 20190702
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan) (total of 46 patches)
Debugging features disabled for Adreno GPU drivers to improve performance
Fixed an issue that was causing charging to be stopped randomly (details)
Rewritten IOMMU by Sultan reverted to resolve screen flickerings
Introducing a new swap variant for memory-hungry users
- Users with 6GB of memory or heavy multi-taskers are recommended to use the new swap variant
- Ditched conventional zram swap approach and taken zswap+vnswap 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
r16
Linux v4.9.180 merged
Wi-Fi drivers replaced with Snapdragon 855 drivers
- Switched from 5.1.1 to 5.2.03 release
- 1810 files changed, 851191 insertions(+), 187458 deletions(-)
- I've been internally using this for 3 weeks and noticed multiple improvements like faster handshakes and higher throughput without any issues
Fixed several memory management issues from previous releases
- This fixes multiple issues including performance regressions(wake-up delays, etc) and radio malfunctions
- Thanks to @habylab for testing multiple builds prior to release)
Latest f2fs-stable merged
LA.UM.7.8.c3-06800-QCS605.0 merged
LE.UM.3.2.1-18400-SDX24 merged
Removed f2fs debug tracing codes added by Qualcomm
qseecom performance improved
Re-enabled kernel tracers for avoiding janks
32-bit vDSO added for improving performance on arm32 programs
Audio kernel updated LA.UM.7.3.r1-07800-sdm845.0
r15b1
Linux v4.9.175 merged
Wi-Fi drivers updated to 5.1.1.71H
Latest f2fs-stable merged
LA.UM.7.3.r1-07400-sdm845.0 merged
LA.UM.7.8.r3-01400-SDM710.0 merged
Fixed a Qualcomm issue that prevented audio-app stune creation
Fixed an improper timer operation in fuelguage driver causing battery statistics to not update until 20 minutes after boot
Merged various patches from Proton kernel by kdrag0n to lower overheads and improve responsiveness (thanks to kdrag0n, sultanxda and ab123321)
Applied various optimizations to the touch panel drivers
Now VLA-free
RCU boost enabled for better responsiveness
New patches made to f2fs for more efficient GC and trim
FBE(File Based Encryption) now works with f2fs
r14
Wi-Fi drivers updated to 5.1.1.71C
Disabled some debugging options to improve performance
Added vibration control
Added wcd934x sound control
r13
Reverted a problematic Wi-Fi drivers optimization causing Wi-Fi to not turn on after some period of time
r12
Fixed a faulty memory region removal causing kernel panics
(Thanks to @habylab for directly testing builds)
r11
Reverted a minor Wi-Fi drivers improvement causing kernel panics
r10
AnyKernel2 is now being used
Linux v4.9.168 merged
Fixed a major memory management regression
Linux CMA pool size increased for better CMA efficiency
Improved memory allocation from the Wi-Fi drivers to reduce memory fragmentation
Fixed occasional kernel crashes(entering dumpmode) on shutdowns
r9
Linux v4.9.166 merged
LE.UM.3.2.1-11600-SDX24 merged
Use CONFIG_HZ = 300
- This changes context switching interval from 10ms to 3.33ms
- Pixel used this for years and Google recommends other vendors to do the same for fewer jitters
Some changes from Pixel 3’s Q preview kernel
Some mainline performance improvements to procfs merged
Removed RTB(interrupt) logging entirely
WireGuard updated to 20190227
Stock LowMemoryKiller parameter restored to hopefully fix wake-up delay and general lags
Fixed bq27541 fuelguage driver to properly work with CONFIG_HZ != 100
(Fixes various battery-related issues such as displaying -22% on initial boot)
Reverted a problematic memory management commit causing CMA allocation errors
Merged LA.UM.7.8.r1-05000-SDM710.0
Merged LA.UM.7.3.r1-06900-sdm845.0 audio kernel
Various changes made to f2fs rapid GC to make it more efficient
dirty_expire_centisecs set to 30 seconds to reduce flash wearouts and power consumption
Various changes merged from the Razer Phone 2 and Snapdragon 855
Kernel is now built with -O3 optimization flag
r8
Linux v4.9.163 merged
LE.UM.3.2.1-08000-SDX24 merged
Wi-Fi drivers updated to 5.1.1.70J
f2fs updated to 5.1 mainline version
Disabled qcom_rx_wakelock (details)
Reworked msm_geni_serial driver
- Lighter resource usage
- Lower power consumption upon wake(ISR)
- Fixed an issue preventing suspend indefinitely
Various changes from Proton kernel by kdrag0n
- Use flatmem to save kernel memory usage
- Use optimized memcmp
- Optimize rbtree
- Disable erratum 843419 properly
- Delay vmstat updating interval to avoid jitter
- Disable I/O stat accounting completely for lower overheads
- Reverted a cpuidle change for possible fix for power consumption regression during sleep
- Faster crypto algorithms ported(chacha20, sha2, crc32)
A bit lower power consumption by using WFE for long delays
Add accelerated crc32 routines
Use -O3 for input drivers for avoiding overheads
r7
Linux v4.9.160 merged
LA.UM.7.3.r1-06900-sdm845.0 merged
LA.UM.7.8.r1-04800-SDM710.0 Wi-Fi drivers merged
A totally new kernel base merged - LE.UM.2.3.2-05800-SDX24
- Total of 1153 commits and about 25,000 lines of code difference
- A lot has changed ranging from scheduler, memory management, device encryption, GPU and panel handling, UFS device driver, ION, cpuidle, binder and a whole lot more
OnePlus changes to OxygenOS 9.0.12 merged
- This includes display panel changes and may affect screen on/off delays
IRQ balancer settings updated to include UFS interrupts for better overall smoothness
Some of upstream camera commits applied for more reliable camera operations
Sultan’s display wake-up optimization re-applied after a bug fix revision
1.5
Linux v4.9.158 merged
Kernel configuration fixed for proper scheduler operation
OnePlus changes to display panel settings merged
Faulty screen optimization from Sultan reverted to fix occasional screen-on misses
Mainline f2fs fixes merged
LA.UM.7.8.r3-01100-SDM710.0 merged
- This new tag for Snapdragon 710 includes multiple enhancements over sdm845 tag, most notably scheduler improvements
WireGuard updated to 20190123
seccomp disabled in favor of less system-call overheads
Minor issue with f2fs rapid GC fixed
Fixed an issue with execprog causing readahead settings to be ignored on some boot
Modified IRQ balancer settings added for better smoothness
1.4
Linux v4.9.154 merged
ULPS during suspend disabled for (possibly)lower panel power consumption during screen-off
Audio HAL reworked to fix Type C audio adapter (thanks to @Nezorflame for testing)
Patch level set back to 2019-01
1.3
Linux v4.9.153 merged
ZIP installation now uses proper security patch level to bypass SafetyNet
(If you install the kernel by fastboot/IMG method, it won't bypass SafetyNet)
Merged several changes from Sultan's Pixel 3 kernel
- Numerous memory leaks fixed
- GPU performance improved with corrected priority
- Faster display wake-up
- Lower power consumption
1.2
OnePlus 6T support added - thanks to freshgiammi and nezorflame for testing
Security level is set to 2025-12(details)
1.1
CAF tag LA.UM.7.3.r1-06700-sdm845.0 merged
Linux v4.9.151 merged
Wi-Fi issue fixed (thanks to pappschlumpf for tipping me the culprit)
pstore kernel log is now properly saved
Custom TWRP integrated
Readahead set to 128kB to minimize page thrashing
IMG file is now provided for direct fastboot installation
1.0
Initial release

Reserved 2

Reserved 3

Reserved 4

Damn. Waited for this. If you switch to f2fs, you will format data right?

joakimbo said:
Damn. Waited for this. If you switch to f2fs, you will format data right?
Click to expand...
Click to collapse
Yes

Im use arter kernel alot when on hlte. Keep up a good work.

Nice work!

Got bricked or something.
Was on blu_spark. Booted to recovery > flashed rom -> latest blu_spark recovery -> reboot recovery -> flashed magisk 18.0 -> flashed kernel
After this I booted but found that Magisk is not instaled, pressed "boot to recovery" and now can't do enything with phone, it's not booting even wit hard boot (like volume down and power).
Edit: booted, seems like some problems with blu_spark recovery.

@arter97 audio via Bluetooth is significantly reduced. Tryied with Apple AirPods and others Bluetooth headphones but nothing changed. Max volume corresponds to about half of the original volume.

iPsychoGeek said:
Got bricked or something.
Was on blu_spark. Booted to recovery > flashed rom -> latest blu_spark recovery -> reboot recovery -> flashed magisk 18.0 -> flashed kernel
After this I booted but found that Magisk is not instaled, pressed "boot to recovery" and now can't do enything with phone, it's not booting even wit hard boot (like volume down and power).
Edit: booted, seems like some problems with blu_spark recovery.
Click to expand...
Click to collapse
You should flash the recovery after the kernel again.

tibcsi0407 said:
You should flash the recovery after the kernel again.
Click to expand...
Click to collapse
Actually I think there is some problems with Magisk instalation. I had this issue before, and i couldn't boot in to recovery because Magisk wasn't installed.

iPsychoGeek said:
Actually I think there is some problems with Magisk instalation. I had this issue before, and i couldn't boot in to recovery because Magisk wasn't installed.
Click to expand...
Click to collapse
I always flash TWRP after kernel flashing.
What I usually do:
boot twrp
flash the kernel
flash twrp
reboot to twrp
flash magisk
reboot

Can anyone confirm this kernel working on any custom roms, as yet?

In the notes section of the OP, he mentions flashing Magisk after the kernel. Testers should try that during install. See if it boots smoothly.

DarKAngel1234 said:
Can anyone confirm this kernel working on any custom roms, as yet?
Click to expand...
Click to collapse
Read the goddamn OP

I did and it mention's douche bag, that it may work with other roms.
joakimbo said:
Read the goddamn OP
Click to expand...
Click to collapse

@arter97 This kernel also breaks latest blu_spark TWRP for me

Related

arter97 kernel for Galaxy S3

{
"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 Galaxy S3
This kernel is no longer supported actively!​
/* Overview */
Based on stock SHV-E210S kernel source
Supports Android 5.1 Lollipop, CyanogenMod 11.0, Samsung Touchwiz based Android 4.4.4 ROM
Upgraded to the latest Linux
Compiled using latest ARM Linaro-toolchain
Speed improvements
Battery improvements
New CPU Governors
New I/O Schedulers
CPU overclock capability
Color inverting by quadriple tapping on home button
Proper dual-boot functionality
Many more ...
/* Details */
Built using Linaro-toolchain 5.1
Properly upgraded to the latest Linux 3.0.101
Dual-boot functionallity for all supported ROMs
SELinux disabled(permissive)
Kernel compression in newly-improved LZO format
Kernel scheduler improvements
Full unaligned access enabled
Improved memcpy, hrtimer, mutex, cpufreq, memory-management, writeback
Optimized RWSEM, crypto, math drivers
Wi-Fi wakelock reduced
BFQ v7r8, SIO, FIFO, VR, ZEN I/O schedulers added
ZZmoove, Intelliactive CPU governors added
Overclock available to 1600MHz
Controlable, kernel-side implementation of slient camera shutter sound
Touch Wake with Knock-On feature
Deadline I/O Scheduler speed improved
Asynchronous I/O backported from Linux 3.6 with speed improvements
Asynchronous Fsync from hTC ported by faux123
Dynamic Fsync from faux123
Networking performance improved
Disabled MMC-CRC for better NAND performance
ARCH_POWER enabled for better power savings
Fading LED control by AndreiLux
Random driver backported from Linux 4.0+
SCHED_AUTOGROUP enabled for superior multitasking experience
Westwood as default TCP congestion control for best networking performance
Optimized CRC32 & SHA-1 algorithm
Proportional Rate Reduction for TCP
Boeffla Sound Engine 1.6.7
Charger control by AndreiLux
FAT32 latency improved
Android logger control
Memory throttling removed
Default file-system mount option with noatime & nodiratime
Proper, full support for f2fs & backported from Linux 4.2+
Switchable sharpness control by AndreiLux, AndiP71
Latest mali graphics libraries
Automatic kernel panic log dumper
Powerboost, Boost-boot for better performance
Sdcardfs extended to all supported ROMs
Android 4.4 KitKat's extra free kbytes tunables added for better memory managements
ARM_UNWIND enabled for better performance
File-system writeback function backported from Linux 3.4 with latency improvements
Compiler profiles backported from Linux 3.16
Kernel module integrated into the ramdisk for better loading speed
Insecure ADB control
TCP's Initial Congestion Window tunables from Android 4.4.3
Power-efficient workqueues backported from linaro-lsk
Deep-discard-trim; FIDTRIM support for ext4 backported from google-3.4
Entropy hook on storage removed for performance
/* More informations */
Based on stock SHV-E210S kernel source
Samsung has put massive updates in their Android 4.4 kernel compared with Android 4.1 kernel. By being based on stock SHV-E210S kernel source, arter97 kernel is miles ahead of where other CyanogenMod-based kernels are slowly catching up behind.
Dual-booting
arter97 kernel implements simple yet seamless multi-boot solution that does not need a dedicated recovery. It's also faster, thanks to raw extracted method instead of slow loop mounted images.
To start, enter recovery(CWM, PhilZ) and flash arter97-multi-boot.zip. The ZIP files you flash afterwards will be stored in the 2nd-ROM slot(/data/arter97_secondrom) until you exit or restart recovery.
Reboot back to 1st-ROM, and use newly installed 'aSwitch' to control 2nd-ROM. You cannot select between two ROMs on the initial start-up time.
* 2nd-ROM's /system partition will be always mounted R/W due to its limitations.
* Backup & restore will not work for 2nd-ROM. Don't try it unless you want your entire device screwed all over.
* Do not select data wipe on 2nd-ROM installation! 1st-ROM data might be lost instead.
Advanced mDNIe control
arter97 kernel offers advanced mDNIe control by AndreiLux, leaving every single controls available for the screen in the palm of your hands.
Knock-On
arter97 kernel offers full Touch Wake functionality(by Ezekeel & Yank555.lu) with additional 'Knock-On' feature. Within the desired timer you set, Touch Wake will only work by double-tapping.
Touch Wake
Touch Wake has been improved in arter97 kernel. Not only the implementation of 'Knock-On' feature, you can now set a seperate timer on charge, force to also work on physical button pressed.
Compiler
arter97 kernel uses the latest Linaro-toolchain. Linux kernel's compiler profiles has also been backported from Linux 3.16 for more compiler bug-fixes, performance improvements.
Memory managements
arter97 kernel is fully upstreamed to the latest Linux 3.0.101. This provides improved stability, performance and memory management. But many developers forget to properly match Samsung's CMA memory management to Linux 3.0.101. arter97 kernel is the only kernel properly upstreamed to Linux 3.0.101 with CMA, meaning better memory management than other kernels.
If you're using Android 4.4 KitKat, ROM can work together with arter97 kernel which improves memory managements even further.
File-system
Battery and access speed to /sdcard is also improved by utilizing Samsung's sdcardfs and ditching Google's fuse implementation. Users can disable sdcardfs allowing FolderMount to work properly.
FAT32 latency is improved, and AIO(Asynchronous I/O) is backported from Linux 3.6 with latency improvements.
f2fs
arter97 kernel is the first Android kernel(since 2013/08) to feature full f2fs support with selective partitions preferences. If you manage to make a switch from ext4 to f2fs, theoratically, your device's flash storage can perform up-to 2x faster. arter97 kernel also continously backport the latest f2fs from Linux 3.19+. This f2fs will be even more faster, reliable than other Android kernels.
PhilZ recovery dedicated for f2fs makes users easy to switch. Install kernel and recovery, wipe /data and /cache, that's it.
Boeffla Sound Engine
Boeffla Sound Engine is the only custom audio engine available in arter97 kernel. Go and download 'Boeffla Sound Control' from Google Play store.
Android logger control
Android logger, aka logcat can produce a lot of garbage datas even when you don't need them. You can explicitly disable Android logger completely, or make it clear itself when the screen goes off(which is the default).
Mali graphics
arter97 kernel uses the latest Mali driver available for Samsung's Exynos 4412 phones, r3p2. It also uses the latest Mali blobs from N7100 ROM, which is built more recently than GT-I9300 ROMs.
Automatic kernel panic log dumper
When you use a custom kernel, you may experience unexpected malfunctions like sudden reboots. You should dump the kernel log and report it to the developer to help, but it may be very tiring to manually dumping and sending it. To make your life easier, arter97 kernel automatically dumps kernel log when kernel panic happens, and stores it on /sdcard/arter97.
Kernel-side Camera shutter sound control
arter97 kernel can force and turn off the speaker while the rear camera is operating. Since this is a kernel-side implementation, it doesn't need any ROM side support. Control available from aTweaks.
Powerboost
Powerboost is a function that dynamically boosts your device's performance when an external charger is connected. Since none of the power savings are needed while the device is charging, you can experience much more faster speed during that period.
Boost-boot
Boost-boot is a function that can reduce boot-up time up-to 20 seconds. It uses 'performance' CPU governor, 'no-op' I/O scheduler and 1024kB readahead when the device is booting.
aTweaks
aTweaks is a live-kernel-controller dedicated for arter97 kernel based on STweaks. You can control almost every aspects that arter97 kernel offers. Installing BusyBox before using is recommended.
aSwitch
aSwitch is a dual-boot settings for arter97 kernel. It can wipe 2nd-ROM's /system, /data and /cache. You can also set /sdcard sharing option within aSwitch.
/* 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.
/* Warning */
Do not redistribute, modify, fetch, extract files used within this project or integrate with other files without my permissions.
Making mirrors, re-uploading to another servers are strictly prohibited with no exceptions.
/* Supported device */
Galaxy S3 3G International (GT-I9300)
Galaxy S3 SK-3G (SHW-M440S)
Galaxy S3 SK-LTE (SHV-E210S)
Galaxy S3 KT-LTE (SHV-E210K)
Galaxy S3 LG-LTE (SHV-E210L)
/* Unsupported device */
Galaxy S3 LTE International (GT-I9305)
/* What you need to know */
'Opensource' does not mean 'no-respect'
Leave credits to original developers
All files for supported devices are integrated into one file
/* FAQ */
I get 'status7' error while installing!
Your recovery is out-dated. Go and install a newer one.
Any recommended kernel settings?
The defaults are the most recommended settings. Try and use the default settings for several days before tweaking it yourself.
No GPU clock controls?
No. I personally don't like exposing GPU clock controls to users. I have no plans of adding these controls to my kernels.
I'm experiencing data-losses, device shutdown while downloading torrents!
Please turn off 'Dynamic Fsync' from aTweaks. Note that this may make your device slower.
Screen mode settings are not working!
mDNIe settings is moved to aTweaks. Please use the settings from there.
My screen color is inverted!
Tap the home-button 4 times. It's a kernel feature, please read the entire post.
The boot animation is laggy after installing this kernel!
The root cause is unknown for now, but it is normal and doesn't affects anything else.
Personal Hotspot is not working after switching to another kernel!
It's due to hostapd binary change. Go and re-flash your ROM.
/* Thanks to */
Samsung
faux123
Yank555.lu
Temasek
AndreiLux
AndiP71
DerTeufel
ZaneZam
JustArchi
Moster2
NamelessROM developers
ckh469
edoko
gokhanmoral
codeworkx
xens0117
And all the developers, maintainers of CyanogenMod's smdk4x12 kernel!
irendah07
/* Contact */
Email : [email protected]
Twitter : @arter97_dev
/* Downloads */
Please disable AdBlocker if you appreciate my work
http://www.arter97.com/s3_kernel.htm
Source code : https://bitbucket.org/arter97/arter97-i9300-release
/* Installation */
1. Put kernel on you SD card
2. Enter ClockworkMod(or PhilZ) recovery
3. Flash kernel
XDA:DevDB Information
arter97 kernel for Galaxy S3, Kernel for the Samsung Galaxy S III I9300
Contributors
arter97
Source Code: https://bitbucket.org/arter97/arter97-i9300-release
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2015-02-22
Beta Release Date: 2015-02-22
Created 2014-05-13
Last Updated 2015-10-09
Changelog
/* Changelog */
5.0
pegasusqplus, yankasusq and lulzactiveq CPU governors removed
pegasusq reworked for better stability
f2fs updated to Linux 4.2 sources for better stability and performance
RTL8187 support dropped for better stability
Network file-systems support dropped for better stability
Adaptive Body Bias control removed for better stability
Undervolt control removed for better stability
Intelli_plug removed for better stability
Misc commits reverted for better stability
FPU corruption fixed
1.7, 1.8 GHz overclock frequency removed
CFQ I/O Scheduler set as the default for better responsiveness
Intelliactive set as the default CPU governor
Partial code of Lazyplug added to intelliactive for better responsiveness
Zen-tune from Liquorix kernel removed
Random drivers updated to the latest mainline Linux
zswap(vnswap) pool percent increased
AIO regression reverted
BFQ I/O scheduler updated to v7r8
LZ4 re-added and updated to be used with vnswap
Ramdisk updated
ZZmoove CPU governor updated to v1.0-beta8
4.1
Now being built with Linaro 5.1 toolchain
Intelli-plug updated to 4.0
Various memory improvements (fs/seq_file.c)
Trim speed on ext4 improved
Discard option re-enabled for f2fs
(Jaegeuk Kim says inline kernel handlings for discard is more efficient)
Userspace trim disabled for f2fs
(Reduces vold overhead on FITRIM requests)
Trim fixed for some NAND storage for f2fs
Support for Samsung Touchwiz Android 4.3 ROMs removed
Support for Android 5.0 ROMs removed
Support for Android 5.1 ROMs added
Installation failure after ROM installation fixed
Network speed tweaked for LTE models
4.0.3
Issues with swap configurations fixed
Misc SELinux logs improved
Compiler and linker updated
4.0.2
Latest CyanogenMod 12 ramdisk changes merged
(Fixes bootloop on latest builds)
4.0.1
Zen-tune from Liquorix kernel implemented
(Reduces lags)
ondemand CPU governor removed
Few inconsistencies fixed for SHV-E210L
Hardswap on preload partition added on aTweaks
4.0
Prevent random enter to recovery
LPM mode on Android 5.0 Lollipop fixed
Low-level start-up misc issue fixed
Revert - "usb cb wake lock", "usb device wake lock" wakelock removed
(Fixes USB connections)
Random drivers updated to the latest mainline Linux
LZO security vulnerability fixed
Entropy hook on storage removed for performance
f2fs updated to the latest mainline Linux
Android 5.0 Lollipop ramdisk updated
4.0-beta6
f2fs updated to the latest mainline Linux
Durpy defconfig changes removed
SHV-E210S_KK_Opensource_Update2.zip merged
Hybrid support for different HWC implemented
(Fixes camera initialization issues)
MobiCore disabled for AOSP
(Memory optimizations)
4.0-beta5
f2fs updated to the latest mainline Linux
sdcardfs extended and enabled with Android 5.0 Lollipop
PegasusQ set as the default CPU governor for stability
firelock and full-frequency-usage removed from PegasusQ for performance
Android 5.0 Lollipop ramdisk updated
Stability on charging with phone turned off improved
PhilZ Touch recovery now uses standard VOLD mount points
4.0-beta4
Removed GPS blobs from 4.0-beta3
(Fixes GPS on AOSP - you may need to reinstall the entire ROM to fix GPS)
4.0-beta3
f2fs updated to the latest mainline Linux
Some cutting-edge compiler optimizations tuned down for stability
Added L1/L2 cache size paramater optimizations (by JustArchi)
Support for Android 5.0 reworked
Support for Android 5.0 Lollipop VPN added
Support for Android 5.0 Lollipop power consumption calculation added
Support for Android 5.0 Lollipop idletimer enabled
Deadline / noop set as the default I/O schedulers
Incall boost increased to 1000 MHz for more stability
Ext4 mount option journal_async_commit removed
Ext4 barrier enabled for better stability
Now uses TRIM from userspace instead of kernel for performance
Boeffla sound engine updated to 1.6.7
Second-phase touch booster removed for stability
Intell-plug touch booster removed for stability
BFQ I/O scheduler updated to v7r7
Installs and uses the working HWC from NamelessROM if on AOSP
Enables s3cfb fencing on AOSP
(Fixes graphical glitches)
MHL sound output issue fixed
Vnswap on AOSP switch added
Added GPS blobs from E210SKSUKNK3
Recovery updated to PhilZ Touch 6.59.0
Misc performance and stability improvements
Support for AOSP Android 4.3 ROMs removed
4.0-beta2
Major speed improvements via new ARM instructions set
interactive CPU governor re-based to android-3.4
(Fixes frequency stuck issue)
ZZmoove v1.0-beta2
ROW I/O scheduler removed
Misc block commits reverted
(Improves overall stability)
f2fs reworked from ground-up
(Stability, performance improvements)
Automatic kernel panic log dumper now stores log on /sdcard/arter97
RTL8187 support added (integrated)
SHV-E210L radio issues fixed
External storage support for Android 5.0 Lollipop enabled
4.0-beta1
Kernel rebased to Galaxy S3 LTE KitKat source
(Fixes graphical glitches on Touchwiz ROMs)
512 MB of vnswap enabled for Touchwiz ROMs
Intelliactive now the default CPU governor
Touchwiz Android 4.4.2 support removed
Back-to-n00t ROM support added
Android 5.0 Lollipop ROM support added
Charge during phone-off fixed
ZZmoove v1.0-beta1
Interactive governor ported from Galaxy Mega 2
Powerboost removed
Deadlock during phone-call fixed
Toolchain switched to stable Linaro GCC 4.9.2 2014.10
Recovery updated to PhilZ Touch 6.58.7
multi-boot updated for fixing AOSP ROM installation
3.1.1
PM_SUSPEND_FREEZE removed
(Responsible for all issues related to sleep)
intelliactive - CPU boost frequency fixed to 1000 MHz
(Standard for Exynos 441x)
Misc improvements to freezer, irq and futex
(Credits to Colin Cross, Sankara S Muthukrishnan, Thomas Gleixner and Francisco Franco)
3.1
Installation failure on some recovery issue fixed
ext4: Speedup WB_SYNC_ALL pass called from sync
Kernel thread: wake up worker only when the worker is idle
Disable GENTLE_FAIR_SLEEPERS when powerboosted
(Better UI snappiness)
Network performance with process_backlog improved
BusyBox updated
aSwitch updated to version 2.5
(Fixes reboot not working on some ROMs)
Boost CPU frequency on resuming from sleep or screen-off
PM_SUSPEND_FREEZE fixed
("Maybe" fixes some issues with screen not tuning on after voice call)
Screen-off CPU frequency limit unlocked for intelli-plug users experiencing music studders
Several more network integration with ROM
multi-boot.zip updated to version 2.1 fixing 2 or more ZIP files installation
3.0
Now uses interactive as the default CPU governor, replacing pegasusq
Now uses more power-efficient PM_SUSPEND_FREEZE on stand-by
2nd-phase touch boost implemented for much more snappy touch reaction
(When the screen is touched, CPU frequency is bumped up to 1.2 GHz for 100ms, then down to the default 0.8 GHz)
Undervolt capability added from Perseus kernel (by AndreiLux)
aSwitch updated to version 2.4
(Now correctly reboots after ROM switch)
multi-boot.zip updated to version 2.0 for much better compatibility
(Use only with arter97 kernel 3.0 or higher!)
Misc improvements with memory managements, internal MMC handlings, network including TCP and SELinux
Wi-Fi module handling improved
Installation time improved
ADB on Samsung stock-based Android 4.3 ROM fixed
ondemand CPU governor power consumption & speed improved
(Changed calculation of target frequency)
interactive CPU governor merged from upstream Google 3.0 Git repository
Tracers within interactive CPU governor removed for better performance
f2fs re-imported from scratch for bug-fixes
sched_mc_power_savings now set to 0 for better performance
ZZmoove CPU governor updated to v0.9-b4 (by ZaneZam)
AOSP Android 4.4 KitKat ramdisk updated
CyanogenMod 11's addon.d installed for nightly updates
Built with updated toolchain
Recovery updated to PhilZ Touch 6.57.5
Now correctly applies CPU frequency settings when resuming from throttled state
2.2
GT-I9300_JB_Opensource_Update14.zip merged
Power-efficient workqueues backported from linaro-lsk
Deep-discard-trim; FIDTRIM support for ext4 backported from google-3.4
Revamped aSwitch, aTweaks icon
aTweaks typo cleaned
aTweaks now properly supports Korean
Removed invalid hotplug lock within aTweaks
Powerboost routine improved
SdcardFS switch added
(for those who are planning to use FolderMount)
Intelli-plug merged with smart switch
Intelliactive merged
Random drivers updated to the latest mainline Linux
f2fs updated to the latest mainline Linux
f2fs performance improved with nobarrier option
BFQ updated to v7r5
lzo security vulnerabilities patched
lz4 security vulnerabilities patched
Reverted busfreq and wakelock commits
AOSP Android 4.4 KitKat ramdisk updated
Compiler flags updated
Built with updated toolchain
Frandom removed
(default random drivers are better that now it's merged from mainline Linux)
io_is_busy is now properly enabled by default
Recovery updated to PhilZ Touch 6.56.2, ClockworkMod v6.0.5.0
2.1.3
UKSM removed
(responsible for almost all kernel panics happened with previous versions)
AOSP Android 4.4 KitKat ramdisk updated
Security vulnerability CVE-2014-3153 fixed(towelroot)
Recovery updated to PhilZ Touch 6.46.2
2.1.2
GPIO processing operation reordered
(faster wake-up)
SLUB Memory Allocater from Linux 3.3 reverted
(better stability)
Debugging functions in SLUB Memory Allocater added by Samsung removed
2.1.1
Write permissions on external storage fixed
Recovery malfunction on external storage fixed
Fixed advanced mDNIe control in aTweaks
f2fs whitelisted on SELinux to maximize compatibilities
CMA memory validation on Mali re-enabled
Android 4.4.3 kernel source code changes applied
TCP's Initial Congestion Window tunables
(network performance improvements)
f2fs updated to the latest mainline Linux
AOSP Android 4.4 KitKat ramdisk updated
Recovery initial loading speed improved
Recovery updated to PhilZ Touch 6.44.9, ClockworkMod v6.0.4.9
Removed userspace, hotplug, adaptive CPU governors
Removed support for network file-systems
Config minimalized for lighter kernel
2.1
Dedicated custom PhilZ recovery released for f2fs
Allowing an easy switch to f2fs
Toolchain switched to stable Linaro GCC 4.9.1 2014.05
Block backport from Linux 3.3 reverted
- Fixes kernel panics with Samsung Touchwiz Android 4.4 KitKat
BFQ updated to v7r4
Mali graphics driver merged from N7100 Android 4.4 KitKat kernel
/data/container mount fixed for Samsung Touchwiz Android 4.4 KitKat
sdcardfs brought up from N7100 Android 4.4 KitKat kernel
sdcardfs extended to all Android 4.4 KitKat ROMs
- Better performance and battery
Installation failure on PhilZ recovery fixed
Improved installation speed
Advanced mDNIe control by AndreiLux added
Touch boost code reverted to stock kernel
- Use 800 MHz instead of previous 600 MHz
Ultra KSM with profile configuration added
zRam with ultra-fast LZ4 compression method added
Debugging codes within ext4 file-system source code removed
- Better performance
CVE-2014-0196 security vulnerability fixed
Conditional statement for dynamic camera firmware loading
- Camera fixed for Samsung Touchwiz Android 4.4 KitKat
2.0
Initial release to XDA developers
Known issues
/* Known issues */
Root access might get lost on Samsung Android 4.4 KitKat.
Go flash SuperSU from http://download.chainfire.eu/supersu again.
/* Switch to f2fs */
/* Switch to f2fs */
This step includes a full factory wipe!
Backup your data prior to switch!
You may use arter97 recovery to back-up previous ext4 data to an external storage
and restore it to newly formatted f2fs storage.
Your /system partition(ROM) will stay unwiped at ext4
for no compatibility issues what-so-ever.
You may install any ROM that fits your taste.
1. Install normal ClockworkMod(or PhilZ) recovery
2. Put arter97 recovery on you SD card
3. Enter recovery
4. Flash recovery
5. Reboot recovery
6.1 Select "Mounts and Storage"
6.2. Select "toggle f2fs <-> ext4 migration"
6.3. Select "format /cache"
6.4. Select "f2fs"
6.5. Select "Yes - Format device"
7.1. Select "format /data and /data/media (/sdcard)"
7.2. Select "Yes - Format"
7.3. Select "f2fs"
7.4. Select "Yes - Format device"
8. Reboot
Reserved 4
Reserved 4
Great work man
I am already downloading the note 2 KitKat port and will give this a shot.
Thanks for your support man :good: :good:
Installed on Achi Preview1 4.4.2 TW rom.
Booted fine - none of the 2 apps worked.
Lost root.
Manual installing root and returning here if any problems.
--EDIT--
After manual root install it works.
Just don't have the USB connection when using the apps, and it works fine.
THX for the initial kernel
Not installed im using kk Archi port ??
dev-host.eu said:
Installed on Achi Preview1 4.4.2 TW rom.
Booted fine - none of the 2 apps worked.
Lost root.
Manual installing root and returning here if any problems.
--EDIT--
After manual root install it works.
Just don't have the USB connection when using the apps, and it works fine.
THX for the initial kernel
Click to expand...
Click to collapse
Shoot, it actually happened to me, I thought I'd installed the ROM wrongly, seems like the kernel may be the root cause.
Will try to fix it in 2.0.1... xD
thereassaad said:
Not installed im using kk Archi port ??
View attachment 2741101
Click to expand...
Click to collapse
Root access might get lost on Samsung Android 4.4, try manually re-rooting it.
Sorry for the inconvenience!
Will try to fix it in 2.0.1
arter97 said:
Shoot, it actually happened to me, I thought I'd installed the ROM wrongly, seems like the kernel may be the root cause.
Will try to fix it in 2.0.1... xD
Click to expand...
Click to collapse
No worries - wasn't afraid
dev-host.eu said:
No worries - wasn't afraid
Click to expand...
Click to collapse
Have you been able to gain root access again just by flashing SuperSU from the recovery?
arter97 said:
Root access might get lost on Samsung Android 4.4, try manually re-rooting it.
Sorry for the inconvenience!
Will try to fix it in 2.0.1
Click to expand...
Click to collapse
My rooting its access im not losing root sir
thereassaad said:
My rooting its access im not losing root sir
Click to expand...
Click to collapse
So aTweaks works but aSwitch isn't?
hey ...... any one test it on s3 based rom
arter97 said:
So aTweaks works but aSwitch isn't?
Click to expand...
Click to collapse
Same sir but i guess kernal not installed
thereassaad said:
Same sir but i guess kernal not installed
View attachment 2741143
View attachment 2741144
Click to expand...
Click to collapse
Which recovery have you used?
arter97 said:
Have you been able to gain root access again just by flashing SuperSU from the recovery?
Click to expand...
Click to collapse
Yeah UPDATE-SuperSU-1.94 by Chainfire.
Otherwise no problems when using TWRP 2.7.0.0
aSwitch and aTweaks works in c-rom 6.5
Sent from my GT-I9300 using Tapatalk
@arter97 : great work..
thank you so much..
is there Master sequence for color calibration implemented ?

[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 Edge
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
Donation
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.
Changelog
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
reserved
Thank You, I'm going to test this release!!
New Thread ? Good , Question: You not planning to do a Version with new GPU Driver?
Deleted
truenitos said:
New Thread ? Good , Question: You not planning to do a Version with new GPU Driver?
Click to expand...
Click to collapse
I just added it and you can download it now.
Thanks alot
I can not Uninstall synapse. I use mtweak an in not use synapse. After restart is the synapse app back.
I have use titanium Backup an root Uninstaller but everyone cant Uninstaller this app.
Matze6989 said:
I can not Uninstall synapse. I use mtweak an in not use synapse. After restart is the synapse app back.
I have use titanium Backup an root Uninstaller but everyone cant Uninstaller this app.
Click to expand...
Click to collapse
Create the '/sdcard(internal storage)/Synapse/do_not_force_install' file.
* MTweak can not support all the features of this kernel.
* Synapse is somewhat unstable, but it is the best solution for a custom kernel.
I have deleted the synapse file with root from the intern sd but there is coming back.
An when i install this kernel the i have no volte icon in the statusbar.
Matze6989 said:
I have deleted the synapse file with root from the intern sd but there is coming back.
An when i install this kernel the i have no volte icon in the statusbar.
Click to expand...
Click to collapse
if you create a 'do_not_force_install' file in /sdcard/Synapse folder, Synapse does not install automatically.
the problem with voLTE is that my device is G930K(Korean variant). i can not test for the carriers in all countries.
please try to use v1.3.0 and tell me if it is voLTE.
Sent from my Galaxy S7 using XDA Labs
With 1.3.0 i have volte
What file must i deleted for synapse?
This kernel is perfect when i can Uninstall synapse
Big Thanks
Matze6989 said:
With 1.3.0 i have volte
What file must i deleted for synapse?
This kernel is perfect when i can Uninstall synapse
Big Thanks
Click to expand...
Click to collapse
Just use Synapse.
I hate to say more.
@Hyunwoo AHN
One wish, can you make all 4 big cores reach 2.6GHz?
Like in TGP kernel?
Ubimo said:
@Hyunwoo AHN
One wish, can you make all 4 big cores reach 2.6GHz?
Like in TGP kernel?
Click to expand...
Click to collapse
It is not the best because it causes other(high temperature) problems.
I did this kernel, but I chose another way. Just trust me.
Matze6989 said:
With 1.3.0 i have volte
What file must i deleted for synapse?
This kernel is perfect when i can Uninstall synapse
Big Thanks
Click to expand...
Click to collapse
you must first,CREATE a file in 'synapse' folder...
then,after,you can delete synapse/ install kernel/reboot/whatever...
rebooting in decent ultra Life rom
On Civato rom systemless rebooting after install manualy magisk.

[KERNEL][CLANG] MiPa Kernel [polaris][CLOSED]

{
"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"
}
Introducton
Code:
/*
* 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.
*/
In this kernel, I strive for balance battery / performance, as well as it contains the latest patches for Linux and CAF.
Kernel i make for AOSP Q with Q blobs. How each version on MIUI Q works, i don't know and me it not interesting (if you want use this kernel, you always can flash and test, pls don't report what something don't work on MIUI).
Features:
Base on last sdm845 Q CAF tag
Merge Google Common 4.9-q
Upstream last linux version
Compiled with Proton Clang and Full LTO, LLD links, Shadow Call Stack (SCS) and RELR enabled.
Enable support for NTFS r/w, sdFAT filesystem, F2FS and Implement rapid GC
Kcal Advances Color Control
Enable TTL target
Sound Control by flar2
Add Wireguard Driver
Enable support Sony Dualshock PS3/PS4 and Xbox Controller
Disable unused drivers
Scheduler/schedutile improved (WALT)
SchedTune Assist and CPUSet Assist
Enable select TCP algorithm, westwood by default
Network Signal Guru app compatible.
Simple LMK
Optimize for Android Q
Many tweaks/optimize for battery/performance
AnyKernel3 flashable zip by osm0sis
Installation:
Flash in TWRP recovery, then re-flash Magisk.
If another custom kernel (or my old version, up to 4.2 inclusive) is already installed, then you need to flash stock boot.img first, then magisk and my kernel.
Tuning apps:
FK Kernel Manager
EX Kernel Manager
Downloads:
SourceForge (new build 9.5+)
AndroidFileHost (old build)
My Telegram Group:
https://t.me/joinchat/DNw0ZFHSLa3ObU3noUhSwQ
If you like my work, you can buy me Сoffee
​
Credits:
Bruno Martins (bgcngm)
Nathan Chancellor (nathanchance)
Francisco Franco (franciscofranco)
Danny Lin (kdrag0n)
Park Ju Hyung (arter97)
All of developers contributions which i picked from.
XDA:DevDB Information
MiPa, Kernel for the Xiaomi Mi Mix 2S
Contributors
palaych
Source Code: https://github.com/palaych/mipa_kernel_xiaomi_sdm845/tree/mipa-q-rebase
Version Information
Status: Stable
Changelog:
V5.5:
Merge Linux version 4.9.174
Revert some caf patches (kernel/fair)
Devfreq: upstream caf patch
Update code boost drivers by sultanxda
Other improves/fix
Click to expand...
Click to collapse
V5.4:
Merge Linux version 4.9.173
Removed useless patches
Add COMPAT_VDSO
Other improves/fix
V5.3:
Merge Linux version 4.9.171
Merge CAF tag 'LA.UM.7.3.r1-07400-sdm845.0'
Merge some CAF / Google patches
Merge some LineageOS repo commits
techpack: audio: checkout dipper-p-oos
Update code drivers by sultanxda
Add KLAPSE
Many other improves/fix
V5.2:
Removed a lot of useless and harmful patches
Crypto upstream bump
dipper: fix gps
Update cpu boost driver by sultanxda
Some other fix/changes
V5.1:
Merge Linux version 4.9.166
Merge many CAF patch
Upstream Google Common 4.9
Compile with Clang 9.0.2
Fix deepsleep with 898000.qcom,qup_uart wakelock
Add API to mark IRQs and kthreads as performance critical
V5.0:
Full re-write kernel tree, cleaner tree, removed many patch (useless and unnecessary), many other changes (patch's)
Merge Linux version 4.9.164
Compile with Clang 9.0.1
Updated Boost Drivers by sultanxda
V4.9:
Fix last merge caf/als
Updated fs/f2fs (support F2FS_FS_VERITY)
Compile with Clang 8.0.9
V4.8:
Merge Linux version 4.9.161
Merge CAF tag 'LA.UM.7.3.r1-06900-sdm845.0'
V4.7:
Upstream Linux version 4.9.160
Update and clean cpu_input_boost / devfreq_boost drivers
Revert some tweaks
Some optimize in defconfig
Other tweaks/fix/etc..too lazy to write.
V4.6:
Merge Linux version 4.9.155
Merge some last LOS commits
Revert: 'Dynamic SchedTune Boost v3'
Update cpu_input_boost driver
Some merge fix in wlan driver
Update camera drivers (cleaned patch)
Other tweaks/fix/etc..too lazy to write.
V4.5:
Upstream Linux version 4.9.154
Merge last LOS commits
Add some tweaks/fix/etc..too lazy to write.
V4.4:
Merge tag 'LA.UM.7.3.r1-06700-sdm845.0'
Merge Linux version 4.9.152
tweaks tcp_westwood
Add Dynamic SchedTune Boost v3
merge some last los commits
revert gpu 180mhz
revert some sched tweaks
other changes/tweaks
V4.3:
Merge Linux Version 4.9.151
Compile with Clang 8.0.7 and GNU GCC 8.2.1, add optimize for sdm845
GPU UC 180Mhz (test)
Enable LZ4 compression
Some update dts to dipper-p-oos
Fix Kcal
DTS: Adjust Energy Model to be inline with Pixel 3 (test)
Tweak's sched
Other changes
Updated drivers camera (maybe full fix portret mode in miui camera)
Full re-write boot scripts
V4.2:
fix freeze (don`t work) potrait mode in miui camera
some change/tweaks
disabled some debug in defconfig
block kernel wakelock 898000.qcom,qup_uart by default
add sound control by flar2
V4.1:
Update Linux version 4.9.148
drivers camera: checkout dipper-p-oos (fix OIS)
Enable support xbox controller
Some changes in anykernel2 script
V4.0:
Rebase on pie source (based on Bruno Martins commits)
Merge CAF tag 'LA.UM.7.3.r1-06600-sdm845.o'
Upstream Linux version 4.9.147
Compiled with Clang 8.0.6
Optimize defconfig
Add Boeffla Wakelock Blocker
Enable support for NTFS r/w
Enable support for sdFAT filesystem
Backlight Minimum Brightness Control
Kcal Advances Color Control
Enable ttl target
Vibration Control
Add Maple I/O Scheduler
Add Wireguard Driver
Enable support Sony Dualshock PS3/PS4
Boost Drivers by sultanxda
Fix Source Code
Some tweaks for battery/performance
Work only on Android Pie
V3.7:
upstream linux version 4.9.141
update techpack/asoc/elliptic driver (use xiaomi pie source, fix proximity sensor on polaris pie)
revert some commits
revert updated hid_sony
tweaks tcp_westwood
add lshrti3 library function
V3.6:
upstream linux version 4.9.140
removed boost drivers by sultanxda and some others tweaks
enable support sony controller (usb)
compile with Linaro 7.3.1
V3.5:
compiled with GNU GCC 8.2
merge commits binder
merge commits sdcardfs
merge linux version 4.9.137
merged tag "LA.UM.6.3.r4-05800-sdm845.0"
boost drivers by sultanxda
merge los commits fs: sdfat
V3.4.2:
compiled with GNU GCC 8.2.1
add cortex-a75/a55 flags
some fix source code
merge latest los commits
V3.3.1:
update camera drivers
V3.3:
add i/o schedulers maple (by default)
Kcal Advances Color Control (experimental features)
Vibration Control (experimental features)
Backlight Minimum Brightness Control (experimental features)
schedutil tweaks
fix brightness led notification (polaris)
maybe something else...
V3.2:
re-base linux-stable tree
Merge CAF tag 'LA.UM.6.3.r4-05300-sdm845.o'
Linux version 4.9.135
optimize defconfig
use last google toolchain 4.9
add boeffla wakelock blocker
ttl target
ntfs r/w support
exfat support
something fix/tweaks and etc...
V3.1:
not public realised, first realised for mi8
V3.0:
los-source based
Google TC 4.9
TTL target
update Linux version 4.9.131
merge caf tag LA.UM.6.3.r4-05300-sdm845.o
ntfs r/w support
wireguard driver
v.2.0:
completely rewritten tree kernel
a lot of changes regarding previous versions
I hope to fully fix random reboots, dt2w
v.1.4:
closed version
v.1.3:
update linux 4.9.125
disable lmk and use lmkd
v.1.2:
compile with clang 7.0 + gcc 8.2
update wireguard driver
v.1.1.1:
some fix cpu-boost and fsync (maybe fix xiaomi.eu)
v.1.1:
update linux version: 4.9.124
add devfreq-boost driver by sultanxda
reconfigured cpu-boost
some optimize/tweaks source
optimize defconfig
add exfat support
revert zram tweaks
maybe something else
v.1.0:
first public version
Source code v1.0-1.4: https://github.com/palaych/mipa_polaris
Reserved
Thanks for your work!
What roms can we use it with?
GREAT
Flatric said:
Thanks for your work!
What roms can we use it with?
Click to expand...
Click to collapse
Miui 9/10 global/chine and etc.
on 8.8.3 xiaomi.eu had problems with random reboots. on other (miui 10 global, miuipro ) such problem is not present
Unfortunately I'm using Android P global beta, thanks a lot for your work.
Bryandu13 said:
Unfortunately I'm using Android P global beta, thanks a lot for your work.
Click to expand...
Click to collapse
it remains only to wait when xiaomi will lay out source code for pie,i think only with the release of stable version
I'm on xiaomi.eu 8.8.3, as expected, a couple minutes after installing the kernel, phone rebooted by itself. I have disabled fsync since then and it's been working for a couple of hours now without reboots. I will update tomorrow if it reboots through the night.
ArctiX said:
I'm on xiaomi.eu 8.8.3, as expected, a couple minutes after installing the kernel, phone rebooted by itself. I have disabled fsync since then and it's been working for a couple of hours now without reboots. I will update tomorrow if it reboots through the night.
Click to expand...
Click to collapse
fsync?? interesting... write then how will it be with disabled
palaych said:
fsync?? interesting... write then how will it be with disabled
Click to expand...
Click to collapse
isn´t fsync supposed to be always on? I remember disablling it on my nexus 5 always caused random reboots.
Can I ask if it works on XE model with MIUI 10 global when Magisk installed?
I recall if I did so with stock kernel (BL unlocked), I ended up with bootloop.
I can have a try as it doesn't take me too much time but I would say if any one could give me an answer that would be appreciated.
palaych said:
fsync?? interesting... write then how will it be with disabled
Click to expand...
Click to collapse
It didn't reboot through the whole night. I will try turning fsync back on to check if it will start crashing again.
EDIT: After turning fsync on the phone rebooted itself after ~5 minutes, I then turned fsync back off and it's been 3 hours without a reboot.
Saiger said:
isn´t fsync supposed to be always on? I remember disablling it on my nexus 5 always caused random reboots.
Click to expand...
Click to collapse
Fsync prevents from data loss on system crash as far as I know.
ArctiX said:
EDIT: After turning fsync on the phone rebooted itself after ~5 minutes, I then turned fsync back off and it's been 3 hours without a reboot.
Click to expand...
Click to collapse
Ok, tnx for help. I do not know why yet. Still test and then add to the first post this info.
Maybe they are logs turned off / on. Because I disabled many debug logs at kernel level.
It have feature quick charge 3000+ mAh? *Like custom kernel Radon kernel by Umang*
Sent from my Mi Mix 2S using XDA Labs
NOS_bzone said:
It have feature quick charge 3000+ mAh? *Like custom kernel Radon kernel by Umang*
Click to expand...
Click to collapse
fast charge (qc3.0) implemented by xiaomi, replace with another driver or remove restrictions, i will not.
Thanks for your work, I tried a little but after some hours try to changing governors with elemental x I had reboots and system isn't stable, so I revert to stock kernel trough dirty flash, I'm on miui Pro 8.8.2.
it seems that mipa can work on dotos,thanks for your work.
EraserKing said:
Can I ask if it works on XE model with MIUI 10 global when Magisk installed?
I recall if I did so with stock kernel (BL unlocked), I ended up with bootloop.
I can have a try as it doesn't take me too much time but I would say if any one could give me an answer that would be appreciated.
Click to expand...
Click to collapse
Confirmed working.
If on stock kernel with SuperSU, just flash everything back to stock, then this kernel and then Magisk. Everything works.
@palaych
Thanks for this great kernel running on xiaomi.eu 8.8.3 :good: - for me it seems reboots occure due to zRAM...system was laggy and stuttered while scrolling. Deactivated zRAM via EXKM (fsync switched back on) and it seems to run smooth w/o reboots until now.

[r21] arter97 kernel for OnePlus 6T

{
"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 6/6T running OxygenOS​
/* Details */
Fully rebased kernel with OnePlus' debugging code out
Latest CAF msm-4.9 kernel fully merged
This kernel contains more cutting-edge changes from Qualcomm than the regular sdm845 tag
Latest Linux 4.9 subversion merged
Use CONFIG_HZ = 300
- This changes context switching interval from 10ms to 3.33ms
- Pixel used this for years and Google recommends other vendors to do the same for fewer jitters
Memory management improved(from Pixel 2 & 3)
Pixel's lowmemorykiller used
DM-verity fully disabled (you can remount /vendor to R/W properly)
Scheduler commits cherry-picked from Pixel 3
Timer optimizations
Additional power savings applied to the display panel
Heavily optimized touch panel source code resulting in reduced touch latency
RTL8152/8153 USB LAN adapter support
TWRP integrated with proper f2fs support (see below)
Other various optimizations from Paranoid Android
Permissive SELinux
Passes SafetyNet
Built with -O3 speed optimizations
Built with latest GCC
Westwood as default TCP network congestion control
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
Various changes merged from the Razer Phone 2 and Snapdragon 855
/* Notice */
Both OnePlus 6 and 6T 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.
Unlike my OnePlus 5/5T kernels before, you are free to flash Magisk after installing the kernel. Kernel does not include Magisk by default.
/* f2fs */
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.
TWRP is not integrated to the kernel.
Please use a TWRP installer to install TWRP on top of my kernel.
To use f2fs, download zip files from http://arter97.com/browse/f2fs
Flash f2fs_tools_for_twrp.zip from TWRP. This won’t format your /data partition.
This will replace TWRP's f2fs tools with the latest version and pass the correct parameter to mkfs.f2fs, which is necessary.
This needs to be done everytime you enter TWRP, if you want to re-format to f2fs.
After formatting, or flashing a new ROM or an OTA, /vendor’s fstab needs to be changed.
Flash f2fs_fstab.zip to convert fstab to f2fs again. This won’t format your /data partition.
/* 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
Tim Murray
RenderZenith
nathanchance - for android-linux-stable
/* Instructions */
You can use the zip file to flash the kernel from your existing TWRP recovery.
If you don't have TWRP installed already, you can use the img file to flash the kernel directly from your PC via fastboot.
Both methods will install both kernel and modified TWRP recovery.
You can check if the modified TWRP is installed by looking at TWRP's version name.
It should say "arter97-f2fs".
If you use fastboot method(directly flashing img), you will not pass SafetyNet.
/* Swap variant */
This kernel has a swap variant for memory-hungry users.
- Users with 6GB of memory or heavy multi-taskers are recommended to use the new swap variant
- Ditched conventional zram swap approach and taken zswap+vnswap 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
/* Downloads and links */
arter97.com
Kernel source
XDA:DevDB Information
arter97 kernel for OnePlus 6T, Kernel for the OnePlus 6T
Contributors
arter97
Kernel Special Features:
Version Information
Status: Stable
Created 2019-01-25
Last Updated 2019-10-28
/* Changelog */
r21
Boot issue fixed caused by improper switch to AK3
Brightness issue on exiting AOD fixed
LA.UM.8.3.r1-06300-sdm845.0 merged
Diag USB interface enabled for QPST
r20
Swap compressor backend(LZ4) updated
LA.UM.8.3.r1-06100-sdm845.0 merged
Linux v4.9.196 merged
Wi-Fi drivers updated to 5.1.1.74O
Latest f2fs-stable merged
r19
OnePlus changes merged including support for DC dimming
Linux v4.9.189 merged
Wi-Fi drivers updated to 5.1.1.73W
LA.UM.7.3.r1-08200-sdm845.0 merged
LA.UM.7.8.r1-06900-SDM710.0 merged (includes various scheduler improvements)
r18
Linux v4.9.186 merged
Wi-Fi drivers reverted back to stock Snapdragon 845 ones to resolve signal strength issues
Swap variant's LMK aggressiveness adjusted to use the stock values
r17b1
Linux v4.9.185 merged
LA.UM.7.3.r1-07900-sdm845.0 merged
LE.UM.3.2.1-00910-SDX24 merged
Wi-Fi drivers updated to 5.2.03.10Q
More debugging features removed from Wi-Fi drivers
Wi-Fi regulatory database taken from OnePlus to fix slow handshakes with 5 GHz APs (by LuK1337)
Faulty Low Memory Killer fixed to work better and resolve wake-up delays
General scheduler improvements backported
Virtual memory allocator performance improved
Task scheduler debugging disabled properly for lower overheads
Many parts of the kernel converted to use hotplug state machine
WireGuard updated to 20190702
Bunch of memory allocations from various subsystems were reworked to perform much better (thanks to Sultan) (total of 46 patches)
Debugging features disabled for Adreno GPU drivers to improve performance
Fixed an issue that was causing charging to be stopped randomly (details)
Rewritten IOMMU by Sultan reverted to resolve screen flickerings
Introducing a new swap variant for memory-hungry users
- Users with 6GB of memory or heavy multi-taskers are recommended to use the new swap variant
- Ditched conventional zram swap approach and taken zswap+vnswap 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
r16
Linux v4.9.180 merged
Wi-Fi drivers replaced with Snapdragon 855 drivers
- Switched from 5.1.1 to 5.2.03 release
- 1810 files changed, 851191 insertions(+), 187458 deletions(-)
- I've been internally using this for 3 weeks and noticed multiple improvements like faster handshakes and higher throughput without any issues
Fixed several memory management issues from previous releases
- This fixes multiple issues including performance regressions(wake-up delays, etc) and radio malfunctions
- Thanks to @habylab for testing multiple builds prior to release)
Latest f2fs-stable merged
LA.UM.7.8.c3-06800-QCS605.0 merged
LE.UM.3.2.1-18400-SDX24 merged
Removed f2fs debug tracing codes added by Qualcomm
qseecom performance improved
Re-enabled kernel tracers for avoiding janks
32-bit vDSO added for improving performance on arm32 programs
Audio kernel updated LA.UM.7.3.r1-07800-sdm845.0
r15b1
Linux v4.9.175 merged
Wi-Fi drivers updated to 5.1.1.71H
Latest f2fs-stable merged
LA.UM.7.3.r1-07400-sdm845.0 merged
LA.UM.7.8.r3-01400-SDM710.0 merged
Fixed a Qualcomm issue that prevented audio-app stune creation
Fixed an improper timer operation in fuelguage driver causing battery statistics to not update until 20 minutes after boot
Merged various patches from Proton kernel by kdrag0n to lower overheads and improve responsiveness (thanks to kdrag0n, sultanxda and ab123321)
Applied various optimizations to the touch panel drivers
Now VLA-free
RCU boost enabled for better responsiveness
New patches made to f2fs for more efficient GC and trim
FBE(File Based Encryption) now works with f2fs
r14
Wi-Fi drivers updated to 5.1.1.71C
Disabled some debugging options to improve performance
Added vibration control
Added wcd934x sound control
r13
Reverted a problematic Wi-Fi drivers optimization causing Wi-Fi to not turn on after some period of time
r12
Fixed a faulty memory region removal causing kernel panics
(Thanks to @habylab for directly testing builds)
r11
Reverted a minor Wi-Fi drivers improvement causing kernel panics
r10
AnyKernel2 is now being used
Linux v4.9.168 merged
Fixed a major memory management regression
Linux CMA pool size increased for better CMA efficiency
Improved memory allocation from the Wi-Fi drivers to reduce memory fragmentation
Fixed occasional kernel crashes(entering dumpmode) on shutdowns
r9
Linux v4.9.166 merged
LE.UM.3.2.1-11600-SDX24 merged
Use CONFIG_HZ = 300
- This changes context switching interval from 10ms to 3.33ms
- Pixel used this for years and Google recommends other vendors to do the same for fewer jitters
Some changes from Pixel 3’s Q preview kernel
Some mainline performance improvements to procfs merged
Removed RTB(interrupt) logging entirely
WireGuard updated to 20190227
Stock LowMemoryKiller parameter restored to hopefully fix wake-up delay and general lags
Fixed bq27541 fuelguage driver to properly work with CONFIG_HZ != 100
(Fixes various battery-related issues such as displaying -22% on initial boot)
Reverted a problematic memory management commit causing CMA allocation errors
Merged LA.UM.7.8.r1-05000-SDM710.0
Merged LA.UM.7.3.r1-06900-sdm845.0 audio kernel
Various changes made to f2fs rapid GC to make it more efficient
dirty_expire_centisecs set to 30 seconds to reduce flash wearouts and power consumption
Various changes merged from the Razer Phone 2 and Snapdragon 855
Kernel is now built with -O3 optimization flag
r8
Linux v4.9.163 merged
LE.UM.3.2.1-08000-SDX24 merged
Wi-Fi drivers updated to 5.1.1.70J
f2fs updated to 5.1 mainline version
Disabled qcom_rx_wakelock (details)
Reworked msm_geni_serial driver
- Lighter resource usage
- Lower power consumption upon wake(ISR)
- Fixed an issue preventing suspend indefinitely
Various changes from Proton kernel by kdrag0n
- Use flatmem to save kernel memory usage
- Use optimized memcmp
- Optimize rbtree
- Disable erratum 843419 properly
- Delay vmstat updating interval to avoid jitter
- Disable I/O stat accounting completely for lower overheads
- Reverted a cpuidle change for possible fix for power consumption regression during sleep
- Faster crypto algorithms ported(chacha20, sha2, crc32)
A bit lower power consumption by using WFE for long delays
Add accelerated crc32 routines
Use -O3 for input drivers for avoiding overheads
r7
Linux v4.9.160 merged
LA.UM.7.3.r1-06900-sdm845.0 merged
LA.UM.7.8.r1-04800-SDM710.0 Wi-Fi drivers merged
A totally new kernel base merged - LE.UM.2.3.2-05800-SDX24
- Total of 1153 commits and about 25,000 lines of code difference
- A lot has changed ranging from scheduler, memory management, device encryption, GPU and panel handling, UFS device driver, ION, cpuidle, binder and a whole lot more
OnePlus changes to OxygenOS 9.0.12 merged
- This includes display panel changes and may affect screen on/off delays
IRQ balancer settings updated to include UFS interrupts for better overall smoothness
Some of upstream camera commits applied for more reliable camera operations
Sultan’s display wake-up optimization re-applied after a bug fix revision
1.5
Linux v4.9.158 merged
Kernel configuration fixed for proper scheduler operation
OnePlus changes to display panel settings merged
Faulty screen optimization from Sultan reverted to fix occasional screen-on misses
Mainline f2fs fixes merged
LA.UM.7.8.r3-01100-SDM710.0 merged
- This new tag for Snapdragon 710 includes multiple enhancements over sdm845 tag, most notably scheduler improvements
WireGuard updated to 20190123
seccomp disabled in favor of less system-call overheads
Minor issue with f2fs rapid GC fixed
Fixed an issue with execprog causing readahead settings to be ignored on some boot
Modified IRQ balancer settings added for better smoothness
1.4
Linux v4.9.154 merged
ULPS during suspend disabled for (possibly)lower panel power consumption during screen-off
Audio HAL reworked to fix Type C audio adapter (thanks to @Nezorflame for testing)
Patch level set back to 2019-01
1.3
Linux v4.9.153 merged
ZIP installation now uses proper security patch level to bypass SafetyNet
(If you install the kernel by fastboot/IMG method, it won't bypass SafetyNet)
Merged several changes from Sultan's Pixel 3 kernel
- Numerous memory leaks fixed
- GPU performance improved with corrected priority
- Faster display wake-up
- Lower power consumption
1.2
OnePlus 6T support added - thanks to freshgiammi and nezorflame for testing
Security level is set to 2025-12(details)
1.1
CAF tag LA.UM.7.3.r1-06700-sdm845.0 merged
Linux v4.9.151 merged
Wi-Fi issue fixed (thanks to pappschlumpf for tipping me the culprit)
pstore kernel log is now properly saved
Custom TWRP integrated
Readahead set to 128kB to minimize page thrashing
IMG file is now provided for direct fastboot installation
1.0
Initial release
/* Known-issues */
As I don't own the OnePlus 6T, some device-specific issues are hard to get rid of, such as:
- The included TWRP cannot decrypt data on ext4, please use other recovery(maybe with fastboot)
Reserved 3
Reserved 4
Let me be the first one to welcome u Arter
Witch kernel manager do you suggest for your kernel? And what settings?
Running now. Very smooth so far. Any chance you could add vibration control ?
Welcome to this device! Awesome to see you here.
Nice work. May I know if Spectrum is supported?
Just flashed thanks ?
i ****ed up
i flashed the f2fs.zip and the kernel.zip in twrp at same time my device is not stuck in a "booting state"
i cant transfer files to my device because when i browse my files in twrp they are a bunch of random letters and number. i cant seem to find my downloads folder.
one plus 6t elemental kernel before.
willybumbum1820 said:
i flashed the f2fs.zip and the kernel.zip in twrp at same time my device is not stuck in a "booting state"
i cant transfer files to my device because when i browse my files in twrp they are a bunch of random letters and number. i cant seem to find my downloads folder.
one plus 6t elemental kernel before.
Click to expand...
Click to collapse
go to pc and flash twrp img
jaythenut said:
go to pc and flash twrp img
Click to expand...
Click to collapse
my twrp works but its when i press install im at /sdcard and theres a bunch of letters and numbers
willybumbum1820 said:
my twrp works but its when i press install im at /sdcard and theres a bunch of letters and numbers
Click to expand...
Click to collapse
Yeah I'm getting that as well, but twrp works fine on pc ?
jaythenut said:
Yeah I'm getting that think a lot are but it's fine on pc
Click to expand...
Click to collapse
english?
so after formatting data with f2fs we need to restore data from a backup or reflash rom right>
The f2fs doesn't work I formats whole systems and boot loops and cannot restore data... Have to reclash everything and if you don't save data on computer you will lose all data
Version 1.3 is up.
This should fix SafetyNet issue triggered from version 1.2.
1.3
Linux v4.9.153 merged
ZIP installation now uses proper security patch level to bypass SafetyNet
(If you install the kernel by fastboot/IMG method, it won't bypass SafetyNet)
Merged several changes from Sultan's Pixel 3 kernel
- Numerous memory leaks fixed
- GPU performance improved with corrected priority
- Faster display wake-up
- Lower power consumption
DeveDroid said:
Nice work. May I know if Spectrum is supported?
Click to expand...
Click to collapse
What's that?

[KERNEL][4.14.198][MIUI/AOSP] ?Quantic Kernel ? [MIUI WORKS][23/09/20]

Welcome to Quantic-Kernel, builded specially for Xiaomi Mi 9 codename: Cepheus​
/* I'm not responsable for any damage on your device, for X or Y reason, also I'm not responsable if you loose your alarm and got fired, anything like that, installing this kernel you renounce to make me responsable of any unwanted behavior of your device */
/*Compatible ONLY with Android 10*/
Hi everyone, I want to introduce you my new kernel named Quantic-Kernel, this is my personal build kernel with my prefered features. Hope everyone enjoy it and I'll be maintaining it so people can used it with their preferred AOSP ROM and MIUI ROM(See details below)
/*
* HALL OF DONATORS
* @Kris Chen
* @mitjat (Mitja Tavcar)
*/
FEATURES
Added Underclock down to 180MHz and Overclock up to 825MHz with a 735MHz step and official 675MHz step by CAF (Overclock isn't recommended only when using emulators suchs as Dolphin Emulator)
wq_pwer_saving toggle unlocked (Only visible in EX kernel Manager)
Kernel can be updated using FK Manager or Smartpack manager (see info below on how to add the .json)
Wireguard VPN core support
Added K-Lapse v5.0 module by tanish2k09
Added Sound Control (Thanks to @TeamMex for the fresh implementation)
Added Boeffla Wakelock Blocker v1.1.0
Upstreamed to Linux-4.14.172
Fsync toggle (Use only when your F2FS is your current filesystem)
Dynamic Fsync
Simple Low Memory Killer by Sultan Alsawaf (@kerneltoast)
sched backports from mainline 4.19 kernel
Lates CAF tag of sm8150, SDX55, SD6XX.
KCAL Reimplemented
INSTALLATION PROCEDURE
Flash magisk (If not flashed previously)
Make a TWRP backup of BOOT and DTBO partitions
Flash Quantic-Kernel_rX.zip
Flash Magisk-v20.4
Reboot to system
Enjoy it
BUGS:
Working on all MIUI ROM with broken DC-Dimming (Anti Flicker screen)
AOSP with no bugs
DOWNLOAD HERE
https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases
TELEGRAM CONTACT
https://t.me/Ayrton990 <-- Personal TG
https://t.me/QuanticKernel <-- Discussion group for support
https://t.me/ayrton990mods <-- My update channel
THANKS LIST
Huge thanks to @TeamMex for the help when making some codes
Thanks to @LOswaldoRO for a lot of testing
Thanks to @Giton22 for testing
SCREENSHOTS ATTACHED BELOW
XDA: DevDB Information
Quantic Kernel, Xiaomi Mi 9 (Cepheus)
Contributors
Ayrton990
Source Code: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/
Kernel Special Features:
Version Information
Status: Stable
Created 2020-03-08
Last Updated 2020-07-12
Releases and Changelog
Quantic-Kernel reborn
What's this kernel:
It's a new concept kernel as the usual, this is focused on a improved UI experience to feel the smoothness of a Pixel device.
It's based on latest CAFEST base of sm8150 with clean code, including a several backports from 4.19 CAFEST kernels into the scheduler, making the optimum approach to low jank and jitter experience.
Working over WALT scheduler following the recommendations of CAF:
- CONFIG_HZ=100 instead of 300 used on most custom kernels out there
- SchedTune predictions.
- No AOSP overlayed code
- No riced code inside.
Quantic puts it's enhancements on:
- Backported Wireguard module to July
- ExFAT compatible OTG Devices
- LZ4 Crypto upgraded
- 2GB ZRAM for the best multitask experience
- heavily adapted scheduler aligned with CAF recommendations.
- CAF energy management by default instead of Xioami's.
- GPU OC Temporary disabled (will be ready next update until upstream arrives)
- Recalculated EAS Capacity in DTS
- Latest Long Term Support 4.14.193
- Latest tag for sm8150
- In kernel boosting drivers rather than common CAF Boost that causes massive task migration impacting performance and battery life.
- Battery life improved drastically
NOTES:
- BUGS: NONE SO FAR.. (You tell me?)
- Flash over the ROM stock kernel.
- This kernel works perfect aligned with my latest AOSiP build ?
- Screen OC will be added on next build
- Edit : Added Hotfix version
Download:
- http://quantic.carlosayrton.com/Quantic/Cepheus/AOSP/Quantic-Kernel-REBORN-Fixed.zip
OLD RELEASES
Quantic-Kernel r22
Changelog:
- Fixed BSD (Black Screen of Death while device locked)
- Switched to PELT Scheduler (New reworked sched, same as MIUI variant)
- Implemented turbocharge by wloot (To use generic chargers with 3A+ of flow)
- Bringed back GPU Overclock up to 810MHz
- Fixed performance regression (Geekbench: 761 single core, 2618 Multi-Core)
- Bringed back Sound Control
- Jitter with less disparity
BUGS: None so far
Battery Consumption: Acording to my weak test battery drain on simple task should be arround 9.80%/h and idle arround 0.36% please report back if you see high consumption
Download AOSP and MIUI: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases
Quantic-Kernel r21
Changelog for AOSP | Download here
Changelog for MIUI | [URL="https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r21-MIUI"]Download here
MIUI Users, Disable DC-Dimming or Anti-Flicker before flashing, else you will have a bootloop.
Join to my telegram group for support or to my channel to get faster updates
Quantic-Kernel r17
Changelog for AOSP:
- Upstreamed to LTS: 4.14.186
- Upstreamed Low Memory Killer by Sultan Alsawaf @Kerneltoast
- FOD Improvments (Use qcom drm notifier for event blanks)
- disp: msm: sde: prevent CPU from sleeping while processing display IRQ
- soc: qcom: smp2p: keeping inbound entry on freeze
- ARM64: dts: sm8150-common: Disable all PCIe and MHI nodes
- cpufreq: Only block min freq setting for booster processes
- qos: Don't allow userspace to impose restrictions on CPU idle levels
NOTE: Kernel version remains on r16 because I forgot to change it
NOTE: Userspace is the plain where rom and user can tamper in kernel settings by a good or bad way
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r17
Changelog for MIUI- Initial Release
- Upstreamed to LTS: 4.14.186
- Upstreamed to CAF: LA.UM.8.1.r1-15100-sm8150.0
- FOD Fixed by @sekaiacg
- FOD Improvments by @laulan56
- AOD and FOD on AOD Fixed by @official-Ayrton990
- GPU Overclock to 835MHz
- Fsync toggle and Dynamic fsync
- Disabled all qcom boost
- Use qcom drm notifier and all fingerprint and touch drivers and objects
- PELT Scheduler
- Scheduler backports for general performance and baterry consumption
BUGS: Anti screen flickering not working and dont try to enable or your would never be able to boot the rom
BUGS: Since I'm using magisk to solve some issues of FP coming from M.O.D Kernel or Evira Kernel will bootloop your device, be aware.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r17-MIUI
Quantic-Kernel r14
Fod Improvments in accuracy and speed according to
Changed interpolation method from linear to non-linear using logarithms (base 2) for a better accuracy and response in brightness (see: f8658e8)
Fixed high birghtness after unlocking device using fod.
avoid atomics to trigger drm_notifier
Massive improvments in performance and battery consumption, according to
Custom Implementation of cpu_input_boost
Selected minimum optimal frequencies for sm8150 (Thanks to kdrag0n)
Boosting DDR Bus when a new frame is ready to be commited.
Boost when memory pressure becomes high
Upstreamed CAF to: LA.UM.8.1.r1-15100-sm8150.0
Upstreamed LTS: 4.14.183
Scheduler improved, reduced Jank and Jiter (UI)
WALT Dropped
Idle improved (Tweaked s2idle)
Minor battery improvments in general.
OC restored back (recommended default 675MHz)
NOTE: Improvments on FOD are only avaliable in the FOD-IN-KERNEL version
FOD-IN-KERNEL only compatible with: LOS, PE, P-404, Syberia, Descendant and crDroid.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r14
Quantic-Kernel r12
rebuilt FOD changes from the ground up to avoid flickering (kernel side changes obviously, requires updated trees)
Enable lz4 zRAM compressor for PELT version
wakeup logging under new s2idle flow
Improve general performance of the scheduler
sched/fair: don't migrate stune boosted tasks to little cores
sched/tune: remove WALT support from stune assist (performance improved, because this enable full stune assist on PELT)
Upstreamed to 4.14.18 from kernel.org
Latest CAF Tags
For FP, there will be 2 versions, one for updated roms with optimized fod by Demon000, such as Pixel Experience and LOS, other version [PELT(2)] will work on other roms like derpfest based and crDroid.
Some little performance improvments and idle consumption lowered
ExFAT added to PELT(2)
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r12-PELT
Download here (Optimized FOD): https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r12-PELT_DERP
Quantic-Kernel r10
Upstreamed to 4.14.181 from android-linux-stable
Embedded dtbo.img into the kernel, this will let modders to alter the dtbo partition without messing with fp.
Updated sched_energy driver
Checkout to sched_energy to common kernel android 4.14
Idle drain improved (please don't use meme apps such as greenify, naptime and GMS Doze, because aren't compatible with sleep2idle)
New complementary build with PELT Scheduler (NO GPU OC, NO KLAPSE and NO Boeffla Wakelock Blocker)
Upstreamed osm0sis Anykernel3
HEX-PATCHED boot.img support on anykernel.sh to support no-root users
Added schedION (See info below) optimized for PELT mechanism
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here WALT Version: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r10
Download here PELT Version: https://github.com/Official-Ayrton990/Quantic-Kernel-AOSP-Cepheus/releases/tag/r10-PELT
Quantic-Kernel r9
Enabled sleep2idle
Fix excessive packing on the max capacity CPU
updated LZ4 decompressor module
tcp: up initial rmem to 128KB and SYN rwin to around 64KB
Enable simple_lmk (Simple low memory killer upstreamed)
Updated vmpressure
Code cleaned at 80%
Introduce devfreq_boost
Boost CPU DDR bus when commiting a new frame
Forced ULPS on dsi_panel instead of my dtsi forced method
Nuked Dynamic_schedboost since it was making a lot of jitter while navigating on the UI and draining battery so fast
Merge tag 'LE.UM.3.3.2-0800-SDX55'
Merge tag 'LA.UM.8.9.r1-09200-SM6xx.0'
Upstreamed to latest AOSP 4.14-q tag
Added some flags optimization to Makefile (NOTE: I know that Linus Torvalds disapproves using -O3 optimizations but I'm compiling with clang instead of gcc)
Nuked default up|down_rate_limit_us values
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r9
Quantic-Kernel r7 and r8
Upstreamed to Linux 4.14.180 of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux
Enabled exposure adjustment and also changed some minor values (DC Dimming or Flicker Free, also tunned to avoid visual artifacts)
Merge tag 'LE.UM.4.2.2.r1-01000-SDX55'
Merge tag 'LA.UM.8.1.r1-14900-sm8150.0'
Merge branch 'android-4.14-q' of https://android.googlesource.com/kernel/common
Backported features that will help CPU to distribute the loads on the cores
Nuked some useless boost from CAF
Tunned thermals zones
Imported binder changes from 4.19
Leds: class: ensure workqueue is initialized before setting brightness
Nuked sched_boost feature
Tweaked schedutil
Avoid thermal_core to not throttle prime core
reserve prime core for high_cap tasks only
disallow taking down big and prime cores by userspace
avoid 100% CPU usage during compaction when a task is killed
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r8
Quantic-Kernel r6
Partially fixed dt2w, some users reporting not working on PA but the rest of the ROMs works
Upstreamed to **linux stable 4.14.178**
Added a new CFS thread for freeing GPU memory. Improves performance when tearing down processes and lets UI to submit work to the GPU. (more info here: 24c27d8)
Offload mementry destroy work to separate thread, this is done to reduce the time spent by user applications in waiting for memory to be freed. (more info here: 0dc7bcd)
Use optimized spinning loop for arm64, this makes about 20% performance improvement on the CPU multithread load. (more info here: 9abedaf)
Fix race between runtime distribution and assignment (more info here: 0d521cd)
Align rq->avg_idle and rq->avg_scan_cost, The only difference between the two is that rq->avg_scan_cost is computed using a pure division rather than a shift (more info here: f3721e1)
Get rid of the big mutex lock on ashmem (more info here: 3ec8f26)
Enable ZRAM to 3GB and use z4 as compressor.
Most of the new features were backported.
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r6 or use FK Manager/smartpack to Update
Quantic-Kernel r4
Merge tag 'LA.UM.8.11.r1-03300-NICOBAR.0'
Merge tag 'LE.UM.4.2.2-00800-SDX55'
Added dynamic schedtune boost
Tweaked cpufreq_schedutil.c again
By consequence of the prior changes, performance is better than last r3 without loosing battery backup.¿t
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r4 or use FK Manager/smartpack to Update
Quantic-Kernel r3
paranoid kernel base by @markakash now deprecated, thanks to him to let this project start
New base build from scratch synced with demon000 fp changes
DDR4 2133MHz OC
Enabled Ultra Low Power State (UPS)
Enabled LZ4 on ZRAM
Enabled CONFIG_IP_NF_TARGET_TTL requested by Vladislav Polyakov this let the user to change TTL by their own value in safe way
Tuned schedutil to reach better performance without damaging the battery life
Use PELT instead of WALT
MIUI not compatible at the moment
Join to https://t.me/QuanticKernel for group support and https://t.me/ayrton990mods for updates
Download here: https://github.com/Official-Ayrton990/QK-AOSP-Cepheus/releases/tag/r3 or use FK Manager to Update
Quantic-Kernel v2.1-HF
Fixed tethering, this means that modded TTL to avoid tethering on carries has been reverted. Check: 8b8ef87
Synced with Demon000 changes
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v2.1-HF or use FK Manager to Update
Quantic-Kernel v2.1
Merge tag **'LA.UM.8.1.r1-14700-sm8150.0'** of https://source.codeaurora.org/quic/la/kernel/msm-4.14
Merge tag **'v4.14.176'** of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux
IMPORTANT NOTE: Upstreams could downgrade battery performance, I don't test and review every single commit of an upstream (Takes a lot of hours) so this is likely the price to pay to have an Up to date Kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v2.1 or use FK Manager to Update
Quantic-Kernel v2.0
Merge tag 'LE.UM.3.3.2-07400-SDX55' from CAF
Merge tag 'LE.UM.4.1.2.r1-03500-qcs405.0' from CAF
Avoid tethering carrier detection (EXPERIMENTAL) changing TCP time to live (TTL) packages to 64 (ISP dettects tethering when a value of TTL is dfferent than 64)
Use power efficient workingqueues on GPU
Sycned doze changes from Demon000
Disable readahead by default; could improve performance and power consumption by 70% (sequential; 60% for random).
dtbo regenerated (please test this could break the fingerprint)
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v2.0 or use FK Manager to Update
Quantic-Kernel v1.9
Merge tag 'LE.UM.4.2.2-00500-SDX55'
Added Demon000 screen doze implementation for battery savings
Disabled all debuggers and loggers
Testing new cpu mask to set idle frequencys.
Wireguard is enabled by default
should see better screen off drain
Added the necessary commits for the new flicker-free implementation on PE+ to work
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.9 or use FK Manager to Update
Quantic-Kernel v1.8
Upstreamed to 4.14.175 from https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux
Changed frequency bus (max and min) to achieve better efficiency on GPU OC, this means: Less heat, less battery consumption
IMPORTANT NOTE: Upstreams could downgrade battery performance, I don't test and review every single commit of an upstream (Takes a lot of hours) so this is likely the price to pay to have an Up to date Kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.8 or use FK Manager to Update
Quantic-Kernel v1.7
Support for MIUI (Custom ROMs that doesn't support avb) with broken fp
Force idle 403MHz frequency to silver core (https://github.com/Official-Ayrton9...mmit/49b531db5b553aaac1a42ed6852e4a34ba714190)
Merge tag LE.UM.4.2.2-00400-SDX55.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.7 or use FK Manager to Update
Quantic-Kernel v1.6
Tweaked schedutil governor, now better consumption and battery drain achieved
Removed Spectrum profiles, not necessary now with this tweak on schedutil
Now kernel is upgradable with Franco Kernel Manager and smartpack just adding the following url: https://www.carlosayrton.com/kernel.json
Overclock downgraded to 825MHz, this because some reports about antutu failing on benchmark and lower results, also a lot of shuttering on the UI
Underclock down to 96MHz to idle the gpu and save energy, when watching videos or static images.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.6
Quantic-Kernel v1.5
Upstreamed to 4.14.174 from linux-stable (See my github to review changes)
IMPORTANT NOTE: Upstreams could downgrade battery performance, I don't test and review every single commit of an upstream (Takes a lot of hours) so this is likely the price to pay to have an Up to date Kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.5
Quantic-Kernel v1.4 (Birthday update! :victory
Synced with akash changes
schedION governor added (Battery Friendly ONLY and see INFO Post for details)
Updated Spectrum profiles
IMPORTANT NOTE: Upstreams could downgrade battery performance, I don't test and review every single commit of an upstream (Takes a lot of hours) so this is likely the price to pay to have an Up to date Kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.4
Quantic-Kernel v1.3
Upstreamed to 4.14.173
Spectrum profiles reverted
Kernel updated to LA.UM.8.1.r1-14500-sm8150.0
Flashing method:
Backup stock boot and dtbo
Flash Kernel
Flash Magisk v20.3
Reboot
Notes:
Fingerprint on Screen should be fixed since I'd made a dtbo.img to avoid that issue, however because of the lack of testers I can't guarantee fingerprint working since I reimplemented spectrum profiles again.
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.3
Quantic-Kernel v1.2
Deleted Spectrum as fingerprint still not working (sorry for that)
Added houston library from OnePlus 7 PRO
Added blu_schedutil, a governor created by @eng.stk extracted from his kernel implementation on blu spark. (This governor saves battery and unleash power when needed)
Removed several log instructions from defconfig to avoid unnecessary charge on the system.
Added Device_Tree_blob_overlays to completely solve the issue of missing fingerprint in some devices and ROMs (Like crDroid and ArrowOS)
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.2
Quantic-Kernel Hotfix-v1.1
Temporary removed Spectrum, as is the known bad guy that is causing trouble with some people dissapearing fingerprint on display
People that doesn't have problems with fingerprint can stay on v1.0 without problem, this update is made to restore fingerprint.
Please restore your boot and dtbo partition backup made on twrp and then flash the kernel (no need to reflash magisk as I'm not touching ramdisk anymore because no spectrum)
Thanks to Peter Jakson for testing the fixed version Apologizes to everyone for the inconvenience
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/Hotfix-1.1
Quantic-Kernel v1.0
Updated K-Lapse to v5.0 this fixes FK Manager force close issue when activating it
Reimplemented KCAL from scratch, that fixes a lot of shutterings and adds color control to the screen
Added missing header (display_state.h) that causes issues with KCAL
Performance improved massively
Added Spectrum profiles support to the kernel
Download here: https://github.com/Official-Ayrton990/Quantic-Kernel_AOSP-PE/releases/tag/v1.0
Kernel Modules INFO
Introducing schedION governor
schedION is a governor developed by me, it's main purpose is to save battery with PELT Scheduler, you can play game with lower drain and heat, performance still better than stock kernel. This is governor is activated selection "schedion" on the tree clusters and ONLY on PELT edition.
Introducing Spectrum profiles
Spectrum is a simple kernel manager app created by @frap129 in 2017 supporting kernels since Android 5.0 Lollipop, its very special because allows the kernel dev to ship a kernel with preconfigured profiles, with balance, battery, performance and gaming mode, so you can try the best setup made for the kernel without manipulating any kernel variable using others kernel managers.
Spectrum is shipped with Quantic-Kernel since version 1.0, prior versions doesn't support it: like pre-releases and RC.
Spectrum profiles can be applied using Spectrum from Playstore
Spectrum profiles can be applied using smartpack from Playstore
This kernel is going really good and some other good features are coming on next builds. All should try rn.
Thank you, it's working as expected.
Thank you. Tried with latest 11.0.5 stable and worked fine
karrouma said:
Thank you. Tried with latest 11.0.5 stable and worked fine
Click to expand...
Click to collapse
Hey thanks for the testing, did you found issues with fingerprint scanner? :highfive:
Gj mate
Sent from my Xiaomi Redmi Note 7 using XDA Labs
i installed on aosp crdroid and i lost my fingerprint, how can i solve it? thank you
Ayrton990 said:
Hey thanks for the testing, did you found issues with fingerprint scanner? :highfive:
Click to expand...
Click to collapse
Not working
FP not found in security .
TeamMex said:
Gj mate
Click to expand...
Click to collapse
Hey thanks mate, appreciate all your help
baggino said:
i installed on aosp crdroid and i lost my fingerprint, how can i solve it? thank you
Click to expand...
Click to collapse
That's because stock crDroid kernel hasn't the newest changes of fp made by markakash, please try to delete your saved fingerprint and add it again, should work normally.
karrouma said:
Not working
FP not found in security .
Click to expand...
Click to collapse
I expected that, fp scanner differs between AOSP and MIUI, I'll try to make something to let fp work but big chances are that it would not work.
Ayrton990 said:
That's because stock crDroid kernel hasn't the newest changes of fp made by markakash, please try to delete your saved fingerprint and add it again, should work normally.
Click to expand...
Click to collapse
fingerprint is gone and there is no possibility to insert it again because the menu "device security> fingerprint" no longer exists
Another bug
Speed meter all time is 0.0KB/s
karrouma said:
Another bug
Speed meter all time is 0.0KB/s
Click to expand...
Click to collapse
Thanks for feedback, I have bad news, xiaomi changed the FP implementation on 11.0.5 and source code hasn't released, so I can't make anything to make it work until xiaomi release the sc, you can try with another version such as 11.0.2
Using pixel experience but fingerprint disappeared after flashing this
Ty Mate. Kernel is so good working.
Hello
The smoothness and battery on this kernel + pixel experience are fantastic (10-11% screen on drain and 0.3-0.6% screen off) but I've got a problem with the 835mhz oc of the GPU.
On 835 it crashes on 3d apps right away (games and AnTuTu) while on 735 it is smooth and stable.
Is it because if the aosp rom or just the fact that the gpu is not stable at 835? Thanks.
Using the kernel along with Pixel Experience ROM, FP works well, no random reboot. And this kernel has something that I'm looking for, 735 MHz GPU. Sometimes my phone stuttered using the 835 MHz, that's why the 735 is really important instead of the 675 MHz ones. Thank you dev!

Categories

Resources