yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 General] Stylo King:
This thread is created for all the discussion related to AK Kernel , So I urge everyone not to clutter the original development thread and post your queries here. Feel free to share your profiles in this thread.

AK Kernel Official Thread - Click Here

AK Kernel Official Website - Click Here

Big Thanks to [MENTION=3685904]ak[/MENTION] for all the hard work he has done for the AK KERNEL.

Instructions for How to Backup and Restore a profile in Synapse Click Here

OP Updated : 17 Nov, 2015

[MENTION=6307803]Stylo King[/MENTION]'s ElementalX V1 : Click Here

[MENTION=2986335]mamba720027[/MENTION]'s Impulse V1 : Click Here

[MENTION=2443085]umair9001[/MENTION]'s Optimized Profile : Click Here​
[OnePlus 2 General] Stylo King:
#Reserved 1
[OnePlus 2 General] Stylo King:
#Reserved 2
[OnePlus 2 General] Stylo King:
#Reserved 3
[OnePlus 2 General] v7:
Thanks a lot [MENTION=6307803]Stylo King[/MENTION]! Was waiting for this ;)

Greets [MENTION=3685904]ak[/MENTION] :)

Tapped from my ❶+❷ ;)
[OnePlus 2 General] ak:
@Stylo King

very good very good! :silly:
[OnePlus 2 General] yousuf.shareef:
Can I make the cores offline for battery saving or the kernel settings will do that according to need?? If I made them offline it does effect the performance but I dont think it will effect normal usage.
[OnePlus 2 General] Stylo King:
Not now, but it will be implemented later now.. for now the kernel is based on stock kernel without any additional governors hotplugs or any tunable.. few things are there but synapse is not yet fully compatible.. AK is working on it.
[OnePlus 2 General] Deacon-Frost:
Ok, thanks for explanation. Because synapse (and ak updater) is still showing an error that my device is not supported (using latest ak kernel).
[OnePlus 2 General] anees167:
Kcal doesn't seem to do anything on ak 04 kernel on synapse app.....
[OnePlus 2 General] nirmik379kale:
it does for me! atleast i think so! my colors did get more saturation when i increased it from synapse!
[OnePlus 2 General] njain2686:
My battery life has gone down since installing AK.

Is it b'cos all the eight cores are running instead of the stock 6.

How is everybody's battery life?
[OnePlus 2 General] ripv2:
My battery life has been shaky, but I will give it a full cycle after installing the latest AK kernel. I will share my battery stats later tonight when I get out of work.

Cheers,
[OnePlus 2 General] bartjeh1991:
One thing keeps me wondering. What do you people think is the best settings for kcal??
[OnePlus 2 General] njain2686:
when I flashed stock 2.1.0 kernel( found on AK website) over AK kernel , my wifi refuses to turn on.

I tried wiping my cache, dalvik cache but to no avail.

returned to AK kernel, wifi started working again.
[OnePlus 2 General] emam damon:
yes i have this problem too.
[OnePlus 2 General] v7:
Replace the WiFi modules with the stock ones or dirty flash stock ROM.

Tapped from my ❶+❷ ;)
[OnePlus 2 General] agodo:
waiting for some profiles :)
[OnePlus 2 General] Dude_Virus:
i read both the threads however didnt get any information pertaining to the below questions that i have. Can someone please provide information if they have tested it.

1. I have modified screen dpi on stock to 300. will this kernel allow doing that?

2. does this kernel have an option to increase the sound on the device. the sound on the OPT is very low. I tried modding the xml file but no difference.
[OnePlus 2 General] ca110475:
1. sure, you can always change dpi editing file build. prop, regardless of kernel you use

2. not at this time. i would advice to try Viper4Android, i didn't try it yet on OP2 but was a happy user of it on Nexus5

Tapatalked via OnePlus²
[OnePlus 2 General] krxz:
Had the same. Reflashed rom and kernel. Now I only can't se frequencies
[OnePlus 2 General] hunhool:
Latest ak on exodus rom
[OnePlus 2 General] MrJukeHardbane:
I know that AK Kernel Updater app is not working currently and I am on v.008 right now. To update i just need to dirty flash the new version or first dirty flash Stock Kernel and then dirty flash AK? Little confused.
[OnePlus 2 General] krxz:
Just flash new kernel. No need to clear cache or something like that
[OnePlus 2 General] mauaus:
Yep, this is where im at right now, no frequencies but no error yet...
[OnePlus 2 General] Stylo King:
Wait for some time, [MENTION=3685904]ak[/MENTION] knows this issue.. He will fix all the errors in synapse soon.

