[KERNEL] [LINARO8] [UNDERVOLTING] custom kernel for haruhirom - OnePlus 2 Android Development

My custom kernel for oneplus 2
Features until now
- added governors, I/O schedulers and all the other mess you see in other kernels
- spectrum support
- flash and forget
- optimized for sd810
- tickless kernel
- hd audio
- slimbus overclock
- compiled with linaro GCC 8
- enabled CPU dcache word access
- backlight dimmer
- added maple I/O scheduler
- added governors blu_active and darkness
- added gentle fair sleepers
- added wakelock control (basic + WiFi + bluedroid)
- optimized settings
- upstream CAF updates
- upstream Linux kernel upgrades (3.10.105)
- nethunter support
- compatible with mostly all ROMs, including CAF-based ROMs like halogenos
- pdesireaudio
- high performance audio
- fauxsound
- added CPU boost toggle
- power efficient workqueues
- franco thermal driver
XDA:DevDB Information
haruhikernel-op2, Kernel for the OnePlus 2
Contributors
anupritaisno1, benschhold, pdesire, xdvs23
Source Code: https://github.com/Team-DevElite/haruhikernel-op2
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v8.2
Stable Release Date: 2017-07-01
Created 2017-01-26
Last Updated 2017-07-13

Download link: https://srv1.botstack.host:8001/oneplus/op2/custom-kernel-for-haruhios-v8.2.zip

Reserved

Pdesireaudio - FAQ
What is pdesireaudio?
192kHz 24bit audio playback, 24bit audio recording, and higher buffering on kernel
Interesting, how do I configure it?
There is nothing to configure, it should work out of the box
For advanced users, the sysfs paths are
/sys/module/snd_soc_wcd9330/parameters/uhqa_mode_pdesireaudio
/sys/module/snd_soc_wcd9330/parameters/high_perf_mode
/sys/kernel/sound_control_3/highperf_enabled
1 to enable, 0 to disable
Default is enabled at boot
How do I merge pdesireaudio into my code?
Pdesireaudio needs device tree and kernel patches, head over to my github https://github.com/anupritaisno1 to find out the patches you'll need
Wait! So what do I get to control?
Nothing in the case of audio, not to mention that audio is already a mess on op2
You still get basic sound control however
Got it? Anything I should watch out for?
Pdesireaudio can technically work in a ROM that doesn't support it however if you flash anything other than ARISE, then you'll break pdesireaudio completely
Nethunter support
Flash SuperSU
Put a su script to run supolicy --live "permissive *" at boot
That's it?

Interactive governor tweaks?
I use glassfish and most of my testers seem to like fairparkhe
Hotplug?
I just turn it off
Thermals?
Usually turn everything off here too
GPU settings?
I normally don't change anything here
Screen?
Here are my settings
R: 256
G: 250
B: 241
Saturation: 35
Value: 124
Contrast: 128
Hue: 1

You are working hard
Thanks
Enviado desde mi ONE A2003 mediante Tapatalk

Is the v4.2 the latest? Because on description : Current Stable Version: v5.0

xarisCY said:
Is the v4.2 the latest? Because on description : Current Stable Version: v5.0
Click to expand...
Click to collapse
That's a naming error made by the automatic build bot. Please ignore it
The latest version is v5 which you can verify in the settings

is it compatible with oxygen os 3.5.6?

divyansh sinha said:
is it compatible with oxygen os 3.5.6?
Click to expand...
Click to collapse
No
It's only my for my ROM (read the name) and for official lineageos and CAF-based ROMs like halogenos
It may work on derivatives of lineage as such (RR, AICP, etc) but I can't guarantee it

divyansh sinha said:
is it compatible with oxygen os 3.5.6?
Click to expand...
Click to collapse
You can try it.
However I can tell you that WiFi is going to break if you flash this on oos
Also please flash oos 3.5.7

I am using this kernel with RR. I did not see any power efficient improvement.Although everything is running smooth.

playkish said:
I am using this kernel with RR. I did not see any power efficient improvement.Although everything is running smooth.
Click to expand...
Click to collapse
Yes, you need to tune it a bit in kernel adiutor
Also that is a "power efficient workqueue", it does nothing by itself if your configuration is set to consume too much battery

anupritaisno1 said:
Yes, you need to tune it a bit in kernel adiutor
Also that is a "power efficient workqueue", it does nothing by itself if your configuration is set to consume too much battery
Click to expand...
Click to collapse
Can you please explain what I need to tune using kernel auditor ??

playkish said:
Can you please explain what I need to tune using kernel auditor ?
Click to expand...
Click to collapse
That's up to you?

Hey, could You give us a example for a Good Setup?

Speaker gain is not working here as well. Will it be fixed?

StarSix01 said:
Hey, could You give us a example for a Good Setup?
Click to expand...
Click to collapse
stock are best
or if kernel have relaxed governor

anupritaisno1 said:
Here's the download link https://srv1.botstack.host:8000/oneplus/op2/custom-kernel-for-haruhios-v4.2-STABLE.zip
Or use this
http://srv1.botstack.host:9000/oneplus/op2/custom-kernel-for-haruhios-v4.2-STABLE.zip
No pdesireaudio right now, it is being worked on by me
Click to expand...
Click to collapse
In the thread you say that there is pdesire audio. But you are saying now that in the latest build there isnt psidesireaudio?

i was soooo happy to finally see cpu voltage option in the kernel but very disappointed because whatever I do it doesn't change the voltage, beside that I see the same frequency scales displayed once more but with a higher voltage added to each frequency step.

Related

[KERNEL][4.4 KK][ms013g][3.4.99]DedS v2.3(s2w/dt2w)

