[KERNEL][30/04][STOCK NOUGAT]EXTENDED STOCK KERNEL V7 - Moto G5 Plus ROMs, Kernels, Recoveries, & Other De

EXTENDED STOCK KERNEL​
Code:
#include <std_disclaimer.h>
/*
* Your warranty is... Still valid??.
*
* 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.
*/
WARNING: THIS KERNEL IS FOR STOCK KERNEL ROMS ONLY
PLEASE MAKE A BACKUP OF YOUR SYSTEM & STOCK KERNEL FIRST​
This kernel is for STOCK NOUGAT ROMS ONLY !
This Kernel aims to use the best and most stable feautures of stock kernel by default and add useful features and optimizations,The idea is to keep it simple, stable and optimized.
The features Are :
Updated to lastest Motorola Nougat Kernel Sources
Any Kernel Installer Script
Compiled Using Google Toolchain 4.9
Added More TCP Congestions Controls
Added Wakelocks Blocker
Added Wireguard Support
Added Sound Control
Added KCAL Color Control
Added Backlight Dimmer
Added Sys Interface To Control Vibration Intensity
Set "androidboot.verifiedbootstate=green" To Pass SafetyNet
Disabled dm-verity & forceencryption By Default
Disable A Lot Of Debugging
Some Of Tweaks and Optimizations
DOWNLOAD​
EXTENDED STOCK NOUGAT KERNEL V7​
Use the app EXKM or kernel adiutor to tweak the kernel!
XDA:DevDB Information
EXTENDED STOCK KERNEL, Kernel for the Moto G5 Plus
Contributors
attack11, sultanxda , franciscofranco , vache , flar2
Source Code: https://github.com/attack11/kernel-msm
Kernel Special Features: STOCK MOTOROLA KERNEL WITH EXTRA FEATURES
Version Information
Status: Stable
Current Stable Version: V6
Created 2017-04-27
Last Updated 2018-08-25

27-04
First Relese
12-05
Second Release
-Added Wackelock Blocker
-Added Kcal Color Control
-Added "Spectrum" Support (Performance/Battery Profiles)
-Added ZEN and BFQ I/O Schredulers
-A lot of more optimizations,Check git!
20-05
Third Release
-Added Cpu Input Boost
-Added Gpu Input Boost To Msm-Adreno-Tz Gpu Governor
-Removed ZEN and BFQ I/O Schredulers (CFQ is the best in 3.18 kernel)
-Removed Adreno Boost
-Fixed Crash when using the app from savoca to control Kcal settings
-You can edit the spectrum profiles now (the profiles are in "/data/media/0/Spectrum/profiles")
-A lot of more optimizations,Check git!
08-06
Fourth Release
-Added Sound Control by flar2
-Enabled and Tweaked KSM
-Added I/O Switcher
-Switched from cpu_inpust_boost to cpu_boost (more configurable by the user)
- Some misc updates and cleanup´s
14-06
Fifth Release
- Updated to latest MMI-NPN25.137-67 Sources!
- Disable A LOT of debugging
- Memory Leaks Fixes
- Updated Installer Script & Spectrum Profiles!
13-03
Sixth Release
- Updated From The Scrach!
- Updated To Latest NPNS25.137-93-4 Kernel,f2fs And Wlan Sources!
- Removed Lot of unnecesessary stuff , Simplify the kernel
- Added Wireguard Support
- Removed Spectrum Support and Update Installer Script!
- Some Misc Changes And Updates ..
30-0
Seventh Release
- Rebased to latest release NPNS25.137-93-8 from motorola
- Some Misc Changes And Updates ..

Does this allow fingerprint vibrations to be turned off?

roygbiv859 said:
Does this allow fingerprint vibrations to be turned off?
Click to expand...
Click to collapse
Well you can control vibration intensity, If you set it to 0 you will Disable all vibrations, including vibrations with fingerprint

attack11 said:
Well you can control vibration intensity, If you set it to 0 you will Disable all vibrations, including vibrations with fingerprint
Click to expand...
Click to collapse
Do you think in the future you will add the feature to turn off only fingerprint vibrations, but still have notification and call vibrations?

roygbiv859 said:
Do you think in the future you will add the feature to turn off only fingerprint vibrations, but still have notification and call vibrations?
Click to expand...
Click to collapse
Dunno,But If i find a way to do it I will add it :good:

Awesome, I used your attacked kernel long ago on falcon... Any recommended settings for this?
Enviado desde mi Moto G (5) Plus mediante Tapatalk

abeloman said:
Awesome, I used your attacked kernel long ago on falcon... Any recommended settings for this?
Enviado desde mi Moto G (5) Plus mediante Tapatalk
Click to expand...
Click to collapse
Stock values are pretty good ! Didnt touch anything of governor values yet or msm_performance

Great ......

Awesome! Thanks for this. High Brightness Mode...

Way to go, let's get this phone cracking. How about a debloated stock rom to go with this kernal

atrac17 said:
Awesome! Thanks for this. High Brightness Mode...
Click to expand...
Click to collapse
Thanks! But High Brightness mode is already in stock kernel/rom ...

imritechere said:
Way to go, let's get this phone cracking. How about a debloated stock rom to go with this kernal
Click to expand...
Click to collapse
Im not with roms,sorry,I dont have enough time, Hope someone can make a "debloated" version of stock one !

attack11 said:
Thanks! But High Brightness mode is already in stock kernel/rom ...
Click to expand...
Click to collapse
I never looked at Kernel Adiutor till this morning. Only had the phone less than a week. But still appreciate your work. :silly:

Thanks for the kernel, the minimum brightness feature is the best part of it that moto stock kernel lacked. Also no battery drain for whole night when phone was idle.

22sumit said:
Thanks for the kernel, the minimum brightness feature is the best part of it that moto stock kernel lacked. Also no battery drain for whole night when phone was idle.
Click to expand...
Click to collapse
Thanks ! Next update will have some more optimizations to reduce the drain in idle :good:

attack11 said:
Thanks ! Next update will have some more optimizations to reduce the drain in idle :good:
Click to expand...
Click to collapse
Would love to see a version for custom Cm/aosp based ROMs...

22sumit said:
Thanks for the kernel, the minimum brightness feature is the best part of it that moto stock kernel lacked. Also no battery drain for whole night when phone was idle.
Click to expand...
Click to collapse
Is there any way to toggle the min brightness from the homescreen with a widget or something? It's kind of a pain to go into the kernal aud app to turn it on and off

roygbiv859 said:
Is there any way to toggle the min brightness from the homescreen with a widget or something? It's kind of a pain to go into the kernal aud app to turn it on and off
Click to expand...
Click to collapse
Use profile option to set the brightness toggle on/off as per your convenience and add that profile widget to the home screen.
This should get the job done. Simple click on profile widget switches the toggle on/off.

rayzen6 said:
Would love to see a version for custom Cm/aosp based ROMs...
Click to expand...
Click to collapse
Hopefully next week i will release the lineage/aosp version,Stay tuned! :highfive:

Related

[17.03][Kernel][Android 4.2.2 with Sense 5] Speedy Kernel v 4.5 ST [S2W][DT2W]

SpeedyKernel 4.5​
It is the First Custom kernel for Android 4.2.2 with Sense 5!
ONLY FOR INTERNATIONAL!!!​FEATURES:
Sweep2Wake (algorithm by SebastianFM)
Double Tap 2 Wake (Working on Sense 5.0)
New CPU modes- lulzactive, pegasusq, abyssplug, smartass v2, smartmax, gaming
New SIO scheduler
Based on EliteKernel sources
UMS Support (USB Mass Storage)
Fast Charging
ZRAM Support
Enabled fsync by default
Optimized MMC Speed
ZCache
Hardware asynchronous crypto
Network tweaks
Kernel Compressed
Optimized modem speed
ARM Topology definition support
Support Multi-Core Sheduler
LED Multiplier Support + Smooth Button BL for Lumos (By nik3r)
Undervolting support
Venom Virtual SD support
KSM Support
All CPU Modes and shedulers are tweaked, for more perfomance and battery saving
CleanUP sources
NOT WORKING/ISSUES:
-- Sometimes "flies" purchase apps in Google Play (fix- reflash kernel)
-- Sometimes phone not wake up
Сompatibility with ALL roms, based on Android 4.2.2 with Sense 5!!!
Download
STABLE​Version 4.5: SpeedyKernel-4.5
Version 4.0: SpeedyKernel-4.0
Version 2.5: View attachment SpeedyKernelv2.5.img
Click to expand...
Click to collapse
EXPEREMENTAL​Version 3.5: boot.img
Click to expand...
Click to collapse
OLD VERSIONS
*** Version 1.0: View attachment 2496082
*** Version 1.1:View attachment SpeedyKenelv1.1.img
*** Version 2.0: View attachment SpeedyKernelv2.0.img
*** Version 2.5: View attachment SpeedyKernelv2.5.img
*** Version 3.0: SpeedyKernelv3.0EX
*** Version 3.1: SpeedyKernel-3.1-EX.img
*** Version 3.5: SpeedyKernel-3.5-EX.img
*** Version 4.0: SpeedyKernel-4.0-ST.img
---------------------
ONLY FOR INTERNATIONAL PHONE!!!
---------------------
Kernel sources: https://github.com/NowenUI/SpeedyKernelNew
Changlog
Version 4.5:
* Fixed unstability work with disabled DT2W/S2W
* ReAdded Fast Charge
* Bootloops and freeze fixed
* Fix for memory allocation
* More Speedy
* New GPU Voltage Control
* Disabled HTC SmartDimmer
* Broken Init.d support fixed
* Small fixes
Version 4.0 [STABLE]:
* Rebased on stock latest sources by HTC
* Disabled GPU Overclock- more stability
* Updated all CPU modes
* STABLE version
* New DT2W algouritm
* New kernel Installer
* Fixed bootloops
* Fixed "Sometimes phone don't wake up"
* Small fixes
* New beautiful MMC speed
* Added small new features
Version 3.5 [EX]:
* Rebased on last EliteKernel source code
* Some CPU tweaks
* Added Double Tap 2 Wake (Works on Sense 5.0)
* Support CPU Topology definition
* Support Multi-Core Sheduler
* SMT Sheduler Support
* More BAttery Saving
* New Kernel Sources
* Latest EliteKernel changes
Version 3.1 [EX]:
* Network tweaks
* Fixed MTP
* R/W semaphores implemented using ARM atomic functions
* Removed kmsg spam
* Small fixes
* Thanks to nik3r
Version 3.0 [EX]:
* ZRAM Support
* ZCache Support
* Enabled FSYNC by default
* Optimized MMC Speed
* LED Multiplier Support + Smooth Button BL for Lumos (THX to nik3r)
* Kernel compressed
* CPU tweaks and fixes
* Disabled HTC PNPMNGR
* Many fixes and new features
Version 2.5:
* Added Undervolting support
* Added Venom VirtualSD support
* Added all elitekernel defconfig tweaks
* Good Battery life
* Small boot.img size
* Small fixes in kernel
* New S2W mode (All thanks to SebastianFM)
Version 2.0:
* Deleted not working ramdisk tweaks
* Fixed closing Sense launcher
* Fixed CPU Statistics
* Added Fast Charge
* Added smartmax, gaming CPU modes
* Added Double Tap to Wake
* Added support for UMS (USB MASS STORAGE)
* More stability
* New S2W algorithm
* KSM Support
* Fixed CPU Modes algorithms
* Small tweaks and fixes
Version 1.1:
* Kernel modules are embedded in the boot.img :good:
* Meny RamDisk tweaks
* Improves stability and speed
* Small update
Click to expand...
Click to collapse
INSTALLATION
1) Flash boot.img
2) Reboot
Configuring kernel parameters:
S2W Configs:
Turn off:
Code:
echo "0" > /sys/android_touch/sweep2wake
Button panel locks to s2w after this distance:
Code:
/sys/android_touch/s2w_register_threshold
Screen turns on/off after this distance:
Code:
/sys/android_touch/s2w_min_distance
Direction independent(1 - Yes, 0 - No):
Code:
/sys/android_touch/s2w_allow_stroke
Pocket protection(1 - Yes, 0 - No):
Code:
/sys/android_touch/pocket_detect
DoubleTap2Wake Configs:
Turn on:
Code:
/sys/android_touch/s2w_allow_double_tap
Time double taps (ms)
Code:
/sys/android_touch/s2w_double_tap_threshold
Time between double taps
Code:
/sys/android_touch/s2w_double_tap_duration
Dead area in points from top of screen
put 1780 for dt2w works only on virtual keya area
Code:
/sys/android_touch/s2w_double_tap_dead_area
Activate fast charge:
Code:
echo "1" > /sys/devices/platform/htc_battery/fast_charge
Click to expand...
Click to collapse
DONATE TO ME
It is make my job faster!
QIWI- +79210642095
WebMoney- R118277831022 or Z151276308197
PayPal- [email protected]
Yandex Money- 410011229097088
Phone- +79210642095
XDA:DevDB Information
[Kernel][Android 4.2.2 with Sense 5] Speedy Kernel[S2W][DT2W], a Kernel for the HTC One X+
Contributors
NowenUI
Version Information
Status: STABLE
Current Stable Version: 4.5
Stable Release Date: 2014-03-17
Current Beta Version: 3.5
Beta Release Date: 2014-01-09
Last Updated 2014-03-17
I'm assuming this is for the AT&T & Telus variation HTC One X+.. Okay Thanks for updating the OP..
WoW someone has kept our spirit high thanks.
Is it for international version ?
ashishchandra said:
WoW someone has kept our spirit high thanks.
Is it for international version ?
Click to expand...
Click to collapse
This thread is a great news. Yet i'm waiting for the reply for above question as well before flashing this kernel
Thank u NowenUI >>> you are my hero always
---------- Post added at 11:45 AM ---------- Previous post was at 11:43 AM ----------
sledgeharvy said:
I'm assuming this is for the AT&T & Telus variation HTC One X+...
Click to expand...
Click to collapse
I don't thing so
---------- Post added at 12:39 PM ---------- Previous post was at 11:45 AM ----------
OK guys... I tested and it work just fine >>
and this 4
international version
Thank my hero.
I have some problem with wifi connection.
My HOX+ in turning on, i coult not change state enable or disable wifi
HOX+ International - Sense 5 - Android 4.2.2
duyhiencntt said:
Thank my hero.
I have some problem with wifi connection.
My HOX+ in turning on, i coult not change state enable or disable wifi
HOX+ International - Sense 5 - Android 4.2.2
Click to expand...
Click to collapse
IF wifi not working and radiomodule, please flash kernel modules manually: copy them to archive with ROM (the rom u use) in folder system/lib/modules and reflash ROM again without wiping.
Thank you, first wifi and radio didn't work. So i put the modules in the ARHD.zip and flashed it again. Now it is working.
Glad to see further development for hox+ well surely test soon
Gesendet von meinem HTC One X+ mit Tapatalk
How is battery usage?
I hate sense 5 huge battery draining.so I came back to sense 4+ with elite kernel
That's really good
What about this one?
Thanks
Sent from my Enrc2b using Tapatalk 4
aliko007 said:
IF wifi not working and radiomodule, please flash kernel modules manually: copy them to archive with ROM (the rom u use) in folder system/lib/modules and reflash ROM again without wiping.
Click to expand...
Click to collapse
Tnks!
It work just fine now.
ashishchandra said:
WoW someone has kept our spirit high thanks.
Is it for international version ?
Click to expand...
Click to collapse
ONLY for International
At first, thanks for the kernel! Finally we have s2w on sense 5 roms ^^
but there are some "bugs" i found:
- new governors: I think only abyssplug works as intended. lultactive and smartassv2 force enable 4 cores and 1.6GHz cpu clock frequency and pegasusq seems to kill trickster mod app. also sometimes reboots when setting those governors
- time in cpu state is not available
ondemand governor seems fine, so i'll stick to it for now.
also a suggestion for the kernel modules: nik3r made a module injector script for his kernel, maybe you can implement this too. would be much easier because flashing modules didn't work for me using venom flasher.
reaper90 said:
At first, thanks for the kernel! Finally we have s2w on sense 5 roms ^^
but there are some "bugs" i found:
- new governors: I think only abyssplug works as intended. lultactive and smartassv2 force enable 4 cores and 1.6GHz cpu clock frequency and pegasusq seems to kill trickster mod app. also sometimes reboots when setting those governors
- time in cpu state is not available
ondemand governor seems fine, so i'll stick to it for now.
also a suggestion for the kernel modules: nik3r made a module injector script for his kernel, maybe you can implement this too. would be much easier because flashing modules didn't work for me using venom flasher.
Click to expand...
Click to collapse
ok, in next version kernel modules will embedded in the boot.img
Great work ! thx..
That Venom tool is not the best solution.
Flashing modules via CWM is the best way, you will have to erase cache/dalvik anyways and go there...
and also getting rid of them when the new version comes in...
Phone froze after incoming call.
NowenUI said:
ok, in next version kernel modules will embedded in the boot.img
Click to expand...
Click to collapse
Awsome! I'll wait for that release and flash immediately! Thanks for the great work...
Make it for ATT pleaseee!!! :\
Finndang said:
Make it for ATT pleaseee!!! :\
Click to expand...
Click to collapse
Where is kernel source for ATT?? Give me link
NowenUI said:
ok, in next version kernel modules will embedded in the boot.img
Click to expand...
Click to collapse
Will wait for next release, appreciate your work !! :good:

[KERNEL][G850F] duki994 Kernel v1.4 - final [LP][STOCK]

duki994 Kernel for Stock TouchWiz LP ROMs​
A personal project that had good results and I wanted to share it with others
It's based on official Samsung sources for Lollipop firmware.
Important note:
This kernel should work on any custom ROM that is stock lollipop based
Features:
* Wolfson Audio control (thanks to @AndreiLux)
* Battery charging control (thanks to @AndreiLux)
* CPU voltage control for both A7 and A15 cluster (thanks to @AndreiLux)
* Exposed all OPP voltage controls (thanks to @AndreiLux)
* Powersuspend v1.7 by @faux123 and @Yank555
* LMK, MM and FS powersuspend mods ported from @dorimanx's LG G2 kernel
* SCHED code fixes
* SCHED: HMP thresholds changed and new patches implemented
* Many changes related to ARM instruction code and lowlevel ARM core management
* Enabled NEON mode in kernel with full VFPV4 support
* Added new SHA256 and SHA512 NEON accelerated algortihms - now blazing fast
* UKSM (Ultra Kernel Samepage Merging) - algorithm that's better optimized than standard KSM
* WiFi standby wakelocks (PNO wakelock) reduced
* WiFi userspace power mode/DTIM change (for advanced users ONLY)
* WiFi driver switched from deprecated earlysuspend to use newer powersuspend driver (this is to fix some of bugs that could lead device kernel crash)
* NET updates
* Enabled all TCP congestion protocols and set Westwood as default (best wireless performance)
* Disabled KNOX
* SELinux disabled in kernel
* Fully configurable in Synapse (download from Google Play)
/* Important note to other devs */
You cannot include this to your ROMs. I can't be responsible if anything goes wrong, I can't help with any issues without knowing kernel version and users should be routed to this thread if they want this kernel, or if you recommend it. I think that it's best to separately view custom ROM and custom Kernel, so each dev (ROM or Kernel one) can work on bugs/features and make it as compatible as it can.
However, you can add this thread link and mention me in your thread, so people would know where to ask if some kernel problem arises
Warranty void
By flashing this kernel you will void your warranty. I'm not responsible if you brick your device, or if someone starts nuclear war.
Note:
Don't change voltages on "Busses" tab if you don't know what you are doing. It can reboot your phone if your memory controllers, ISP or MMC controllers can't handle low voltage.
WiFi pasword resetting fix:
Code:
1. open your build.prop file
2. find line ro.securestorage.support
3. change it from true to false (if not already false)
This line being on true will make your WiFi not work good with this kernel. This is due to Samsung's rooting restriction and other Samsung specific workarounds to stop rooting and flashing. Any custom ROM probably has this line changed to false.
Changelogs:
Version 1.4 BETA
Billion critical updates from my G900H version:
* MM code
* new LMK driver
* Exynos interactive governor updated
* IRQ code revamped
* OF code revamped
* New 8-band EQ sound-control
* Numerous ALSA updates and fixes
* Numerous Wolfson DAC driver updates
* MemInfo code updates
etc. list is enormous
Version 1.3
*MM page allocation changes. and others. Now more than 50% faster page_alloc
*RCU and SRCU updates from S6 and upstream + CAF
*NET updates
*USB fixes and updates
*dma mapping ARM fix
Version 1.2.1
*Synapse
->added ROW scheduler to test (experimental)
*Several BLOCK code updates and typo fixes. Some serious bugs fixed.
*Fully updated ROW I/O sched added (experimental)
Version 1.2
* Synapse:
-> disabled min cpu freq control. not needed.
-> added new I/O schedulers
* Massive updates to BLOCK, SHCED, MM, WORKQUEUE critical code
* Added FIOPS and BFQ I/O schedulers
* EXT4 updates to fix possible kernel crashes
* ZSWAP now uses ultra fast and light on cpu LZ4 compression
* CPUFREQ optimizations
* Updated BFQ, FIOPS, DEALINE scheds with fixes and optimizations
Version 1.1
*Synapse:
* Added live cpu stats for all 8 cores (quad A7 and quad A15 cores)
* Added live CPU temperature monitoring
* Added live battery temperature and health status
* Disabled broken battery input current feature (shows 0mA for our PMIC chip)
* Added misc tab:
+ ability to take logcat,dmesg,last_kmsg
+ HMP Little packing switch ON/OFF and explanation
* Added optimized ARM RWSEM algorithm
* Fixed HMP so HMP little packing would work good with our implementation
* thermal IPA(Intelligent Power Aware) now updates power tables immediately when voltage changed from Synapse
* entropy depletion fixes
* Enabled FRANDOM random number generator module for more entropy and less lag
* Added NEON instruction accelerated SHA256/SHA224 algorithm. Now we have SHA384/SHA512, SHA256/SHA224 and SHA1 algorithms NEON accelerated - blazing fast
* HMP little packing switch for Synapse
Experimental option made by nvidia. It groups tasks so more of them would be scheduled across power saving cores (A7 cores in our CPU). It may or may not save battery depending on your usage.
Downloads:
Here it is
https://app.box.com/s/vt70dzo7fzgnlyik4mxkiaaj7xkhjaot
Special thanks:
@AndreiLux for his awesome Synapse app, audio control, charging control, sources and many features/updates and upgrades to Exynos kernel code
@UpInTheAir for his source that I looked when I had bugs, and for his fixes/workarounds
@dorimanx for inspiring me to start developing and his LMK and MM mods
@bonuzzz for his custom KitKat kernel for Galaxy Alpha and his sources
@apb_axel for UKM and his scripts that helped me a lot in making custom Synapse config
XDA:DevDB Information
G850, Kernel for the Samsung Galaxy Alpha
Contributors
duki994
Source Code: https://github.com/duki994/SM-G850_Kernel_LP/
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 1.0
Beta Release Date: 2016-08-12
Created 2015-11-02
Last Updated 2016-08-12
Reserved
How to build this kernel guide
PREREQUISITES
What you need installed to compile
gcc, gpp, cpp, c++, g++, lzma, lzop, ia32-libs flex
If on 64bit Linux, install gcc multilib
Project folder structure
--project_root/ #### can have any name
-----ramdisk_source/ ## defined by RAMDISK_TMP var in script
-----ramdisk_tmp/ ## defined by RAMDISK_DIR var in script
-----kernel_source/ #### can have any name
-----RELEASE/
TOOLCHAIN INFO
Toolchain is already into kernel dir. You just need to have
correct folder structure and run this script. Everything will be auto-built
FLASHABLE ZIP
Flashable zip will be located in project_root/RELEASE directory
and will have name Kernel-slte.zip
All other explanations here:
https://github.com/duki994/SM-G850_Kernel_LP/blob/master/build_kernel.sh
Clone ramdisk source in ramdisk_source
Clone kernel in kernel_source folder
Be sure to have project directory structure as written above
After that, you just need to run:
sudo bash build_kernel.sh
in kernel folder. And voila. After finished you have Kernel-slte.zip in RELEASE directory
If it show any errors, open kernel source and type in terminal:
chmod -R 755 *
Then repeat sudo bash build_kernel.sh
awesome job, thank you
finally undervolt .. yay
ayamgoreng said:
awesome job, thank you
finally undervolt .. yay
Click to expand...
Click to collapse
When you have time, report how it works
Sent from my LG-D802 using Tapatalk
Is it possible to other variants like Galaxy Alpha SM-G850L Korean? Thanks
duki994 said:
When you have time, report how it works
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
I reduce voltage A15,A7 (every speed) by roughly 20mv
gaming (coc,asphalt,etc) for roughly 1 hour; result=stable :good:
edit: volume in the audio also work, louder headphone.
Thanks, I'll try it.
how the battery with this kernel?
gtrs36 said:
Thanks, I'll try it.
how the battery with this kernel?
Click to expand...
Click to collapse
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
exaflare said:
Is it possible to other variants like Galaxy Alpha SM-G850L Korean? Thanks
Click to expand...
Click to collapse
I have no access to G850L model. I don't know if it will work.
During this week, if I have enough time, I'll download G850L source and build it with all mods/features and give you to test it
thanks duki994.
which app I need install to control on the kernel?
hi!
1. how do You undervolt by 20mv, in synapse i have steps like 1x,xxMv and can set up -25Mv??
2. I have strange warning message after installed this kernel. it says phone needs to reboot. after reboot the same. just annoying
duki994 said:
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
Click to expand...
Click to collapse
did you UV or what settings did you use ?
m_p11 said:
hi!
1. how do You undervolt by 20mv, in synapse i have steps like 1x,xxMv and can set up -25Mv??
2. I have strange warning message after installed this kernel. it says phone needs to reboot. after reboot the same. just annoying
Click to expand...
Click to collapse
1. Our voltage regulator accepts 6.25mV step. So you can UV/OV in multiples of 6.25. When you do math, 6.25mV x 4 = 25mV
You can't UV -20mV. You can UV -18.75m (3 x 6.25mV). Next step is -25mV (4 x 6.25mv).
Ursurobertt said:
did you UV or what settings did you use ?
Click to expand...
Click to collapse
No UV. All stock. Only changed earpiece volume (incall speaker volume) to higher (+4dB if I recall good from this morning). It's for better hearing incall
UV generally doesn't reduce battery consumption (it's maybe 1%-3% less power usage). Real benefit of UV is lower CPU heat and prolonged life of motherboard.
Some chips can't handle UV at all. Some can be UV by as much as -150mV. It all depends on specific chip that came out of fabric process. Note that UV brings instability on some devices.
Sent from my LG-D802 using Tapatalk
duki994 said:
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
Click to expand...
Click to collapse
hi dude
what setting are used on your father Alpha,stok or I should change in synapse
hensk said:
hi dude
what setting are used on your father Alpha,stok or I should change in synapse
Click to expand...
Click to collapse
Look at post above yours. I explained everything
Sent from my LG-D802 using Tapatalk
recent button does not works after flashing this kernel.. recent button works fine with stock kernel...
likhon02 said:
recent button does not works after flashing this kernel.. recent button works fine with stock kernel...
Click to expand...
Click to collapse
On which ROM are you? Everything works for me on stock. I have to see if anything changes it.
Did you set secure storage to false in build prop?
I'l automate that in next build.
Kernel doesn't mess with options like recent buttons and Java written parts of Android OS.
Sent from my LG-D802 using Tapatalk
duki, you didn't answer to my question.
gtrs36 said:
duki, you didn't answer to my question.
Click to expand...
Click to collapse
Please read OP before asking. Everything is said there.
Synapse is the app with which you can change settings of this kernel.
duki994 said:
On which ROM are you? Everything works for me on stock. I have to see if anything changes it.
Did you set secure storage to false in build prop?
I'l automate that in next build.
Kernel doesn't mess with options like recent buttons and Java written parts of Android OS.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
I am on ozcan rom 4.1. my recent button only works with Nordic based stock which is NEE G850FXXU2COI3 5.0.2 11.09.2015 5614954 and ozcan rom..and with any other rom like rr and cm12.1 my recent button does not work.. secure storage is false by default on build.prop .

[KERNEL] [LINARO8] [UNDERVOLTING] custom kernel for haruhirom

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.

[DISCONTINUED][kernel][J Series 2015][TW-MM] hadesKernel v2.5R [06.06.2017]

Code:
Disclaimer
#include
*
* [B]Your warranty is now void.[/B]
*
* 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.
*/
Welcome to hadesKernel
Some personal thoughts:
- this kernel works only on J5 2015 versions. I`m not responsable for what can happen if you flash on other devices.
- v2.3 for J5 already includes all the previous things from A5 releases.
- if you take any of my work without my permission i'll report you, and you'll probably get banned.
- you should read at least install instructions stated in this post - i won`t offer support for any issues regarding installation;
- bug reports without device variant and logs can't be considered bugs - make sure you provide detailed info when reporting bugs;
- press 'Thanks' button instead of saying it - it will keep the thread clean and keep me motivated to do more;
- feel free to donate to me if you want to support my work.
Features:
Aroma Installer with root options
SuperSU 2.79 SR3
Magisk v12.0
OTG support enabled
Private mode (for roms that support that feature)
knox 0x0 - borrowed some things from magisk and from @Bulgaricus
CPU overclock to 1.5Ghz
GPU overclock to 720Mhz
J500HXXU2BPK4 update - December security patches
Adreno Idler
intelli_thermal
nvidia relaxation patch
undervolt
Color calibration
prima wlan driver
fast, stable and cool
Latest ramdisk
Permissive kernel
init.d support
maybe more - will update when remember...
Devices:
J500F
J500FN
J500G
J500M
J500H
Bugs:
None (see FAQ on #3 post for any issues)
Instructions:
make sure you have TWRP from here installed (or any other with Aroma Installer support)
download zip and put it into phone's storage
enter TWRP recovery
flash zip
reboot and enjoy
Downloads
Credits:
*DjSteve
*Lord Boeffla
*psndna88
*Bulgaricus
*SuperR
*Faux123
*duki994
*kernel testers
*if i missed someone PM me and i`ll add
XDA:DevDB Information
hadesKernel v2.5, Kernel for the Samsung Galaxy J5
Contributors
corsicanu
Source Code: https://github.com/corsicanu/hadesKernel
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: v2.5
Beta Release Date: 2017-04-26
Created 2017-02-21
Last Updated 2017-07-03
Reserved
Changelog:
v2.5R - 06.06.2017
fixed private mode for roms that support this feature
v2.5 - 26.04.2017
fixed heating on A500G
fixed wifi
re-fixed camera for J5 family
added i/o schedulers back
v2.4 - 25.04.2017
kernel built permissive to avoid some issues
updated ramdisk to latest official fw
added root options in Aroma
added Magisk as root option
removed charging limit for some devices
disabled modules unload
reworked modules implementation,
*now you can switch to any other kernel without wifi or FM Radio issues
reworked knox 0x0 script
revert update to linux 3.10.60 for now
revert add more governors for now
revert add hotplugs for now
revert add i/o schedulers for now
v2.3 - 05.04.2017
fixed camera focus for J series
added support for A500W and A500K
updated to linux 3.10.60
added more governors (alucard/lionfish/barry_allen/intelliactive - these can be unstable-use interactive if you have issues)
added hotplugs (intelliplug/bricked hotplug/alucard/msm_hotplug)
added i/o schedulers (vr/fiops/sioplus/zen) and set FIOPS as default
knox 0x0 - borrowed some things from magisk and from @Bulgaricus
updated powersuspend
ramdisk tune-ups
cpufreq tune-ups
memory/cache tune-ups
v2.2 - 20.02.2017
added support for J5 2015 (J500xx)
added usb fast charge
made cubic tcp default for better net speeds
disabled software CRC for better performance
optimized framebuffer for better performance
added regulator for overclock
undervolted for better battery
lowered safe frequency from 400 to 200mhz
A5S deepsleep fix
added nvidia relaxation patch for better battery
enhance power efficiency
implement fast idling of CPU
reduced high-load and average-load for better battery
enabled arch_power
lowered throttle threeshold and enable it by default
v2.1 - 10.02.2017
Fix FM Radio
Fix OTG for all versions
Fix overheating issues for G
Add support for A3FU
Add SuperSU-v2.79-SR3
v2.0 - 25.01.2017
J500HXXU2BPK4 update - December security patches
Add support for A500H/A500S versions
Add builtin wlan module
Add westwood tcp and make cubic default again
Adreno Idler 1.1, fixed msm_adreno_tz
Add powersuspend
More msm-thermal tweaks
kernel: reduce overheat
Enable multi-core power savings
Add SuperSU SR5 back
Fix Deepsleep for F/G/M
Add 50Mhz and 100Mhz frequencies for low consumption when awake (AOD)
Add dynamic sync 2.0
Add lcd notify
xz: Optimize Sfck Compression
Added Aroma Installer
v1.4 - 22.12.2016
Fixed wifi again for each version
Multitask and battery optimisations + permissive mode enabled
Fix for frequencies not sticking at boot
ramdisk cpu / io / battery tune-ups
Add specific ramdisk for each supported variants
Separate SU from ramdisk
Fixed Kcal (color calibration)
V1.3 - 15.12.2016
add KCAL driver
4sysctl: favor filesystem
GPU OC to 720Mhz
Reverted CPU OC to 1.5Ghz
Fixed wifi for A500G
V1.2 - 11.11.2016
A500FU SuperSU SR3 patch + init.d support
SuperSU SR3 patch + init.d support
Experimental wifi fix
A500FU support
Switch to CUBIC TCP congestion control
arch/arm : compile with hardfloat + neon-vfpv4"
Tune-up for Cortex A53/ARMv8 architecture
V1.0 - 08.11.2016 - initial release
A500GXXU1CPH4 update
OTG and permissive enabling
free-mem optimisations
added SU patched ramdisk
2.07Ghz CPU OC
Enable neon and VFPv3
enable xz compression
Reserved
FAQ:
Q: My wifi is broken after flash. What to do?
A: Flash latest modem available for your device.
Q: Can`t connect to wifi network. What to do?
A: Reboot the phone, reboot the wifi router/ap, make sure you don`t have mac filtering enabled on ap/router.
Q: MAC adress has changed. What to do?
A: There is nothing you can do. That happens because of newer wifi module, built along with kernel, from the latest sources. If you can`t connect see Q2 above. I won`t change back to legacy wifi modules, at least not now.
Q: Device appears as "unauthorized" in adb and notification to authorize doesn`t appear. What to do?
A: Enter developer options, disable usb debugging, wait 30 seconds and re-enable it. Now you should see the notification to allow debugging.
Q: loading
A: loading
One more just in case of need
Deleted.
#Henkate said:
It's nice to see you here.
Click to expand...
Click to collapse
Multumesc!
Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)
My new rom with your kernel is amazing.
Cheers! :highfive:
Thanks @corsicanu ..
I'm using this kernel on my Stock 6.0.1 rom & I must say that this is one of the best kernels for J5.. Its very fast & stable..
Thank You So Much..
---------- Post added at 09:04 AM ---------- Previous post was at 08:59 AM ----------
By Zonik said:
Great .
Fast Kernel, Stable. (First really good kernel for J5)
From the tester to this build your kernel has worked perfectly. (Commenting here your tester)
My new rom with your kernel is amazing.
Cheers! :highfive:
Click to expand...
Click to collapse
Hi @By Zonik ..
Waiting for your rom (v2) bro..
Some q's
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??
does it support skies rom beta ??
corsicanu said:
One more just in case of need
Click to expand...
Click to collapse
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
For me the link doesnt work i just get this:
YuZaGa said:
Fast charge as in fast charge?? Does our present kernels support that, beacause it's pretty slow.
Any plans to follow it up for a non touchwiz based rom??
Click to expand...
Click to collapse
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
Super.Mody said:
does it support skies rom beta ??
Click to expand...
Click to collapse
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
paulo boë said:
For me the link doesnt work i just get this:
Click to expand...
Click to collapse
Just wait more or refresh the page.
Demicro said:
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
Click to expand...
Click to collapse
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Cheers!
Sent from my SM-N930F using Tapatalk
OMG ITS SO SMOOOOOOTTHHHHH. I bearly have any lag:laugh::victory:
Demicro said:
Does the kernel work well with a single processor at the frequency of 50Mhz?
If you set a different GPU frequency to 720Mhz when the GPU is at 100%, is the Max frequency set or rising to 720 ignoring the set frequency? ?
Finally something interesting for the lands of the J5
Click to expand...
Click to collapse
corsicanu said:
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
You can see the GPU frequency in real time by using these commands in Terminal (PC):
Code:
adb shell
cd /sys/devices/soc.0/1c00000.qcom,kgsl-3d0/devfreq/1c00000.qcom,kgsl-3d0
while true; do cat trans_stat; busybox sleep 0.1; done
1) The path may be different.
2) The current GPU frequency is the one with the asterisk.
3) Total transictions means the total switches between GPU frequencies.
Try these commands to confirm that the GPU frequency is stuck at 720.
We can bring the current fast charging also on custom roms or even improve the fast charging to support custom mAh and stuff like that. But forcing a battery to charge faster than it's limit can demage and reduce the battery life drastically so I think we will leave it just like that. Greetings
corsicanu said:
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
Click to expand...
Click to collapse
Skies Rom beta is a Note 7 Port rom .. so it is Grace UX not touchwiz ..
corsicanu said:
I will quote my friend @Bulgaricus for this
...we force supporting devices such as laptops and desktops that have fast charge to provide the quick charger to our phone.
I will see what can be done in the future for non touchwiz.
From what i know Skies Rom is based on touchwiz so it will work. Test and report.
Just wait more or refresh the page.
I added 50Mhz for some certain scenarios, to step down the freq if the load is small - screen on but idle (i have screen timeout set to 10mins), or screen off and awake (for AOD on the roms that have it-my rom for A5). Anyway i have custom script in ramdisk that bypasses stock init.qcom.post_boot.sh and sets custom loads for all the frequencies, so the device can go down even to 50Mhz, but step up if the load is reached, so it doesn't lag at all.
About gpu - from what i saw it sticks to maximum set (i use kernel adiutor).
I mostly cherry-picked features and fixes, even from your j5(6) kernel [emoji16] since all are based on same soc. This project started as personal kernel, permissive with otg enabled (because A series has OTG disabled by Samsung), and after that decided to add more things and make it public.
Click to expand...
Click to collapse
I know, that you have cherry pick from me?
I also found something interesting in your code
Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone
I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
Super.Mody said:
Skies Rom beta is a Note 7 Port rom .. so it is Grace UX not touchwiz ..
Click to expand...
Click to collapse
Grace UX is touchwiz based. Non tw roms are lineage, cyanogenmod, or any other that uses AOSP as base.
Sent from my SM-N930F using Tapatalk
Demicro said:
I know, that you have cherry pick from me?
I also found something interesting in your code
Referring to the intelli thermal, I do not know why faux124 used a different thermal control for the TSEN8974. I found that version 1 gives some errors in the logcat when I boot up the phone
I also started my kernel for personal use, specifically to be able to use viper4 ? I just needed the kernel to be permissive. And now look where the kernel go
Click to expand...
Click to collapse
I removed it from features/changelog since isn`t activated yet. I saw too late in msm8916 defconfig the CONFIG_THERMAL_MONITOR=y so the intelli_thermal isn`t there yet. I can`t even finish the build (lots of errors), and you have errors in logcat ?. You are way far than me. For now i didn`t had time to chase those errors. I`ll look more maybe next week. Anything else interesting in my source? ?
Cheers!

[KERNEL][7.x][LINEAGE/AOSP] Optimus Kernel R3 [POTTER][12/7/17]

OPTIMUS KERNEL​
Hi guys, this is Optimus kernel for Potter. Only necessary features will be added.
This is for Nougat only. Works on Lineage/AOSP Roms. Enjoy!
Code:
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.
FEATURES:
- Updated to latest Motorola & CAF Sources
- Updated to latest upstream (3.18.60) from kernel.org
- Built with custom tailored GCC-5.4.1 toolchain (cortex-a53 neon-vfpv4 hard-float targeted, build with latest Crosstool-NG)
- Makefile: gcc optimizations (03 & VFP hardfloat support)
- Added Fingerprint boost driver
- Added zen,fiops & sio I/O schedulers
- Added Fsync ON/OFF Control
- Added wakelock blocker support
- display: added simple api to query ON/OFF state
- Interactive: reduced timer with screen off
- KCAL control driver
- Added Sound Control driver
- Enabled power efficient workqueues by default
- Added Wake Gestures support
- KGSL & Devfreq patches
- msm: added sysfs node for vibration control
- Disabled CRC check: 30% Performance boost
- Merged upstream ARM,crypto changes
- Updates to zram,zsmalloc,irq etc
- Sched & Cpufreq Tweaks
- Removed some debug and logging options
- Enabled Advanced TCP Congestions
- Lineage Profiles compatibility
- Many more (check github)
How to Flash:
1. Download the kernel and place it into your phone storage
2. Reboot into recovery
3. Install the kernel
4. (optional) Wipe Dalvik/ART Cache and Cache partitions
5. Reboot and enjoy!
You need ROM's default kernel before flashing this as this kernel uses Anykernel2 by @osm0sis (huge thanks to him). Make sure you have it otherwise clean flash the kernel with the rom to avoid any issues.(At least dirty flash rom+kernel)
DOWNLOAD:
GDRIVE
Special thanks to:
vache
flar2
franciscofranco
frap29
GtrCraft
fAiyaZ
The Legacy Team
XDA:DevDB Information
Optimus Kernel, Kernel for the Moto G5 Plus
Contributors
Flashhhh
Source Code: https://github.com/desaishivam26/Optimus_Potter/commits/n7.1
Kernel Special Features:
Version Information
Status: Beta
Created 2017-05-29
Last Updated 2017-07-12
I am still working on the kernel. So if u encounter any bugs pls report with logs.
Little info about Optimus Governor:
Optimus governor is based on conservative governor. It sets the CPU frequencies depending on the current usage.
It differs in behaviour in that it gracefully increases and decreases the CPU speed rather than jumping to max speed
the moment there is any load on the CPU. It tries to stay on minimum frequency as much as possible reducing power
consumption. I have added a tunable OPTIMAL_THRESHOLD. When the load reaches optimal threshold the cpu frequency
increases to preset optimal_freq. You can adjust these parameters using a kernel tweaker app. It also makes use of simple
display state API to query panel ON/OFF operations reducing power consumption during screen off
I recommend using EX kernel Manager or Kernel Adiutor for tweaking kernel parameters if u want to.
Yo will there. Be support for the stock rom?
Are you the same Flashhhh who used to build for Moto G 1st?
@Flashhhh nice job mate!
Amazing ?
Thug level: beyond calculation.
Sarthak Narang said:
Thug level: beyond calculation.
Click to expand...
Click to collapse
I second that.
zeft64 said:
Yo will there. Be support for the stock rom?
Click to expand...
Click to collapse
Maybe. I need testers for stock rom
navaneethkom said:
Are you the same Flashhhh who used to build for Moto G 1st?
Click to expand...
Click to collapse
Yup
I am ready to test for stock rom sir.
You got another stock tester right here
Flashhhh said:
Maybe. I need testers for stock rom
Yup
Click to expand...
Click to collapse
I'll do it!
zeft64 said:
I'll do it!
Click to expand...
Click to collapse
You should try the kernel on stock. I don't see a reason why it shouldn't work. Just backup your stock boot.img. If anything goes wrong u can always restore stock boot.img
Flashhhh said:
You should try the kernel on stock. I don't see a reason why it shouldn't work. Just backup your stock boot.img. If anything goes wrong u can always restore stock boot.img
Click to expand...
Click to collapse
Pause. That's a trap. I've. Tried that before with other kernels. It never works lol
zeft64 said:
Pause. That's a trap. I've. Tried that before with other kernels. It never works lol
Click to expand...
Click to collapse
We are using anykernel method. It doesn't replace boot.img so it should work. Just give it a try. But remember to backup stock boot.img
Flashhhh said:
We are using anykernel method. It doesn't replace boot.img so it should work. Just give it a try. But remember to backup stock boot.img
Click to expand...
Click to collapse
The kernel I'm talking about used the any kernel method as well. I'm talking about extended kernel. Didn't work until I flashed the one the dev made for stock
zeft64 said:
The kernel I'm talking about used the any kernel method as well. I'm talking about extended kernel. Didn't work until I flashed the one the dev made for stock
Click to expand...
Click to collapse
Ok . That wasn't the case for my previous device Osprey. The kernel worked on both custom and stock. I think I'll have to make a separate zip for stock then
Flashhhh said:
Ok . That wasn't the case for my previous device Osprey. The kernel worked on both custom and stock. I think I'll have to make a separate zip for stock then
Click to expand...
Click to collapse
Can you please include Faux sound , headset high performance mode also .?
Thanks for such an awesome work , I'll try your one on stock too to see if it works .
Ohhh yeahhh Flashhhh is here too. I'm in love potter support <3 ...
Man, I tried the kernel, and it is smooth. But with optimus, interactive, conservative, ondemand governors, the frequence goes to high clock (2.0ghz) and it stuck there for hude time, even without using all power, then it goes to Min (0.6ghz) and stuck there for hude time too, even when it is necessary to use high clocks.
aki_007 said:
Can you please include Faux sound , headset high performance mode also .?
Thanks for such an awesome work , I'll try your one on stock too to see if it works .
Click to expand...
Click to collapse
Did it work?

Categories

Resources