But please just don't mention your issues like that.

Do Mention your rom, Kernel version (CM/Oxygen), Xposed or not etc etc.
[OnePlus 2 General] Dude_Virus:
If you a referring to kernel auditor not showing the frequencies or the cpu tab then i am facing this since the build 5 . i have narrowed it down to kernel auditor not getting proper root. So to resolve i always remove kernel auditor root permissions. then force stop kernel auditor, clear cache and data for it . reboot phone and then regrant it root. The same method has worked always.

Btw this is not kernel related, i faced the same issue with kernel auditor with Sandy kernel which i tried for the faux sound. All kernels tried on a clean wipe of all partitions and reflash of oxygen 2.1
[OnePlus 2 General] Hetalk:
Synapse does partially work for me. I did not test all settings, but changing cpu max for a57 did work.

This is for people who are unable to get it to work.

I'm on oxygenos 2.1 with AK 011
[OnePlus 2 General] ak:
the erro is clear, you don't have the directories.

do you have installed root and busybox?

please uninstall all others kernel apps, go to recovery dirty reflash rom + latest ak and then reboot.

---------- Post added at 06:20 ---------- Previous post was at 06:16 ----------

flash the new kernel from recovery, that's all, if you don't have installed other dev kernels before.
[OnePlus 2 General] mauaus:
Thanks ak, i am properly rooted and have busy box. Also have reflashed as instructed, kernel auditor is now fine but synapse does not show frequencies no matter what i do.
[OnePlus 2 General] ak:
please remove kernel auditor.

can you check if you have these paths:

/sys/devices/system/cpu/cpu0/cpufreq
/sys/devices/system/cpu/cpu4/cpufreq

-r--r--r-- root root 4096 1970-02-02 04:47 affected_cpus
-r-------- root root 4096 1970-02-02 04:47 cpuinfo_cur_freq
-r--r--r-- root root 4096 1970-02-02 04:47 cpuinfo_max_freq
-r--r--r-- root root 4096 1970-02-02 04:47 cpuinfo_min_freq
-r--r--r-- root root 4096 1970-02-02 04:47 cpuinfo_transition_latency
drwxr-xr-x root root 2015-10-03 09:47 interactive
-r--r--r-- root root 4096 1970-02-02 04:47 related_cpus
-r--r--r-- root root 4096 1970-02-02 04:47 scaling_available_frequencies
-r--r--r-- root root 4096 1970-02-02 04:47 scaling_available_governors
-r--r--r-- root root 4096 1970-02-02 04:47 scaling_cur_freq
-r--r--r-- root root 4096 1970-02-02 04:47 scaling_driver
-rw-r--r-- root root 4096 2015-10-03 09:47 scaling_governor
-rw-rw---- system system 4096 1970-02-02 04:47 scaling_max_freq
-rw-rw-r-- system system 4096 2015-10-03 09:47 scaling_min_freq
-rw-r--r-- root root 4096 1970-02-02 04:47 scaling_setspeed
drwxr-xr-x root root 1970-02-02 04:47 stats
[OnePlus 2 General] krxz:
Weird thing for me: when i open cpu tab in synapse. I can only change cpu freq for A57. Also it's max freq is 960MHz. When I try ro change it snaps back to 960. I have the above mentioned files
[OnePlus 2 General] hunhool:
Synapse still not working here.

Just made a clean install,wiped system/data/cache/dalvik

