yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] ak:
new kernel online

[ AK KERNEL - v.023 ]

A kernel based on Oxygen/CM branch.

Download: AK.023.OP2.OXYGEN

Download: AK.023.OP2.CM

[ SMALL CHANGELOG ]

merge oxygen source

dts optimizations

ecc ecc

[ FULL CHANGELOG ]

Project name: AK KERNEL

anarkia1976 - Kernel Version: AK.023.OP2

Hieu Nguyen - OnePlus: update to OnePlus2_14_A.09_151109 kernel source

anarkia1976 - arm: dts: msm8994: build only v2.1 hw variant

anarkia1976 - arm: dts: msm8994: Correct regulator timming

​
[OnePlus 2 Original Android Development] Maxximo88:
Hi @ak, is this kernel already patched with kexec-hardboot patch (link)
[OnePlus 2 Original Android Development] fburgos:
Why you want kexec-hardboot, is multirom working?
[OnePlus 2 Original Android Development] aroblu94:
Hey [MENTION=3685904]ak[/MENTION] I'm here again :) Today I did some tests with stock kernel (OOS 2.1.2) and tethering worked without problems!

I installed Kernel Auditor and I saw TCP congestion on stock kernel is set on "Cubic" algorithm (your stock is Westwood, isn't it?)

I read Westwood is prpbably the best but seems it breaks my phone tethering..

Anyway mine is an absolutely nom-scientific test cause I changed kernel, not only TCP congestion algorithm..

Does anyone is facing my same problem?

Inviato dal mio ONE A2001 utilizzando Tapatalk
[OnePlus 2 Original Android Development] BigDoun2011:
Can I use v23 with os 2.1.1?

(still afraid to update to 2.1.2..)
[OnePlus 2 Original Android Development] xxwaterbirdx:
or, can v23 works smoothly on 2.1.2?
[OnePlus 2 Original Android Development] DanteGR:
Both 21 and 23 work flawlessly on 2.1.2 in my experience. Flash away [emoji4]

Swiftkeyed from my 1+2 A2003
[OnePlus 2 Original Android Development] Mehul.S:
Jst about to flash.. Would give feedback in next 20 to 30 mins.. V023 on 2.1.2..
[OnePlus 2 Original Android Development] xxwaterbirdx:
i flashed on 2.1.1. Not planning to go 2.1.2 at the moment, saw alot of bugs on the OP forums
[OnePlus 2 Original Android Development] Mehul.S:
I'm done flashing on 2.1.2.. On 2.1.2 there is only a sin card bug.. Which also has a solution to it.. Anyway your wish.. Ak kernel is smooth running now.. Got some Gmail crash.. Thats all..

EDIT I've attached a ss of a complete white screen which I get when I open Gmail.. Tired opening for 5 times.. Got same result.. Can't open Gmail..

EDIT 2 the problem is solved after a reboot.. :P
[OnePlus 2 Original Android Development] xxwaterbirdx:
will see how things goes then
[OnePlus 2 Original Android Development] ak:
No, we need official support by mr.
[OnePlus 2 Original Android Development] jjbro007:
[MENTION=3685904]ak[/MENTION] can i dirty flash this over ak v21 . or should i flash over stock kernel :(
[OnePlus 2 Original Android Development] ak:
Flash over without problems.

Sent from my ONE A2003
[OnePlus 2 Original Android Development] urgali:
Flashed on cm12.1 exodus.

So far so good.

Thanks for all your hard work @ak
[OnePlus 2 Original Android Development] Utkarsh-ezzo:
Hey can you please help me fixing that default sim bug..??

searched it on google but couldn't find it...

P. S. :Sorry for off topic post
[OnePlus 2 Original Android Development] Spannaa:
Use dual sim selector from the playstore.

Back on topic now...

Tapatalked via OnePlus 2
[OnePlus 2 Original Android Development] Maxximo88:
It is just a question, just to know.
[OnePlus 2 Original Android Development] ert69:
Flashed v23, checked synapse and saw hotplug was -1:-1. What does it mean and why is it good?
[OnePlus 2 Original Android Development] gm.cinalli:
I think is the same as 4:4, so all 8 cores online.
[OnePlus 2 Original Android Development] ak:
It's the a stock value = 4;4

Sent from my ONE A2003
[OnePlus 2 Original Android Development] ert69:
So I dont have to worry about it?
[OnePlus 2 Original Android Development] mamba720027:
If you want all (4:4), 8 Cores online then the default value will not interfere with anything. Just leave as is.
[OnePlus 2 Original Android Development] zuluuk:
You need the latest version of BusyBox after that the correct value will be set.
[OnePlus 2 Original Android Development] keessonnema:
Anyone tested. Did OOS devs fix the hotplugging problem? Or is it still present in 2.1.2? I'll flash 023 now.
[OnePlus 2 Original Android Development] Silvers91:
Hi guys

I'm on OOS 2.1.2 and I flashed AK kernel v23 today.. when I open synapse, in hotplug, 3 cores from A57 are off?? only one working.. The phone feels so laggy and gaming is bad.. What can I do? Can I just reflash the v23 zip?

Edit: All 4 cores of A57 are now off!! I have 4:4 in Hotplug but I can't seem to be able to change anything related to A57 cores.
[OnePlus 2 Original Android Development] Stylo King:
Try to charge your battery first..

It happens when your battery level reaches < 22%.

If that problem still happens after charging , Clear synapse data and restart synapse from app.
[OnePlus 2 Original Android Development] Silvers91:
Yes my battery is indeed under 22%, I'm charging it now and I'll see.

But why does it happen? Is it to save battery? How can I stop this from happening?
[OnePlus 2 Original Android Development] cd69:
My phone thanks you [MENTION=3475639]ak.[/MENTION] Sorry didn't post earlier.

View attachment 3547130View attachment 3547132
[OnePlus 2 Original Android Development] Silvers91:
Can you please post your settings? and what did you usage contain?
[OnePlus 2 Original Android Development] return.of.octobot:
You know, not for nothing, I'm not saying that there's anything wrong with using profiles provided by other users as a starting point or even straight up. With that being said, I'm seeing a lot of requests to be spoonfed, 'which boxes do I check, what numbers to I need to enter for this parameter?' and the rhetorical response will always be whichever values allow you to achieve your performance goals based on your own usage patterns. While this is indeed true, there is no such thing as 'best' in terms of kernel tunables, only recommended ranges based on your own endgame.

Like I said, there's nothing wrong with trying what's worked for others trying to achieve a similar result or asking for recommendations but it would be exponentially more beneficial to make an attempt to understand what works and why for any given situation. I'm not suggesting that we all need to be operating at an AK/Stylo King-esque level of knowledge, we've all been n00bs at one point or another, and some of this subject matter can seem overwhelming. My point being, there's nothing wrong with being a n00b. Being a lazy n00b however, that's another story. There's no shortage of information available on the world wide interwebz about kernel tunables and you're only hurting yourself by blindly punching in numbers and importing profiles based on the suggestions of others without at least attempting to understand how and why it works.
[OnePlus 2 Original Android Development] ak:
No you can't, and this is a normal behavior.

Good very good.
[OnePlus 2 Original Android Development] ΦDroid:
Deleted
[OnePlus 2 Original Android Development] SirMika:
Is there a version of AK what I can use with TipsyOS?

Lähetetty minun unknown laitteesta Tapatalkilla
[OnePlus 2 Original Android Development] Stylo King:
There are 2 variants of AK kernel For OP2,Flash the CM version and it will work.
[OnePlus 2 Original Android Development] SirMika:
I have to try it. Battery lasts much longer with this kernel. (my opinion)

Lähetetty minun unknown laitteesta Tapatalkilla
[OnePlus 2 Original Android Development] cd69:
Stock ak. Greenify, amplify and appops. That's it. Whatsapp and Skype always on and not greenefied.

Usage: YouTube, chrome, tapatalk, lots of whatsapp[emoji1]

Hope this helps.
[OnePlus 2 Original Android Development] atiq.qasim.12:
Was your data connection on all day or were you on wifi only?

Which version of ak are u in?

And can you please screenshot your amplify settings and send. I am really not sure what wakelocks to block. It would be great if you could assist.
[OnePlus 2 Original Android Development] cd69:
Honestly don't remember that day if I was on data. Attached is the amplify screenshot. This was on version 21 of ak. Going to upgrade now to 23. View attachment 3548121
[OnePlus 2 Original Android Development] amritendur:
I'm on exodus built 05/11 please share the process to flash this kernel
[OnePlus 2 Original Android Development] urnamese3:
Install synapse then clear its data, then go to recovery and flash the kernel

Sent from my quantum computer yëyě
[OnePlus 2 Original Android Development] DanteGR:
Cache and dalvik cache wipe is not necessary when flashing kernels [emoji4]

Swiftkeyed from my 1+2 A2003
[OnePlus 2 Original Android Development] urnamese3:
Corrected my post. Google'd about the cache partition of Android and found this http://forums.androidcentral.com/dr...exactly-wipe-cache-partition.html#post3315601

I never actually searched up what was on the cache and dalvik-cache partition and my idea was different.

So thanks for pointing out :)

Sent from my quantum computer yëyě
[OnePlus 2 Original Android Development] shannanea:
Does Amplify effectively work on OxygenOS? Or are you an CM?
[OnePlus 2 Original Android Development] isoladisegnata:
Great news tnx alot ak
[OnePlus 2 Original Android Development] Micalus:
Sounds great and i am waiting for it. I hoped AK would return to the OP2 as well. i currently have both Oneplus phones and i have to say: i like both. i got rid of my Sony Z1C for the OP2. i hope as soon as KCAL will be integrated in the AK OP2 caf kernel, it will be as amazing as it is for the OPO.

Looking forward to the new kernel. Keep up your good work. I love it.

regards

Mike
[OnePlus 2 Original Android Development] LiquidSolstice:
Agreed. You should also know that it looks like everything will be CAF by default. OxygenOS is CAF, so I'm assuming the kernel is CAF as well already (based on the OP).
[OnePlus 2 Original Android Development] jmudrick:
Battery drain (wlan_wow wakelock) and home button/ fingerprint sensor issues were completely resolved for me with 2.1 update. Lag also reduced. I would recommend trying 2.1 before AK so one has a proper frame of reference.
[OnePlus 2 Original Android Development] Lostatsea23:
What's up with the keyboard being so laggy when vibration is enabled for it on this phone? It's so bad.. Any suggestions as its not always bad its random..
[OnePlus 2 Original Android Development] Micalus:
Good to hear at least OxygenOS is CAF-based. i have made really good experience on my OPO with the new BlissPop CAF rom. I hope to see CM-based roms like BlissPop or AICP on the OP2 based on CAF with all features working like fingerprint, laser focus and all the other stuff.
[MENTION=3685904]ak[/MENTION] coming to OP2 is really a dream and i hoped for that. Looking forward to see some amazing stuff

regards

Mike
[OnePlus 2 Original Android Development] anees167:
[MENTION=3685904]ak[/MENTION]

Love your kernel... Quick question does the kernel or will the kernel use these power saving features which are off in the kernel, as explained by [MENTION=4800121]Sultanxda[/MENTION]

(see attached image)
[OnePlus 2 Original Android Development] magnamentis:
i think they're busy (focused) to build a decent rom with a decent reputation and then either make those things user customizable or want to make sure that there are no unwanted sideeffects like lags or even worse. i basically understand quite well that they set those priorities.
[OnePlus 2 Original Android Development] kramer987:
If update to the 2.1 ota through twrp, will I have to reflash ak?
[OnePlus 2 Original Android Development] gqukyo:
Probably, wouldn't hurt if you did it at the time you flashed the OTA
[OnePlus 2 Original Android Development] whslogin:
China version A2001，Stock OX2.1 Rooted +AK Kernel
[OnePlus 2 Original Android Development] julianhrojas:
Anybody feels a little delay, or a little lag using any keyboard (google keyboard, swiftkey)???....i have readed in another kernel thread something like this...any solution by kerner??? =(
[OnePlus 2 Original Android Development] Zyxxeil:
Prob caused by vibration, I usually turn off vibration and enable sound instead in the keyboard settings.
[OnePlus 2 Original Android Development] kramer987:
I actually experienced this as well. I think it actually has to do with key pop up. turn that off and any lag goes away. I set my Google keyboard vibration to 20. I found that 25 that my phone typing speed was too fast and the vibrations would begin to overlap

Edit: I meant 15 is my setting. 20 is too high
[OnePlus 2 Original Android Development] kramer987:
BTW is this normal? unsupported and such?
[OnePlus 2 Original Android Development] ufo8mymunky:
For now, I think yes. lol
[OnePlus 2 Original Android Development] v7:
Will be fixed in future versions.

Tapped from my ❶+❷ ;)
[OnePlus 2 Original Android Development] kramer987:
okie dokie thanks for the quick response
[OnePlus 2 Original Android Development] theBIGone:
Ok so I checked and the file is in the directory.
[OnePlus 2 Original Android Development] gqukyo:
I don't have this with Swype but experienced it with SwiftKey.
[OnePlus 2 Original Android Development] JakeMatthews:
I use amplify on oxygen seems to work well for me on v23
[OnePlus 2 Original Android Development] cd69:
Yup using it on oxygen.
[OnePlus 2 Original Android Development] return.of.octobot:
Just spit-balling here, so don't mind me, but I was thinking (shocker, I know)...

If it is infact impossible/unfeasible to provide the option to disable the A57 cluster shut down upon dipping under the low-power threshold, would it be possible to implement a configurable to allow for automated profile switching triggered by the A57 shutdown. I realize AK & friends have nothing to do with development of the Synapse app, so I may very well be barking up the wrong tree here, but I figured I'd toss the concept out all the same.

Alternatively, in lieu of disabling the low power shutdown behavior all together it would be beneficial to, at the very least, have the ability to manually configure the threshold level at which cluster shutdown occurs (ex. shutdown occurs @ 10, 15% as opposed to ±20%).

I believe I've seen the latter suggested at one time or another, so I'm sure there's a good reason why such a feature has yet to be implemented so again, forgive me, just thinking out loud.
[OnePlus 2 Original Android Development] amritendur:
Thank u AK for this awesome kernel. :p
[OnePlus 2 Original Android Development] Utkarsh-ezzo:
How can I apply hot plugging ratio for both the clusters....?

I think here its getting applied to the little cluster, how to set for the big cluster...???

Whats the logic here....?

Edit: I think I got it, I think its just for min cores online for each cluster, max doesn't need to be defined its 4 by default.

2:2 just working good for me..

Thanks AK..
[OnePlus 2 Original Android Development] Silvers91:
Guys, how can I use Synapse on Hydrogen OS on AK kernel? It gives me the message "No UCI support detected".. It works fine on Oxygen, but I want to use synapse on Hydrogen.
[OnePlus 2 Original Android Development] yarpiin:
if you using stock kernel it wont work but with AK in synapse should be button fix uci or somethin like that as far as i remember, if not try installing different busybox , or install terminal emulator and tape as follow:

su [enter]

uci [enter]

uci reset [enter]

uci [enter]

then wipe synapse data and restart
[OnePlus 2 Original Android Development] codeVerine:
Can I flash this kernel over boeffla kernel and use this normally after clearing dalvik and cache?
[OnePlus 2 Original Android Development] Stylo King:
It may give you issues.

So to avoid conflict with your previous kernel, Dirty flash your full rom then AK kernel and then wipe Cache and Dalvaik.
[OnePlus 2 Original Android Development] codeVerine:
Thanks

---------- Post added at 03:18 PM ---------- Previous post was at 03:13 PM ----------

Thanks for your reply. I just took a nandroid backup and flashed AK 23 directly on top of boeffla. Everything seems fine :) But on stock settings, im only getting 45K in antutu score :( is that normal? Saw people posted upto 62K in antutu here with AK
[OnePlus 2 Original Android Development] tofuboi01:
AK has tuned his kernel to be more battery life than performance hence lower scores. You can read up on tuning the governors if you want more performance.
[OnePlus 2 Original Android Development] codeVerine:
But some guys getting high scores in same kernel with stock settings. Thats why I asked. Thanks for the reply
[OnePlus 2 Original Android Development] mydan:
Run AnTuTu after having left your device turned off for a couple of hours. Also, run AnTuTu with the phone in the freezer.

That's the only way I've got 65k on antutu.
[OnePlus 2 Original Android Development] return.of.octobot:
For the love of God, do NOT run benchmarks with your phone in the freezer. The condensation that will occur when you pull it out afterwards can seriously damage your device and/or cause you in a world of hurt, but even if it doesn't, doing so is still utterly pointless.

Furthermore, if you have to run AnTuTu with your phone in the freezer, with performance governors, after it's been of for a few hours in order to bump your score from 45k - 60k then guess what? That's not an accurate representation of how your device actually performs in real life, under real conditions. WHO CARES if you were able to artificially boost your AnTuTu scores by essentially cheating, it proves NOTHING, other then the fact that you're participating in a **** measuring contest.

Some of you people place far to much stock in the value of benchmarks, they're generally not a good indication of anything and are wildly inconsistent. There is a right way to conduct benchmarking tests to ensure the highest possible accuracy and replicate consistent results but the majority of users, particularly the ones sticking their phones in freezers are certainly not doing so.
[OnePlus 2 Original Android Development] urnamese3:
word :highfive:

Sent from my quantum computer yëyě
[OnePlus 2 Original Android Development] devakk:
My phone has become a bit laggy after installing v23 of ak. I did dirty flashed oxygen os 2.1.2
[OnePlus 2 Original Android Development] mydan:
Spoken like someone who cares there pal.

I did it to prove that the SD 810, regardless of version, is a throttling piece of ****.

Yes it was never supposed to be real world by the very fact I cooled it. Besides, being in there for 2 to 3 minutes isn't exactly going to result in a sopping wet phone is it?
[OnePlus 2 Original Android Development] GURU1234y:
does this kernel support one plus one with the latest cm12.1 rom?
[OnePlus 2 Original Android Development] poondog:
This is Oneplus 2 thread, please go to the Oneplus one thread for that :)
[OnePlus 2 Original Android Development] benschhold:
The posts about people putting their phones into fridge made me laugh a lot :)
[OnePlus 2 Original Android Development] LOL9988:
AK i saw on twitter. You thinking to shift to 6p. Please dont go. You are the only hope to development to this device. :(
[OnePlus 2 Original Android Development] hunhool:
Yepp, saw too, he sold his op1 and op2 so this is gonna be the end of the story.
[OnePlus 2 Original Android Development] v7:
He bought 6P.So that's the end.

Thanks a lot [MENTION=3685904]ak[/MENTION] for your brilliant work on the device.Best of luck brother.Will meet you at some point of our life :)
[OnePlus 2 Original Android Development] PeteT:
Really? [emoji22]
[OnePlus 2 Original Android Development] urgali:
...today they just released cm13 for opo, so i guess it's just a matter of time before we see cm13 for op2.

