yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] ak:
Good news, under testing:

Project name: AK KERNEL

anarkia1976 - Kernel Version: AK.012.OP2.OXYGEN

anarkia1976 - ak_OnePlus2_defconfig: enable ADRENO_IDLER

yank555-lu - Introduce Adreno idler for devfreq-based Adreno devices v1.1 by Park Ju Hyung (arter97)

anarkia1976 - ak_OnePlus2_defconfig: enable POWERSUSPEND

yank555-lu - kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.7 (faux123/Yank555.lu)

yank555-lu - kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.7 (faux123/Yank555.lu)

yank555-lu - kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.6 (faux123/Yank555.lu)

yank555-lu - kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.5 (faux123/Yank555.lu)

andip71 - cpufreq: hardlimit for min/max cpu frequencies

Adreno idler is very good for control spike related to GPU. :fingers-crossed:
[OnePlus 2 Original Android Development] chh:
[MENTION=3685904]ak[/MENTION] I just stumbled upon this:

https://forums.oneplus.net/threads/a-closer-look-at-the-oneplus-2-processor.378017/

Don't know if this if of any value regarding sysctl_thermal_aware_scheduling, but it might point you in the right direction.

Cheers!
[OnePlus 2 Original Android Development] ak:
i have read this doc, but there aren't specific technical infos. :crying:

thanks a lot for info.
[OnePlus 2 Original Android Development] pookybear:
I flashed back to stock kernel using ak's stock kernel zip and now I have no WiFi. Any ideas how to get it back without dirty flashing the whole 2.1 stock oxygen ROM?
[OnePlus 2 Original Android Development] yarpiin:
had the same :/ havent found no other option only flash stock rom :( - you should do nand backup before flash
[OnePlus 2 Original Android Development] morback:
Same here, I had the problem each time I flashed stock kernel. No differences with the zip provided by AK on his website and the boot.img file extracted from the flashable OOS 2.1 zip.

I tried to flash another kernel after (sandykernel, just to test its famous quick charge function, but honestly the kernel is so unstable it doesn't worth it) and same problem, no wifi.

To fix it, reflash AK or flash OOS full zip.
[OnePlus 2 Original Android Development] yarpiin:
well honestly i haven noticed that sanys kernel is unstable ;) it was my daily runner since begining and havent had any major issues with it ;) kernel is fine would say that mainly it is a users apps that causes the problems not kernels but it is not the thread to talk about other kernels :)
[OnePlus 2 Original Android Development] morback:
Exactly, ? I know it's stable now, but it really slows the phone during long minutes on boot...
[OnePlus 2 Original Android Development] xxBrun0xx:
Just so people don't get confused, because apparently people are, quick charge means it charges at the same current when plugged into a PC as it does when plugged into a wall. This will NOT make your phone charge faster or slower when plugged into the wall.

On topic: been running latest cm kernel since 10/3 on exodus, no issues. No radio issues, no offscreen gesture issues, kcal works great, speaker is loud and clear, buttery smooth, and battery is better than stock exodus. Not sure how others are having issues, but this release is very solid. If you need any logs from someone who has everything working, let me know! Thanks for your hard work, AK!
[OnePlus 2 Original Android Development] ak:
Gaming time, very fluid with the new kernel

\m/

Oneplus2
[OnePlus 2 Original Android Development] mauaus:
011 has been awesome for me, have you been playing on this version of cooking up some more goodies?
[OnePlus 2 Original Android Development] ak:
More goodies to come! :silly: stay tuned.
[OnePlus 2 Original Android Development] My Public:
Fluid yes, but it's a clean Diesel?

;)
[OnePlus 2 Original Android Development] enr88:
Can you take a look into Impulse governor, it seems promising about battery backup.

Keep up the good work

Inviato dal mio ONE A2003 utilizzando Tapatalk
[OnePlus 2 Original Android Development] return.of.octobot:
This likely won't be relevant for much longer, as the very intriguing AK.012+ appears to be on the horizon, but as I saw a few pages back that yarpiin had modded AK.011.OP2.OXYGEN to allow for frequency tuning of both the A57 & A53 clusters within Synapse, I've done the same for the CM variant:

Available here for anyone that may be interested

Minor alteration to the CPU json, other than that, nothing has been tampered with.
[OnePlus 2 Original Android Development] rweddy1:
no access to CPU Frequency Scaling

Any idea why I would be unable to set CPU Frequency Scaling with Synapse?

I was able to on 005 but I flashed 011 and now do not have access.

I am on Oxygen 2.1 if that matters.

Cheers,

-RE
[OnePlus 2 Original Android Development] istampal:
Try Kernel auditor.
[OnePlus 2 Original Android Development] rweddy1:
Works on Kernel auditor... pro/cons for this over Synapse

Thanks!

-RE
[OnePlus 2 Original Android Development] return.of.octobot:
Synapse currently allows frequency control for the A57 cores, Kernel Adiutor will allow you to set both, however no matter which you use you will encounter an issue in which regardless of what you set the A53 minimum at, it will boost to 1344 in response to touch input. I suspect this is why the option is currently disabled in Synapse for the time being

However, if you look at my last post on the previous page for CM, or yarpiin's post on page 65 for Oxygen, you will find modified versions of AK.011 with frequency controls enabled in UKM for both clusters.
[OnePlus 2 Original Android Development] ak:
Will be inside and fixed into the new release. :good:
[OnePlus 2 Original Android Development] xxwaterbirdx:
need help configuring it with Synapse, I'm not that good at this. Anyone can help me?
[OnePlus 2 Original Android Development] Alin CG:
don't touch anything in Synapse.. that's the best configuration ?
[OnePlus 2 Original Android Development] xxwaterbirdx:
I think there's a need to touch it to improve battery life
[OnePlus 2 Original Android Development] ak:
Follow the AK profile thread.
[OnePlus 2 Original Android Development] xxwaterbirdx:
too much to find bro
[OnePlus 2 Original Android Development] ebanreb37:
Then learn to read?
[OnePlus 2 Original Android Development] xxwaterbirdx:
have fun reading 69 pages then?
[OnePlus 2 Original Android Development] ebanreb37:
Yep, i would if i have to but i dont have to. Hahahaha.
[OnePlus 2 Original Android Development] ak:
into OP you can find the info. :cool:
[OnePlus 2 Original Android Development] return.of.octobot:
The laziness is unreal.
[OnePlus 2 Original Android Development] poondog:
Ak threads are the best lol
[OnePlus 2 Original Android Development] CounterC:
[MENTION=3685904]ak[/MENTION] do you know what these wake locks are? They are kernel related and eating my battery.
[OnePlus 2 Original Android Development] xxwaterbirdx:
the phone gets overheated easily.. changing back to stock kernel
[OnePlus 2 Original Android Development] rockafellor:
You just don't have any clue. #rip

Kernel makes the device cold as ice with stock settings.
[OnePlus 2 Original Android Development] xxwaterbirdx:
clue?what do you mean by clue?

---------- Post added at 01:58 PM ---------- Previous post was at 01:55 PM ----------

Im just browsing web with this kernel and it goes overheated easily+ quite often?
[OnePlus 2 Original Android Development] pookybear:
Mine doesn't overheat anymore because of this kernel.

[MENTION=977036]waterbird[/MENTION]

Your probably forgot to turn the settings on using KA?
[OnePlus 2 Original Android Development] ak:
this post is unnecessary, please stand only if you have a valid reason, otherwise refrain from gratuitous comments.
[OnePlus 2 Original Android Development] tofuboi01:
On stock kernel, the phone overheats and becomes unbearable to hold! But on AK kernel, the phone just gets warm. This is from playing hours of dragonball z dokkan battle!

Your choice though.
[OnePlus 2 Original Android Development] mauaus:
I am a heavy user and this Kernel does NOT overheat the phone, if anything it runns a LOT less hot than stock. Keep up the good work AK :D
[OnePlus 2 Original Android Development] saadramiz:
+1 and also the long battery life! OP2 is now all that I expected it to be!

♥ AK
[OnePlus 2 Original Android Development] daavid1995:
v 011 works great, thanks AK for your hard work, I am so hyped for every new release :D

Gesendet von meinem ONE A2001 mit Tapatalk
[OnePlus 2 Original Android Development] return.of.octobot:
Bullsh*t with the overheating comments. My phone hardly ever exceeds 35°C since I've been running AK. I feel like the majority of people complaining about heating issues don't actually know what it means to overheat, warm to the touch does ≠ heating issues, but these days it's hardly even doing that.
[OnePlus 2 Original Android Development] dunstan92:
I get this error when I enter into AK kernel. Is this normal? It says device not supported. I'm running on stock oxygen os.did a dirty reflash of oxygen os, Install akkernel for oxygen, synapse and AK kernel app
[OnePlus 2 Original Android Development] return.of.octobot:
Yes...it's normal, the AK Updater app is not currently supporting OP2 kernels.
[OnePlus 2 Original Android Development] rweddy1:
Tasker not working

Hello all, Tasker is not working on v011 anyone else run into this issue?

-RE
[OnePlus 2 Original Android Development] Ferranza:
I'm using macro droid. No issues

Inviato dal mio ONE A2003 utilizzando Tapatalk
[OnePlus 2 Original Android Development] vwfreak2001:
No issues with Tasker and v11 here.

Gesendet von meinem ONE A2003 mit Tapatalk
[OnePlus 2 Original Android Development] benji667:
a propper features list would be swell just saying. i used this before on my opo but i cant compare dif kernels with this layout
[OnePlus 2 Original Android Development] rweddy1:
Sorry my fault... working fine...
[OnePlus 2 Original Android Development] bigballa:
Anyone have a quick pros cons on how this compares to Boeffla? I flashes v11 and have been using it completely stock. Haven't even downloaded anything to control kernel. Just like the out of box experience with this kernel
[OnePlus 2 Original Android Development] Stylo King:
You are asking to compare 2 different kernels that too in a kernel development thread, Please don't ask these type of questions again.

Everyone work very hard here, No one competes with another.

If you want to compare, you can try other kernels.. I myself tried Boeffla kernel and it was as good as ak kernel because I know the hard work behind these 2 projects as I tested these 2 kernels before release and I know how much difficulties these 2 have faced to implement features to the kernel and still working on it day and night.

Hope you get your answer buddy.
[OnePlus 2 Original Android Development] bigballa:
Yeah my bad for asking in the wrong thread. Forgot what thread I was in for a second (I should know better). Thanks for your reply. It helped.
[OnePlus 2 Original Android Development] ak:
new kernel is ready and under testing .... stay tuned! :silly:
[OnePlus 2 Original Android Development] v7:
I guess it's v.015 ;) :silly:

Tapped from my ❶+❷ ;)
[OnePlus 2 Original Android Development] Mehul.S:
Waiting..
[OnePlus 2 Original Android Development] ak:
Probably tonight or tomorrow! :fingers-crossed:
[OnePlus 2 Original Android Development] Addicteddddd:
Im not sure if this is part of the kernel or the OS, but is OTG working properly in this?

If it is part of the kernel, I'm on stock OxygenOS + kernel atm, and can't get anything working via OTG :( want to connect some joysticks and quadcopter flight controllers!

Thanks :]
[OnePlus 2 Original Android Development] v7:
Do you have the original Oneplus OTG Adapter?Only the original adapter is compatible.
[OnePlus 2 Original Android Development] Addicteddddd:
I have one coming in the post on the slowboat from china - with this it should then work? :)
[OnePlus 2 Original Android Development] v7:
Is it the original OTG adapter from OnePlus?Then it should work.
[OnePlus 2 Original Android Development] Addicteddddd:
It is/should be yes :)

Ok thanks :]
[OnePlus 2 Original Android Development] tofuboi01:
I have a generic eBay micro usb otg adapter and using the type c adapter and works fine.
[OnePlus 2 Original Android Development] matrix.bharath:
Any new feature highlights? like charger control or sound control?

TIA.. waiting to test the new release.. till now this is the best kernel for OP2.
[OnePlus 2 Original Android Development] return.of.octobot:
I imagine the adreno idler controls are going to be the focal point, anything beyond that will be a pleasant surprise.
[OnePlus 2 Original Android Development] vviskari:
Does anyone else have an issue with wikipedia app? I'm running exodus ROM with ak11.

Wikipedia app is causing the a57 cores to run on full throttle. CPU usage is around 15-20%.

Could this be AK or exodus issue?
[OnePlus 2 Original Android Development] ak:
The problem is related to application, is it optimized for 64bit arch?
[OnePlus 2 Original Android Development] ebanreb37:
Patiently waiting for the update :)))
[OnePlus 2 Original Android Development] return.of.octobot:
AK.013 is online!
[OnePlus 2 Original Android Development] ak:
new kernel online

[ AK KERNEL - v.013 ]

A kernel based on Oxygen/CM branch.

Download: AK.013.OP2.OXYGEN

Download: AK.013.OP2.CM

[ SMALL CHANGELOG ]

merged latest cm12.1 patches

updated UKM for support all new features

gpu adreno idler driver

mix/max freq hard limit

enabled support for proprietary hotplug driver

ecc ecc

[ FULL CHANGELOG ]

Project name: AK KERNEL

anarkia1976 - ukm: cleaned hotplug stuffs, added state notifier

anarkia1976 - anykernel2: remove old dtbToolCM

anarkia1976 - anykernel2: added zipexclude.lst

anarkia1976 - ukm: fix cpuset and re-enable hotplug

anarkia1976 - anykernel2: added core_ctl hotplug driver

anarkia1976 - ukm: adjust cpu governor tunables

anarkia1976 - ukm: added hard limit for min/max cpufreq

Project name: AK KERNEL

anarkia1976 - Kernel Version: AK.0013.OP2.CM

anarkia1976 - ak-oneplus2-build: fix binary operator expected

anarkia1976 - ak_OnePlus2_defconfig: enable ADRENO_IDLER

arter97 - devfreq: Introduce Adreno idler for devfreq-based devices

anarkia1976 - ak_OnePlus2_defconfig: enable STATE_NOTIFIER

anarkia1976 - state_notifier: added related track into mdss events

anarkia1976 - state_notifier: added new driver for on/off operations

anarkia1976 - ak-oneplus2-build: big update and clean

andip71 - module: make an exception in module loading to load proprietary core_ctl module

andip71 - cpu: Keep CPU cores 0 and 4 always on

andip71 - cpufreq: hardlimit for min/max cpu frequencies

Willi Ye - input: fpc1020: Use global nav switch variable

Willi Ye - input: Rewrite disable keys on screen off logic

Project name: AK KERNEL

anarkia1976 - Kernel Version: AK.013.OP2.OXYGEN

anarkia1976 - ak-oneplus2-build: fix binary operator expected

anarkia1976 - ak_OnePlus2_defconfig: enable ADRENO_IDLER

arter97 - devfreq: Introduce Adreno idler for devfreq-based devices

anarkia1976 - ak_OnePlus2_defconfig: enable STATE_NOTIFIER

anarkia1976 - state_notifier: added related track into mdss events

anarkia1976 - state_notifier: added new driver for on/off operations

anarkia1976 - Kernel Version: AK.012.OP2.OXYGEN

anarkia1976 - ak-oneplus2-build: big update and clean

andip71 - module: make an exception in module loading to load proprietary core_ctl module

andip71 - cpu: Keep CPU cores 0 and 4 always on

andip71 - cpufreq: hardlimit for min/max cpu frequencies

​
[OnePlus 2 Original Android Development] ebanreb37:
View attachment 3502687

I dont see any options for hotplugging, have i done something wrong? Or should ijust flash the rom then flash ak kernel again. Thanks
[OnePlus 2 Original Android Development] krxz:
Phone doesn't boot for me on latest exodus 10/10. stuck st 1+ logo
[OnePlus 2 Original Android Development] Naman Bhalla:
[MENTION=3685904]ak[/MENTION] Very very sorry to say but the phone sticks at 1+ logo with AK 013 CM on Tipsy OS. Doesn't boot at all... I tried all combinations, clean flash Tipsy + AK also didn't work. If you need any help in debugging, I am here to help you out.

Thanks.
[OnePlus 2 Original Android Development] avinashadvani:
Oh oh lucky I see the two posts, how is the kernel updated do I just flash the 13 version and reboot.

Or need to install the ROM and then 13 update
[OnePlus 2 Original Android Development] MrJukeHardbane:
Just dirty flash the kernel and reboot. No need to wipe anything.
[OnePlus 2 Original Android Development] ak:
Oki, I know where is the problem. Fix Is ready.... Give me 10 mins.

\m/

Oneplus2
[OnePlus 2 Original Android Development] Florie1706:
I am stuck on the 1+ logo as well @ Grarak's CM12.1 20151003 release

Edit: Oh 1 minute too late :D thanks @ak, I wait for your update, great work anyway :D
[OnePlus 2 Original Android Development] spencer24:
Boots up for me v13 using oxygen. Thanks very much @ak
[OnePlus 2 Original Android Development] ak:
CM version is fixed, re-download it please. Sorry. :silly:
[OnePlus 2 Original Android Development] Florie1706:
It is working now :D thanks
[OnePlus 2 Original Android Development] ak:
Hotplug is a proprietary driver so you can't control it.

\m/

Oneplus2
[OnePlus 2 Original Android Development] ak:
For compensate hotplug lags we can tune cpuboost.. This is an example:

\m/

Oneplus2
[OnePlus 2 Original Android Development] hewlett2008:
Wow...fast as hell...thx
[OnePlus 2 Original Android Development] tofuboi01:
So far, my phone runs cool and smooth like the opo did! Doesn't get warm from basic usage!

Oneplus stock kernel can never match up!
[OnePlus 2 Original Android Development] morback:
9W050555MH084934S

Have a beer (or two)
[OnePlus 2 Original Android Development] ak:
Thanks a lot! :victory:

i like beer and metal \m/ ....
[OnePlus 2 Original Android Development] ak:
There is a driver called msm_performance with it we can control freqs for single cpus and hotplug work. So i want to add support into the next release.

these are the sysfs path if anyone want to exp with it:

/sys/module/msm_performance/parameters

echo 0:960000 1:960000 2:960000 3:960000 4:960000 5:960000 6:960000 7:960000 > /sys/module/msm_performance/parameters/cpu_min_freq

-rw-r--r-- root root 4096 2015-10-03 11:56 cpu_max_freq
-rw-r--r-- root root 4096 2015-10-03 12:01 cpu_min_freq
-rw-r--r-- root root 4096 2015-10-03 12:01 io_enter_cycles
-rw-r--r-- root root 4096 2015-10-03 12:01 io_exit_cycles
-rw-r--r-- root root 4096 2015-10-03 12:01 iowait_ceiling_pct
-rw-r--r-- root root 4096 2015-10-03 12:01 iowait_floor_pct
-rw-r--r-- root root 4096 2015-10-03 12:03 managed_cpus
-r--r--r-- root root 4096 2015-10-03 12:01 managed_online_cpus
-rw-r--r-- root root 4096 2015-10-03 12:01 max_cpus
-rw-r--r-- root root 4096 2015-10-03 12:01 multi_enter_cycles
-rw-r--r-- root root 4096 2015-10-03 12:01 multi_exit_cycles
-rw-r--r-- root root 4096 2015-10-03 12:03 num_clusters
-rw-r--r-- root root 4096 2015-10-03 12:01 pcpu_multi_enter_load
-rw-r--r-- root root 4096 2015-10-03 12:01 pcpu_multi_exit_load
-rw-r--r-- root root 4096 2015-10-03 12:01 single_enter_cycles
-rw-r--r-- root root 4096 2015-10-03 12:01 single_enter_load
-rw-r--r-- root root 4096 2015-10-03 12:01 single_exit_cycles
-rw-r--r-- root root 4096 2015-10-03 12:01 single_exit_load
-rw-r--r-- root root 4096 2015-10-03 12:01 workload_detect
[OnePlus 2 Original Android Development] Naman Bhalla:
Wooohooooo ... Running it since an hour... Perfect in all sense. Synapse also working fine. My oneplus2 is Tipsy with AK now..... ;) LOL
[OnePlus 2 Original Android Development] RISHI RAJ:
Should I turn this option on?
[OnePlus 2 Original Android Development] Naman Bhalla:
Yes... I recommend using Adreno Idler.
[OnePlus 2 Original Android Development] Mehul.S:
I can't find any such option in my GPU settings.. What should I do??

Sent from my ONE A2003
[OnePlus 2 Original Android Development] Naman Bhalla:
Lol.. To be frank I also was astonished to see that option in his GPU settings. Though I don't use KA ever on AK so don't know...

Try Synapse... That option will be there for sure, atleast it is there for me.
[OnePlus 2 Original Android Development] xxwaterbirdx:
Decided to try the latest version, feel its smoother than stock kernel. But for oxygenOS, I can't turn off my phone while charging, it will stuck at the logo all the time.
[OnePlus 2 Original Android Development] ak:
this is a bootloader problem.
[OnePlus 2 Original Android Development] xxwaterbirdx:
so are there anyways to fix it?
[OnePlus 2 Original Android Development] nirmalkurienmathews:
[IMG="Synapse A57 Cluster-SSeekBar has failed!"]http://i.imgur.com/XkZ0j4w.png[/IMG]

I'm getting error on A57 Cluster. Is this normal?

"SSeekBar has failed:

java.lang.NumberFormatException: Invalid in:""
[OnePlus 2 Original Android Development] ak:
You can send a bug report to oxygen forum.

\m/

Oneplus2
[OnePlus 2 Original Android Development] ak:
Go to recovery and reinstall the kernel.

\m/

Oneplus2
[OnePlus 2 Original Android Development] kramer987:
updated from v11 to v13. no issues. flashed stock 2.1 oxygenOS flashed stock kernel. flashed ak v13. wiped dalvik and cache. flashed su. flashed exposed . rebooted. all is well.
[OnePlus 2 Original Android Development] spencer24:
Been on v13 with no tuning at all and got these results. Thanks very much @ak
[OnePlus 2 Original Android Development] Dude_Virus:
AK

I dont think this is a bootloader problem or even an OS issue. Even i faced the same issue after flashing kernel v 13 . While plugged in I powered off the phone it did the poweroff sequence but instead of the usual screen coming where it shows the battery charging icon, it kept vibrating and rebooting on the 1+ logo. It that vibrate sequence for 10 times post which it stopped vibrating and then displayed the battery charging icon. Thinking it might be a glitch or a first poweroff after flash effect I tried again and it is the same situation however the second time it vibrated and boot looped on that logo for 20 times before stopping and displaying the battery charging icon.

Steps I tried

Reflashed 13 again and the same issue persists.

Reflashed 13 again and cleared all caches but the same issue persists.

Thought it might be something due to KA hence cleared all data from KA and rebooted and installed Synapse. (btw synapse gives me the same error which one user got of the seekbar has failed )

No changes done in synapse and then tried powering off but the same issue, vibration count and boot loop on the logo is random.

Also if the phone is powered off and if you connect the charger it does the same one plus logo boot loop and vibrations and unless you remove the charger you cant even long press the power button to boot it up.

This issue was not there on 11 so i reverted to 11 and no issues at all. it powers off fine and goes to the battery charging screen.

Now doing a fresh install of the rom with stock and then will directly flash 13 on it to check if the same issue occurs.

Can any other user try it, way to reproduce it is to keep you charger plugged in to charge the battery. Then power off the phone from the menu and let it power off. Also if the phone is powered off and if you connect the charger it does the same one plus logo boot loop and vibrations and unless you remove the charger you cant even long press the power button to boot it up.

---------- Post added at 07:36 AM ---------- Previous post was at 07:35 AM ----------

Did you get this resolved, i reflashed but no luck.
[OnePlus 2 Original Android Development] spencer24:
I'm on v 13 ox 2.1 and powered down while plugged in and it was fine got a battery charging symbol no vibration or loop