flashed latest exodus+ opengapps,rebooted,made the initial setup,then booted into twrp,flashed latest ak+ukm= Device not supported :(
[OnePlus 2 General] ak:
Strange. Post device infos from build.prop

\m/

Oneplus2
[OnePlus 2 General] hunhool:
Do you want me to attach the full build.prop?
[OnePlus 2 General] Hetalk:
Please see this post to get info he's looking for. :good:
[OnePlus 2 General] socialdistortion:
Taking the .11 kernel for a spin. The phone is definitely snappier compared to stock.

And look [emoji1]
[OnePlus 2 General] M3ntoR:
ok guys, quick question. How to flash xposed on this kernel ?
[OnePlus 2 General] Hetalk:
I don't think xposed has anything to do with kernels.

Just do what you'd normally do, as recommended on whatever ROM you're running.
[OnePlus 2 General] juniordistefano:
Battery is working better after v11 update

5 hr of screen
[OnePlus 2 General] 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 stock 2.1 oxygenos ROM?
[OnePlus 2 General] oneplus+:
lol i have same problem, just reflash full ROM 2.1 - Oxygen 2.1.0 or reflash AK Kernel will back..... wifi !! ....
[OnePlus 2 General] hunhool:
well.don't know what should I say...
[MENTION=3685904]ak[/MENTION] tried with my terminal emulator app on my phone. after type adb shell got error:no device found.
[OnePlus 2 General] Hetalk:
You dont need to type adb shell if you're doing it on the phone.

Just do a "su", then grant permissions and run the command.
[OnePlus 2 General] hunhool:
[MENTION=3685904]ak[/MENTION] this is what I got after typing the commans:
[OnePlus 2 General] ak:
So the problem isn't kernel side... Very strange have you try to remove synapse + reflash kernel + reboot.

\m/

Oneplus2
[OnePlus 2 General] hunhool:
Yes,I uninstalled synapse,then booted in twrp and flashed ukm uninstaller.

It is actually more interesting now...just made a clean install of OxygenOs+ak+ukm with the same result :( [MENTION=3685904]ak[/MENTION] I know you are really busy right now, but I would be really happy, if you, or anyone else could give me some advice about this issue.
[OnePlus 2 General] ak:
you dont have to install "UKM" because it's inside the kernel zip.

go to recovery: dirty flash rom + ak kernel + reboot
[OnePlus 2 General] hunhool:
Whohohoooo, maaan it finally works!!

Thanks for your help!!

\m/ https://youtu.be/I8Cln8jJrQY \m/
[OnePlus 2 General] M3ntoR:
This kernel is amazing AK! One hour of playing SW:KOTOR with controller connected via bluetooth. Battery 86% from 95%!

AMAZING ! 5.50h on screen !
[OnePlus 2 General] ak:
\m/

[YOUTUBE]fbLFA1CKj7Q[/YOUTUBE]

---------- Post added at 09:26 ---------- Previous post was at 09:26 ----------

New kernel is ready ... under testing :silly:

---------- Post added at 09:28 ---------- Previous post was at 09:26 ----------

\m/

Oneplus2
[OnePlus 2 General] whslogin:
in the case of play 3D game, how to set?
[OnePlus 2 General] ddogishere:
Guys what's the best settings for great battery life and performance on ox 2.10? Thanks
[OnePlus 2 General] v7:
For now,stock settings will do :)
[OnePlus 2 General] Dude_Virus:
I am using interactive for cpu for both big and little with CPU boost enabled.

IO scheduler as bfq with 2048 value

GPU is on powersave

no lags and performance is good, battery life with normal use is 2 days.

with greenify it lasted almost 3 days on normal use with all syncing enabled.

screen on time I reached max was 7 hours with greenify enabled, without it 5+.

I even tried with CPU and gpu both on performance governor and didn't find much dip on battery life.

you can try those settings
[OnePlus 2 General] x.Orville.x:
Hi what kernel i need to download i am on oxygen rom 2.1
[OnePlus 2 General] Dude_Virus:
The one which is for oxygen os , filename specifies it.
[OnePlus 2 General] dunstan92:
Are you on xposed or just use greenify in its own?
[OnePlus 2 General] Dude_Virus:
I am using xposed since I have other modules also.
[OnePlus 2 General] juniordistefano:
hey guys , frist of all , thanks Ak for this amazing kernel!

i am a ppsspp gamer and i see a lot of lag . i need synapse settings for the best performance . someone can show me something?
[OnePlus 2 General] Stylo King:
Switch to performance cpu governor and enable gpu boost in synapse..Works fluidly with every graphic intensive game, Not sure about the PPSSPP games.
[OnePlus 2 General] MrJukeHardbane:
v.013 working perfectly fine on Oxygen. AK Kernel Updater app is fixed too. So far device is as fluid and cool as it should be.
[OnePlus 2 General] ak:
I don't have lags with asphalt, can you verify temp throttling?

\m/

Oneplus2
[OnePlus 2 General] ddogishere:
Hello buddy can you give step by step I can't seem to find interactive and others. Thanks.

---------- Post added at 10:26 AM ---------- Previous post was at 09:55 AM ----------

It will be easier if you give screenshot of your settings. Thanks.
[OnePlus 2 General] juniordistefano:
I didn't touch it I guess

What I have to verify? [IMG="https://mega.nz/#!AYshmIbR!tJurHem2kU18F0fR23kU1eJiuWqoe3ReUvprPd-jkjg"]http://https://mega.nz/#!AYshmIbR!tJurHem2kU18F0fR23kU1eJiuWqoe3ReUvprPd-jkjg[/IMG]
[OnePlus 2 General] pgravili:
I try too!
[OnePlus 2 General] agodo:
Hi, i got tired of synapse and I'm noob at kernel adiutor. I changed all as you said in the screenshots, but the cpu part it doesn't let me change any value. I run ak013 op2 oxygen thanks
[OnePlus 2 General] Dude_Virus:
i have not yet flashed 13 , wil do it in a few minutes and can check if i have the same issue.

Update:

I flashed 13 and i am able to edit the values in the CPU tab, but i am facing an issue wherein 2 cores under BIG are offline and even when i am trying to bring them online they dont come online. Core 1 and 4 are showing online but Core 2 and 3 are offline. Under LITTLE all cores are online and are showing proper frequencies.
[OnePlus 2 General] pgravili:
Me too
[OnePlus 2 General] ak:
this isn't a issue, it's a normal operation. Cores come online when needed, for now you can't control it because are part of a closed source code.

If you want all online at the same time comment this driver:

under /system/lib/modules

mv core_ctl.ko core_ctl.ko.bck

reboot

---------- Post added at 07:08 ---------- Previous post was at 07:07 ----------

adb shell

while true;do dmesg -c;sleep 1;done

check if you have thermal mitigation.

please can you use hastebin for logs?

thanks
[OnePlus 2 General] M3ntoR:
Use synapse guys....that was told so many times

Wysłane z iPhone za pomocą Tapatalk
[OnePlus 2 General] socialdistortion:
The minimum GPU frequency is 180. Is that normal. And the current GPU frequency keeps oscillating between 27 and 180 while the phone is idle.
[OnePlus 2 General] Dude_Virus:
Synapse also has values missing.

---------- Post added at 12:01 PM ---------- Previous post was at 11:58 AM ----------
[OnePlus 2 General] yousuf.shareef:
Can I just flash the kernel directly (Everything is stock and just foot) of dirty flashing of rom is required!?
[OnePlus 2 General] Hetalk:
If you're on stock and havent been using a custom kernel, you can just flash the kernel and reboot without wiping anything
[OnePlus 2 General] yousuf.shareef:
Ok thanks :good:
[OnePlus 2 General] oneplus+:
sd810 have problem with temperature. normal lag ever, so will have no lag while the chipset low temperature.

- i play need for speed 20min....and start antutu score only 35k.... camera open super lag, sd810 too bad with fail calc...
[OnePlus 2 General] Dude_Virus:
So I posted this question in the wrong thread. Reposting it here so someone has more insight on it.

I see a difference in options and values seen in KA vs Synapse

1. In KA under cpu boost the maximum value for all cores listed is 1766 and I can select all the way upto 1766 mhz on all the cores whereas in Synapse the max it shows is 1555 for the CPU boost for all the cores.

2. Under misc control KA shows additional tweak of vibration strength which came since v11 of ak kernel whereas Synapse shows only tcp. I don't find the vibration strength anywhere in synapse.

3. Hotplug as well as the CPU load options are not there in KA whereas they are in synapse. I know for sure it is not the app issue as when I tried Sandy kernel I was able to see the intelluplug option in KA.

Which one to use to get all the proper values, can we use both KA and Synapse ? By that I mean applying certain settings from synapse and the missing from KA or anyway to merge ?
[OnePlus 2 General] unrated87:
I'm so happy with the 013 kernel now.

Got a with the 011 kernel massive fps and heat problems while playing Kingdom Rush and I was nearly unable to hold the OPT in my hands. But with the 013 kernel you can barely feel a litte bit warmness on the edges.

Such an awesome update! thank you [mention]ak[/mention]
[OnePlus 2 General] Stylo King:
Use only Synapse for utilising all the kernel features. We were using Kernel Adiutor till when synapse was not fully compatible, but now it does.

So use synapse and never use more than 1 app to control the kernel.
[OnePlus 2 General] rodcpierce:
waiting for a bad ass Stylo profile for this beast. Ended my day today on the V13 kernel with just over 5 hours SOT. 98% of that was on LTE. I know soon you guys will have us getting 6+ hours just like the OPO ;)
[OnePlus 2 General] dahndahnbo:
Yes we are Waiting too for more of options just like on the OPO

