yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 General] xxBrun0xx:
Anyone know anything about enabling ultra low power saving mode for the display? This is a kernel tweak that basically puts the display to sleep when the screen is on but static. This was enabled early on for the oneplus one, but is not yet enabled for the oneplus 2. This is why the one gets much better battery life than our phones do. I would love to learn more about how it is enabled, any help is appreciated!
[OnePlus 2 General] Stylo King:
You want stock kernel or full rom?

Never heard about this for AK kernel for 1+1.
[OnePlus 2 General] xxBrun0xx:
Found some info on it for anyone curious: https://forums.oneplus.net/threads/franco-kernel-r21-out-ulps.125436/
[OnePlus 2 General] nirmik379kale:
Someone else had also mentioned this from sandy kernel thread! it seems like a simple implementation from what i had read there. its just a flag he said. the post also mentioned that the stock op kernel has a lot of things like a lot of flags but they haven't set them to on for some reason. This is one of them... lets see what [MENTION=3685904]ak[/MENTION] has to say. If it really is a worth while feature, it should be implemented! :highfive:
[OnePlus 2 General] f0li0:
Just want to post my battery stats for the last few days.

First of all I flashed a fresh TWRP then completely wiped my device, after that I pushed Oxygen OS 2.1 full to it along with AK 005 and SuperSu 2.46 zip. I flashed them and when the system had booted up, instead of restoring my apps in TitaniumBackup as per, I fresh installed from the Play Store.

I haven't used AppOps like usual either. I have left all apps at default, instead of messing with location, keep awake settings etc. I also haven't installed 'Synapse' or 'Kernel Auditor'.

Any large drops in the graph are from reboots. Overall I am blown away by the smoothness but most of all, the battery life. 7 hours of SOT, Thanks AK! :good:
[OnePlus 2 General] cr0wnest:
Today's usage, SOT is about 1hr 33mins as of this screenshot. And yes, I did try uninstalling the Facebook app, but tbh the SOT is about the same, at most I'd get around extra 30 mins. Running OxygenOS 2.1.0 and AK v005, downclocked big cores to 1.24GHz and little cores to 960MHz.

I can never seem to find a solution for those google play wakelocks.
[OnePlus 2 General] Stylo King:
Underclock will not help in this case, and you are losing 20% in idle.. Check what are you doing wrong, I can tell you its not just Google play services but many other things..
[OnePlus 2 General] dougfalk:
I mentioned the in AK Kernel thread my poor battery performance and understand what other users have been seeing. [MENTION=6307803]Stylo King[/MENTION] had asked me to use my phone as I would regularly and capture and post my stats on this thread. I hope that i can be helped as my 3 hr SOT has me regretting my purchase.

About my usage - I don't use my phone heavily and the day that i have posted was for this sunday where i watched a bit of football over wifi. I don't game and my usage is mainly texting, emailing, browsing, twitter, with the occasional streaming. I don't have the Facebook or twitter apps installed and use browser shortcuts to prevent background processes and notifications to things i really don't need.

Attached are my battery stats. Hopefully the screenshots are enough for you to go on.

Thanks for helping guys!

https://goo.gl/photos/GnSm1ejACY9jLKMWA
[OnePlus 2 General] Stylo King:
1.) You have quoted wrong user, Mention my name correctly as the other user might bash you for quoting him :D

2.) None of your links are posted correctly, edit them.. or post the photos directly or the links.
[OnePlus 2 General] dougfalk:
Thanks, you're right, wrong user. Thanks for the catch. I've fixed my posting which i should have previewed to begin with. You were on the ball because i had it fixed within just a few minutes! Let me know if i'm missing any screenshots that could help.
[OnePlus 2 General] v7:
You were having poor signal most of time.That's a huge factor in your bad battery life.

Tapped from my ❶+❷ ;)
[OnePlus 2 General] dougfalk:
Yes, i understand that poor signal quality would be a contributing factor here but i am coming from a OPO and the difference in my battery life between the two phones is dramatic. I can't believe that cell signal is going to be the only reason for my poor battery life. Unless the OPT radio is THAT bad.
[OnePlus 2 General] Stylo King:
Let me tell you what I have observed by looking at your screenshots.. Your Deep Sleep time is 7+ hours and Awake Time is 4+ hours.. Screen on time is 2 hours, that mean more than 2 hours 30 mins of AWAKE TIME..

You my friend are having tons of wakelocks, can't blame rom or kernel.. mostly from Google play services and bad signal reception.

You have also used Mobile Data ( 3G or LTE) that too for streaming NFL content for 390 MB.. Also You have used WIFI for streaming too.

By concluding all of this You get 3 hours SOT at the end of charge.

Either tune your rom right or use it this way.. Its upto you.

So, got my point bud?
[OnePlus 2 General] joho5:
Hotplug isn't sticking here as well... When I flashed to this version I did flash stock first as well.

Also have newest busybox.

Governor stays but not hotplug settings.

What does changing it to 4:2 actually do?
[OnePlus 2 General] urnamese3:
I'm on the same boat: installed stock rom + kernel; updated busybox; rebooted to recovery and reflashed kernel and it's stays -1:-1 in the hotlpug section of synapse.

can anyone help?
[OnePlus 2 General] VelosCohagen:
For me it didn't stick as well.

After typing 4:2 in the text field, I hit the enter button on the keyboard. Then I could save this setting. And then it sticked. ?

Gesendet von meinem ONE A2003 mit Tapatalk
[OnePlus 2 General] Deacon-Frost:
Also after restarting your device?
[OnePlus 2 General] Dude_Virus:
Yeah the settings for stick, not just the hotplug but even the boost values. Did a full clean synapse data cycle but no luck.
[OnePlus 2 General] Alazlam:
Hi all,

I can confirm the no-stick hotplug issue on the latest 015 ak kernel. I've tried the 4:2 setting in synapse, but it always just reverts to -1:-1 after a while. The Impulse governor setting sticks though.

I've updated BusyBox and reinstalled the kernel afterwards.. But still can't keep the 4:2 setting activated. :confused:
[OnePlus 2 General] ak:
For me hotplug stick ... I'm using tipsy ROM.

Sent from my ONE A2003
[OnePlus 2 General] PeteT:
It sticks for me too but I noticed errors with A57 cluster, an int error. This happened when installing v15 over stock kernel. This doesn't happen when v15 is dirty flashed over v14.
[OnePlus 2 General] ak:
This is possible but only if you have battery <20.

Sent from my ONE A2003
[OnePlus 2 General] v7:
[MENTION=3685904]ak[/MENTION] The issue seems to be with the OXYGEN version.
[OnePlus 2 General] toanau:
What does hot plug setting do anyway
[OnePlus 2 General] PeteT:
Mine has 15% at the moment! And charging [emoji3]
[OnePlus 2 General] ak:
So the error is related to battery low.

Sent from my ONE A2003
[OnePlus 2 General] PeteT:
This seems bizarre but from what I saw, yes only when upgrading from the stock kernel, when upgrading from v14 it was fine.
[OnePlus 2 General] steijn0:
Anyone know how I can change my WiFi scan interval? It shows - 1 in synapse can I add it to build. Prop?
[OnePlus 2 General] v7:
[MENTION=2085902]steijn0[/MENTION] -1 in Synapse means that value is missing in your build.prop.You can change the scan interval from Synapse->Build.Prop
[OnePlus 2 General] steijn0:
so if i'd change it it would add this value to my build.prop?
[OnePlus 2 General] v7:
[MENTION=2085902]steijn0[/MENTION] Yes,it should be added.
[OnePlus 2 General] absako:
The only method that i tried with success (for Hotplug) is to modify the cpu in

/sys/devices/system/cpu/cpu6/online

and

/sys/devices/system/cpu/cpu7/online

edited the values with vi from 1 to 0

still shows -1:-1 on synapse but the big cores are off

ROM oxygen

give it a try
[OnePlus 2 General] keessonnema:
Could any of you guys tell what hotplugging is and what it does?

I'm getting decent battery life, but never over 4 hours of SOT. Never had, ever, on a phone.

I need a good profile :D

My settings:

Impulse governor

row i/o scheduler

What is there to improve?
[OnePlus 2 General] krxz:
Is it normal that I get these zeros within the gov variables when switching from interactive to impulse? I also restarted synapse but still zeros everywhere

sent from my 1+2
[OnePlus 2 General] keessonnema:
I have the same. It is normal right?
[OnePlus 2 General] ak:
Yes, default settings ... If you have suggestions for tuning I'm here.

Sent from my ONE A2003
[OnePlus 2 General] NatTheCat:
This kernel is a big improvement over stock. So much snappier in apps. Any recommendations for improved battery life?
[OnePlus 2 General] gaz_0001:
@ak

Are the default settings your recommended settings? Or should I be looking for better parameter profiles?

Thanks
[OnePlus 2 General] juanej:
I'm getting "No UCI support detected." inside synapse, flashed ak v 015
[OnePlus 2 General] Stylo King:
juanej which rom?
[OnePlus 2 General] cr0wnest:
You need to monitor your battery stats and see which are the apps or processes draining your battery while idle. Or it could be play services wakelocks, like the issue im having and I cant seem to fix it no matter what I do.

Anyway v15 works great on impulse governor. My phone has been switched on since yesterday and is currently at 36% with 2hrs SOT. :X
[OnePlus 2 General] HzeMaffe:
Oeps, didn't see we have a discussion thread for AK. So I'll repost my question from the kernel thread: Installed v015, and inserted Impulse as governor (which sticks just fine), but Hotplug settings Number of CPUs online at any time keeps resetting to -1:-1 and System Workload Detection Mode resets to Disabled. I tried 4:2 on Online CPUs and Mixed for Workload Detection. Also installed latest busybox (1.23.2, and now upgraded to 1.24). Tried re-installing kernel but it didn't solve the problem. Any suggestions?
[OnePlus 2 General] zuluuk:
I have the same issue, I cleared cache for synapses and it worked but after a reboot it shows - 1:-1 I think it is cosmetic but seems we can't disable the cpu cores also. Anyone else facing this issue?
[OnePlus 2 General] highKo:
is the OP up to date? is synapse still not working?
[OnePlus 2 General] Naman Bhalla:
I have started working on my Synapse Profile and it is under testing... Hoping to release it this weekend :)

As with OPO, it will be a battery saving profile. I can't promise much for now, but I expect it to give users 7-8 hrs SOT with moderate usage and 24 hrs off the charger. :) Performance will be also be good. Hopefully no or minute lags.
[OnePlus 2 General] Annihlist:
I have a similar problem with Hot plug driver. I add setting to Synapse as 4:2 and it reverts to default - 1:1 after a period of time.
[OnePlus 2 General] urnamese3:
[MENTION=3685904]ak[/MENTION] hotplug 4:2 setting sticks on CM based ROMs and not on OOS.

Inviato dal mio ONE A2001 utilizzando Tapatalk
[OnePlus 2 General] VelosCohagen:
+1

Gesendet von meinem ONE A2003 mit Tapatalk
[OnePlus 2 General] Alazlam:
Hmm. So the hotplug setting only sticks on CM build. Darn.
[OnePlus 2 General] Hetalk:
Unless, we guys are doing something incorrectly. Basically, it's not confirmed what's at fault. :D
[OnePlus 2 General] v7:
[MENTION=3685904]ak[/MENTION] I tried to edit the CPU settings manually from /sys/devices/system/cpu/cpu'x'/online.

That seems to turn off the cores but that settings doesn't stick after a reboot [MENTION=4278473]Hetalk[/MENTION] also tried the same with the same result.
[OnePlus 2 General] severin333:
After some tests on OOS 2.1.1 using AK 0.15, I removed init scripts (UKM + ak) and modded hotplug with Kernel Adiutor (putting Big cores 3 and 4 off). After reboot, only core 3 is still deactivated.

Then I tried to shut Big cores 2 and 3 off : It did stick after reboot, and I'm a bit confused with this result.... :silly:

Is the fourth Big core so special it's always reactivated ?? :p
[OnePlus 2 General] ripv2:
Let me know if you need a CM based tester :)
[OnePlus 2 General] duminduweera:
Hi Ak, Im looking at your "99ak" init.d script and it says

echo "0:9600000 1:9600000 2:9600000 3:9600000 4:1248000 5:1248000 6:1248000 7:1248000" > /sys/module/cpu_boost/parameters/input_boost_freq.

This means that by default, cpu boost is meant to be be 960MHz for cpu 0-3 right?

Because every time after system restart, cpu boost goes back "0" for cpu 0-3.

by default is it meant to 960Mhz or disabled?
[OnePlus 2 General] Dude_Virus:
Yeah this seems to be an issue with many. For me also the Number of CPUs online at any time keeps resetting to -1:-1 and System Workload Detection Mode resets to Disabled. Along with that there are 2 other values which dont stick. The Input Boost keeps reverting to 40ms even when i have set it to 500ms. Also CPU0 boost values keeps reverting to 1344 even when i set it to 1555. The values for the other cores stick fine on the max values except CPU0.

Tried everything, synapse data clear, synapse uninstall, reflash kernel using twrp, dirty flash stock and flash kernel using ak updater. But in all the settings do revert.
[OnePlus 2 General] return.of.octobot:
I have to say, I'm quite relieved that I'm not alone in facing these issues. Most if not all of what the previous post outlined is occurring for me as well. Hotplug & Boost tunables not sticking. As a matter of fact, input boost has been failing me from the get go. As always, no matter what I set the boost variables at, including disabled, it has not effect and PerfMon shows all 4 A53 cores boosting to 1344 regardless. Oddly enough I too am on Tipsy, and it makes things even more perplexing as AK is presumably running the same ROM and not facing these issues..

And before anyone asks, yes I do have BusyBox 1.4 installed and have attempted all of the possible 'fixes' mentioned above

---------- Post added at 03:59 AM ---------- Previous post was at 03:50 AM ----------

Not true, I am on a CM based ROM and encountering the same issues.
[OnePlus 2 General] gorillaCF:
hi, not sure if there are solution to this.

i have just installed AK kernel v15 on my OPT on oxygen 2.1.1.

now my phone cant detect any WiFi ? any solution to this ?

edit: so far only changes made are changing both governors to impulse. not sure why my WiFi cant be detected. there are zero access points in the WiFi list.
[OnePlus 2 General] Hetalk:
You must have flashed the CM version. Check file name. It should be AK.015.OP2.OXYGEN.zip.
[OnePlus 2 General] gorillaCF:
checked and confirm that i have flashed the oxygen version of it.

could it be due to dirty flashing the kernel ?
[OnePlus 2 General] Hetalk:
Did you flash any other kernel before flashing AK kernel?
[OnePlus 2 General] gorillaCF:
no i didn't.

what i did from my stock rooted oxygen 2.1.1 :

1. reboot recovery

2. flash kernel

3. flash supersu

4. wipe dalvik/cache

5. reboot
[OnePlus 2 General] Hetalk:
Just try flashing kernel again and reboot without flashing anything or wiping anything else.
[OnePlus 2 General] gorillaCF:
my goodness!! it worked!!

thank you very much !!
[OnePlus 2 General] Hetalk:
Basically, once you're rooted you dont need to reflash supersu everytime you flash a new kernel. :D
[OnePlus 2 General] gorillaCF:
i see. i thought that i should reflash supersu, just in case.

noted on this going forward. looking forward to enjoy the better performance with this kernel, and of course the great helpful community as well.

thanks again.
[OnePlus 2 General] return.of.octobot:
I'm sorry if I sound like a broken record here, but I've mentioned this several times and I've yet to receive any input or confirmation that there's nothing I can do about it.

So again can anyone explain to me why, regardless what I set each processor's input boost frequency at, do the A53 cores continue to boost to 1344 everytime the display is touched. No matter what I have them set at, or even if I attempt to disable input boost all together, it makes no difference. Perfmon shows the A53 cores continuing to boost to 1344, and I can't for the life of me figure out what the hell I'm missing here. Surely, I can't be the only experiencing this. I mean if I need to record a video of what I'm talking about for clarification, I'll gladly do so, although I think I'm being pretty clear about what the problem is.

I've experienced this issue on every version of AK that has allowed custom boost parameters, it always jumps to 1344 on input. Is there anything that can be done about this or is this just something I'm going to have to accept and deal with.

For the record, I'm on Tipsy, BusyBox 1.24, and I've done all the suggested magic tricks I.e. flashing stock kernel, reflashing AK, clearing Synapse data/restarting, wiping system cache/dalvik, none of this has any effect.
[OnePlus 2 General] Dude_Virus:
You are not the only one, this issue persists since input boost came in, I confirm this is happening. Although i haven't bothered reporting it because this didn't cause any issues, rather the phone was snappier. In the end it's the same issue of the values not sticking when set. I am setting the input boost to 500ms and 1555 mhz but on closing and reopening synapses it is back to 40ms and 1284 mhz. So I can't even put a delay too the boost.

Until the reason for why the settings do not stick is found out, I am afraid you and I have to just accept and deal with it. And the settings not sticking is something with synapse as in KA I am able to make settings stick even after an overnight standby. Only downside is that KA doesn't show all the options.
[OnePlus 2 General] drmrahul:
am new here. if my question is unrelated sorry

i am using oneplus 2 for past 2.months. I am getting a decent battery life with about 5.5 hrs SoT. Does Ak kernel improve that? i prefer a 7 hr SoT. U may think am greedy. But a 7hr cushion gives me peace of mind. Of course am already using greenify, amplify (with so many tweaks), ds battery saver too. i dnt play many games, but browse a lot. my brightness is always abt 20 %. Can Ak kernel do the job 4me. My only concern is battery. Can experts help me?
[OnePlus 2 General] Stylo King:
Uninstall all kinds of battery savers and greenify or amplify.. then flash AK kernel.

If you see improvement, then leave it as it is.. If not, then install battery saving tweaks because sometimes these tweaks result in more drain than savings.. So you have to think smart.

Flash and report.
[OnePlus 2 General] return.of.octobot:
Right on, if nothing else thanks for putting my mind at ease. As you said, I can live without for the time being. I've no complaints about the kernel as a whole. I've always been a big proponent of AK's. It was just beginning to frustrate me being unable to tone down the input boost. Again, not a showstopper by any means, but I see the entire A53 cluster to 1344 on input (which is nearly all the time) is excessive IMO.
[OnePlus 2 General] highKo:
I couldn't find any complete profiles to import in this thread so far. I am overwhelmed with the whole options in synapse, could anyone please share a profile to import? I'm on OOS 1.2.1 and AKv15

thanks in advance :highfive:
[OnePlus 2 General] Stylo King:
At First synapse was incompatible and its resolved now but now hotplugs are not playing nice for most of the users (Works for me though)

Wait for some time, Profiles will come by time.
[OnePlus 2 General] ak:
thanks, i have fixed it into the new kernel (test v 18 is online on ak thread), i have reworked the logic for set tunables at boot
[OnePlus 2 General] duminduweera:
Maybe you can upload a CM version too [emoji16]
[OnePlus 2 General] locxFIN:
Hey guys, sorry if this has been answered before, just wanna make sure before I wreck my phone.

[MENTION=3685904]ak[/MENTION] said to dirty flash stock ROM before updating v18, is this the case too if you're already on stock? If so, you have to uninstall via UKM_AK_uninstaller first, right?

Thanks.
[OnePlus 2 General] Hetalk:
If you're on stock ROM with stock kernel, and never flashed any custom kernel, go ahead and flash AK v018 straight away.

If you were ever on a custom kernel, including AK's old builds, flash stock rom before v18.
[OnePlus 2 General] locxFIN:
I'm on v15 atm. That I flashed by itself.

And I have to use the uninstaller first or something goes bad?
[OnePlus 2 General] Hetalk:
In that case, as AK specified, you'll need to dirty flash the ROM before v18. There must be a reason he's put that instruction. :good:
[OnePlus 2 General] PeterImmel:
I don't really get the point. What is the bad about "this thing"? Can someone explain it to me?

____________________________________

AK.018 running since some hours. Feels better. Battery also seems better, but thats to early...

(elementalx-governor)
[OnePlus 2 General] ak:
no source ... no party.
[OnePlus 2 General] Naman Bhalla:
Anyone wants to test my profiles ? Please PM me on Telegram (@Naman_Bhalla) or on XDA. I prefer Telegram because of IM :) ;)
[OnePlus 2 General] megamarini:
Hi, you can upload it here If u want..
[OnePlus 2 General] Nas42O:
I would like test profiles of Naman Bhalla , I copy files .tgz inside " saved profiles " ( Synapse ) , but when I applied profiles , nothing happen :/ , modifications stay unchanged.

Help me please .
[OnePlus 2 General] Fat_boy555:
1) Select the Profile and Click the Tick at the top

2) Click the "Restore Selected Profile" option

3) Click the cross after Synapse reloads

Sent using XDA One
[OnePlus 2 General] zapee995:
[MENTION=5641921]Naman Bhalla[/MENTION] can you give more information about your profiles?? I would like to use a profile with nice performance and perfect battery stats. :)
[OnePlus 2 General] GerRudi:
So, can anyone tell me if I can use OnePlus One profiles as well? (Did you try?)

Because I haven't found a single one for the OPT yet....
[OnePlus 2 General] ak:
No, you can't.
[OnePlus 2 General] chl1810:
I would like to test your profile...?
[OnePlus 2 General] :
Im using now

A53 1344MHz

A57 1344MHz

and governors are both impulses. Hotplugs says for me right now 4:4 do i need all activate if im only typing messages and reading forums ?
[OnePlus 2 General] daavid1995:
No, i have 3:2 and its fast enough for pretty everything :)

send from my OnePlus 2
[OnePlus 2 General] :
Nice to hear :) i will go 3:2 now, is impulse too "powerfull" to me if im only browsing web, youtube, twitch etc or should i try powersave mode ? or go lower cpu mhz ?
[OnePlus 2 General] cAase:
I can't decide if I should use interactive or elementalx. What are you guys using? I like smoothness.

Skickat från min ONE A2003 via Tapatalk
[OnePlus 2 General] daavid1995:
You can try to lower your cpu mhz, I am on 864 and it's fast enough for youtube, whatsapp, twitch, maybe to low for gaming but I am not a smartphone gamer [emoji14]

send from my OnePlus 2
[OnePlus 2 General] :
Are you using both clusters 864? Do it save how much power when compare like full mhz ?
[OnePlus 2 General] daavid1995:
Yes both.

I dont really know but a bit quite sure.

Test it and you will know, because I am never on full mhz :)

send from my OnePlus 2
[OnePlus 2 General] lunarken:
anyone tried the new .18?

im using .15 now. if i wan to update to .18... can i just update like that? or i need to reflash stock kernel then flash .18?
[OnePlus 2 General] aamitabh28:
You need to flash the stock kernel first for v 18 as instructed by ak.

Not generally.. This is a specific case

Sent from my ONE A2003
[OnePlus 2 General] lunarken:
thx.. what if i want to flash other kernel? need to reflash stock first? or can just flash over it?
[OnePlus 2 General] aamitabh28:
Reflashing stock kernel first would be a good idea!

Sent from my ONE A2003
[OnePlus 2 General] duminduweera:
Its not necessarily the stock kernel, he said to dirty flash the ROM first.

I think this is so that we start V18 on an unmodified /system partition.
[OnePlus 2 General] locxFIN:
Anyone know what this is all about?

Happened on both v15 and v18. I deleted the apps I could think of being capable of this before flashing v18, but the issue persists. Don't know if it's harmful, but it wasn't there on stock kernel.
[OnePlus 2 General] bartjeh1991:
Hotplug 3:2 seems to do wonders