yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] Nyks45:
/*
*
* I 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 do some research
* 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.
*
*/

Kernel Features:

-GOVERNORS

ADAPTIVE

BIOSHOCK

CONSERVATIVEX

INTERACTIVE

LAGFREE

LIONHEART

ONDEMAND

PERFORMANCE

POWERSAVE

BARRY ALLEN

USERSPACE

WHEATLEY

ALUCARD

INTERACTIVEX

FRANKENSTEIN

DYNAMIC INTERACTIVE

HOTPLUG

SMARTMAX

LULZACTIVE

DARKNESS

IMPULSE

CYAN

BLUACTIVE

NIGHTMARE

LAZY

PEGASUSQ

INTELLIACTIVE

SMARTASSH3

YANKACTIVE

THESSJACTIVE

SMARTASS2

HOTPLUG

HYBRID

INTEL

HOTPLUGS

AUTOSMP

ALUCARD

INTELLIPLUG

MAKO HOTPLUG

MSM HOTPLUG

ZEN DECISION

-SCHDULERS

NOOP

BFQ

SIO

DEADLINE

CFQ

SIOPLUS

ROW

FIOPS

FIFO

ZEN

VR

TRIPNDROID

-TCP CONG.

BIC

CUBIC

WESTWOOD

HTCP

HSTCP

HYBLA

VEGAS

SCALABLE

LP

VENO

YEAH

ILLINOIS

-OC

-UC

-KSM optimized

-CPU Optimizations

-Built with custom GCC 5.3.1 toolchain

-ZRAM support

-Some Tweaks
​

Kernel Link

https://www.androidfilehost.com/?w=files&flid=57205

OLD builds

https://www.androidfilehost.com/?w=files&flid=62867

XDA:DevDB Information

OctoDex, Kernel for the Asus ZenFone 2

Contributors

Nyks45, say99

Source Code: https://github.com/Nyks45/OctoDex-Kernel

Kernel Special Features: ME :P

Version Information

Status: Stable

Created 2016-05-09

Last Updated 2016-08-19
[ZenFone 2 Android Development] Nyks45:
Reserved

wrongly created that post dunno how to delete :D
[ZenFone 2 Android Development] Nyks45:
one more
[ZenFone 2 Android Development] nazagan:
Nice one, xposed is supported ?

:good:
[ZenFone 2 Android Development] Nyks45:
didin't tried but i think yes
[ZenFone 2 Android Development] gugas123:
Awesome!

I saw that you are going to release an important Beanstalk build :)

Will this kernel be built in Beanstalk or is it compatible to flash?
[ZenFone 2 Android Development] Nyks45:
which one is good u think :)
[ZenFone 2 Android Development] Russiamen:
Nice work
[ZenFone 2 Android Development] GuilhermeXtreme:
Great.

I will download to test, it is running in ROM Bliss 6.3 ??
[ZenFone 2 Android Development] Fishcat7:
Can I install it on AOSP ROM? THANKS
[ZenFone 2 Android Development] EypCnn:
Thanks
[ZenFone 2 Android Development] Nyks45:
didn't tried

yes
[ZenFone 2 Android Development] Ritik17:
Another kernel, wow
[ZenFone 2 Android Development] nicopi:
Great job!
[ZenFone 2 Android Development] sebx_g1:
On Temasek rom latest build kernel works fast... no benchmarks yet, looks promising ?

Wysłane z mojego ASUS_Z00A przy użyciu Tapatalka
[ZenFone 2 Android Development] nazagan:
Automatic rotation is broken on DU.
[ZenFone 2 Android Development] kos4all:
Would like to see Tripndroid scheduler, battery life extender and network tcp algorithms,implemented if possible ? other than that it's running smooth so far [MENTION=6777525]Nyks45[/MENTION]
[ZenFone 2 Android Development] Nyks45:
Aosp not supported yet
[ZenFone 2 Android Development] kos4all:
I'm using the kernel with DU and apart from the rotation everything is incredibly smooth!
[ZenFone 2 Android Development] joseste4:
Thanks I've love this kernel and ROM. This isn't enough to make me switch from the awesomeness this kernel brings lol.