Juste to say a great thanks to AK for her great Workd and don't forget also Stylo King for her assistance and patientes hère in the forum with other users

Keep up your good work

Ciao
[OnePlus 2 General] ak:
\m/

Oneplus2
[OnePlus 2 General] dahndahnbo:
I have not the vibration too on Synapse any think to do to solve this matter, maybe re flache Kernel ?? What do you Suggest ?
[OnePlus 2 General] ak:
It's normal will be in the next release.

\m/

Oneplus2
[OnePlus 2 General] juniordistefano:
sorry i don´t know what are u talking about

me lo puoi spiegare in italiano ?
[OnePlus 2 General] ak:
i don't, it's not permitted. run antutu and your cores will come all online.
[OnePlus 2 General] juniordistefano:
yes , it have a underclock for the temperature. and that is the reason for the lag in games. how we can stop it?

---------- Post added at 08:08 PM ---------- Previous post was at 08:07 PM ----------

ok thanks!
[OnePlus 2 General] juniordistefano:
What can i do to disable thermal mitigation?
[OnePlus 2 General] M3ntoR:
You better do nothing. Its not throtling so bad. Games runs smooth after decrease of clocks

Wysłane z mojego ONE A2001 przy użyciu Tapatalka
[OnePlus 2 General] Dude_Virus:
I understand i cant use two apps as it will cause a conflict hence i had asked if there is a way to merge the setting. I know we were using KA until synapse was functional however my concern here is the different values each is displaying. Correct me if i am wrong but as per my understanding these apps read the kernel information and the settings from some file in the kernel, so if that is the case then my concern is that how is it that 2 apps can get different information.

