yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] johnb380:
Ak304 is the one you want friend.

But the kernel isn't the issue its your Rom has the old commits for sound and the kernel has the new commits. So you see you need to move to a Rom that has the new commits that match the kernel commits the Rom is the problem not the kernel. The kernel isn't going to go backwards its only gonna move forwards.
[ONE Original Android Development] ajnabeedost:
Thanks a ton for your reply !! AK 304 has fixed the issue :D

:highfive:
[ONE Original Android Development] svnhvn:
So, still have your music while waiting for 311 right?
[ONE Original Android Development] ajnabeedost:
Yepp !! :cowboy: thanks to the prompt response :victory:

I'm new to all this !! n m loving it ! :cyclops:
[ONE Original Android Development] atulclassic:
Being new to the forum, idk which version should i install for stock YOG4PAS1N0 LMY48B?
[ONE Original Android Development] gianton:
Check here.
[ONE Original Android Development] Adrian312:
Guys, which ROM are you using with AK's CAF kernel? Being told that AOSParadox Project is not compatible. I am Currently with Euphoria.
[ONE Original Android Development] dev0lver:
Temasek rom, caf edition, and I am more then happy with it
[ONE Original Android Development] m4soN:
Hey guys,

i just flashed AK 13 for OP2 oxygen without whipeing dalvik/cache or anything else, just flashed the one zip file with twrp. Since than, my battery is draining like hell. What could cause this problem?
[ONE Original Android Development] Stylo King:
Post in this OP2 AK kernel thread not here, This thread is for bacon only.
[ONE Original Android Development] m4soN:
Oh sorry, just used the xda link from the official ak kernel homepage :( my bad
[ONE Original Android Development] anagramgenius:
After flashing this kernel, (after build 300) when I play any audio or video, I cannot hear any sound. But notification and ring tone play normally. Anyone facing same issue?
[ONE Original Android Development] ak:
Search into the thread "v310 recompiled" or upgrade your rom. :good:
[ONE Original Android Development] plantator:
Hek [MENTION=3685904]ak[/MENTION] there will be next updates for 5.1.1 kernel or you waiting for6.0 code to work on it? Just asking for future of kernel;)
[ONE Original Android Development] ak:
There aren't update for old kernels 5.1.1 so for now i don't have nothing to fix and nothing to merge.

I have a plan for new 6.0 when an official nightly ROM will be out.
[ONE Original Android Development] nikhil18:
Hello ak Is it possible to modify the caf kernel with some extra commits to be compatible with aosp 6.0 ROM thanks
[ONE Original Android Development] :
Is it so difficult to post in right threads?

http://xdaforums.com/showthread.php?t=3189886
[ONE Original Android Development] Allan_Hun:
Post moved, please delete
[ONE Original Android Development] Stylo King:
1.) Search for 268 in this thread.

2.) Post your question here.
[ONE Original Android Development] Rhazi3l:
Unable to download kernel, AK site appears to be down. AK update can't reach it either. Any alternative links?
[ONE Original Android Development] phoenixita:
Is this a joke? Read the OP.

Kernel Mirrors:

Download: Link - Thanks a lot [MENTION=4319459]LookedPath[/MENTION]

Download: Link - Thanks a lot [MENTION=4468696]funCrash93[/MENTION]

Download: Link - Thanks a lot [MENTION=4969143]DominiCOne[/MENTION]

Download: Link - Thanks a lot [MENTION=2714876]bombadier[/MENTION]

Download: Link - Thanks a lot [MENTION=5953052]alebcay[/MENTION]

5 mirrors.
[ONE Original Android Development] Rhazi3l:
No, not a joke. Site is down indeed but didn't notice the alternative links. My bad
[ONE Original Android Development] ssaransh:
Great work on this kernel! :D

I was just wondering, does anyone here know about this 63 Hz refresh rate issue? Apparently, bacon's display runs at 63 Hz, which is non standard and causes stuttering in several games which run at 60 fps. Examples: Crossy Road, Weseewe.

Is there anything that could be done to solve this problem of tiny microstutters in even light games? Thanks. :D
[ONE Original Android Development] nightfireblaze8:
I'm having an audio issue with AK 310. I'm not able to listen to music from any music app, including the default CM app and Spotify. The audio just stays at 00:00. However, I am able to hear touch sounds and audio in YouTube videos just fine. I'm using the latest official CM12.1 snapshot. I haven't changed any setting in Synapse yet. Please help me.