What a shame, we just needed a bit more time for ak to continue witho opt
[OnePlus 2 Original Android Development] v7:
Yes.His 6P will arrive soon.I believe he'll announce in the thread soon.
[OnePlus 2 Original Android Development] ak:
Sorry:

https://twitter.com/anarkia1976/status/669151330645254144

but I never had a feeling with the new policy.
[OnePlus 2 Original Android Development] PeteT:
Thank you for your work, you have transformed this phone and because of your work I kept the 2.

I told myself, if you sold your phone and moved to the 6P, I would follow suit.

Plus I am annoyed that photoshere doesn't work on the 2 and oneplus ignore the problem.
[OnePlus 2 Original Android Development] srvoleti:
Thank you [MENTION=3685904]ak[/MENTION] Sir for your excellent contribution for the OPT. Now that you are moving to 6P, the time has come to think seriously about keeping the OPT.
[OnePlus 2 Original Android Development] :
Hi. Can i still download old AK.021.OP2.OXYGEN version from somewhere?
[OnePlus 2 Original Android Development] PeteT:
Yep, from the 1st post.
[OnePlus 2 Original Android Development] Stylo King:
Thanks a lot for all your work @ak, Had lots of fun working with you and contributing my bit for the kernel..

Its been a wild ride, but now as you are leaving.. I won't let you go, So what you have sold your both OnePlus devices, So what the ak kernel development for OPO and OP2 has stopped, We will still be in touch and will meet at a different point of life.