DedS v2​
Note:
I'm not responsible if your phone explodes due to overheating or you have to take your phone to the service centre,because it got bricked. You are willing to try this kernel:good:
Click to expand...
Click to collapse
DedS v2 is the second release of DedS kernels. This time it's more tweaked,fast and best-in-class performance​
FEATURES:​
*CPU Governorserformance,Powersave,Conservative,Interactive,Ondemand,Hybrid, adaptive,Intellidemand,Intelliactive
*CPU I/O Schedulers:Noop,Deadline,CFQ,Sio,FIOPS,BFQ
*GPU Governors:Simple Ondemand,Performance,Powersave,Userspace,Adreno TZ
*GPU Overcloked @533MHz
*F2FS filesystem support
*Asynchronous FileSync ported from HTC One(Thanks to @faux123)
*IntelliPlug Hotplug driver.
*Kernel compressed with LZ4.
*Powersuspend kernel driver (read FAQ)
*Dynamic management of dirty page writebacks
*Frandom.Read more about it here
*O3 Optimizations
*Many performance tweaks
*Kernel version 3.4.98
Click to expand...
Click to collapse
DOWNLOADS:​
From v2.2 onwards there will be 2 versions, m-mainline and e-experimental​
From v2.0,all downloads will be available here:
http://www.androidfilehost.com/?w=files&flid=16993
Click to expand...
Click to collapse
Sources:
https://github.com/Ateekujjawal/DedS_4.4_ms013g
If anyone wants to add this kernel in their rom, they are free to do so,but please post the sources and a link to this thread!!!​
If anyone wants to revert back to stock kernel, flash this through ODIN.​
Credits Section:
@leo811: For informing me of the kernel sources on time
@shabbypenguin: For his 4.4 dtb files
@h0rn3t: For performance control app
Changelogs on post #2
FAQ on post #3​Enjoy the kernel everyone!!! I hope you like it​
XDA:DevDB Information
DedS kernel v2, Kernel for the Samsung Galaxy Grand 2
Contributors
##W4TCH0UT##
Kernel Special Features: Here is the second release of DedS kernel
Version Information
Status: Stable
Current Stable Version: 2.2
Stable Release Date: 2014-07-27
Created 2014-07-24
Last Updated 2014-08-06
Reserved
CHANGELOGS:
|======================|
VERSION v2.3e:
*Added Intellidemand,Intelliactive governors
*Added IntelliPlug Hotplug driver
*Added F2FS filesystem support(Read FAQ)
*Asynchronous Fsync ported from HTC devices
*Kernel compressed with LZ4
*Linux 3.4.99
=============
VERSION v2.2m:
*Added sweep2wake and doubletap2wake(Read FAQ)
*GPU tweaks
*Add adaptive governor
*Add BFQ I/O Scheduler.
*Added UKSM(Read FAQ)
*Removed CPU OC(CPU UC is still included)
VERSION v2.2e:
*Added sweep2wake and doubletap2wake(Read FAQ)
*GPU tweaks
*Add adaptive governor
*Add BFQ I/O Scheduler
*Added UKSM(Read FAQ)
*Removed CPU OC(CPU UC is still included)
*Added powersuspend(Read FAQ)
*Dynamic management of dirty page writebacks
*Some performance tweaks
================
VERSION v2.1:
*Added CPU Overclocking upto 1.6Ghz and CPU Underclocking up till 96Mhz
*GPU Overclocked @533mhz
*Added Simple GPU Algorithm for better performance
*Added many performance tweaks
================
VERSION v2.0:
*Initial release
|======================|​
Reserved
FAQ:​
Q:What is the performance control app?
ANS:I have included this app to tweak the kernel settings efficiently. You can enable everything you want.
Q:What's the difference between m(mainline) and e(experimental) versions?
ANS:M builds are made for performance and battery and only include necessary features. E builds are meant for experimentality and they include M features+Many experimental features. E builds have many tweaks but it might drain your battery. E builds might not even boot, so flash at your own risk and take a backup before flashing.
Q:What is F2FS?
ANS:F2FS is a file system exploiting NAND flash memory-based storage devices, which is based on Log-structured File System (LFS). The design has been focused on addressing the fundamental issues in LFS, which are snowball effect of wandering tree and high cleaning overhead.
Q:What is UKSM?
ANS:UKSM is the highest version of KSM available for kernel 3.4, which deals with merged pages effectively. Kernel SamePage Merging (KSM)lets the hypervisor system share identical memory pages amongst different processes or virtualized guests.
Q:What is sweep2wake/doubletap2wake?How to enable/disable it?
ANS:Sweep2wake (S2W) allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the screen. This feature might not work at all times, so please don't complain.
To enable sweep2wake, go to sys/android_touch/sweep2wake from any root browser and enter whichever value you want(values given below):
Code:
0=disabled
1=enable sweep2wake (default)
2=enable sweep2wake with backlights
To enable doubletap2wake, go to sys/android_touch/doubletap2wake from any root browser and enter whichever value you want(values given below):
Code:
0=disabled
1=enable doubletap2wake (default)
Q:What is LZMA/XZ/LZ4...compression method?
ANS:It is basically the algorithm used for compressing the kernel. For now, I use LZMA.
Q:What is powersuspend?
ANS:It is a new kernel driver which replaces Earlysuspend and works without it.
Click to expand...
Click to collapse
Hope I cleared everything, Any questions left out, just ask them, Cheers!!!​
does it have bln and swipe2wake support???
manan001 said:
does it have bln and swipe2wake support???
Click to expand...
Click to collapse
I'm quite busy with other kernels right now, so I'll add it by tomorrow or day after tomorrow, and adding those features is not so easy. And I already told you bln needs ROM support also.
Sent from my GT-I9082 using Tapatalk
Rom is already supported
##W4TCH0UT## said:
DedS v2​
Note:
DedS v2 is the second release of DedS kernels. This time it's more tweaked,fast and best-in-class performance
FEATURES:
DOWNLOADS:​
Sources:
https://github.com/Ateekujjawal/DedS_4.4_ms013g
Credits Section: @leo811: For informing me of the kernel sources on time.
@shabbypenguin: For his 4.4 dtb files
Changelogs on post #2
Enjoy the kernel everyone!!! I hope you like it​
XDA:DevDB Information
DedS kernel v2, Kernel for the Samsung Galaxy Grand 2
Contributors
##W4TCH0UT##
Kernel Special Features: Here is the second release of DedS kernel
Version Information
Status: Stable
Current Stable Version: 2.0
Stable Release Date: 2014-07-24
Created 2014-07-24
Last Updated 2014-07-24
Click to expand...
Click to collapse
Does it supprts otg cable?
vipulm15 said:
Does it supprts otg cable?
Click to expand...
Click to collapse
Nope and please don't quote whole op.
VERSION v2.1 released:
*Added CPU Overclocking upto 1.6Ghz and Underclocking up till 96Mhz
*GPU Overclocked @533mhz
*Added Simple GPU Algorithm for better GPU performance
*Many net speed and performance tweks​
Now,i'm working on s2w/dt2w. Enjoy the new release.
Wifi is not working and also the max freq is set to 1.19Ghz only
++1
anadarco7 said:
Wifi is not working and also the max freq is set to 1.19Ghz only
Click to expand...
Click to collapse
anadarco7 said:
Wifi is not working and also the max freq is set to 1.19Ghz only
Click to expand...
Click to collapse
1)Was it working in the previous release?
2)Also is under clock working?
I didn't add settings for over clock, I thought it would work.. I'll see to the overclock thing.
And please attach a logcat, when reporting these issues.
Stock kernel, if anyone wants to revert, simply flash through ODIN.
Stock kernel
##W4TCH0UT## said:
1)Was it working in the previous release?
2)Also is under clock working?
I didn't add settings for over clock, I thought it would work.. I'll see to the overclock thing.
And please attach a logcat, when reporting these issues.
Click to expand...
Click to collapse
As discussed with khasim wifi was working in 2.0 perfectly..
I did not have wifi so couldn't test..
manan001 said:
As discussed with khasim wifi was working in 2.0 perfectly..
I did not have wifi so couldn't test..
Click to expand...
Click to collapse
I made one commit to improve WiFi speed, so I think that's affecting it. I'll revert it.
Sent from my GT-I9082 using Tapatalk
Frankly speaking these all does not affect speed as after all it all depends on once internet speed.. ?
wifi
##W4TCH0UT## said:
1)Was it working in the previous release?
2)Also is under clock working?
I didn't add settings for over clock, I thought it would work.. I'll see to the overclock thing.
And please attach a logcat, when reporting these issues.
Click to expand...
Click to collapse
1) In the previous release (2.0) it working perfectly.
Instead, with new release (2.1), I can't turn on the wifi.
##W4TCH0UT## said:
1)Was it working in the previous release?
2)Also is under clock working?
I didn't add settings for over clock, I thought it would work.. I'll see to the overclock thing.
And please attach a logcat, when reporting these issues.
Click to expand...
Click to collapse
Wifi working in 2.0 .Let me know how to get the logcat
Sent from my SM-G7102 using XDA Free mobile app
from playstore you can use logcat builder
https://play.google.com/store/apps/details?id=org.jtb.alogcat&hl=en
logcat for Wif issue
l0rdelric said:
1) In the previous release (2.0) it working perfectly.
Instead, with new release (2.1), I can't turn on the wifi.
Click to expand...
Click to collapse
From Logcat Extreme:
E WifiHW: ######### set firmware type 0 ######
return of insmod : ret = -1,Exec format error
WifiStateMachine: Failed to load driver
WifiStateMachine: sendErrorBroadcast code: 10
E WifiController: Wi-Fi driver is unstable. Received CMD_STATEMACHINE_RESET