Thanks.
[ONE Original Android Development] ak:
You have to upgrade to nightly or use kernel version <308.

Inviato dal mio A0001
[ONE Original Android Development] sLpFhaWK:
So I'm having issues with UKM and Synapse. I flashed the Kernel, and the UKM file but I don't have UKM in my app draw, is it supposed to be there? When I run synapse I get device not supported. I have the AK Kernel update 1.3 also installed and it says i'm up to date.
[ONE Original Android Development] plantator:
Read again first post ok? there is info that UKM is included in kernel so don't flash it, now i think you need to try reflash AK kernel and nothing more, then try run synapse, if not work, dirty flash your rom and ak kernel , will work then
[ONE Original Android Development] 4b3ck:
Just for curiosity flashed cm13 build and flashed v310, it worked fine :) played around little bit and re-flashed my backup :D
[ONE Original Android Development] nachomagic:
Hi mates

I've just bought a Qualcomm certified Quick Charge 2.0 charger but as I can see in the synapse, It only takes 600mA instead 2A (quick charge 2.0 value) so I assume that Quickcharge is not working or is not supported.

[MENTION=3685904]ak[/MENTION] , is this feature supported by your kernel? I din't find any info using advanced search

Thanks in advance
[ONE Original Android Development] ak:
Have you try to set CA charge to max?

i don't think is supported by opo kernel in general.
[ONE Original Android Development] ak:
What rom?
[ONE Original Android Development] ak:
PS:

new kernel is under testing.!
[ONE Original Android Development] nachomagic:
Nop

I assume that this can be done with any charger, but I suppose quick charge 2.0 involves some Qualcomm control to avoid damage, overheat....
[ONE Original Android Development] mamba720027:
Quick Charge requires a charger that supports the quick charge speed of our Qualcomm Snapdragon processor. A certified Qualcomm branded version is very well worth obtaining as it allows you to fully utilize quick charge speeds vs a regular charger.

The Charger manual usually indicates what speed of charge you will achieve if your device supports quick charge. My charger adapter supports quick charge @ 2300mA. Synapse allows us to take it at 2200mA which is well within the safe zone if not under. So theirs no risk in using it with a certified Qualcomm 2.0 charger. Mine shows the reading in screenshot because the screen is on. When screen is on charge rate is reduce or throttle to prevent battery overheat/screen too. Screen off you have full charge speed.

So like AK suggest its best to max the AC charge speed with it to fully use the charge speed.
[ONE Original Android Development] Angelcho:
it supports quick charging indeed, your phone has to be in sleep state, while screen is on and you have data/wifi and some active app, those things draw more current so the charging current is a little lower, plus the chipset throttles the charging while phone is active to prevent overheating. I can charge my phone with my OPO charger and a 2AMP car charger in less than 2 hours (15-20% to 100%)
[ONE Original Android Development] nachomagic:
Could you please tell me your AC charge level configured in synapse?
[ONE Original Android Development] Angelcho:
everything is default, I didn't touch them as I feel I don't need them, I charge my phone overnight most of the time.
[ONE Original Android Development] nachomagic:
Thanks

Then if quickcharge is supported default level (0 value) should work and will prevent problems when you don't use a certified charger.

For example, with 2200 value you could have problem if one day uses non certificate charger, in a fried house or something like taht, won't you?
[ONE Original Android Development] mamba720027:
Negative with the non certified charger because the charger adapter will automatically throttle charge speed to the worst. Its internal protection may kick in and instead of giving you stock speeds it will be lower. So it won't give you problems but may give worst charge speeds.

I believe with a custom kernel we may have to set the A.C. Charge rate to max for quick charge to work on a certified charger. Stock at 0 best for other misc chargers.
[ONE Original Android Development] nachomagic:
So, your advice is, set always to the maximum. The certified chargers will use it and the non certified will be "controlled" by the internal protection to avoid problem, isn't it?

I'm asking because my English is not very good and to be sure I've understood you
[ONE Original Android Development] mamba720027:
That's correct. Also for non certified or charger not supporting quick charge its best to have it at stock "0". That's if you remember to make the change in Synapse but yea if you forgot and leave it at max AC charge then plug it into a regular non certified charger then speeds will indeed automatically be reduced.
[ONE Original Android Development] nachomagic:
With 0 I don't get more than 1000ma so seems that is limited.