I can use synapse and there is no problem with that, the only thing i was curious is how is it that when KA is showing max frequency as 1766, synapse only shows 1555 as max. Also if KA is showing the vibrations strength slider to configure, synapse doesn't. If the app is reading this data from the kernel then why the discrepancy and if it indeed is reading from the kernel then how can i make synapse read those values which KA sees.
[OnePlus 2 General] Stylo King:
It all depends on the UKM that is baked in the kernel that makes synapse different from others.

Its simple, the vibration settings is present in the kernel but may not be in the UKM and as [MENTION=3685904]ak[/MENTION] mentioned earlier, this will be fixed in next release.

And for your 2nd question, I don't have this problem. Synapse is showing 1555 MHz for A53 core and 1766 MHz for A57 core.
[OnePlus 2 General] Dude_Virus:
I am not referring to the max value for each core. I am referring to the CPU boost value for the 8 cores. There synapse shows 1555 max whereas KA gives 1766 do all the 8.
[OnePlus 2 General] Stylo King:
But you can't boost all CPUs to 1766 as 4 cores only go max upto 1555 MHz.

And Yeah this is what I said, Synapse reflects what you inject in the UKM. Let [MENTION=3685904]ak[/MENTION] give time, he will rectify this issue (Not a major issue though) and wait for the next update.
[OnePlus 2 General] pgravili:
I do not understand what is the need to choose Synapse. I think Kernel Adiutor is much more complete. What is the difference between the two in favor of Synapse?
[OnePlus 2 General] Stylo King:
Synapse is much more powerful, Kernel Adiutor is a common app to control kernels but Synapse works as the developer wants because of UKM and it differs kernel by kernel.