[I9100][KERNEL][LINARO][MM/N][27/03]Custom Kernel

DISCLAIMER​ONLY FOR AOSP BASED ROMS​I'm not responsible for bricked devices or wrong version flashing​You are using this kernel at your own responsibility​
INTRODUCTION
I don't want to disguise the work of any original DEVs. This is my 1st thread if anything goes wrong plz correct me.
I created this thread just to share my personal builds and my intention is only 'share' not to 'kang' the work of Original Devs. I respect all of them.
Kernel
I don't have broadband connection at home so unable upload sources to github and compiled this kernel on my home desktop PC from manually downloaded LineageOS smdk4412 kernel sources and applied patches of commits by many devs(Gustavo_s, arnab, andip71, etc.) to it.
Kernel Adiutor (GT-I9100)
I have ported most of the kernel feature controls from Synapse to Kernel Adiutor (GT-I9100) and modified Package Name & App Name of the original Kernel Adiutor by Grarak to avoid conflicts ONLY.
- Package Name : com.grarak.kerneladiutor -> com.grarak.kerneladiutorsgs2
- App Name : Kernel Adiutor -> Kernel Adiutor (GT-I9100)
KERNEL INFO
- This kernel is based on LineageOS smdk4412 kernel sources and most of the commits from Gustavo_s Kernel.
KERNEL FEATURES
- Following Features available on top of Official LOS 14.1 Kernel:
- All the features given below can be controlled with Kernel Adiutor (GT-I9100)
SELINUX:
- set to PERMISSIVE by default
CPU:
- 6 step CPU frequencies from 200 to 1400 mhz
- CPU hotplug control(thanks to tegrak)
- CPU Voltage Control
GOVERNORS:
- zzmoove (thanks to ZaneZam)
- pegasusqplus (thanks to arnab)
GPU:
- 4 GPU frequency steps
- GPU clock control, from 54 to 520 mhz, 10 different frequencies with vpll mode enabled
- GPU voltage control
- GPU threshold control
SCREEN:
- Brightness curve control
- Gamma control
- slide2wake
SOUND:
- Headphone amplification control
- Microphone amplification control
- Speaker amplification control
BLN:
- BLN (Backlight Notification)
- BLN Effects
- BLNWW (Backlight Notification Without Wakelock)
- Touchkey leds on/off
- Touchkey leds timeout
- Touchkey leds fade in and fade out effects
- Touchkey leds voltage control
IO SCHEDULERS:
- sio replaced with sioplus (thanks to arnab)
TWEAKS:
- GENTLE_FAIR_SLEEPERS on/off
- ARCH_POWER on/off
- Charge current control
SUPPORTED ROMS:
- CM13(CustomKernel-MM-v1.3 and newer) and almost all roms based on same sources as cm13
- LOS 14.1 and almost all roms based on same sources as Lineage OS
Kernel tested on following roms by myself :
- CM13 (21/10/2016 Nightly)
- LineageOS 14.1 (26/02/2017 Nightly)
- AICP 12.1 (07/02/2017 Nightly)
INSTRUCTIONS:
- TAKE A FULL BACKUP.
- Flash ISO-REC recovery if you didn't before
- Download and Flash from recovery (wipes are not necessary)
- Reboot and Use KA(GT-I9100) to fully control kernel features
- To control mDNIe sharpness tweak
1. Open terminal
2. Type 'mdnie_preset enable' to enable and 'mdnie_preset disable' to disable
- DON'T ADD ANY INIT.D SCRIPT TO ENABLE OR WILL BE STUCK AT BOOT
CREDITS
- Gustavo_s, arnab, rINanDo, andip71, Lanchon, arter97
- Saber (for updated Linaro Toolchain & thanks for answering my questions all the time)
- Grarak (for original Kernel Adiutor)
- gokhanmoral, dorimanx, codeworkx, tegrak and all LineageOS devs for their wonderful work
- franciscofranco, faux123, myfluxi, neobuddy89, zeitferne
DOWNLOADS
Kernel Adiutor (GT-I9100)
For MM:-
CustomKernel-MM-v1.3
For N:-
Outdated
XDA:DevDB Information
Custom Kernel for GT-I9100, Kernel for the Samsung Galaxy S II
Contributors
Skyline
Source Code: https://github.com/LineageOS/android_kernel_samsung_smdk4412
Kernel Special Features: as given above
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2017-03-27
Created 2017-02-28
Last Updated 2017-09-18
Changelog
Unreleased Builds :-
Code:
Released Builds :-
Code:
[B][U]Custom Kernel v1.3[/U][/B]
- Fixed wifi for MM builds
- Changed build naming
- Different builds for MM and N
- Added function to enable/disable mDNIe sharpness tweak from terminal
- Reduced Wi-Fi Wakelocks
- Reduced Android Logcat RAM usage
- Tweaked pegasusq governor
- Enabled UNALIGNED_ACCESS
- Backported random driver from Linux 3.17+ (credits arter97)
- Disabled Network File Systems(I can add it back if needed)
- Enabled NTFS Support
- Added exFAT support and updated drivers to v1.2.19(credits andip71)
- Added mDNIe sharpness tweak
- Removed userspace and powersave governors
- Changed default cpu governor to pegasusqplus
[B][U]Custom Kernel v1.2[/U][/B]
- Removed unusable recovery ramdisk from kernel ramdisk to reduce size you must have iso-rec recovery installed
- [STRIKE]Added support for cm13 and roms based on cm13[/STRIKE]
- Added init.d script to load some default kernel settings
- Optimized Deadline and Sioplus for non-rotational storage and to reduced cpu and eMMc overload
- Increased default read ahead for Internal and External storage to 1024 and 512 respectively
- Some minor tweaks for performance and battery(don't expected too much)
- Fixes from LOS 14.1 kernel source
- Updated KA(GT-I9100) to fix BLN Controls(Not tested)
[B][U]Custom Kernel v1.1[/U][/B]
- We will be using different ramdisks for different roms from now
- Updated lineage ramdisk from 26/02 LOS 14.1 Nightly
- Added new ramdisk for AICP 12.1 from 07/02 AICP 12.1 Nightly (better compatibility and full support for AICP 12.1)
reserved
Good to see customisable kernel for Android N for our device... Good luck... I'm still on MM... But will want to try once I'll upgrade to Nought.... Hope Devs around will help you improve your build...
@Skyline
I know it's a bit early for an request. [emoji6] But can you build a "SELinux permissive" version? [emoji41] I want install SuperSU to use FolderMount.
Nick_Knight said:
@Skyline
I know it's a bit early for an request. [emoji6] But can you build a "SELinux permissive" version? [emoji41] I want install SuperSU to use FolderMount.
Click to expand...
Click to collapse
Already permissive
just flashed on xenonHD rom.
thanks
cm13 support
Hello guys, I will try to add cm13 support to this kernel but which one is the latest stable nightly of cm13?
Skyline said:
Hello guys, I will try to add cm13 support to this kernel but which one is the latest stable nightly of cm13?
Click to expand...
Click to collapse
cm-13.0-20161030-NIGHTLY-i9100.zip
link : https://mega.nz/#!rp9mGSBa!aHsSY08pUORSaC1-cKku5ClAESzosqyzpsIGo0C7Bw4
bujjo53 said:
cm-13.0-20161030-NIGHTLY-i9100.zip
link : https://mega.nz/#!rp9mGSBa!aHsSY08pUORSaC1-cKku5ClAESzosqyzpsIGo0C7Bw4
Click to expand...
Click to collapse
Thanks
If you have this rom can you upload the boot.img and PM me the link of it
I got a cm13 nightly from 21/10/2016 on my storage disk
Skyline said:
XDA:DevDB Information
Custom Kernel for GT-I9100, Kernel for the Samsung Galaxy S II
Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2017-02-28
Created 2017-02-28
Last Updated 2017-02-28
Click to expand...
Click to collapse
Wow, i'm really glad to hear this.. really cool..
I lost my patient to try tonight.. :victory:
Nick_Knight said:
@Skyline
I know it's a bit early for an request. [emoji6] But can you build a "SELinux permissive" version? [emoji41] I want install SuperSU to use FolderMount.
Click to expand...
Click to collapse
Dude, let me know if you're successfully mounting folder (especially between internal & external storage)..
As i've tried anything i have to alternate internal storage to external storage on Nougat.. i've nearly give up as "Link2sd" app also won't work..
I'm sorry for a bit OT..
im currently on aicp 12 and i tried this kernel,now my phone never get to deepsleep at all..my battery life is on a constant downhill...
sniburn said:
im currently on aicp 12 and i tried this kernel,now my phone never get to deepsleep at all..my battery life is on a constant downhill...
Click to expand...
Click to collapse
I'm in AICP 12.1 build 7 Feb, the kernel works great, and the phone get to deepsleep as normal, maybe a problem of the build you're using...
Can someone post the best CPU and Governor settings for this kernel in the Adiutor for flawless running with bigger apps - always on 1200 MHz - is somebody working permanent with 1200 MHz, what about battery drain?
Nobby1960 said:
Can someone post the best CPU and Governor settings for this kernel in the Adiutor for flawless running with bigger apps - always on 1200 MHz - is somebody working permanent with 1200 MHz, what about battery drain?
Click to expand...
Click to collapse
I don't think always running on 1200MHz will be good, think about cpu and battery temperature our device already have heating problems though. If you want you can try pegasusqplus I felt bit smoother with this one
UPDATE: From next build kernel will also support cm13

			
				
An other experience with the crDroid ROM @GreekDragon (latest build 01/26) . It runs good, flawless and smooth with the following settings:
CPU: min. 1000 MHz, max. 1200 MHz
Governor: pegasusqplus
I/O Scheduler: noop
Read-Ahead: 1280 kB
But: I have no more deepsleep and a little swap, see the following screenshots. The deepsleep mode in this ROM also doesn't work with the integrated power management, switched on "performance".
Thanks
Did you ever think continue @Saber 's Dorimanx N for our old phone, I think it can be amazing.
Saber: If there's anyone who would like to pickup from where I have left, my kernel source will always be available on github.
@Skyline
https://forum.xda-developers.com/ga...ves/kernel-dorimanx-lp-5-x-x-t3145879/page137
Here is a live test with AICP 12.1 build 02/07 - the deepsleep mode works perfect. CPU on both cores with 1200 MHz, no significant heat development - core 1 turns off if not in use. I've played with the I/O and came up for the most smooth run and the fastest response to the "deadline" setting - see screenshots.
Would you adjust the kernel to crDroid too (see above)? It's a wonderful Nougat ROM on Lineage base - I mean the deepsleep issues may be fixed by @GreekDragon.

[KERNEL][ALL VARIANTS][AnyKernel][v3.0] G3X-Ultimate Kernel for CM and AOSP ROM's

Introduction:
Welcome! I've developed ArtxKernel, with the aim to make a great and clean kernels for CM and AOSP ROM's, but this one is for those that don't want to mess with a lot of features, like a Flash and Use Kernel! Battery life its very impressive and this Kernel is the most clean that I've made, so, enjoy it
Click to expand...
Click to collapse
Features:
- CPU Input Boost
- Gov's: Interactive, OnDemand, Conservative, Powersave, Perfomance, Userspace, pegasusq, zzmoove, Alucard and IntelliMM
- Multicore power saving
- Alucard and Bricked hotplugs
- 27Mhz GPU
- Adreno Idler
- FastCharge Support (Updated, faster than ArtxKernel)
- PowerSuspend Mode
- Kcal color control
- Faux sound control
- Fifo, fiops, sio and zen schedulers
- Frandom support
- Async I/O, 37% more perfomance
- Fsync control
- init.d support
- Selinux permissive
- Fixed simple_ondemand GPU Gov
- 2-Way Stereo Call recording Patch
- PVS Level via sysfs
- Boosted min and max screen Brightness (It's safe)
- RAM, GPU and Battery optimizations
- Some Artx Optimizations
SmoothUnlocker:
If you want an extra boost flash it, check MEGA link, but take in consideration that it will make your Battery drain faster in exchange of perfomance and pure Smoothness
Downloads:
----------
MEGA
----------
Spectrum:
Wanna use it with Spectrum App? Then follow this simple steps:
• Download Spectrum Injector HERE (3rd post) Thanks to @frap129
• Flash the Kernel and then Spectrum Injector
• Put my Profile files in spectrum/profiles folder in your internal memory after boot
------
Profiles
------
• You're done, remember that you can change those configs with a text editor
Bugs:
If you see a bug, let me know and I'll be glad to help you and fix it
Social:
Wanna join a Telegram group of this Kernel? If you have any question or you need help, get in!
(let me know if the link is broken )
----------
Telegram Group
----------
Compatible with:
(Thanks to @marcdw and @jlb1959.01)
- Nougat ROM's
- Marshmallow ROM's
- Lollipop ROM's (Not confimed yet)
Thanks to:
cesarandres_8911, savoca, faux123, LineageOS Team, osm0sis, Feinzer
LG, matthewdalex, Andrei F, yarpiin and me
If anyone is missing here PM me
If you like the kernel and want to do a small donation it for sure gonna help me a lot and keep me motivated! :laugh:
Thank you and enjoy it!
​
XDA:DevDB Information
G3X-Ultimate, Kernel for the LG G3
Contributors
Stayn
Source Code: https://github.com/Artx-II/G3X_Kernel_lge_g3
Kernel Special Features: See above
Version Information
Status: Stable
Current Stable Version: 3.0
Stable Release Date: 2017-07-05
Created 2017-06-28
Last Updated 2017-08-19
Changelog!
Code:
[B]* v3.0[/B]
- Source updated
- Boosted min and max screen brightness (It's safe)
- Added 2-Way Stereo Call Recording Patch
- Added Governors: Alucard & IntelliMM
- PVS Level via SysFs
- RAM, GPU and Battery optimizations
- Some optimizations from Artx Kernel
- Cleaned a lot of code
[B]* v2.0[/B]
- Source updated
- Added Dualsim support
- Added Pegasusq Gov
- Added zzmoove Gov
- Added Alucard and Bricked hotplug
- 27Mhz GPU
- Adreno Idler
- Sound control (Replaces Faux)
- Power Suspend Mode
- Added fifo, fiops, sio and zen schedulers
- Added Frandom
- Kernel Selinux permissive
- Fsync control
- Compiled with updated UberTC
- General optimizations
- Battery improvements
[B]* v1.0[/B]
- Initial release
Smooth as butter, and charging so fast it's almost scary
Thank you
You need a banner for your OP which is called "KernelBae"
Anyway thanks for awesome job and new kernel.
Sent from my LG-D855 using Tapatalk
Stayn said:
Reserved
Click to expand...
Click to collapse
sorry to say but i still cant understand why this kernel when there are ARTX and Light kernels??
and is there any chance that it would work on stock rom ?
mohammadtalha93 said:
sorry to say but i still cant understand why this kernel when there are ARTX and Light kernels??
and is there any chance that it would work on stock rom ?
Click to expand...
Click to collapse
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Stayn said:
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Click to expand...
Click to collapse
COOL.....but after trying every single custom rom MM or N......i went back to modded Stock rom because of stability and Camera Quality.... and literally i have tried EVERY SINGLE ROM out there.
mohammadtalha93 said:
COOL.....but after trying every single custom rom MM or N......i went back to modded Stock rom because of stability and Camera Quality.... and literally i have tried EVERY SINGLE ROM out there.
Click to expand...
Click to collapse
I cannot use stock based ROMs, it's too much lag for me
Stayn said:
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Click to expand...
Click to collapse
Nice too See a New kernel again.. But... You sad its fast er then the other kernel of yours. I'm using the latest LightKernel, so this Ultimate kernel is faster and i want to now if this kernel is better in battery life ?
francois amon said:
Nice too See a New kernel again.. But... You sad its fast er then the other kernel of yours. I'm using the latest LightKernel, so this Ultimate kernel is faster and i want to now if this kernel is better in battery life ?
Click to expand...
Click to collapse
Light and normal kernel has better battery life that depends on how you configure it
Stayn said:
Light and normal kernel has better battery life that depends on how you configure it
Click to expand...
Click to collapse
Allright then You. I will stay with the latest Light Version.
THX for reply
Iv been on this kernel all this morning and so far its great!
PS: Is it possible to add bioshock to this kernel?
Downloaded twice fot f400, both zip corrupted.
khnoizer said:
Downloaded twice fot f400, both zip corrupted.
Click to expand...
Click to collapse
Sorry dude, I re-uploaded it
So, default cpu governor is performance? I hope it doesn't drains battery so much, since I usually prefer to just use the default setting because I believe OP have the best balanced settings there.
khnoizer said:
So, default cpu governor is performance? I hope it doesn't drains battery so much, since I usually prefer to just use the default setting because I believe OP have the best balanced settings there.
Click to expand...
Click to collapse
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Stayn said:
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Click to expand...
Click to collapse
Keep your time. You don't have to push an update all days. Let the users use it for a while and then report. One day with this kernel and report it is nothing. The system need time to get one with the kernel settings
G3X is pretty much beta. ArtX is not beta (IMO). If you want a more stable kernel use ArtX until this one gets all the kinks worked out.
Stayn said:
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Click to expand...
Click to collapse
I think I should also mention that I'm using RR 5.8.3 rom for F400 variant by oadam11, which is also have performance governor by default on its default kernel. Maybe there are something related.
Anyway, take your time, and thank you for your hard work.
EDIT: However, I've tried artxlight 2.1 but its governor wasn't set to performance by default. It was zzmoove.
Hi I have a little problem. When I flash through TWRP I get unsupported device and error 1. My device is d852.

[KERNEL] G3 XTD [N O, P] [AOSP, CM] [ALL Variants] DISCONTINUED

Code:
/* *** Disclaimer
*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, etc. 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 at your won risk
*/
This is my 3rd attemt at making custom kernel for G3, after few months of working on it, i think its mature enough to make it public. Kernel used lineage cm-14.1 as a base, since then i made over 1500 changes to it. Much features are taken from 3.10 base and its version is probably closer to 3.10 then to 3.4.
R1 to R7 Kernel comes in 4 variants:
Standard and slim version for Nougat and Oreo
Slim verion lacks in additional governors and hotplugs.
This kernel was only tested on D855, but should work on other variants without issues, if any let me know.
R8 Kernel is only for Pie and Oreo Roms.
Nougat and slim versions are EOL.
Features:
Compiled with UBERTC 4.9
Additional governors: Impulse, zzmove, alucard, electroactive, elementalx, intelliactive
nightmare, slim, smartmax, smartmax_eps, umbrella_core, yankactive
Addtitional hotplugs: alucard, autosmp, blu_plug, bricked, mako, intelliplug, msm
MSM Limiter
State Notifier
Powersuspend
Power Efficient Workqueues
Per core input boost
CFS Scheduler policy
Intellithermal
Adreno idler
Simplr GPU Algorithm
KCAL
Faux Sound Control
USB Fast Charge
Arch Power
Additional io schedulers: deadline, fifo, fiops, maple, sio, sioplus, tripndriod, vr, zen
Wakelocks bloker
Dynamic fsync
Async Fsync
Frandom
CPU OC to 2,8 GHz, UC to 288MHz - oc disabled by default
GPU OC to 657 MHz, UC 27MHz - oc desabled by default
Patches and optimizations from newer kernels
and many more...
Download
MEGA
These zips are AIO this means it will detect your G3 version and flash proper kernel, a backup of stock boot.img will be created in the directory where the zip is, just in case smh goes wrong.
Also i included a control app to manage the kernel, its based on KA fork made by @bhb27, i made changes to make it work on G3, plus added some other features missing in @bhb27 KA.
Credits:
All the guys from the LG G3 DEVELOPMENT telegram channel for unparalleled kind of humour.
For the rest, check the kernel commits.
Changelog:
Release2 (26-12-2017):
Fixed kernel version not showing i rom information page.
Make LCD colors more vivid.
Add FunctionFS
Release3 (01-01-2018):
Cleanups
Optimizations
Release4 (09-02-2018):
Fixed bug with USB device not recognized
KGSL patches and optimizations
General optimizations
Release5 (13-02-2018):
Removed KGSL patches for now since it causes random reboots
Keep inline with LineageOS kernel
Release6 (02-05-2018):
Fix sound control
Enabled exfat and sdfat support
minor fixes
Release7 (12-06-2018):
Inline with other msm8974 lineageos kernels
Security patches
Bugfixes
Updates
Release8 (04-10-2018):
PIE ready
Inline with other msm8974 lineageos kernels
Security patches
Compatibilty with G3DS and D856 variants
Release9 (07-12-2018):
Inline with other msm8974 lineageos kernels
Tethering should work now
Ability to connect to hidden wifi is working now
Detailed Changelogs
XDA:DevDB Information
LineageXTD kernel for G3 Nougat, Oreo, Kernel for the LG G3
Contributors
ppajdek
Source Code: https://github.com/ppajda/kernel_g3
Toolchain: UBER from matthewdalex/arm-eabi-4.9
XTD Kernel Adiutor: ppajda/kernel_adiutor
Version Information
Linux: 3.4.113
Status: Stable
Stable Release Date: 2018-10-04
Created 2017-12-22
Last Updated 2018-10-04
Gangsta!
Your out of the box settings are awesome.
Turned on sound control and fast charge both work. PC connection charges at 850mA instead of 500mA.
Set headphone to +3 and it's a lot. I'm concerned about the mic set to +24 default setting??? is that to high, haven't tested yet.
No idea on battery life but cores are nicely under control. Also gpu is very tame!
:good::good::good::good::good::good::good::good::good::good::good::good::good:
I should mention. D850 LOS-N
Works well Thanks, but no kernel information in setting !
Tengakallan said:
Works well Thanks, but no kernel information in setting !
Click to expand...
Click to collapse
Didn't noticed gonna check this
ppajdek said:
Didn't noticed gonna check this
Click to expand...
Click to collapse
Hey @ppajdek! I know this kernel is for nougat and Oreo, does this also work on Oreo 8.1 as well?
Excavator2015 said:
Hey @ppajdek! I know this kernel is for nougat and Oreo, does this also work on Oreo 8.1 as well?
Click to expand...
Click to collapse
G3_laos_xtended_o8-n7x - is for nougat 7.x and oreo 8.0
G3_laos_xtended_slim_o8-n7x - is for nougat 7.x and oreo 8.0
G3_laos_xtended_o8x - is for oreo 8.x
G3_laos_xtended_slim_o8x - is for oreo 8.x
Battery life is superb , fast charging supported .
Overall perfect for my D855. Thanks :good:
Flashed it, lets test out it now
ppajdek said:
G3_laos_xtended_o8-n7x - is for nougat 7.x and oreo 8.0
G3_laos_xtended_slim_o8-n7x - is for nougat 7.x and oreo 8.0
G3_laos_xtended_o8x - is for oreo 8.x
G3_laos_xtended_slim_o8x - is for oreo 8.x
Click to expand...
Click to collapse
Thanks man. One thing tho, your kernel auditor doesn't work, I installed it after I flashed the kernel and tried opening it, and it just sits on a white screen. Any idea why its doing that? Thanks man in advance.
His kernel auduitor works well, you just have to give root in magisk.
---------- Post added at 09:23 PM ---------- Previous post was at 09:21 PM ----------
I recommended uninstalling the old kernel auduitor, full reboot, then go into recovery to install the kernel.
eric93se said:
His kernel auduitor works well, you just have to give root in magisk.
---------- Post added at 09:23 PM ---------- Previous post was at 09:21 PM ----------
I recommended uninstalling the old kernel auduitor, full reboot, then go into recovery to install the kernel.
Click to expand...
Click to collapse
It works now, thanks guys! Just had to reflash magisk...and reinstalled magisk manager..don't know how I lost root. Lol.
Tengakallan said:
Works well Thanks, but no kernel information in setting !
Click to expand...
Click to collapse
It's fixed, next release coming soon
mind if you share some of your profiles, preferably the ones that are better for battery
ochomdnl said:
mind if you share some of your profiles, preferably the ones that are better for battery
Click to expand...
Click to collapse
I use zzmove Governor with profile #4.
Currently undervolting by around 70 mv across the board
Sent from my LG-ls990 using XDA Labs
ochomdnl said:
mind if you share some of your profiles, preferably the ones that are better for battery
Click to expand...
Click to collapse
I will add profiles later with spectrum support, the default one is balanced, run xtd kernel adiutor and look what is set.
seanskiT! said:
I use zzmove Governor with profile #4.
Currently undervolting by around 70 mv across the board
Click to expand...
Click to collapse
How are you undervolting to around 70mv? This may sound dumb, and I should know this...but where in the kernel auditor settings is the profile #4?
Hope you have a wonderful and safe Christmas.
Thanks in advance man.
Excavator2015 said:
How are you undervolting to around 70mv? This may sound dumb, and I should know this...but where in the kernel auditor settings is the profile #4?
Hope you have a wonderful and safe Christmas.
Thanks in advance man.
Click to expand...
Click to collapse
In the cpu voltage settings.
For the zzmove profiles, go to cpu tunables and scroll down to profile number, tap it, delete the zero and enter 4
Hope you and everyone here have a Merry Christmas as well.
Sent from my LG-ls990 using XDA Labs
seanskiT! said:
In the cpu voltage settings.
For the zzmove profiles, go to cpu tunables and scroll down to profile number, tap it, delete the zero and enter 4
Hope you and everyone here have a Merry Christmas as well.
Click to expand...
Click to collapse
Not seeing profile #4, only 3 hotplugs.... Ugh.
Excavator2015 said:
Not seeing profile #4, only 3 hotplugs.... Ugh.
Click to expand...
Click to collapse
Go to cpu, where you set the governor, scroll down to cpu tunables.
Sent from my LG-ls990 using XDA Labs
Excavator2015 said:
Not seeing profile #4, only 3 hotplugs.... Ugh.
Click to expand...
Click to collapse
He mean't cpu governor tunables, look for profile profile_number and remove 0, replace it with it 4 (name is zzbat) i think.

[EOL][KERNEL][OOS][HMP][EAS][4.4.162][CLANG 7.0.3] Reverse Flash v2.1

Introduction
Hello everyone, this is my personal continuation of the famous Flash Kernel by Nathan Chancellor for the OnePlus 5/T.
This kernel is made with a focus on performance, battery life and stability.
You got the choice between a HMP version and a EAS version of the kernel.
Hopefully you will enjoy it!
Important thread information!
If you got issues please provide a log.
If you got feature requests, just ask.
OT is allowed.
Flash instruction
On OOS stock kernel:
- Flash kernel zip
On custom kernel:
- Dirty flash stock rom
- Flash kernel zip
Features
Major features of both (HMP and EAS) kernels
- Up to date with OOS (Stable and Beta)
- Up to date with the latest stable Linux version
- Up to date with the latest CAF tag
- Mainline patches from Linux, focusing on bug fixes/security
- Mainline CFQ scheduler improvements
- Kernel hardening from CopperheadOS
- Disables dm-verity
- Several subsystems converted to use power efficient workqueues
- Accidental touch protection on hardware keys
- Backlight dimmer
- KCAL color control
- Sweep2sleep
- Sound control
- Wakelock blocker
- Latest WireGuard snapshot
- Westwood as the default TCP algorithm
- Built with a self compiled Clang 7.0.3 toolchain
- USB fast charge
- CPU Boost improvements
- Pixel2Oreo WiFi MOD v5 Stable included
- Wake Gestures
- Notification LED Control
EAS specific features:
- Schedutil governor
- Dynamic stune boost
HMP specific features:
- CPU input boost
- Devfreq boost
- Simple LMK
Downloads
Primary
Archive
Sources:
Kernel: https://github.com/crian/kernel_oneplus5
AnyKernel: https://github.com/crian/AnyKernel2
Credits and Thanks:
- @nathanchance for Flash and inspiration
- @osm0sis for AnyKernel2
- @Sultanxda for being a Dev
- @franciscofranco for having some nice stuff
- @RogerF81 for WiFi MOD
- @joshuous and @RenderBroken for EAS
- @azaidi for Adaptive Stune app
- and all the other amazing Devs out there
XDA:DevDB Information
[KERNEL][OOS 8.1.0 TREBLE][CLANG] Reverse Flash, Kernel for the OnePlus 5T
Contributors
crian
Source Code: https://github.com/crian/kernel_oneplus5/tree/reflash
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v2.1
Stable Release Date: 2018-10-25
Created 2018-09-12
Last Updated 2019-01-05
Misc
Adaptive Stune app
This app calculates the Dynamic stune boost on the EAS kernel for each activity you are running.
It optimizes battery drain while aiming for 60 FPS.
This a slightly modified version of @azaidi's work.
Instruction
- Install the apk
- Give access and su permission
- Settings are available via long-press shortcut
Download
AdaptiveStune.apk
Source
https://github.com/crian/AdaptiveStune
In
Sent from my ONEPLUS A5010 using Tapatalk
Great! Thanks
Goodluck![emoji4]
Thank you!! I think this just became my daily driver kernel.
Aside from upstream. I suggest improve the kernel base too and fixes.
radz_ said:
Aside from upstream. I suggest improve the kernel base too and fixes.
Click to expand...
Click to collapse
What improvements do you want?
crian said:
What improvements do you want?
Click to expand...
Click to collapse
You are the expert..lol
of course Flash Kernel is not perfect there will always be a room for improvement. Most devs using Flash as base, all they do is upstream. That's all.
Will this work in op5 not t.
Sent from my OnePlus 5 using XDA Labs
This looks interesting. I wanna try it out. I'm on OOS 5.1.5 with custom kernel. What steps should I do?
bkma said:
Will this work in op5 not t.
Click to expand...
Click to collapse
Will work. It's unified.
crian said:
Will work. It's unified.
Click to expand...
Click to collapse
Thanks.
Sent from my OnePlus 5 using XDA Labs
rushier.ivan said:
This looks interesting. I wanna try it out. I'm on OOS 5.1.5 with custom kernel. What steps should I do?
Click to expand...
Click to collapse
Dirty flash OOS and magisk if you're using this.
To be safe I would recommend to wipe caches, system and vendor and then flash OOS, Magisk and kernel.
Just installed, will give it a try for a week to check performance and battery life. Coming from Zenith which was great already
Will this work on LOS based roms or only OOS? On AICP treble version 5t
kamisan said:
Will this work on LOS based roms or only OOS? On AICP treble version 5t
Click to expand...
Click to collapse
Only on OOS as mentioned in the thread title.
Update to v1.1
Changelog
- Upstreamed to Linux 4.4.156
- CPU Boost improvement (Apps start faster on a cold launch)
- USB fast charge
- Upstreamed Android Binder
- Removed Dynamic SchedTune Boost (it is not very effective on a HMP kernel)
Download
Primary: https://raw.githubusercontent.com/crian/rf-zips/master/stable/ReverseFlash-OP5-v1.1.zip
Archive: https://github.com/crian/rf-zips/tree/master/stable
Commits: https://github.com/crian/kernel_oneplus5/commits/reflash
thanks
works on beta 16?

Categories

Resources