When I asked you I mean set to 2200 by default, certified will used and non one won't but there will be no risk according to your info, won't be?
[ONE Original Android Development] mamba720027:
Correct.
[ONE Original Android Development] Formhault:
I don't think the Synapse charge controls work in the case of QC2.0. With Quick Charge 2.0 chargers, the phone draws 1.5 amps, at 12 volts (or 2 amps at 9 volts). It no longer draws X amps at 5 volts...

This is done by the SoC itself. The VRM, actually, which drops the voltage to around 4.35 (which, in return, ramps up the current).

Keep in mind that not all USB cables are QC2.0 worthy, meaning... most don't even transport 5V~2A (10 watts), so 18W is out of the question for those :)

Bottom line : if you use a QC2.0 charger, I think the Synapse controls are ignored...
[ONE Original Android Development] ak:
new kernel online

[ CM12 KERNEL - v.311 ]

A kernel based on CM12 Bacon branch.

Download: AK.311.OP1.CM

[ SMALL CHANGELOG ]

linux 3.4.110

optimize ksm

ecc ecc

[ FULL CHANGELOG ]

Project name: AK KERNEL

anarkia1976 - Kernel Version: AK.311.OP1.CM

Pranav Vashi - mm: ksm: Optimize defaults

Zefan Li - Linux 3.4.110

​
[ONE Original Android Development] Angelcho:
A thin or two about quick charge from my point of view (electronics student and a geek)

In order to charge your phone in 2 hours or less, first you need a phone which supports it (our OPO does fortunately).

Second, you need a compatible charger. It doesn't have to be "certified" by quallcom, it just needs to provide at least 2 Amps at 5.5 Volts. I have an iPhone car charger which I use for my OPO and it works just fine, in like half an hour it charged more than 30% of battery.

Third thing you need is a compatible cable. You can have a charger that can give 10 Amps but still not charge the phone fast enough because the cable sucks and cannot conduct enough current. I recommend using the original OPO cable or you can buy one for a dollar or two more than the ordinary cables.

You don't have to set anything on your phone, you can just stick with the stock settings and you're fine. Most of the time, the phone has to be in deep sleep state so it can charge faster, since the phone barely uses power, hence virtually no heating. If you are using your phone, you're using a bunch of power compared to standby mode, the phone heats easier and that can lead to damage if your phone charges fast. For that reason, the phone throttles the charging to avoid overheating or battery leaking.

Also, my opinion about quick charge is that it should only be used if it's actually needed, else you should charge the phone slower to prolong its battery life. Personally, I set max charging current at about 600 mAmps when I charge my phone overnight, and it takes about 3-4 hours for the phone to charge from 15-100%
[ONE Original Android Development] mamba720027:
Like someone also mentioned you do need a CPU that supports quick charge which we have correct.

The reason some charges state openly "Qualcomm 2.0 Certified" is because they passed the quick charge test in upholding that their charger supports all the charge speeds and safety standards hold by Qualcomm in that area. Also its better to purchase one because it's a one time purchase deal instead of mixing and matching cables + adapters.

Also as you mentioned when using the device plugged in your charging rate is already cut in approximately half to avoid overheating. But say someone decides to do something drastically like use maps or game then both the CPU and charging rate will throttle. Most of these scenarios was tested back in the galaxy s3 section when another dev was building a Perseus kernel and the quick charge feature was more drastic as it disabled protection from the hardware side & the adapter side to allow any charger to allow overcharge currents and quicker charge rates than usually allow. They were risky but worth it. That's when you have to be cautious.

The quick charge we have here is totally supported and good on the battery. My device does not over-heat when charging and in about 35 -45 minutes I'm usually fully charge. If you do use the phone heavily with the charger on and the battery gets hot then the battery will die quicker.
[ONE Original Android Development] fiz:ik:
I never experienced this since my OPO stays wide awake as soon as I plug it in, nevertheless I can approve your message: use the OnePlus cable! :)
[ONE Original Android Development] iPusak Gaoq™:
Hmmm...can someone explain to me why I still got updates even after I already flash latest kernel?
[ONE Original Android Development] joemilan:
Yes, me too?!?! ... The new version showed is 3.4.109 but I already updated with 3.4.110 ????? Why?

Inviato dal mio A0001 utilizzando Tapatalk
[ONE Original Android Development] ak:
My error. fixed now. :silly:
[ONE Original Android Development] dejan1979:
I am sorry but can anyone tell me if its possible to install new ak kernel on 44s and how. Any help is much appreciated
[ONE Original Android Development] Spaulding89:
Did you had a beer to much [emoji12] [emoji12]

Sent from Bacon with Temasek CAF Rom and AK Kernel
[ONE Original Android Development] ak:
http://www.brianzabeer.it/
[ONE Original Android Development] JaylanPHNX:
The method for using newer kernels on 44s is in the thread a few times, so searching should find it. I don't think you can use anything newer than 304, though, because of the changes in the way audio is handled between ROM/kernel in newer versions.

From my SlimTab Pro 8.4
[ONE Original Android Development] Formhault:
Exactly what I said a few posts before :) but no one seems care.

Also, 10 Amps is kind of overkill, don't you think? 2 should be enough. The phone won't take in more than that (not with all the safeties in place, anyway)... Besides, the phone's internal VRM changes the current so...
[ONE Original Android Development] Angelcho:
all right, I didn't literally mean that, I just wanted to point out that you can have a more powerful charger than you need and still not get the most out of it
[ONE Original Android Development] WhoDunnit:
AK.311 recompiled for COS12.1

I recompiled 311, such that sound works again on ROMs based on older cm, like cos12.1

For the rest, same kernel, same tool chain. All credits go to AK for this incredible kernel.

Download from here
[ONE Original Android Development] Bradl79:
does the 311 kernel have f2fs support?
[ONE Original Android Development] ak:
yes as always.
[ONE Original Android Development] dejan1979:
Will your kernel work on stock rooted 44S ROM. Tx
[ONE Original Android Development] KenjiHannya:
Testing here with M 6.0 Homemade.

Tnx AK ?
[ONE Original Android Development] JaylanPHNX:
[MENTION=4264678]dejan1979[/MENTION] I already answered your question above.

From my SlimTab Pro 8.4
[ONE Original Android Development] toxicated2:
Can anyone tell me should i flash AK.311.OP1.CM.zip or AK.025.OP1.CAF.zip for cm 12.1 also if possible what is the difference between these or if both can be then which will be better. :o
[ONE Original Android Development] gianton:
You can only flash the "AK.311.OP1.CM.zip" on non CAF ROMs and vice versa: you can only flash the "AK.025.OP1.CAF.zip" kernel on CAF based ROMs.
[ONE Original Android Development] phoenixita:
CAF roms uses files From code aurora forum..CAF roms use Qualcomm files. Others use cm files.
[ONE Original Android Development] champ14:
How do you control charging current.??? like you set charging current to 600mA , how do you do that.
[ONE Original Android Development] phoenixita:
Synapse. Under the misc section! ;)
[ONE Original Android Development] champ14:
Ohh ... I never explored it :P

What is stock values of max allowed current on AK v311
[ONE Original Android Development] Stylo King:
Can you guys take these discussions in the discussion/profiles thread, linked in the OP..?

Thanks
[ONE Original Android Development] AdOS16:
o7

I have a bug with Google play music.

I have no sound coming out of the speaker / headphone. it's normal?
[ONE Original Android Development] chikimonke:
[MENTION=6941137]AdOS16[/MENTION] It is if you're using this kernel on an old ROM. Files related to sound were changed on the ROM and Kernel side by CM. This kernel is up to date, but you need your ROM to be up to date too. This is a well discussed topic in here, a quick search would have answered your question.
[ONE Original Android Development] CallMeAldy:
AK Kernel Updater 1.4​
[ONE Original Android Development] AdOS16:
Using with last cm12.1 and last ak kernel, Google play music doesn't run.

Thank's
[ONE Original Android Development] plantator:
Hey [MENTION=3685904]ak[/MENTION] is it any option to detects whats realy wake device on kernel side? And what to do to make it less? I have 8h until unplug, 1h of screen on and 15 mins of wkelocks from kernel and 80% left
[ONE Original Android Development] JaylanPHNX:
Are you using the "snapshot" CM12.1 build? Cause those are based on older code than nighties.

It's baconnn!
[ONE Original Android Development] :
Most of the time not the kernel wakelocks but the partial wakelocks give you some information, usefull for hunting down the reason/app, which is draining your battery.

For the screen on time: depending on your usecase 1h screen on time could be a real drainer, or marginal more than 1.5 %. Reading a book in a black backgrounded ebookreader will drain in 1h of screen on time less then 1h of heavy gaming.

Edit: I use betterbatterystats.
[ONE Original Android Development] plantator:
Thanks for reply so: i have controlled all other wakelocks by amplify, also greenify and power nap, gsam battery say me kernel keep awake my opo, when checking partial wakelocks there isn't nothing bad with others, in BBS there is also that partial wakelocks are minimal

i changed in synapse RQ Affinity from Aggressive to Enabled and it seems that kernel wakelocks back to normal

