[KERNEL] Dorimanx V3.5 OP3+T Nougat 7.1.1 STOCK 4.5.1 Tree 3.18.140 [26 JUN] PWR CORE - OnePlus 3T ROMs, Kernels, Recoveries, & Other Deve

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

One for ME :silly:
Some INFO:
ONLY for OP3T!!! do not do this for OP3 model!
If you have Verity Alert on boot that says it's not enforced. and you like to fix it!
Here is how to by @RyperX and @Leicxan
Download modem + firmware 4.02 and the 4.1.6 here:
https://forum.xda-developers.com/oneplus-3t/how-to/firmware-modem-collection-flashable-zips-t3565535
Reboot to Recovery!
Connect your device to PC with USB cable.
1. Install modem 4.0.2
2. boot to fastboot/bootloader (from recovery menu)
3. apply the 2 commands in this order ("fastboot oem disable_dm_verity", then "fastboot oem enable_dm_verity") using fastboot exe file in your PC
C:\Users\admin>fastboot oem disable_dm_verity
...
OKAY [ 0.031s]
finished. total time: 0.032s
C:\Users\admin>fastboot oem enable_dm_verity
...
OKAY [ 0.032s]
finished. total time: 0.034s
C:\Users\admin>
Click to expand...
Click to collapse
4. reboot directly to recovery again using the volume keys and then power key to select recovery!
5. flash modem 4.1.6! or 4.1.7!
6. reboot
Warning of the verity not enforced is gone.

And one more for me

Great you are here
Lets get the OP3t the same lifetime as our LG G2 had

Let the game begin....

Hmm definitely interesting... Will check this kernel out! Nice work by the way...

Happy to see it public ?
Sent from my OnePlus 3T using XDA Labs

Seems amazing!
Just installed, will edit with small review after few days.

Boom Shakalaka
---------- Post added at 06:09 PM ---------- Previous post was at 06:07 PM ----------
RyperX said:
Great you are here
Lets get the OP3t the same lifetime as our LG G2 had
Click to expand...
Click to collapse
Should be exceptional until at least Q4 2020, bring people nicely to the OnePlus 8/8T

<Deleted>

Congratulations buddy [emoji111]

Congratulations man

Thank you so much.

Daym, how many kernels did you combine into this ? xDD

nice nice nice .... waiting long time for this
good job

want to try it....on my op3t
long long long time ago i had this awesome kernel on my Samsung S3.......Damn.....long time ago
Thanks Dori for the Nougat release
cheers

Can this be made for the op3?

Miksel12 said:
Can this be made for the op3?
Click to expand...
Click to collapse
It's a unified build working perfectly on the OP3.

@dorimanx just wow.
I have never encountered this kind of smoothness with my op3. I'm using Open Beta 18.
Not sure how this kind of level of buttery smoothness is even possible to achieve.
Hands down, this kernel is on whole another level of smoothness for op3.
Thank you so much! Any plans to support LineageOS?
Edit: CPU governor was set to performance by default but still very well performing kernel

First LG G2 with the Dorimanx power and finally with OP3, back to the heaven.

Related

[KERNEL][AOSP][SM-G930F/FD/W8/S/L/K] Fire Opal Kernel 3.1.0 [Nougat]