I guess you haven't used AK kernel on OnePlus one, Everyone uses synapse there too.

Wait for some time to implement [MENTION=3685904]ak[/MENTION] all the important things into UKM and see the power of synapse,and after that profiles will come all the way for Synapse, Biggest Advantage.
[OnePlus 2 General] rodcpierce:
Synapse ftw
[OnePlus 2 General] ak:
you need synapse because we have implemented a different solution for freqs control ... so you can't use third party app.

if you want send a request to app developer:

/sys/devices/system/cpu/cpu0/cpufreq
-rw-rw-r-- root root 4096 2015-10-12 12:02 scaling_max_freq_hardlimit
-rw-rw-r-- root root 4096 2015-10-12 12:02 scaling_min_freq_hardlimit

/sys/devices/system/cpu/cpu4/cpufreq
-rw-rw-r-- root root 4096 2015-10-12 12:02 scaling_max_freq_hardlimit
-rw-rw-r-- root root 4096 2015-10-12 12:02 scaling_min_freq_hardlimit
[OnePlus 2 General] morback:
Hi

Simple (even dumb?) question here

Is it normal that synapse doesn't boot automatically when phone boots? I have to launch it then tap on the cross to apply my kcal profile each reboot.

I didn't block it with bootmanager.
[OnePlus 2 General] rodcpierce:
It takes I believe two consecutive boots without an error then it will load your settings each time.
[OnePlus 2 General] ak:
Untick safe check under app.
[OnePlus 2 General] morback:
I already did this, no change. It's not a big problem though, I will soon do a full wipe/new install anyway.

Thanks for answer!
[OnePlus 2 General] ak:
if you have a personal settings i can insert it into the profiles dir of kcal. :good:
[OnePlus 2 General] M3ntoR:
I have a problem that when I export my profile with some settings, when I try to import them I've got the file type error...any help ? ;)
[OnePlus 2 General] morback:
Thanks for proposal, but it's Deep Natural profile with no changes.
[OnePlus 2 General] _Kosmas_:
Good evening,

thanks for a great kernel [MENTION=3475639]ak.[/MENTION] Great Battery life and really good performance :good:.
[OnePlus 2 General] morback:
My bad, I accidentally had activated 'fastboot' (block all user applications on boot) mode with bootmanager...

Problem solved, sry?
[OnePlus 2 General] mrfantastic:
So im having a really weird issue. All of a sudden my OPT is slow charging using the official charger, not sure if its kernel related but its reading estimated 4hrs to go from 38% to full. Charged fine last night. Weirdly as well my OPO is doing the same thing when i used synapse on the OPO it was charging at 500ma or lower, suspecting the same thing with the OPT. Any ideas how to fix this. Would a battery calibration help, apologize if this is in the wrong section. Not sure if its a kernel related issue or not.
[OnePlus 2 General] ak:
Not kernel related. You don't need calibration. Control your cable.
[OnePlus 2 General] duminduweera:
Can someone please tell me how to save modified kernel settings as a profile/config on synapse, I've been wanting to do this for a long time, but cant find it at all.

I know it seems trivial enough, but never found a way to do this :(

I have already searched everywhere on how to do this, but without any luck
[OnePlus 2 General] mrdoubleb:
Last tab in synapse (profile)
[OnePlus 2 General] duminduweera:
I have tried that earlier, but now it seems to work.

I feel like a idiot now, Thanx for the reply :)
[OnePlus 2 General] mazello87:
Can i just dirty flash this kernel to my current setup or is clean install required?
[OnePlus 2 General] M3ntoR:
Find out by Yourself here ;)

http://xdaforums.com/oneplus-2/orig-development/kernel-ak-t3208617
[OnePlus 2 General] csekebenji:
Good phone
[OnePlus 2 General] _Kosmas_:
Me again ;) , I posted a screenshot with 68k Antutu Benchmark and said something about real good Battery backup...... Btw with GApps (Open GApps pico), AK v.013, SlimLP.