I know that device need 3-5 secs to go sleep when i turn off screen, but sometimes it is wake more than 30 secs between screen off-on

will test more it:P i talk about this because i'm "wakelock killer maniac" and hate hate hate any wakelock that i don't do or don't why from where it comes:P
[ONE Original Android Development] Paoliz:
Hey guys, wich version should I flash for COS 12.1 by calkulin?

Inviato dal mio OnePlus One
[ONE Original Android Development] Jole7:
This one http://xdaforums.com/showpost.php?p=63445650&postcount=20285
[ONE Original Android Development] iPusak Gaoq™:
Has anyone notice that synapse settings doesn't stick after reboot on latest ak 311?

I'm using pac rom and I notice that even after reboot and a toast popup appears (telling that synapse boot completed), when I open synapse I still saw the 'tick' and 'x' button on top of synapse...
[ONE Original Android Development] poal98:
Hey guys,

how can i know if my rom is compatible with this version of the kernel(cm12.1 based) or the other caf based version?

Thanks

p.s. Anyway for now my rom is the fusion rom.
[ONE Original Android Development] bombadier:
Is this the rom you are running ?

http://xdaforums.com/oneplus-one/development/rom-fusion-rom-t3194909

If so according to github its CM based,dont have any experience with it so maybe ask in the rom thread if ak's latest kernel works ok.

Generally it will be clearly stated if its CAF based and likewise CAF kernels will say so
[ONE Original Android Development] svnhvn:
Clear synapse data and re-apply your settings, at least it worked for me.
[ONE Original Android Development] iPusak Gaoq™:
Did that a few time before I posted this problem but didn't work...try deleting all files in synapse folder too but still the 'tick' and 'x' button appears even if the settings do apply successful after reboot...
[ONE Original Android Development] adithya2306:
any ak kernel for cm12??
[ONE Original Android Development] NickosD:
There isn't any kernel version compatible for cm12

/sarcasm off

Sent from my bacon!!!!!
[ONE Original Android Development] dudas89:
Are you seriously asking that in a 2032 pages thread?
[ONE Original Android Development] Jole7:
Ask AK to tell you.
[ONE Original Android Development] ak:
yes the only solution is to upgrade to an updated rom.
[ONE Original Android Development] cossali98:
Does this kernel work with Marshmallow ?
[ONE Original Android Development] plantator:
For now it may not work, you can try resurected kernel it works on some marsmallow builds
[ONE Original Android Development] kalapapa:
I can confirm it works with experimental marshmallow builds that use cm12 kernel. Don't know about ones that use marshmallow kernel
[ONE Original Android Development] _ASSASSIN_:
uh, there is no "marshmallow kernel"; only CAF, the experimental build using CM12.1 kernel with certain commits, and the CM13 kernel..
[ONE Original Android Development] cossali98:
Great result man ! Which ROM do you use ?

Inviato dal mio A0001 utilizzando Tapatalk
[ONE Original Android Development] kalapapa:
http://xdaforums.com/oneplus-one/orig-development/experimental-homemade-android-6-0-t3225725
[ONE Original Android Development] lokesh.3440:
Although performance was top class on marshmallow AOSP but I lost DT2W even though its not necessary right now. Did u also lost DT2W ?
[ONE Original Android Development] kalapapa:
Yah I lost it as well but I found a work around.

Go to settings>display and turn on tap to wake.

Next go into synapse and make sure dt2w is also enabled there

Finally, in a root Explorer, go to system>usr>keylayout and click on the file called generic.kl

Save a backup of it somewhere just in case

If it asks you what kind of file you want to open it as then click document file or text file (it doesn't really matter as long as you can edit it).

Scroll all the way to bottom and add this line to it

key 255 POWER

Make sure it's exactly like that then save and reboot and finally you're done and dt2w should be working. [emoji4]
[ONE Original Android Development] lokesh.3440:
Thanks buddy. I did those steps already and yes DT2W works perfectly now.
[ONE Original Android Development] chachin:
what rom you using. that miscellaneous at 72% is annoying on tugapower rom too
[ONE Original Android Development] scorpion2782:
With AK311 i don't have audio from Play Music or Antennapod or any app. only notification... with CM 12.1 stock kernel works correctly. I have CM12.1 YOG4PAS2QL
[ONE Original Android Development] FullWipe:
Try this modded version --> http://xdaforums.com/oneplus-one/orig-development/kernel-ak-t2832168/post63445650 ;)