/* This project is currently in hiatus at least until the new device and kernel trees are available and sufficiently stable. Thanks for your patience and your support. */
{
"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"
}
Welcome to the official thread for the Fire Opal Kernel project for the Galaxy S7 (SM-G930F/FD/W8/S/L/K) running AOSP-based ROMs.
The aim of this project is to provide a good alternative option to the limited stock AOSP kernel.​
Thanks and Credits
> Samsung for their kernel source
> @jesec and @Fevax, 8890dev project developers and hero devices maintaners, for the device tree
> @Tkkg1994 for his clear and vast source code and scripts
> @lyapota for a few ideas
> @flar2, @UpInTheAir, @franciscofranco, @osm0sis and others for their great contributions to the community and Android
Note: the feature list refers to version 2.4.2. The new beta 3.1.0 is closer to stock, but with the new device trees things will change
Features
* based on latest 8890dev kernel sources
* updated with latest Samsung kernel base (DQCG)
* custom built ramdisk based on N2G47E with Resurrection Remix tweaks
* built with Linaro Toolchain 6.3.1 (aarch64-linux-android-6.3)
* updated with Linux patches up to the latest 3.18.48
* init.d support and init tweaks
* added a few CPU governors (elementalx, hyper, alucard, barry_allen, bioshock, bluactive, conservative_x, darkness, despair, electrodemand, impulse, intellicative, intellidemand, intellimm, interactive_pro, interactive_x, ironactive, lionheart, nightmare, ondemand_x, ondemandplus, pegasusq, smartass2, smartmax, smartmax_eps, yankactive and zzmoove) and enabled all the stock ones.
default: interactive
* added a few I/O schedulers (bfq, cfq, fifo, fiops, row, sio, sioplus, tripndroid, vr, zen)
default: cfq
* added a few TCP congestion algorythms (bic, cubic, westwood, htcp, hybla, vegas, scalable, lp, veno, yeah, illinois, dctcp, lia, olia, wvegas, balia)
default: westwood
* full f2fs support, ported from official OnePlus 3/3T kernel source
* fixed some misbehaving drivers
* complete implementation of Synapse, to have everything at your fingertip
* overclock and underclock support for both CPU and GPU
* full voltage control (CPU, GPU, BUS and so on...)
* notification LED fading control
* numerous performance and stability tweaks (defconfig, fstab and Makefile)
* SELinux set to Permissive by default (can be changed by the user if he wants to)
* enable extra compression algorithm and cryptography
* sqlite3, busybox and other binaries are integrated!
* Knox 0x0 and SafetyNet spoofed to pass
* ondemand and conservative governors updated for big.LITTLE architecture
* improved default voltage/thermal management
* enabled Swap (510MB, lz4, 4 compression streams)
* and more...
Notes
So good everything is working now :laugh:
In the near future I'll have fun improving Synapse (as soon as I have free time).
Download:
herolte > Android File Host
Support:
If you want to receive support, find and share settings, report bugs and try Beta versions, join our Telegram group:
Fire Opal Kernel | Official Group
XDA:DevDB Information
Fire Opal Kernel, Kernel for the Samsung Galaxy S7
Contributors
kylothow
Source Code: http://github.com/kylothow/android_kernel_samsung_universal8890
Kernel Special Features: Synapse support, stable f2fs porting, full voltage control, various governors, schedulers, tweaks and patches are just some of the awesome features.
Version Information
Status: Stable
Current Stable Version: 2.4.2
Current Beta Version: 3.1.0
Created 2017-02-27
Last Updated 2017-07-26
Changelogs
While searching the Internet you might also find versions which aren't listed here: these are Beta versions and their changelog isn't available (but included in the one of the next stable version, so you don't miss anything).
All the changes I made are listed on GitHub.
Version 2.4.2
Code:
- update sdcardfs
- updated build scripts and recovery scripts
- changed toolchain to a better version (Linaro Android gcc 6.3.1)
- widely improved ramdisk scripts
- updated ramdisk to latest version from RR with 7.1.2 support
Changelogs for previous versions:
Version 2.4.0
Code:
- updated with latest Linux patches
- various fixes (including thermal management and network communication)
Version 2.3.0
Code:
I'm constantly working to provide a better kernel. This implies a lot of research, testing and stressing my eyes staring at code. I'm adding a lot of small fixes.
So, try to understand me if I don't always have time to report a changelog.
As always, you can check GitHub for a detailed changelog.
Version 2.2.1
Code:
Sorry if I didn't write down a changelog for the last releases, I've been quite busy.
Anyway: since version 2.1.6b there are a LOT of changes, performance, battery, stability... Just check it out (and check GitHub for a full changelog).
Version 2.1.6b
Code:
- updated busybox and sqlite3 binaries with more convenient versions
- changed optimizations, enabled safety features and possibly fixed f2fs cryptography
- getting ready for the Synapse restyling
- build the kernel uncompressed
The latter fix solves most lagging issues and noticeably improve performance over compressed version; I'll look into the kernel size issue soon!
Version 2.1.5
Code:
- ramdisk rebased over RR's one
- kernel size reduced
Version 2.1.4
Code:
- updated interactive governor with Samsung optimized version
- implemented the AMOLED flicker free patch
- updated ramdisk for both herolte and hero2lte to the one from latest LineageOS builds
- updated ramdisk to be compatible with SlimROM (untested)
- removed a few redundant tweaks
- fireactive it's on its way to debut, but still disabled because incomplete, sorry :(
Version 2.1.2
Code:
- init: added a few tweaks
- ramdisk: changes in sepolicy
- ramdisk: try to fool safetynet and fix wakelocks
- updated to DQBO kernel source
- fstab: reworked mount options
- fs: add exfat support
- fs: implement optimised and stable f2fs (from oneplus/QC8996_N)
- enabled Swap (I had the idea while looking into the OP3 sources)
Version 2.1.0
Code:
Many beta versions came before this one, and all of them had their list of fixes... I'll try to summarize:
- some configs were tweaked
- enabled init.d support
- Synapse support
- implemented elementalx
- various fixes
- faked Knox 0x0 and try to hide from SafetyNet
- switched back to cfq as default scheduler
- probably other stuff I can't remember now... I need to sleep ahahah
Version 1.2.4
Code:
- temporarily reverted to Linux 3.18.14 (and so fixed the video playback issue)
- updated mount options to reduce I/O overhead
- tweaked the kernel configuration to have better performance
- enabled additional compression algorithms and cryptography utilities
Version 1.2.3
Code:
- updated zen sched driver to version 1.1
- SELinux is now set to Permissive by default
Version 1.2.2
Code:
- now using zen as default I/O scheduler
- changed the default frequency range for the CPU
- updated to Linux 3.18.17 (still working to bring the latest patches)
- switched to a custom Makefile optimised for our architecture
Version 1.2.0
Code:
- overclock and underclock support for both CPU and GPU
- voltage control (see notes in the OP [B][**][/B])
- moved to Uber Toolchain 7.x (aarch64-linux-android-7.x)
- improved recovery installation script
Version 1.1.0
Code:
- First public release
[TUTORIAL] How to set up your phone with f2fs
1) First you have to install a compatible recovery. Recent TWRP releases can format and mount f2fs, but they don't handle a few installation scripts correcty. I recommend TWRP 3.0.2-4 by @lyapota which has the correct patches. You can find it here.
2) Then you have to backup all your data (internal storage will be wiped too, so make sure to copy ALL your files in the INTERNAL storage). So, any TWRP backup should be taken on external SD card.
3) After this, reboot into TWRP. From Wipe / Advanced Wipe check only /data, then select Change Filesystem and check f2fs. Do the same for /cache. At the moment I don't think there are ROMs that support f2fs on /system too (LineageOS, for example, forces ext4 and formats despite settings).
4) Reboot into recovery once again, so we're sure that it can mount everything.
5) At this point you're done. Flash your ROM of choice, this kernel, any GApps and whatever you want.
Reboot and profit!
ROMs supporting f2fs formatted /system will be listed here when available.
cool
I tried this on RR and saw for so good. I built-it into my RR build to get it to boot and love the different governors and features.
So cool, thank you !
I completed a new release with some stuff added:
Code:
- overclock and underclock support for both CPU and GPU
- voltage control (see notes in the OP [B][**][/B])
- moved to Uber Toolchain 7.x (aarch64-linux-android-7.x)
- improved recovery installation script
The note i refer to, in short, says that voltage control is implemented but not reachable by the user.
Next steps in this kernel development are complete access to GPU overclock and voltage control, followed by latest Linux patches and eventual requests by the users.
Have a nice day
SafetyNet pass possible with Magisk Hide?
tidschi said:
SafetyNet pass possible with Magisk Hide?
Click to expand...
Click to collapse
Without root it passes but Magisk hide isn't working on our AOSP ROMs.
Sent from my SM-G935F using Tapatalk
kylothow said:
Without root it passes but Magisk hide isn't working on our AOSP ROMs.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
Magisk doesn't work on AOSP Roms ?
Really cool ROM how ever it removes SuperSU on AOSP extended and you will need to reflash however since flashing this it seems my audio stuttering while in apps has I believe disappeared will test further hope to some sound config's (Faux sound or alternative if possible) keep up the good work
Sent from my SM-G930F using Tapatalk
dylem29 said:
Magisk doesn't work on AOSP Roms ?
Click to expand...
Click to collapse
Not on the ones for S7. Magisk hide doesn't work.
Sent from my SM-G935F using Tapatalk
Delete plz
I tried 1.2.0 on my g930w8 with RR and it won't boot. Gets stuck on the RR logo. I even tried clean flash and still won't boot. Yesterday I build the kernel directly into RR and it booted but since the change to 7.0 toolchain I can't even build because I am on Mac which Uber 7.0 doesn't support.
Andrw0830 said:
I tried 1.2.0 on my g930w8 with RR and it won't boot. Gets stuck on the RR logo. I even tried clean flash and still won't boot. Yesterday I build the kernel directly into RR and it booted but since the change to 7.0 toolchain I can't even build because I am on Mac which Uber 7.0 doesn't support.
Click to expand...
Click to collapse
Works for me, I'm using the latest RR on my G930W8 (apk3 bootloader) and I dirty flashed 1.2.0.
noob924 said:
Works for me, I'm using the latest RR on my G930W8 (apk3 bootloader) and I dirty flashed 1.2.0.
Click to expand...
Click to collapse
Yeah wonder what's going on. I am on same boot loader/modem and couldn't get it to work with 1.2.0.. I tried dual boot and even installing RR as main ROM and wouldn't work. I actually had to copy and use my boot.img from 02/26 that contained the OPs source built-in to get boot. If it works for others on official RR, maybe it's something with my custom build. I do use the same manifest as 8890dev. Thanks for letting me know.
W8 here as well had no problem just flashing kernel over everything I already had.. was first release. Waiting on new update assuming it's being uploaded cause download link don't work
New release announcement
New release uploaded while I finish some stuff. I spent yesterday on the Linux patches but I will have to do some "tricks" to make them work... and it's a long work.
Version 1.2.2
Code:
- now using zen as default I/O scheduler
- changed the default frequency range for the CPU
- updated to Linux 3.18.17 (still working to bring the latest patches)
- switched to a custom Makefile optimised for our architecture
Nice bro Thanks! No hurry BTW quality over quantity any day! Just happy for a new kernel for 7.1!!!
Good to see new kernel for s7, which app can I use with this kernel? Synapse ?

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

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

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

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

[KERNEL][J7 6][8.0+] Oxygen Kernel v5.0.138

{
"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"
}
Introduction
Oxygen Kernel is based on stock Samsung source code taken from Samsung Opensource Release Center with sole aim to provide better performance, stablity and battery backup than stock kernel. A kernel tells the hardware in your Android device how to behave, kind of like your mommy tells you how to behave. You can modify how fast your processor runs by over or under clocking it or optimize your system for battery life.
Oxygen Kernel is always up-to-date with latest patches from kernel.org
Known for maximum stability and smooth performance
All the Source Code is available on github
Kernel Info
LINUX: 3.18.138
SAFETYNET: Green
SELINUX: Permissive
TOOLCHAIN: Google's GCC 4.9
Compatible ROMS
All AOSP 8.1 and 9 ROMs
All OneUI Pie based ROMs
All Touchwiz 8.0 and 8.1 ROMs
Features
Here are the major features of the kernel (feel free to explore Github)
Up to date with the latest stable Linux version
Full -Ofast build with graphite optimisations
Removed a lot of useless debug and logging options
Disabled TIMA, KNOX, DM-VERITY,etc
Awesome battery life and smooth performance
ARM enhanced performance patches
Overclock CPU up-to 1.7GHz and GPU up-to 1146MHz
GPU Voltage Control
CPU Governors: conservative, interactive, ondemand, performance, powersave, userspace (default: interactive)
I/O Schedulers: bfq, cfq, deadline, maple, noop (default: maple)
Powersuspend and State Notifier drivers
Dynamic FSync, FS fsync toggle on/off
Frandom driver for 10-50x faster random number generation
Spectrum Support (a simple, profile based kernel manager || now integrated into Oxygen Control)
Disabled CRCs by default for 30% performance boost
CDROM emulation on mass_storage (compatible with DriveDroid)
Wireguard support
Boeffla Wakelock Blocker
Oxygen Control App Features
Full CPU and GPU Control
Boeffla Wakelock Blocker
Spectrum Support
Samsung Hotplug
CRC Control
And many more!
These features are only available through Oxygen Control App
Download Oxygen Control from Github Releases
Warning: If you come from some other custom kernel or have any issues, you should dirty flash your ROM before flashing Oxygen Kernel to avoid problems.
Reflash ROM -> Flash Oxygen Kernel --> Flash Magisk if you want to root
If you are upgrading between Oxygen Kernel versions, just flash the kernel zip. Also uninstall or clean data of any kernel control app you're using.
Going back to stock: You can backup your boot.img with TWRP before flashing Oxygen Kernel and restore the backup whenever you want to revert.
1] This kernel removes forced encryption, if you face "encryption process failed" error upon reboot then you need to format /data. This is generally needed if you are installing this kernel on stock tw rom.
2] In OneUI Pie ROMs you may get a warning at boot saying "There's an internal problem with your device". You can safely ignore this warning and causes no harm. It's due to some mismatching KNOX/mobicore stuff. I'll fix it soon.
Downloads
Kernel
Download
Oxygen Control
Download
Telegram Group
Join Oxygen Kernel Community group on Telegram here
Join Oxygen Kernel Channel on Telegram here
If you like my work donations are always welcome
Google Pay UPI ID: [email protected]
Paypal: https://paypal.me/SiddhantNaik
Don't forget to hit the thanks button, it's free.
Credits
Samsung Open Source Center for the Source code
@Oves786 and @SolarX_dev for numerous help and support
@osm0sis for AnyKernel2
@jesec for Fingerprint Fix
@morogoku for MTweaks
Everyone others from whom i have picked commits (credited on Github)
XDA:DevDB Information
Oxygen Kernel J7 2016, Kernel for the Samsung Galaxy J7
Contributors
DarkLord1731
Source Code: https://github.com/DarkLord1731/j7xelte
Kernel Special Features:
Version Information
Status: No Longer Updated
Current Stable Version: 5.0.138
Stable Release Date: 2019-04-27
Created 2017-10-30
Last Updated 2019-08-11
Changelogs:
Oxygen Kernel v5.0.138
Updated to Linux 3.18.138
Added support for OneUI Pie based ROMs
Disabled useless FIVE trustonic driver
Updated xpad drivers to support more controllers/joysticks
Heavily updated cpufreq driver for faster and better performance
Decreased time taken to enter sleep/idle mode
Some bluetooth tty driver updates
Disabled Gentre Fair Sleepers for better system responsiveness (You can enable it back using OC)
Enabled some TCP algorithms
Tuneup westwood and set it as default TCP protocol
Updated conservative governor
Optimised some other drivers like shed, cpuidle, devfreq, rcu, etc.
Disabled add_random and IO stats for better IO performance
Oxygen Kernel v4.0.131
Linux 3.18.131
Fixed kernel not booting on some TW oreo ROMs
Enabled back Input Booster for a better responsive user experience
Updated to latest J710FXXU5CRJ7 kernel source
Removed some useless CPU governors (Only the best ones are kept)
Removed unwanted IO Schedulers (Only the best ones are kept)
Updated the kernel to better support AOSP ROMs
Switched to Google's GCC 4.9 toolchain
Removed a lot of useless debug and logging options
Disabled TIMA, KNOX, DM-VERITY,etc
Added bluelight filter/night light for compatible TW ROMs
Check github source for more changes
I can't list all of the changes because i've rebased the source code completely. But believe me, this is a major update.
Previous Changelogs
V 3.0
Linux 3.18.109
Backported random driver from linux 4.2
Added Frandom
Added cpuquite driver
Added TCP congestion control
Updated statenotifier driver
Updates to cpufreq drivers
Updates to LZ4 compression
Added quickwakeup driver
Optimised many arm64 specific stuff
Optimisations to crypto drivers
Updates to memory handling
Updates to cfq ioscheduler
Hell lot of changes for performance and overall system stability
Check github source for more changes
V 2.0
Complete rebase of source code
Updated to J710FXXU1BRA1 kernel sources
Linux 3.18.106
Upgraded and disabled some bad governors
Added wireguard VPN support (Google for more details)
Fixed Big Cluster tunables getting lost when turned off
Updated some cpufreq governing policy
Disabled broken Boeffla Wakelock Blocker(AOSP only)
Various other patches to overall system stability and performance
Hell lots of others changes (check source code)
I can't list all of the changes because i've rebased the source code completely. But this is a major update.
Read the whole thread once before asking anything.
If you like my work donations are always welcome
Google Pay UPI ID: [email protected]
Paypal: https://paypal.me/SiddhantNaik
Don't forget to hit the thanks button, it's free.
Nice work buddy
Oves786 said:
Nice work buddy
Click to expand...
Click to collapse
Thanks Bro
We're gonna have the best kernel for J7. Great work ^^
mohitmallick17 said:
We're gonna have the best kernel for J7. Great work ^^
Click to expand...
Click to collapse
Thanks :laugh: These things keep me motivated.
Great kernel, i love the aroma configuration.
Thanks for the hard work.
It really feels faster, thanks!
(gTranslate)
Whats the optimal configs for this kernel?
WinterR said:
Great kernel, i love the aroma configuration.
Click to expand...
Click to collapse
Credits to @djb77 for aroma
prbs1982 said:
Thanks for the hard work.
Click to expand...
Click to collapse
TinoSantos said:
It really feels faster, thanks!
(gTranslate)
Click to expand...
Click to collapse
Glad you like it
prbs1982 said:
Whats the optimal configs for this kernel?
Click to expand...
Click to collapse
You can use Spectrum battery or balanced profiles for auto setting optimal configs.
Can u make Always on Display work with your kernel? I love this.
Does it work on cook roms revolution 5.0.1?
testnhe said:
Does it work on cook roms revolution 5.0.1?
Click to expand...
Click to collapse
Yes I installed it on my j7Fn with revolution rom, no bugs.
can anybody tell me about J7 2016 stock nought rom rooting process plz
DarkLord1731 an excellent work, I have been testing it for several days and there are many improvements that for the moment and perceived.
But I have a small bug ... I have an unlock pattern configured that when I am connected to the Wi-Fi network, I do not ask for it every time I lock and unlock the screen, when I turn off Wi-Fi if you ask me every time ... someone more with this problem? (G translate)
Rom RevolutionOS 5.0.1
I might have found a bug, or maybe it is just silicon lottery. When i set my gpu to max freq 1146, it stops working completely it says 0 Mhz and fps drops immediately.

[r71] arter97 kernel for OnePlus 7 series

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

Categories

Resources