And I can say confidently that you won't find the Nexus users as supportive and loving as us ￼

Thanks a lot from the bottom of my heart for giving OPO and OP2 your precious time and hard work. All the very best for your future.

and don't forget me, I will be handling your AK Discussion and Profiles thread for the Nexus 6P ofcourse :crying:

- From the whole AK OnePlus Family.
[OnePlus 2 Original Android Development] CounterC:
Photosphere works
[OnePlus 2 Original Android Development] yarpiin:
It is a massive lost to OnePlus Dev comunity :( I have been using ur Kernel since begining with OPO and OP2 ... oh well time to say goodbye we all going to miss your work ... oh well [MENTION=3685904]ak[/MENTION] good luck m8 and have fun developing stuff for nexus all the best and MASSIVE THANK YOU FOR YOUR HARD WORK !!!
[OnePlus 2 Original Android Development] PeteT:
On oxygenos? It stops after about 6 images. I have never had one work.
[OnePlus 2 Original Android Development] efattal:
Thanks for all you great work for us [MENTION=3475639]ak.[/MENTION] But this is a sad day. Ma che tristezza!
[OnePlus 2 Original Android Development] CounterC:
[MENTION=3685904]ak[/MENTION] big thanks from me too. Too bad you're leaving us. IMHO the nexus is one hell of a phone, but there are some issues about no voice on calls (will be fixed in software) and broken glass on camera etc. I really hope yours stays good because those things made me not buy it. And the price of course...

Good luck with your life, family and everything else. BTW what phone did you get for your wife? The nexus 5x? :)