Update : after doing some research. I've found its an asus hardware problem. LCD must be replaced.?

Thank you for speedy response and willingness to help though.
[ZenFone 2 Android Development] ROGFanatics:
Gpu unlocked

Is it really unlock? why is it my current gpu clockspeed runs only 200 mhz? When i turn my cpu governor into performance mode it runs the game smoothly i dont know if the gpu ones responsible for running the games smoothly or the cpu please help
[ZenFone 2 Android Development] Siddk007:
me too experiencing fast battery drain while using LTE
[ZenFone 2 Android Development] Nyks45:
​

weird i'll have to look
[ZenFone 2 Android Development] ROGFanatics:
Update me okay:)
[ZenFone 2 Android Development] Nyks45:
Okay i am updating u :D :D

Veno-M Kernel Updated To V3.0

Fixed Annoying Bugs

For Changelog Look Second Post
[ZenFone 2 Android Development] basdriver62:
[MENTION=6777525]Nyks45[/MENTION], could you possibly compile a build with the Alucard hotplug because I want the new tweaks but I don't want have to use Intelliplug. Here's some benchmarks to prove that the Alucard hotplug is better (the first two are Alucard and the last two are without Intelliplug):
[ZenFone 2 Android Development] taufiqWidi:
Thanks for the nice kernel. I flashed the non-oc version 3.0, but in kernel adiutor frequency table, it shows that 2500Mhz cpu state is used. It wasnt there when i am at v.2.5

Edit: screenshot added
[ZenFone 2 Android Development] ROGFanatics:
Veno m with KVM or non Kvm veno m?

Which is better and stable?

---------- Post added at 02:50 AM ---------- Previous post was at 02:31 AM ----------

Still not changing the freq of the gpu i tried a script but nothing happens
[ZenFone 2 Android Development] Nyks45:
hmm :) let's try that on this version if it is very instable i'll switch ack to alucard

unfortinately i forgot to change default governor

default governor is Perfoemance u will have to change by hand

u should try on games it is changing but not looks like changing

i explained this on second post
[ZenFone 2 Android Development] taufiqWidi:
No. I downloaded the non-oc version, but there is oc cpu speed 2500mhz. In the previous version(2.5), the non-oc version doesnt have 2500mhz cpu clock speed
[ZenFone 2 Android Development] Marteicos:
I've been using veno-m 2.5 kvm OC with Beanstalk 6.17-20160602-Z00a and it was all good.

So I installed the veno-m 3.0 kvm OC and then I get stuck on first boot splash screen. It boots fine with 3.0 non kvm OC.

I'm using Twrp 3.0.2-0.
[ZenFone 2 Android Development] Nyks45:
i think i uploaded wrong zip :)

on new update i'll fix it

to be honest i am not trying all zips :D
[ZenFone 2 Android Development] taufiqWidi:
Ahaha relax.. And thanks for your effort :)
[ZenFone 2 Android Development] zen2fans:
AOSP support?
[ZenFone 2 Android Development] andreayaquil:
Best governor and i/o for you guys what do you think? And OC or non-OC?

I'm currently using InteractiveX and Noop and it's stable and fast so far.
[ZenFone 2 Android Development] miki117:
I'm not sure if this is the normal function of Intelli-plug, but upon tweaking, it looks like either there is only 1 online core, or whatever the number the "CPUs Boosted" is set to. For example, I have it set to 2. There will only be 1 core, then when I scroll or touch the screen, only 2 cores are online. Tried playing some games, 3rd and 4th core isn't going online. If I have set it to 4, all cores goes online when I touch the screen.
[ZenFone 2 Android Development] krasCGQ:
Isn't officially supported. Would break sensors.
[ZenFone 2 Android Development] Shurkesha:
in a subject it is written that "Built with custom GCC 5.3.1 toolchain". but in information on a kernel here that

so after all GCC 5.3.1 or GCC 4.9?
[ZenFone 2 Android Development] Nyks45:
look at the changelog 2.0 u will understand :)
[ZenFone 2 Android Development] Odran:
Can i have gpu clock control with that kernel?
[ZenFone 2 Android Development] Nyks45:
U can change frequency AnD governor

With the new update there will some some fixes AnD surprises ;)
[ZenFone 2 Android Development] Nyks45:
New Kernel updated to 3.5

Sorry i am late but i was trying stock MM it seems i stuck at stock MM no twrp no bootloader opening not even root hope i can return :)

Cause of this some updates can late
[ZenFone 2 Android Development] andreayaquil:
When interactivex is chosen to be the governor, it's fine at first, but when you lock the phone, a cpu will go offline (based on the kernel adiutor) then it will never go online again the whole time. :(
[ZenFone 2 Android Development] maciek90:
Disable the CPU hotplug replacement in Kernel Adiutor
[ZenFone 2 Android Development] andreayaquil:
Already did that, same problem :(

---------- Post added at 08:39 PM ---------- Previous post was at 08:35 PM ----------

Already did that, but same problem exists :(
[ZenFone 2 Android Development] jflow36:
What is the difference between OC and non OC? What does OC stand for?
[ZenFone 2 Android Development] troy5890:
OC stands for overclocking.
[ZenFone 2 Android Development] krasCGQ:
Known issue for our device-tree. It's mentioned on the 2nd post of FlareM thread.
[ZenFone 2 Android Development] nail16:
Can anyone confirm the latest kernel works fine with xosp 6.2? last build of xosp had the weird hotplugging bug. Had to keep minimum 2 cores online.
[ZenFone 2 Android Development] ephexxis:
should be okay. do you have a Windows machine you can adb with? when i was first rooting way back when the official bootloader unlock was bricking people's phones (lol) i at one point somehow corrupted my recovery partition and couldn't even boot into recovery. look for the windows toolkit in the zf2 forums here on xda. i believe it's under the same section as this kernel. you can use it, through adb, to unlock your bootloader, flash twrp, then root, then a rom if you want (among other things) all in one go just with a few clicks.

i honestly dunno how someone could **** up their phone bad enough for that toolkit not to be able to fix it, so long as adb is usable
[ZenFone 2 Android Development] Nyks45:
I've tried too many things and i am keep trying no luck yet but hope jason will find a way :)
[ZenFone 2 Android Development] ephexxis:
it would only take a few minutes to try. i assume you can at least get into fastboot, yeah?
[ZenFone 2 Android Development] Nyks45:
He thing is not reaching the bootloader the thing is locked boooader with MM update all i need is downgrade from MM just one working method or someone can open MM bootloader :D
[ZenFone 2 Android Development] :
Have you tried the official bootloader unlocker from ASUS?
[ZenFone 2 Android Development] miki117:
Hey [MENTION=6777525]Nyks45[/MENTION], i know this isn't pretty much related to your kernel, but if its ok, can I have a link thru pm of where you got your toolchain? I'm trying to create a kernel for experimenting ideas, and I can't get passed some errors which I believe is toolchain related. Tried a lot of stuff to no avail. ?
[ZenFone 2 Android Development] Nyks45:
Okay look at your pm it will come in five min.

and share the error maybe i can help
[ZenFone 2 Android Development] miki117:
Thanks a lot! Let me see if I get the errors with the toolchain. :D
[ZenFone 2 Android Development] texla:
3.5 nonOC is rocking on the new Resurrection Remix. Great mix of performance, standby and battery life even in default settings with just the alucard hot plug turned on.Thanks [MENTION=6777525]Nyks45[/MENTION]!
[ZenFone 2 Android Development] Nyks45:
Happy to hear that :)
[ZenFone 2 Android Development] Luq4dmin:
[MENTION=6777525]Nyks45[/MENTION] , could u please add init.d support for next incoming updates ? So, we wont need to reflash the kernel when we update the rom. I love this kernel so much ! Thanks ?

Sent from my Zenfone 2 (Z008)
[ZenFone 2 Android Development] Nyks45:
I'll look what i can do :)

This Can Be the latest update until asus release their source codes :)
[ZenFone 2 Android Development] Starlike123:
Total noob

Hello,

Sorry for this question (I am a total noob), but how can I get this kernel on my phone, which are the steps I need to follow?

My phone is rooted and I have twrp installed, but it automatically goes to cyanogenmod recovery where flashing the ZIP will cause install failure. I have no clue what to do in order to get this working on my phone, could someone please write me steps to complete. Thanks in advance! :)
[ZenFone 2 Android Development] Nyks45:
No problem :)

Starting from the beginning

Download kernel

Open twrp( 3.0.0.0 recommended)and if cm recovery is opening install twrp again

Then put kernel zip to storage

İnstall zip without anywipe(cleaning cache maybe :) )

Then restart phone it is done hope this helps if u need more help just write
[ZenFone 2 Android Development] Starlike123:
Thank you so much! The problem seemed to be the 3.0.2 twrp, it just did not apply and it automatically went to CM recovery every time, where the install failed. 3.0.0 seemed to work like a charm and now I have the kernel! Thank you again for the fast reply and help! ;)
[ZenFone 2 Android Development] hobie99:
Is the minimum brightness have been set to 2 percent ?
[ZenFone 2 Android Development] Starlike123:
Which options should I use (using Kernel Auditor) for best performance and battery balance. Since I am super new to this kernel stuff and phone tweaking in general, I am having a hard time understanding which option works best for what I wish to do with my phone (for example, which CPU settings are best, which I/O is most suitable, etc.

Thanks in advance!
[ZenFone 2 Android Development] miki117:
Hey [MENTION=6777525]Nyks45[/MENTION], is it possible to add the "cpuquiet" hotplug? It looks pretty cool.

Here's a description:

A hotplug driver by NVidia and ported to Snapdragon by maxwen. Originally made for NVidia tegra SOCs. It has a set of governors which keep the CPU running at optimal frequencies for battery and performance.
[ZenFone 2 Android Development] nijihana:
Can someone help me with cpu governor/io scheduler for battery life, please?
[ZenFone 2 Android Development] EViollet:
Hi.

My current favourite is bluactive with alucard hotplug.

As for IO scheduler, hard to say. Defaults are a good start.

Regards

Envoyé de mon ASUS_Z00A en utilisant Tapatalk
[ZenFone 2 Android Development] Joe JC:
Plz add sound gain option

Thanx in advance
[ZenFone 2 Android Development] nail16:
And now it's time to school yourself... The so called "BEST SETTINGS" depends on your phone usage. either tune fo Battery saving or for Performance, or maybe somewhere in between those. My best will be someone else's worst setup. It's better you learn and then tune according to your usage.

https://android.googlesource.com/ke...7aebe08b/Documentation/cpu-freq/governors.txt

https://android.googlesource.com/ke...7aebe08b/Documentation/cpu-freq/governors.txt
[ZenFone 2 Android Development] krasCGQ:
This reference (and guide) would tell you more :p
[ZenFone 2 Android Development] Joe JC:
Awzm kernel ....... Can u add sound gain patch to the kernel..... Or plz help me to do that
[ZenFone 2 Android Development] Nyks45:
thanks what do u mean with sound gain patch?
[ZenFone 2 Android Development] ephexxis:
install alsa

add alsa.mixer.defaultGain=1.1 (or whatever level you want, 1 is default do not exceed 1.5
[ZenFone 2 Android Development] nevermorenorless:
For anyone wondering I find the darkness governor perfect for our device. Its multi-core aware and lets the cpu do what it feels best for your device. If its not being used I get tons of deep sleep but if im playing a game its very smooth and easy on the battery. This plus fifops as scheduler will please anyone who likes both battery and performance.
[ZenFone 2 Android Development] Joe JC:
I mean add option to get sound gain

---------- Post added at 11:36 AM ---------- Previous post was at 11:30 AM ----------

Thanks in advance

---------- Post added at 11:41 AM ---------- Previous post was at 11:36 AM ----------

Itz not working
[ZenFone 2 Android Development] ephexxis:
did it prompt you for install when you first opened it? if so then it worked fine, you don't use the app for anything except installing it. follow the rest of my instructions
[ZenFone 2 Android Development] Nyks45:
maybe later :) cause i don'thave my own pc

Today Big Kernel Update is Coming with

Latest 3.10.102 kernel

aosp support init.d and more :D
[ZenFone 2 Android Development] Luq4dmin:
Cool dude [emoji106] when can we get it ? [emoji16]

Sent from my Zenfone 2 (Z008)
[ZenFone 2 Android Development] Joe JC:
Yeah it asked me to install

---------- Post added at 02:37 PM ---------- Previous post was at 02:31 PM ----------

Excited to flash new kernel ...... [emoji5]
[ZenFone 2 Android Development] Nyks45:
New Kernel Version 4.0 Uploaded

Look second post For Changelog

This is the last update until asus release their mm sources but i can give little fixes

Happy Flashing :)
[ZenFone 2 Android Development] Joe JC:
Thanks a lot
[ZenFone 2 Android Development] Joe JC:
Yes...... But how to add ..... Where

Am totally amateur in this field..... Sorry if am annoying

---------- Post added at 03:17 PM ---------- Previous post was at 03:16 PM ----------

Yes...... But how to add ..... Where

Am totally amateur in this field..... Sorry if am annoying
[ZenFone 2 Android Development] ephexxis:
lol its cool man, download build prop editor by jrummy in the Play Store and use it to add the line i gave you to your build prop, save and reboot
[ZenFone 2 Android Development] zen2fans:
AOSP support with xposed?
[ZenFone 2 Android Development] Nyks45:
yess
[ZenFone 2 Android Development] RedhNine:
Thermal Throttling

could you add a thermal throttling control to your kernel? zf2 thermal states are like: no heat and no work = 457mhz gpu clock / around 58c = 200mhz gpu clock :(

this phone is great but this throttling is terrible!! stick to the world map at angry birds 2 and you will see lol framerate drops from 60 smooth fps to 25- terrible fps :( :(

so far this is the best kernel I've seen, and there IS btw a kernel with better thermal control for the zf2, but it is for stock firmware.. I would love to see this implemented in this kernel :D
[ZenFone 2 Android Development] miki117:
In addition to above, is it possible to make cores work as individuals rather than pairs? Say was able to implement it in his kernel -- there is potential, but for some reason, it's a bit laggy in games. Maybe unpaired cores in this kernel would work good? Borets was able to implement it pretty well and did great in games, but it is also for stock kernel. Right now, it looks like due to paired cores, the cpu is working somewhat like dual core with HT rather than true quadcores.
[ZenFone 2 Android Development] moore.bryan:
Could someone help clarify the benefits vs. negatives to using the KVM or non-KVM kernels and the OC or non-OC ones?
[ZenFone 2 Android Development] Nyks45:
I'll add a thermal control driver

About GPU i am trying to tweak

U mean better core control?

Oc is overcloxk

Kvm is kernel based virtual machine
[ZenFone 2 Android Development] moore.bryan:
Thanks, but I knew this... I should have been more specific in my post; apologies.

Are there any benefits to KVM vs. non-KVM or OC vs. non-OC?
[ZenFone 2 Android Development] miki117:
Im not sure what to call it. Basically, cpu0 and cpu1 are paired to each other. Cpu2 and cpu3 are paired as well. If, for example, a small load was given to Cpu0, normally, Cpu0 will ramp up to a higher frequency. However, with the current paired setup, both Cpu0 and Cpu1 ramps up at the same time for that small load. Additionally, some apps might be treating our cpus as dual core instead of quadcore. An example would be sd maid--I cant set it up to use 4 threads, maxes out at 2 only.
[ZenFone 2 Android Development] miki117:
Here's a sample screenshot. Though I'm currently using the stock CM13 kernel, your kernel works the same way. You can see CPU0 and CPU1 has the same frequency, and CPU2 and CPU3 is the same as well.
[ZenFone 2 Android Development] Nyks45:
Wuth oc u can use higher cpu frequency than normal if u have 2.3ghz u will be able to use 2.5

With kvm u can use that winfows on zenfone stuff etc.

I have never realized that before but u said boret kernel has what u want i am not sure i can handle but at least i have source try fixing
[ZenFone 2 Android Development] montenell:
Kernel seems to have improved a lot on my phone but Bluetooth playback seems a bit choppy. Any fix or workaround for this
[ZenFone 2 Android Development] nijihana:
Hello, does the newest version work with DU yet? Veno-m is working with Temasek so i'm wondering why it doesn't on DU...
[ZenFone 2 Android Development] RedhNine:
Thanks a LOT!!
[ZenFone 2 Android Development] miki117:
Alright! Well, since it is an experimental feature, take your time. ? there's no problem as well if you dont't want to try it out since your kernel is already awesome. I'd love to try that feature out myself but I still can't get passed a couple of errors when compiling. ?
[ZenFone 2 Android Development] Nyks45:
It does look latest changelog

Which errors
[ZenFone 2 Android Development] mclarence:
Hello,

Each time I set the CPU governer to interactiveX and let the phone sleep the screen won't come on. I have tried to plug the charger in to make the screen turn on but it does not make any difference. The notification light still turns on while charging and when there are notifications. I currently have the ZE550ML model.

Thanks
[ZenFone 2 Android Development] miki117:
I get this one when I try compiling. Upon research, it looks like I'm missing some files, but my GCC version is already up to date, as far as I can tell. Other fixes found didn't work and are specific for other devices and OS.

include/linux/compiler-gcc.h:103:30: fatal error: linux/compiler-gcc5.h: No such file or directory

Here's my GCC version installed. I'm using Ubuntu 16.04

gcc (Ubuntu 5.3.1-14ubuntu2.1) 5.3.1 20160413
[ZenFone 2 Android Development] Nyks45:
Cause u need to add gcc5 compiler file

https://github.com/sayeed99/kernel-FlareM/commit/11748d33e5cee4dab5407a7eb28daf15b6c1e5b6
[ZenFone 2 Android Development] miki117:
Awesome! I did see a couple of similar fixes but didn't work. I'll try this one. Thanks a lot! :D
[ZenFone 2 Android Development] moore.bryan:
Does Veno-M allow multiple governors to be set; i.e., each CPU could have its own governor?
[ZenFone 2 Android Development] ephexxis:
yes using 3c toolbox but it's pretty unstable and the benefits are minimal. you're better off building a tuned cyan, int, lionheart, Wheatley or bluactive build with hotplugging disabled (if you value responsiveness at all)

edit+ how the hell did i forget to list Intel. Intel tuned is in my experience godlike for battery while not being **** at the same time. i expect it has to do with utilization of power clamp as well as our chips DANK voltage controls
[ZenFone 2 Android Development] hobie99:
Anyone playing FF brave exvius ? Wanna know the setting cause mine is a bit lag.
[ZenFone 2 Android Development] sd3993:
Is there any way to force fast charge to 100% instead of stopping at 60?
[ZenFone 2 Android Development] RedhNine:
I don't think that would be healthy or safe, charging lithium-ion batteries is very specific, I mean, it depends on the used chemical elements and specific chemical reactions on the cells... Voltage and current keeps changing between the charging states, which again, are very specific. You can be sure that if fast charging to 100% was safe/healthy to the battery, that would be the default "boost master".
[ZenFone 2 Android Development] machetie:
I thought it stops at 80%
[ZenFone 2 Android Development] RedhNine:
Here it stops at 70% haha