[Kernel][7.1.2][6045][OC][UV]Extreme Kernel 1. [CPU 2.00 GHz][GPU 650 MHz - Onetouch Idol 3 Original Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Read Carefully!
Code:
#include
/*
* Your warranty is now void.
*
* We are 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 ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Kernel Features:
CPU
-Big Core overclocked to 2.00 GHz
-Little Core Overclocked to 1.65 GHz
-Reduced Cpu voltage ceiling
-Mild Undervolt for Heat Reduction
-Reduced Regulator Min Microvolt
Governors
-Lionfish
-Darkness
-Peqasusq
-Barry_allen
-Interactive
-Ondemand
-Userspace
-Powersave
-Perfomance
GPU
-Overclocked to 650 MHZ
Governors:
-Powersave.
-Performance.
-Simple_Ondemand.
-Userspace.
-msm-adreno-tz.
-cpu-freq.
Display
-KCAL included (Use Color Control App for KCAL)
Sound
-Faux Sound Control Support
-THERMAL TAB:
-Core Control
-VDD RESTRICTION.
-Temperature Throttle.
IO SCHEDULERS
-Fiops
-Noop.
-Deadline.
-Row.
-cfq.
OPTIMIZATIONS AND TWEAKS
-Updated to latest caf branch '/LA.BR.1.2.9_rb1.24'
-Fixed dirty Kernel Version
-Optimized Console FrameBuffer for upto 70% increase in Performance
-Reduced CPU Load-Average
-Fixed High-Load Average due to Drivers
-Optimized Integer SQRT. for upto 3x faster operation
-Added support for Controlling Sched. Features
-Network Speed Tweak
-Implemented PowerEfficient WQ for Regulator Core
-Enabled High-Priority WorkQueue for DevFreq
-Entropy Tweaking
-Boot with all 8 cores
-Reduced RQ Lock-Contention for upto 0.7% increase in Performance
-Optimized Task-Search for upto 6% increase in Performance
-Reduced WakeLocks
-Optimized task_sched_runtime for upto 20% increase in Performance
-Tweaked MSM-Thermal
-Disabled CPU L2 Cache during Video Sessions
-Reduced CPU Average-Load drastically
-Disabled CRC-Check upto 30% faster I/O.
MISC CONTROLS:
-Vibration Strength.
-TCP Congestion Algorithm.
Low Memory Killer:
Adaptive Low Memory Killer.
Click to expand...
Click to collapse
Download:
For LineageOS 14.1 (1.1 kernel version) .
Download from Here!
For Resurrection Remix 5.8.3 (Nougat 7.1.2) (Latest )
Download from Here
Installation Steps:
Boot to Twrp
Go to Flash
Flash as image > Boot
Special Thanks:
@Demetris
@FireLord
@Huskied
@Magus
@Nikomccreary
@kal250
@Sinister Drake
@OrphansCode
XDA:DevDB Information
[Kernel][7.1.2][6045][OC][UV]Extreme Kernel for idol3 5.5 [CPU 2.00 GHZ][GPU 650 MHZ], Kernel for the Alcatel Onetouch Idol 3
Contributors
Alek Dev
Source Code:https://github.com/AlekDev1/android_kernel_alcatel_msm8916/tree/cm-14.1-new
Version Information
Status: Stable
Current Stable Version: 1.2
Stable Release Date: 2017-06-17
Created 2017-06-13
Last Updated 2017-09-09

Changelog,Benchmarks and Battery Tests,Recommended Settings
Changelog:
Release 1.1
LineageOS 14.1 Kernel
-Fixed Ril Compactibillity issues with Latest Builds
Resurrection Remix 7.1.2 Kernel
-First Release
Release 1.2
Resurrection Remix 7.1.2 Kernel
-Updated to latest caf branch '/LA.BR.1.2.9_rb1.24'
-Fixed dirty Kernel Version
-Optimized Console FrameBuffer for upto 70% increase in Performance
-Reduced CPU Load-Average
-Fixed High-Load Average due to Drivers
-Optimized Integer SQRT. for upto 3x faster operation
-Added support for Controlling Sched. Features
-Network Speed Tweak
-Implemented PowerEfficient WQ for Regulator Core
-Enabled High-Priority WorkQueue for DevFreq
-Entropy Tweaking
-Boot with all 8 cores
-Reduced RQ Lock-Contention for upto 0.7% increase in Performance
-Optimized Task-Search for upto 6% increase in Performance
-Reduced WakeLocks
-Optimized task_sched_runtime for upto 20% increase in Performance
-Tweaked MSM-Thermal
-Disabled CPU L2 Cache during Video Sessions
-Reduced CPU Average-Load drastically
-Disabled CRC-Check upto 30% faster I/O.
Experimental Settings:
************BATTERY SAVER************
CPU TAB:
BIG:
Max Freq: 800 MHz
Min Freq: 150 MHz
Governor: Darkness.
Little:
Max Freq: 800 MHz
Min Freq: 100 MHz
Governor: Darkness.
GPU TAB:
Max Freq: 465 MHz.
Min Freq: 160 MHz
Governor: Powersave.
IO Sched:
Internal:
Scheduler: Noop.
Read-ahead: 512kb
External:
Scheduler: Noop.
Read-Ahead: 896 kb.
Everything else to Default.
************BALANCED************
CPU TAB:
BIG:
Max Freq: 1651 MHz
Min Freq: 1113 MHz
Governor: Lionfish
Little:
Max Freq: 1497 MHz
Min Freq: 998 MHz
Governor: Lionfish
GPU TAB:
Max Freq: 550 MHz.
Min Freq: 220 MHz
Governor: Simple_ondemand.
IO Sched:
Internal:
Scheduler: fiops.
Read-ahead: 512kb
External:
Scheduler: Noop.
Read-Ahead: 896 kb.
Everything else to Default.
************PERFOMANCE************
CPU TAB:
BIG:
Max Freq: 2000 MHz
Min Freq: 1651 MHz
Governor: Lionfish.
Little:
Max Freq: 1651 MHz
Min Freq: 1209 MHz
Governor: Lionfish
GPU TAB:
Max Freq: 650 MHz.
Min Freq: 310 MHz
Governor: msm-adreno-tz.
IO Sched:
Internal:
Scheduler: fiops.
Read-ahead: 512kb
External:
Scheduler: fiops.
Read-Ahead: 896 kb.
Everything else to Default
Click to expand...
Click to collapse
Benchmarks and Battery Tests:
Benchmark and Battery Test by @Sinister Drakeusing lionfish governor (freq not changed)
Click to expand...
Click to collapse

Details about Custom Governors:
Lionfish
The Lionfish governor combines traits of the conservative, ondemand, and interactive governors. It is designed to maximize battery life without noticeably impacting performance. It responds quickly to heavy loads (similar to ondemand and interactive) while staying within the region of optimal CPU performance per watt. With moderate loads, it periodically votes to raise, maintain, or decrease the frequency. When there are enough votes to change the frequency, it is ramped up and down gradually. The voting mechanism reduces frequency jitter compared to ondemand and conservative. squid2's testing had found that this governor uses moderate frequencies (where efficiency is optimal) more effectively than interactive, ondemand, and conservative. This improved frequency distribution results in a moderate reduction in CPU power consumption while maintaining responsiveness comparable to the interactive governor
Click to expand...
Click to collapse
.
Darkness:
I
t's based on nightmare but more simple and fast, basic configs but very complex structure. It is an updated nightmare gov and improved stability, so far it is quite stable in tests
Click to expand...
Click to collapse
Pegasysq
The Pegasus-q / d is a multi-core based on the Ondemand governor and governor with integrated hot-plugging.
Ongoing processes in the queue, we know that multiple processes can run simultaneously on. These processes are active in an array, which is a field called "Run Queue" queue that is ongoing, with their priority values ​​arranged (priority will be used by the task scheduler, which then decides which process to run next).
Click to expand...
Click to collapse
Barry-Allen
It's based on interactive. The governor is supposed to be more battery friendly and at the same have good performance.
Click to expand...
Click to collapse

Wow, impressive, but i have idol 4 with snapdragon 617. Cant use it but maybe i will switch to idol 3 5.5

Nice!, thanks for the effort.
Will test it soon.
Enviado desde mi GRACE mediante Tapatalk

That's crazy! Just one thing, I'm worried about temperatures cause even on stock kernel it's unpleasant to hold.
I've made a backup of stock lineage kernel, and it is emmc.win file. Should I just rename it to .img or I have to convert it somehow diverent?

Nikola Jovanovic said:
That's crazy! Just one thing, I'm worried about temperatures cause even on stock kernel it's unpleasant to hold.
I've made a backup of stock lineage kernel, and it is emmc.win file. Should I just rename it to .img or I have to convert it somehow diverent?
Click to expand...
Click to collapse
Device will not be hot,i do Undervolt....and you don't need to rename the backup of los kernel

But how to flash the backup I've made in win format ? Twrp can't see it that way..
Sent from my TCL IDOL3 using Tapatalk

Nikola Jovanovic said:
But how to flash the backup I've made in win format ? Twrp can't see it that way..
Sent from my TCL IDOL3 using Tapatalk
Click to expand...
Click to collapse
if you make backup just go to restore...

Alek Dev said:
if you make backup just go to restore...
Click to expand...
Click to collapse
It's blazing fast. But also the phone gets warm even in the pocket I'll try to lower the frequencies but I really like it because of the kcal screen saturation option. Set on 40 and it really makes the screen eye candy.
Thaat's the clutch. Thanks.

New Kernels Version 1.1
For LineageOS 14.1
-Fixed Ril Compactibillity issues with Latest Builds
Download from Here
For Resurrection Remix 7.1.2
-First Release
Download from Here
Also i update the Second post of thread with Some Recommended Settings and Benchmarks,Battery Tests....

Thank you friends bascore

korbu83 said:
Wow, impressive, but i have idol 4 with snapdragon 617. Cant use it but maybe i will switch to idol 3 5.5
Click to expand...
Click to collapse
I would make the switch. The idol 4 is a nice phone but overall has lack of support here at XDA. The Idol 3 overall is a better phone as it is Alcatel's flagship device. Plus there are a lot of people here at XDA that can help with support. We also have a few of us (myself included) that are developing and maintaining ROMs. We are also trying to get on the official support list for LineageOS so we can continue to get security updates for our awesome device.

Little cores don't utilize at all when the big ones work.
Sent from my TCL IDOL3 using Tapatalk

Nikola Jovanovic said:
Little cores don't utilize at all when the big ones work.
Sent from my TCL IDOL3 using Tapatalk
Click to expand...
Click to collapse
What issues did you have?

Too much use of big cores with almost none for of the little ones. I'll post sc
Sent from my TCL IDOL3 using Tapatalk

Can this kernel be used on stock rooted rom? Thank you

zapper_master said:
Can this kernel be used on stock rooted rom? Thank you
Click to expand...
Click to collapse
Nada. Kernel is based on Lineage and RR.

Hey guys I am using this kernel and it's blazing fast but 1 big issue... The battery drain is real! I am currently switching between different countries govenors but still can't find the ideal one for balance and battery life... Please share what govenors ur using and which his best for battery life... Thanks!

gohaaron said:
Hey guys I am using this kernel and it's blazing fast but 1 big issue... The battery drain is real! I am currently switching between different countries govenors but still can't find the ideal one for balance and battery life... Please share what govenors ur using and which his best for battery life... Thanks!
Click to expand...
Click to collapse
i personally use Lionfish or Darkness Governor i get around 4 hrs Sot
Sent from my TCL IDOL3 using Tapatalk

Related

[KERNEL] Overclocked kernel v1.4.0

Based on the newest HTC source code.
Overclocked CPU, added optimized CPU frequency tables with CPU frequencies up to 1836 MHz and L2 cache frequencies up to 1566 MHz.
Increased CPU voltage limits (700 mV - 1400 mV).
Added CPU Voltage Table interface that allows voltage adjustment.
Fixed CPUFreq.
Overclocked GPU, increased maximum GPU frequency in 3D mode from 267 MHz to 320 MHz (300 MHz by default), increased bus bandwidth.
Added USB OTG.
Enabled USB Host.
Added support for different types of USB peripherals: USB Hub, USB mass storage devices (e. g. USB HDD, USB Stick, MP3 player), USB HID devices (e. g. USB mouse, USB keyboard, Wireless mouse or keyboard with USB receiver).
v1.4.0
First release built from kernel source code vigor-ics-crc-3.0.16-d0049f1. Thanks to HTC!
Optimized.
Added higher values to L2 cache frequency tables.
Updated CPU frequency tables.
Fixed ACPU and perflock to allow setting different maximum CPU frequency than highest available.
Fixed issue with changing minimum and maximum CPU frequencies by the system daemons. Replaced thermald.
Extended CPU voltage limits.
Added 300 MHz GPU clock settings.
Increased GPU bus bandwidth in 3D mode.
Modified Adreno220 drivers.
Overclocked GPU in 3D mode to 300 MHz by default, maximum 320 MHz.
Enabled USB OTG.
Added NTFS support.
Added SCSI.
Added USB Host.
Added USB storage and USB storage drivers.
Added USB HID.
Added drivers for USB HID devices.
Added support for zRam swap.
CIFS, SquashFS.
Enabled CPUFreq stat.
Added CPU Voltage Table - interface that allows adjustment of the CPU voltage (thanks to snq-, faux123 and show-p1984).
v1.3.0
Based on new kernel 3.0.16-g480e1b0 (August 3).
v1.20
Based on new kernel 3.0.16-g4a9c8a3 (March 10).
Fixed CPUFreq, mfreq related bug (which caused performance issues).
v1.10
Three kernel variants with different maximum CPU frequency.
First release based on kernel 3.0.16-g837f300.
Modified CPU frequency tables, CPU speed limits and voltage limits.
Modified information about CPU frequency displayed in Hardware information.
CPU Temperature daemon:
thermald v1.0.0 (SebastianFM)
The thermald daemon is a system service which monitors CPU temperature. It turns on the thermal sensor and sets thresholds to the thermal driver. Threshold are defined in file /system/etc/thermald.conf. If temperature reaches threshold, kernel sends notification to userspace. When thermald receives notification, it decreases CPU frequency to avoid CPU overheat.
The stock thermald doesn't work properly because when the CPU temperature drops below threshold, or when mpdecision turns on the second core, it always sets maximum CPU frequency to the highest available frequency.
I wrote my own thermald daemon which works very similiar, but when the CPU temperature is too high, it saves the current maximum CPU frequency and restores it later.
Currently my thermald doesn't parse external config file, it uses predefined thresholds.
Code:
[tsens_tz_sensor0]
sampling 3000
thresholds 75 78 81 84 87
thresholds_clr 72 75 78 81 84
actions cpu cpu cpu cpu cpu
action_info 1296000 1188000 918000 756000 384000
If you include my thermald in your ROM or kernel package, please don't forget give credit to me.
Current downloads:
v1.4.0, link, md5: 6ea612dd76b816e1ef10b5bf637b0d16
Older downloads:
v1.3.0 1728 MHz, link, md5: 3f6ab21ade2972f466baa8bbb80f7ab3
v1.3.0 1782 MHz, link, md5: f40b4578fb3c97f1556c53e926adfeb1
v1.3.0 1836 MHz, link, md5: 982e3fad23402556c48442f218d080b4
v1.20 1728 MHz, link 1, link 2, md5: d451991973bf26db28b6de1dcd1c6250
v1.20 1782 MHz, link 1, link 2, md5: 8051e4a094245ad0bad60b502ea264c9
v1.20 1836 MHz, link 1, link 2, md5: 42ae1d7416d46d68b59000f7c8d2995b
Installation:
This is flashable zip intended for install from recovery.
If your device is S-ON, installation will fail but PH98IMG.zip will be created on SD card. Reboot into bootloader, kernel will be flashed from this file.
OC:
The CPU frequency 1782 MHz should be stable but every device is different.
To increase maximum GPU frequency in 3D mode to 320 MHz:
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Source code:
GitHub
Thanks:
zone23, for testing and for AnTuTu scores, thank you.
con247, my installation scripts are based on con247's work, thanks.
I love you!! i went on your thread on the sensation a couple of weeks ago begging for this kernel and asking how you did this without source and everyone told me how amazing you were, im soo glad to see you on this thread for the rezound. Thank you!
Oh baby this is hot!
zetsumeikuro said:
Oh baby this is hot!
Click to expand...
Click to collapse
Nice choice of words...
Yum
Sent from my ADR6425LVW using XDA App
so im guesing that this will only work on a sense based ics rom correct?
JohnShaft69 said:
so im guesing that this will only work on a sense based ics rom correct?
Click to expand...
Click to collapse
Yup. HTC bases only for this kernel.
this kernel doesnt work. gets stuck at white screen on Joelz Rom, im sure its a easy fix. still hyped over this. especially antutu scores
Easton999GS said:
this kernel doesnt work. gets stuck at white screen on Joelz Rom, im sure its a easy fix. still hyped over this. especially antutu scores
Click to expand...
Click to collapse
I'm on Joelz Rom, not having that issue. Running great for me.
Sent from my ADR6425LVW using xda premium
Works for me, on 4.0.1 with Sense, very smooooooth. Using CPU Master though, and the frequencies I set do not always stick... any suggestions?
TheRedmonian said:
I'm on Joelz Rom, not having that issue. Running great for me.
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
Are you running the latest version of Joel's ROM that he posted last night?
If so, is this running better than the kernel from his ROM?
WizeGuyDezignz said:
Are you running the latest version of Joel's ROM that he posted last night?
If so, is this running better than the kernel from his ROM?
Click to expand...
Click to collapse
Yes and Yes. Much smoother.
Sent from my ADR6425LVW using xda premium
SebastianFM said:
This is hex edited by me, overclocked, stock HTC kernel.
Thanks:
con247 for script and tests.
Click to expand...
Click to collapse
Thanks again for doing this! I tested this on an older version of Tachi91's rom Here (2.x maybe?) for the past few days and it has ran fine and been stable. It should work on any sense ics rom seeing that we dont have kernel source yet and the current ics kernels floating around are either the same are almost the same.
SebastianFM said:
This is hex edited by me, overclocked, stock HTC kernel.
Features:
v 1.00
Unlocked and increased CPU and L2 cache maximum frequency and voltage limit.
Added values to frequency tables for CPU up to 1.728 GHz and for L2 cache up to 1.566 GHz.
Installation:
This is flashable zip intended for install from recovery.
I used con247 Automatic Kernel Installation for S-ON Unlocked Devices, so you can flash this kernel on any ROM.
Download:
1.728 GHz OC kernel 3.0.13-gaf15497-dirty v1.00 md5sum:
Thanks:
con247 for script and tests.
Click to expand...
Click to collapse
Sebastian do you recommend a specific app to manage the OC, governor, I/O scheduler with this Kernel or is it purely self contained?
TheRedmonian said:
Yes and Yes. Much smoother.
Sent from my ADR6425LVW using xda premium
Click to expand...
Click to collapse
Awesome, thanks for the reply!
Are you using SetCPU or anything similar, or just the kernel as is? If you are using an app, what do you have your settings at?
I only ask because I'm running the same ROM as you and would like to duplicate your results!
Thanks!
I can confirm that this works extremely well on newts sense rom. No problems and very smooth
I'm living on a yellow submarine
WizeGuyDezignz said:
Awesome, thanks for the reply!
Are you using SetCPU or anything similar, or just the kernel as is? If you are using an app, what do you have your settings at?
I only ask because I'm running the same ROM as you and would like to duplicate your results!
Thanks!
Click to expand...
Click to collapse
I've been running as is for now.
Sent from my ADR6425LVW using xda premium
Working good for me on Newts senseless. Now all we need is done governors to go with and it will be perfect. Great job!
Sent from my ADR6425LVW
Njenson said:
Working good for me on Newts senseless. Now all we need is done governors to go with and it will be perfect. Great job!
Sent from my ADR6425LVW
Click to expand...
Click to collapse
I believe the governors and I/O scheduler stuff might have to wait until the ICS kernel source is released (at least to make them as effective as possible and backport the latest kernel changes from Linux).
This is orgasmic.
Sent from my ADR6425LVW

[Q] Proper Clockspeed?

I am on the latest milestone 6 rom, and also the latest devil kernal. What is the clockspeed I should set it at, and also which governor works best?
Solidsnake726 said:
I am on the latest milestone 6 rom, and also the latest devil kernal. What is the clockspeed I should set it at, and also which governor works best?
Click to expand...
Click to collapse
I use 1200 MHz cpu speed, 105% liveoc, vr i/o scheduler and lulzactive governor. smooth and stable. though liveoc can be raised
reidandkat said:
I use 1200 MHz cpu speed, 105% liveoc, vr i/o scheduler and lulzactive governor. smooth and stable. though liveoc can be raised
Click to expand...
Click to collapse
how about the battery performance ?

[i9100] ONDEMAND vs PEGASUSQ

I've read that pegasusq should be aware of multi-core CPUs and should be able to deactivate not-needed cores.
But, on SGS2 a lot of people keeps using ondemand. Even CM keeps ondemand as default scheduler.
Is ondemand still better option as maybe it is better to run one core at 200MHz using ondemand then one core at 500MHz using pegasusq... ?
tnttrx said:
I've read that pegasusq should be aware of multi-core CPUs and should be able to deactivate not-needed cores.
But, on SGS2 a lot of people keeps using ondemand. Even CM keeps ondemand as default scheduler.
Is ondemand still better option as maybe it is better to run one core at 200MHz using ondemand then one core at 500MHz using pegasusq... ?
Click to expand...
Click to collapse
This could be helpful.
Please search next time as I just typed "ondemand vs pegasusq" into the search bar.
kilometers4 said:
This could be helpful.
Please search next time as I just typed "ondemand vs pegasusq" into the search bar.
Click to expand...
Click to collapse
thx for pointing out, but in that thread I've just found things that I already mentioned: pegasusq is made for multi-cores and it has integrated hotplug.
unfortunately, I had no chance to find any real-world use comparison of pegasusq and ondemand (or other schedulers) regarding power consumption nor responsiveness.
tnttrx said:
thx for pointing out, but in that thread I've just found things that I already mentioned: pegasusq is made for multi-cores and it has integrated hotplug.
unfortunately, I had no chance to find any real-world use comparison of pegasusq and ondemand (or other schedulers) regarding power consumption nor responsiveness.
Click to expand...
Click to collapse
pegasusq in my opinion is the better governor to use, largely because it can tell if is more than one core and respond accordingly. Pair that with CPU Sleeper Dual Core and you're golden as far as power saving awareness. SIO I hear is the best i/o scheduler to use for power consumption, deadline in my opinion is the best for pure performance however be careful because If you do overload and a process misses a deadline it will hiccup or even freeze.

[Kernel][MDK] AIO kernel TW 5.0.1

This is a work in progress but hopefully I will be able to build this into something worthwhile.
I do not have an mdk device so I am not able to test personally but will definitely listen to all of your input.
Already Loki'd
Selinux is permissive
CPU Governors:
AbyssPlugV2
Alucard
ArterActive
Conservative
ConservativeX
Darkness
IntelliActive
IntelliDemand
IntelliMM
Interactive
Lionheart
Nightmare
Ondemand (DEFAULT)
OndemandPlus
Optimax
PegasusQ
Performance
Smartmax
Wheatley
YankActive
I/O Schedulers:
CFQ (DEFAULT)
Deadline
FIFO (First In First Out)
FIOPS (Fair I/O Operations Per Second)
Noop
SIO
SIOPlus
Tripndroid
VR
Zen
As I said this is a work in progress so there will be more features added as I get time.
Flash at your own risk! I am not responsible for any damages!
NO MIRRORS!
If there is a problem with a link let me know and I will fix it.
Download AIOkernelR3.zip
Added voltage control
Lower clock frequencies added but will not stay when selected.
This will be fixed but will not pose a problem for now.
Older builds:
AIOkernelR2.zip
Added Faux Sound
Now built with Sabermod 4.9
AIOkernelR1.zip
Built with GCC 4.7
Added lots of cpu governors
Added several ioscheds
SeLinux Permissive
HUGE THANKS!!! to:
@stang5litre
@mettee
for testing countless builds for me.
Source:
Github
CPU Governors​Abyssplug:
Abyssplug governor is a modified hotplug governor.
Alucard
A favourite choice and one of the original governors that Alucard_24 made. Alucard is based on ondemand but has been heavily tweaked to bring better battery life and performance. It has been known to be battery friendly without sacrificing much performance.
ArterActive
It is an interactive CPU governor port from newer source code. It has more optimizations for Snapdragon 80x processors.
ConservativeX
Developed by Imoseyon (feat. briefly in the Lean Kernel for Galaxy Nexus), the ConservativeX governor behaves like the Conservative governor with the added benefit of locking the CPU frequency to the lowest interval when the screen is off. This governor may additionally perform hotplugging on CPU1, but there is no documentation to confirm that suspicion at this time.
Darkness
It's based on nightmare but more simple and fast, basic configs but very complex structure. It is an updated version of the nightmare gov, so far it is quite stable in tests
IntelliActive
Based off Google's Interactive governor with the following enhancements:
1. self-boost capability from input drivers (no need for PowerHAL assist)
2. two phase scheduling (idle/busy phases to prevent from jumping directly to max freq
3. Checks for offline cpus and short circuits some unnecessary checks to improve code execution paths. Therefore, it avoids CPU hotplugging.
Created by Faux
IntelliDemand:
Intellidemand aka Intelligent Ondemand from Faux is yet another governor that's based on ondemand. Unlike what some users believe, this governor is not the replacement for OC Daemon (Having different governors for sleep and awake). The original intellidemand behaves differently according to GPU usage. When GPU is really busy (gaming, maps, benchmarking, etc) intellidemand behaves like ondemand. When GPU is 'idling' (or moderately busy), intellidemand limits max frequency to a step depending on frequencies available in your device/kernel for saving battery. This is called browsing mode. We can see some 'traces' of interactive governor here. Frequency scale-up decision is made based on idling time of CPU. Lower idling time (<20%) causes CPU to scale-up from current frequency. Frequency scale-down happens at steps=5% of max frequency. (This parameter is tunable only in conservative, among the popular governors)
To sum up, this is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling, and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such. Intellidemand does not jump to highest frequency when screen is off.
IntelliMM
A rewrite of the old Min Max governor and has 3 cpu states: Idle, UI and Max. Intelliminmax (intellimm) governor is designed to work with the newer SOCs with fixed voltage rails (ie MSM8974+ SOCs). It is designed to work within those fixed voltage ranges in order to maximize battery performance while creating a smooth UI operations. It is battery friendly and spends most of the time at lower frequencies.
Lionheart:
Lionheart is a conservative-based governor which is based on samsung's update3 source.
The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.
Nightmare
A PegasusQ modified, less aggressive and more stable. A good compromise between performance and battery. In addition to the SoD is a prevention because it usually does not hotplug.
OndemandPlus
Ondemandplus is an ondemand and interactive-based governor that has additional power-saving capabilities while maintaining very snappy performance. While the interactive governor provides a modern and sleek framework, the scaling logic has been been re-written completely. Reports have found that users find ondemandplus as a more battery friendly governor. In ondemandplus, the downscaling behavior from ondemand is only very slightly modified. However, the upscaling has been modified to not scale up to maximum frequency immediately.
Optimax
This is based on ONDEMAND, like almost all governors that have arisen from XDA. It contains some enhancements from LG, particularly to freq boost handling so it will boost to a set level, almost like HTC's governor. It has different tunables to the HTC governor but it behaves pretty similar, the tunables it comes with default are a bit more conservative.
It originates from Cl3kener's Uber kernel for Nexus 5, where it has quite a reputation for battery life
PegasusQ
The Pegasusq is a multi-core based on the Ondemand governor and governor with integrated hot-plugging. It is quite stable and has the same battery life as ondemand. Ongoing processes in the queue, we know that multiple processes can run simultaneously on. These processes are active in an array, which is a field called "Run Queue" queue that is ongoing, with their priority values ​​arranged (priority will be used by the task scheduler, which then decides which process to run next).
To ensure that each process has its fair share of resources, each will run for a certain period and will eventually stop and then again placed in the queue until it is your turn again. If a program is terminated, so that others can run the program with the highest priority in the current queue is executed.
Smartmax
Smartmax is a mix between ondemand and smartassv2. It behaves mostly like smartass with the concept of an "ideal" frequency. By default this is configured for battery saving, so this is NOT a gaming or benchmark governor! Additionally, to make it "snappy", smartmax has "touch poke". So input events from the touchscreen will boost the cpu for a specific time to a specific frequency. Developed by XDA user Maxwen.
Wheatley:
in short words this govenor is build on “ondemand” but increases the C4 state time of the CPU and doing so trying to save juice.
YankActive
A slightly modified interactive based governor by Yank555.lu. It has battery tweaks added onto it so expect better battery life! Based on user reports, this governor behaves more battery friendly than the original interactive governor without sacrificing performance.
Post3:
IO Schedulers​IO Scheduler Comparison
Overall performance:
Best<------------------------------------------------------------------------->Worst
FIOPS > Noop > ZEN > Tripndroid > SIO > SIOplus > VR > Deadline > CFQ
Multitasking performance:
Less Apps<------------------------------------------------------------>Many Apps
Noop < FIFO < FIOPS < SIO < SIOplus < Tripndroid < ZEN < Deadline < VR < CFQ
Battery life:
Best<-------------------------------------------------------------------------> Worst
Noop > FIFO > FIOPS > SIO > SIOplus > ZEN > Tripndroid > Deadline > VR > CFQ
CFQ
Completely Fair Queuing scheduler maintains a scalable per-process I/O queue and attempts to distribute the available I/O bandwidth equally among all I/O requests. Each per-process queue contains synchronous requests from processes. Time slice allocated for each queue depends on the priority of the 'parent' process. V2 of CFQ has some fixes which solves process' i/o starvation and some small backward seeks in the hope of improving responsiveness.
Advantages:
Considered to deliver a balanced i/o performance.
Easiest to tune.
Excels on multiprocessor systems.
Best database system performance after deadline.
Disadvantages:
Some users report media scanning takes longest to complete using CFQ. This could be because of the property that since the bandwidth is equally distributed to all i/o operations during boot-up, media scanning is not given any special priority.
Jitter (worst-case-delay) exhibited can sometimes be high, because of the number of tasks competing for the disk.
Deadline
Goal is to minimize I/O latency or starvation of a request. The same is achieved by round robin policy to be fair among multiple I/O requests. Five queues are aggressively used to reorder incoming requests.
Advantages:
Nearly a real time scheduler.
Excels in reducing latency of any given single I/O.
Best scheduler for database access and queries.
Bandwidth requirement of a process - what percentage of CPU it needs, is easily calculated.
Like noop, a good scheduler for solid state/flash drives.
Disadvantages:
When system is overloaded, set of processes that may miss deadline is largely unpredictable.
FIFO (First in First Out):
First in First Out Scheduler. As the name says, it implements a simple priority method based on processing the requests as they come in.
Benefits:
- Serves I/O requests with least number of cpu cycles.
- Is suitable for flash drives because there is no search errors
- Good data throughput on db systems
Disadvantages:
- Reducing the number of CPU cycles corresponds to a simultaneous decline in performance
- Not very good at multitasking
FIOPS (Fair IOPS):
This new I/O scheduler is designed around the following assumptions about Flash-based storage devices: no I/O seek time, read and write I/O cost is usually different from rotating media, time to make a request depends upon the request size, and high through-put and higher IOPS with low-latency. FIOPS (Fair IOPS) ioscheduler tries to fix the gaps in CFQ. It's IOPS based, so it only targets for drive without I/O seek. It's quite similar like CFQ, but the dispatch decision is made according to IOPS instead of slice.
Benefits:
- Achieves high read and write speeds in benchmarks
- Faster app launching time and overall UI experience
- Good battery life
Disadvantages:
- Not very common in most kernels
- Not the most responsive IO scheduler (Can make phone lag)
- Not good at heavy multitasking
Noop
Inserts all the incoming I/O requests to a First In First Out queue and implements request merging. Best used with storage devices that does not depend on mechanical movement to access data (yes, like our flash drives). Advantage here is that flash drives does not require reordering of multiple I/O requests unlike in normal hard drives.
Advantages:
Serves I/O requests with least number of cpu cycles. (Battery friendly?)
Best for flash drives since there is no seeking penalty.
Good throughput on db systems.
Disadvantages:
Reduction in number of cpu cycles used is proportional to drop in performance.
SIO
Simple I/O scheduler aims to keep minimum overhead to achieve low latency to serve I/O requests. No priority quesues concepts, but only basic merging. Sio is a mix between noop & deadline. No reordering or sorting of requests.
Advantages:
Simple, so reliable.
Minimized starvation of requests.
Disadvantages:
Slow random-read speeds on flash drives, compared to other schedulers.
Sequential-read speeds on flash drives also not so good.
Sioplus:
Based on the original SIO scheduler with improvements. Functionality for specifying the starvation of async reads against sync reads; starved write requests counter only counts when there actually are write requests in the queue; fixed a bug).
Benefits:
- Better read and write speeds than previous SIO scheduler
Disadvantages:
- Fluctuations in performance may be observed
- Not found in all kernels
Tripndroid:
A new I/O scheduler based on noop, deadline and vr and meant to have minimal overhead. Made by TripNRaVeR
Benefits:
- Great at IO performance and everyday multitasking
- Well rounded and efficient IO scheduler
- Very responsive I/O scheduler (Compared to FIOPS)
Disadvantages:
- Not found in all kernels
- Performance varies between different devices (Some devices perform really well)
VR
Unlike other schedulers, synchronous and asynchronous requests are not treated separately, instead a deadline is imposed for fairness. The next request to be served is based on it's distance from last request.
Advantages:
May be best for benchmarking because at the peak of it's 'form' VR performs best.
Disadvantages:
Performance fluctuation results in below-average performance at times.
Least reliable/most unstable.
ZEN:
ZEN scheduler is based on the VR Scheduler. It's an FCFS (First come, first serve) based algorithm, but it's not strictly FIFO. ZEN does not do any sorting. It uses deadlines for fairness, and treats synchronous requests with priority over asynchronous ones. Other than that, it's pretty much the same as no-op blended with VR features.
Benefits:
- Well rounded IO Scheduler
- Very efficient IO Scheduler
- More stable than VR, more polished
Disadvantages:
- Performance variability can lead to different results (Only performs well sometimes)
- Not found in all kernels
Reserved
I assume this is the same as included in @stang5litre ROM. Any recommendation of tools to use to change governors?
AliceBToklas said:
I assume this is the same as included in @stang5litre ROM. Any recommendation of tools to use to change governors?
Click to expand...
Click to collapse
Yes it is and I would recommend Kernel Auiditor as that is what I use but any kernel control app should work.
I don't believe I will be adding support for STweaks because it is such an outdated app.
I have read that STweaks has basically been replaced with Synapse.
I am working on more features but they take time.
I will be posting another kernel soon but only have the faux sound added in and I will be using sabermod toolchain now.
I just want to let the users get a feel of it and get you guys opinion and go from there.
Thanks
klabit87 said:
Yes it is and I would recommend Kernel Auiditor as that is what I use but any kernel control app should work.
I don't believe I will be adding support for STweaks because it is such an outdated app.
I have read that STweaks has basically been replaced with Synapse.
I am working on more features but they take time.
I will be posting another kernel soon but only have the faux sound added in and I will be using sabermod toolchain now.
I just want to let the users get a feel of it and get you guys opinion and go from there.
Thanks
Click to expand...
Click to collapse
Thanks. Now that I've gotten the latest ROM install settled I'll install Kernel Auiditor and start to look more at your kernel more. I tend to be a bit conservative with the settings though as I've messed up in the past.
Added AIOKernelR2.
Includes Faux sound and now built with sabermod toolchain.
Tests show it to be more responsive.
klabit87 said:
Added AIOKernelR2.
Includes Faux sound and now built with sabermod toolchain.
Tests show it to be more responsive.
Click to expand...
Click to collapse
Great! Just installed & set up. Busy tonight but will be putting through some paces soon.
Sent from my stang5litre Edition 5.0 using XDA Premium HD app
klabit87 said:
Added AIOKernelR2.
Includes Faux sound and now built with sabermod toolchain.
Tests show it to be more responsive.
Click to expand...
Click to collapse
Is this the Faux sound that the new R2 version supports?
https://play.google.com/store/apps/details?id=com.teamkang.fauxsound
signupstuffid said:
Is this the Faux sound that the new R2 version supports?
https://play.google.com/store/apps/details?id=com.teamkang.fauxsound
Click to expand...
Click to collapse
Yes but from what I understand you don't have to use that app to control it.
You can use others.
I believe the options are there when using kernel aiuditor also.
Has anybody been having any issues with 4g speeds?
klabit87 said:
Yes but from what I understand you don't have to use that app to control it.
You can use others.
I believe the options are there when using kernel aiuditor also.
Click to expand...
Click to collapse
Yes I just looked at kernel aiuditor, and it says it can control Faux sound.
Can I use this kernel on the Phoenix ROM that stang ported?
signupstuffid said:
Yes I just looked at kernel aiuditor, and it says it can control Faux sound.
Can I use this kernel on the Phoenix ROM that stang ported?
Click to expand...
Click to collapse
Yes you should be able to.
Hasn't been tested but I don't see any reason it wouldn't work.
@signupstuffid yes will work with no issues [emoji106] [emoji41]
Sent from my stang5litre Edition 5.0 using Tapatalk
klabit87 said:
Has anybody been having any issues with 4g speeds?
Click to expand...
Click to collapse
Can't say I've noticed anything but will do some tests.
Sent from my stang5litre Edition 5.0 using XDA Premium HD app
stang5litre said:
@signupstuffid yes will work with no issues [emoji106] [emoji41]
Click to expand...
Click to collapse
Working so far on Phoenix. I have used kernel auiditor to adjust faux sound parameters.
AliceBToklas said:
Can't say I've noticed anything but will do some tests.
Sent from my stang5litre Edition 5.0 using XDA Premium HD app
Click to expand...
Click to collapse
Thanks for checking.
signupstuffid said:
Working so far on Phoenix. I have used kernel auiditor to adjust faux sound parameters.
Click to expand...
Click to collapse
And thanks for the confirmation. I knew it should work.
Faux app Works really well. Gonna compare it to kernel auditor. As I just use that for kernel adjustments
Sent from my stang5litre Edition 5.0 using Tapatalk
klabit87 said:
Has anybody been having any issues with 4g speeds?
Click to expand...
Click to collapse
Here are my results this morning. All tests run using Speedtest app against the same server. Using stang's v3. The tests were run consecutively with only the kernel flash/reboot in-between and from exactly the same location.
Results are the average of 2 runs each and all in Mbps. This is also the order in which they were run.
Code:
Kernel Down Up
AIOkernelR2 10.2 12.535
AIOkernelR1 5.985 5.665
Hybridmax 13.94 5.29
Surge 16.815 4.79
Let me know if I can provide any more information or more tests.
AliceBToklas said:
Here are my results this morning. All tests run using Speedtest app against the same server. Using stang's v3. The tests were run consecutively with only the kernel flash/reboot in-between and from exactly the same location.
Results are the average of 2 runs each and all in Mbps. This is also the order in which they were run.
Code:
Kernel Down Up
AIOkernelR2 10.2 12.535
AIOkernelR1 5.985 5.665
Hybridmax 13.94 5.29
Surge 16.815 4.79
Let me know if I can provide any more information or more tests.
Click to expand...
Click to collapse
Thanks. After looking at it myself also I believe the issue I saw was Verizon.
One guy was getting same speeds as I was on my nexus so that rules out the kernel being the problem.
Thanks for your time testing.
Any opinions or suggestions for the next version?
Been looking at overclock, it's just time consuming.

[KERNEL][7.1.1][J51x-J5x] DRAGON v2

DRAGON KERNEL SOURCE PROJECT FOR
J51x AND J5x devices
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Supported devices:
SM-J510FN (High binned)
SM-J500FN (High binned)
SM-J500G (Low binned
SM-J500H (Low binned)
SM-J500M (Low binned)
Features:
CPU governors: blu_active, cultivation, chill, interactive (default), ondemandplus, performance and relaxed
I/O schedulers: bfq, cfq, deadline, fiops, maple (default), noop, sioplus, and zen
CPU hotplugs: AutoSMP
Custom voltage control
Power Efficient workqueues
Backported Zen Interactive tunings from Zen 4.10
WireGuard support
KCAL advanced color control (http://forum.xda-developers.com/andr...ntrol-t3032080)
Fsync on/off support
USB fast charge
State notifier
Compiled with Linaro GCC 4.9.4 toolchain
Features for hight binned produtcs:
CPU frequency up to 1.36 GHz
GPU frequency up to 620 MHz
Various efuse registers
Downloads:
DRAGON-V2
XDA:DevDB Information
DRAGON, Kernel for the Samsung Galaxy J5
Contributors
BulgarianJesus
Source Code: https://github.com/DragO0nFly/android_kernel_samsung_msm8916_j5x-DRAGON
Kernel Special Features:
Version Information
Status: Stable
Created 2018-10-03
Last Updated 2018-10-05
<Mod Edit>
Thread closed
Changelog
V2.1
Toolchain: Switched to Linaro GCC 7.1.3
CPU: unlocked low binned devices and their registers
CPU: overclocked low binned devices up to 1.36 GHz
GPU: unlocked low binned devices and their registers
GPU: unlocked 465 MHz for low binned devices
GPU: Overclocked both low and high binned devices up to 620 MHz
GPU: initial power-up level set at 200 MHz for better battery life
Information
CPU: Binning
Some devices are high binned, meanwhile others are low binned. If your device is high binned, it will boot at 1.36 GHz CPU and 465 MHz GPU default speeds, if this process fails it means your device is low binned and it's not really designed for being overclocked. Even if I stated that FN models are high binned, I found out that some J5F models are also high binned. All this depends on luck actually, my OC is different compared to others! Due to the fact I use the stock Qualcomm values, speed bins and register in order to obtain such type of overclock.
CPU: Overclocking
Overclocking is the increase of clock speed beyond the manufacturer's maximum rated clocks. Since manufacturers are only required to meet the minimum advertised specifications, the potential for overclocking of a product is not typically tested during the binning process. Therefore, it should not be assumed that higher-rated products will overclock better than lower-rated ones. Applying to this, our source code is limited in a really stupid way. The SoC can't switch between speed-bins which allow it to change efuse as well. Having the right efuse and speed-bin, unlock the "default" state of MSM8916 which is 1.36 GHz on CPU and 465 MHz on GPU. Previous methods of OC, just re-write manually the speed-bin to workload as 1.36 GHz without using an efuse or the correct speed-bin.
GPU: Overclocking
Both high binned and low binned devices support maximum frequency up to 620 MHz, with or without an efuse.
BUS: Overclocking
Current bus clock is 595.2 MHz, but it does support a frequency up to 740 MHz
Is it a touchwiz or aosp kernel?
Flegmon said:
Is it a touchwiz or aosp kernel?
Click to expand...
Click to collapse
touchwiz but soon it will be also AOSP I hope
Where is J510F??
Great
Working fine on J510GN :good:
Congratulations for the amazing kernel, my j500F even though low binned seems ultra fast.
Battery usage is also balanced..
Great work dude and Welcome! ??
Best kernel runa greda on j510FN lighting nastane ice cool but how to overxloxk bus oni se kernel auditorium?
works great on my J510GN.
Doesnt lag while gaming.
jscheah said:
works great on my J510GN.
Doesnt lag while gaming.
Click to expand...
Click to collapse
What rom do you use?
Kernel is very good.It's on par with quasar.It matches quasar for gaming and that is something.Games run fast and smooth and framerates are great and sound is superb.The only negative was in memory it benchmarks 2000 less for memory than quasar but matches everything else.Will run it and see how battery is but that is minor to me.Nice work.
RicardoArantes said:
What rom do you use?
Click to expand...
Click to collapse
revenge os
Congratulations for the amazing kernel, my j510fn
I am really glad, you people like it @updesh94 thanks a lot man @Bogdans29 the BUS is already overclocked, it's designed to work at maximum speed with the specific overclock
deleted
Keep up the great work ??
jscheah said:
revenge os
Click to expand...
Click to collapse
Do you have the 3.0 link?
Battery is amazing doesn"t run at stupid high frequencies when not necessary and the battery usage is truly amazing hardly any percentage drop with phone apps been running 5 hours and 3 hours deep sleep incredible.This is better than quasar.The memory benchmark the only difference but phone can deal with that.You have the best nougat TW kernel Bulgarian Jesus.Congratulations superb work.

Categories

Resources