Take care sir!
[OnePlus 2 Original Android Development] mamba720027:
[MENTION=3685904]ak[/MENTION] Big thanks for everything you have done closely with the One Plus devices. All the work and time you put into it and contribute what you had to users in the community. I really liked the features your kernel offer and it damn sure would be a shame here without an AK supported kernel anymore.

[MENTION=6307803]Stylo King[/MENTION] thanks for maintaining the discussion threads for AK and to everyone for the knowledge share and mature discussion. It really is a nice crowd here.

I may also be obtaining a Nexus 6P.
[OnePlus 2 Original Android Development] ak:
THANKS THANKS a lot guys :crying:
[OnePlus 2 Original Android Development] r0hit.s3n:
Thank You @AK

TapatalkeD

My 1+2

DeviL InsidE ©
[OnePlus 2 Original Android Development] riyaz045:
Will definitely miss @ak
[OnePlus 2 Original Android Development] unrated87:
It's definitely the time to sell the OPT now...

Thanks OnePlus
[OnePlus 2 Original Android Development] mamba720027:
Got the Aluminum one, just in time for Christmas :thumbup:

Can't wait to see how sweet wallpapers look on the screen.
[OnePlus 2 Original Android Development] CounterC:
Wow when I buy the same model in Europe I have to pay 699 €, that equals 743,98 USD.

What a difference in price!! :eek:

Can you order me one and send it to Europe? :D
[OnePlus 2 Original Android Development] mamba720027:
Woah,, really. That's a huge difference :eek: :eek: