yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Phelicks:
What are the best settings in config app to achieve best battery with optimal speed?

Отправлено с моего ONEPLUS A3000 через Tapatalk
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] xanthrax:
Use it as it is or try yourself, the way the people are using their phone varies alot, don't expect someone's settings to match your usage just try yourself, there is a thread dedicated to profiles, read it, study it and draw conclusions, there's no best settings /kernel or ROM, everything it's user's choice based on his habits

Sent from my Darkside of Oneplus 3
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] zzzhead:
I am not able to get magisk v8 with systemless supersu working. Wondering if the installer script did something to the path, cuz it shows detected systemless su, even though I removed the su.img in /data
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] hellcat50:
follow the instructions on the original thread (flash supersu, flash kernel, rebooot to system and install magisk via the app)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] zzzhead:
What steps did you take to get it to work? The steps you mentioned are a little different from the OP of magisk.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] hellcat50:
because boeffla kernel :)

i don't use magisk on my op3 but on my tablet and there it's working fine with this order
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Allosaur:
Hi Andy, your latest kernel is working beautifully with cm14. Screen on time of over 7hrs today. I wonder if you could allow your config apk to work on Android N?

Thanks
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Well, config app works fine for me on Android N. What is your specific problem?

BTW - I am curious how you tested, as I do not even provide an Android N kernel.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Allosaur:
I just flashed your CM13 kernel over CM14 - at present android n for OP3.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] v7:
Almost all CM13 kernels for OP3 works on CM14 :confused:

__

v7

Forum Moderator
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
... and this is why it does not fully work.

CM13 kerner on (current) CM14 will cause issues.

Reason is: CM14 stock kernels currently run permissive only, Boeffla CM13 however runs on strict.

So, it is the kernel responsible for the app to not work.

With my CM14 alpha kernel, just for test purposes, the app works as it should.

Ok, I am speaking of OP2, OPX and OPO. On OP3 I have not done any tests so far.

And before you ask: No, it does not help to set the kernel to permissive as it is too late.

Well.... not 100% as I think, see above.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Allosaur:
Thanks, I look forward to your CM14 kernel then!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Hi all

Kernel update is out:

Version

1.0-beta12

25.10.2016

- Change: Removed pocket mode driver I took from another dev and replaced it with my own, much more lean and straight-forward version - functionality stays the same

- New: Remove verifiedbootstage flag to avoid triggering safetynet (this means improved compatibility to certain apps like Android Pay etc.)

Enjoy

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Continued to play with CM14 on my devices.

After OnePlus 2, OnePlus One and OnePlus X I targetted OP3 today.

https://twitter.com/andip71/status/790950264698245120

Don't expect a soon release (I usually wait for official CM releases), but for me internally I am quite there already, which is good.

But now internally I have alpha kernels ready on all 4 OnePlus devices, so I am prepared once this gets a hot potato :)

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
[MENTION=947981]Lord Boeffla[/MENTION]

Hi LB. I was wondering if I could get your help with some kernel code. I thought that changing this value: https://github.com/bedalus/oneplus3...ede7241bdb6a368/drivers/power/qpnp-fg.c#L2141

...would allow me to set a lower charging limit. I'm reaching out to you for help with this as I've reached the limit of my own understanding. Do you have some time to point me in the right direction?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
What do you mean by lower charging limit?

To stop charging below 100% or something else?

I might not find much time to help in next days when it is something more complex in the end.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] bedalus:
Yes, to stop charging at 90% for example, to reduce stress on the battery and increase its longevity.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] zzzhead:
That would be really useful, I also try to stop charging once 90%
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] xanthrax:
I'm pretty sure that this is only a myth nowadays ...

http://batteryuniversity.com/learn/

Sent from my Darkside of Oneplus 3
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
I agree.

If it were really the case, a battery would be longer living when charging stops at 90%, then it would be only a question how to define 100%.

Or in other words, if that is the case, I am sure all engineers will build that already and and define the 90% already as 100% for the user.

So when the phone loads to 100% on the display, battery is still charged only up to 90% in reality.

So I also believe, stopping charging at 90% would not make a huge difference.

But I might be wrong, for this to check we would need exact specifications for the battery to understand which voltage indicates a real full charge. We do not have that.

I might still look into that for half an hour, just as I am interested where this gets defined in code. If it takes me longer to find it, I will stop however.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Schrotty35:
14.1 source is out
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
... no kernel changes, so far at least...

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] BoOsT:
Lord have you had any experience with this governor?

http://xdaforums.com/showpost.php?p=69251361&postcount=1880?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Never heard of it.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] zzzhead:
New version breaks home/fingerprint sometimes when screen on.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Never had that ever. Anyone else?

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] hellcat50:
well, sometimes it didn't work with screen off and when activating the screen it works again, but this is rarely happening
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Ok. Some glitches are known, yes. But with all implementations out, so nothing to worry much about.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] banjaminicc:
Is there dash charge?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] zzzhead:
Yep
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] banjaminicc:
Thanks!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Come on guys, why do you ask that noob questions?

Dash charge is coming with stock. Why the heck should I ever want to remove it?

Of course it is in therefore.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] hellcat50:
:laugh:
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] BoOsT:
Bahaha! XDA is comical sometimes. It wouldn't matter if it were in big bold letters, people will still ask.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
New kernel available.

Version 1.0-beta13

28.10.2016

- Fix: Security vulnerability CVE-2016-5195 (Dirty Cow) fixed

Enjoy

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Hi Boeffla Universe,

I am about to leave for a business trip now.

So there will be no kernel nor app updates in the next 6 days before next week Monday - regardless what happens :)

Also my support in the XDA threads will be only minor and I can answer only delayed to questions.

Enjoy the "free time"

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] xantic21:
Does the newest nightly require a kernel update? I saw some kernel changes in the nightlies changelog
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
No. Running still fine with latest beta kernel.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] unknvvn:
For some reason pocket mode sometimes stops working until you reboot the phone. Anyone else?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
It is known to not be 100% stable as the fingerprint driver obviously sometimes has "his own opinion".

It would help if you would elaborate how you use pocket mode - with a rom supporting it, with the Boeffla Pocketmode app, whether you have removed the app from Battery Optimizations of Android etc etc etc.

But no, on my side I never faced a single occurance of this stopping.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] sille:
Hey Andi,

im using your newest CM Kernel paired with the BJRR Rom from 03.11.

I have installed your kernel config app but not your pocketmode app.

Lets say, if im hiding the sensor of the phone (Pillow, whatever), it takes about 10 min and the FP scanner is offline. Unlocking manually fix it again, till im hiding the phone again.

BJRR has the pocketmode integrated, but problems only exist in the newest ROM 3/11 with your kernel, so i went back to 18/10 and it seems to work for now
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Maybe the rom has changed something that makes it incompatible now.

If so, I will not gonna change it again. This is a big hack anyways, and I never liked it.

However, with my own app it seems to work very decent. So I will keep it as it is.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] sille:
ah ok, then im going to test it with your App again and see if it works :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Yes, check that out.

I just hope, the control for pocketmode in the rom can be disabled cleanly. Not that rom and app conflict with each other.

My app is - of course - tailored to be used on roms that do not have this support, like vanilla CM for instance.

Good luck

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] ZeNiXxX:
For example ressurection remix rom has its own Pocketmod app. But you can simply freeze the app with titanium or any other apps. Than its for sure that there are not in conflict.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] sille:
according to the dev, flashing a custom kernel disables the pocketmode function. so hopefully there will be no conflict but we'll see

---------- Post added at 14:16 ---------- Previous post was at 14:08 ----------

wait? what?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] zzzhead:
Which pocket app is that?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] ZeNiXxX:
if you're using the latest bbj than go to settings - apps and show all apps and scroll down to oneplus-pocketmod. If you delete or disable this you will see that pocketmod wont work anymore with ex-kernel
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Hi all,

maintenance update to CM13 kernel:

Version

1.0-beta14

07.11.2016

Update: Updated with latest official CM kernel commits as of 07.11.16, 8am CET

Fix: Busybox 1.25.1 recompiled with missing sync command

Change: Build script improvements (credits to ZaneZam)

Enjoy

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] liver20:
Thanks.

If rom dont support pocket mode, how can i use your kernel and your app for pocket mode?

Enviado desde mi ONEPLUS A3003 mediante Tapatalk
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
You install my kernel, then load my pocketmode app from playstore and start it. Done :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] liver20:
Thanks for your work.

But the app not have battery drain? Is better than native rom control of pocket mode?

Enviado desde mi ONEPLUS A3003 mediante Tapatalk
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
For me the app does not drain the battery. And also in all theory it should not have any.

However, nothing is for free. So of course the app "does" something, and this of course requires a little bit battery.

But for me it is not noticeable.

Try yourself and see.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] KaszasM:
to all RR users as it was posted earlier you need to remove the integrated pm app and use Boeffla 's or you get some strange behavior. [MENTION=947981]Lord Boeffla[/MENTION] thanks for the upstream :)

Tapatalkkal küldve az én ONEPLUS A3003 eszközömről
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] liver20:
Is possible remove pocket mode from any rom? For example tesla n rom? Or whatever

Enviado desde mi ONEPLUS A3003 mediante Tapatalk
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] KaszasM:
if there is the app than of course.cant tell nothing about other roms but if you can find the systemapp onepluspocketmode. apk (if i remember well) than ofc just delete/remove with any filebrowser. and i think Boeffla made some changes too compared to Fluxis. and anyway to control the same funktion/sensor with 2 apps in the same time meens conflict anyway. weist case you can backup the app, or dirty flash your rom to get the integrated pm app back. but it works just fine with Boeffla s app.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] unknvvn:
Hi Lord,

Using official cm13 11-02, beta 10 kernel, latest Boeffla apps, Boeffla pocketmode is excluded from battery optimization.

Edit: was using beta13 kernel

Regards,
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Ajaykumar21066:
How to disable touch boost in boeffla kernel ?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Specifiy what you mean by touch boost.

You can disable cpu boost in Boeffla-Config app.

All other kind of boosts cannot be disabled, if any more exist. I am not a fan to switch everything off just to save 0.001% battery but lack UI experience.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] QuantumRZ:
Probably he means this.

(I am using exkernel)View attachment 3930336

OnePlus 3 - RR | systemless root | xposed
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Ajaykumar21066:
Yup. I don't find similar option in boeffla app
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
I allow CPU boost to be configured, thats it.

Maybe ex kernel means touch boost for cpu boost, no idea as I do not follow other developments.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Daemos:
Hey Andi, touch boost is different, it's where the CPU is boosted when the screen is being touched. When properly configured, disabling touch boost is actually a very good battery life saving measurement, and does not impact responsiveness of UI. However, this is your kernel so you are free to implement whatever features you want to use :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
But this is also exactly what CPU boost does finally.

Anyways, I am not considering any other options to be adjusted in that area. Based on previous experience, the battery savings are completely minor.

But people that want to have that deperately can use another kernel that gives that option.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Hi all,

next maintenance update to CM13 kernel again:

Version

1.0-beta15

09.11.2016

Update: Updated with latest official CM kernel commits as of 09.11.16, 8am CET

Enjoy

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] xantic21:
Official CM14.1 Nightly is out.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
... doing a clean install on that version already just as I type.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] xantic21:
Be aware that in-call audio is broken. It's amazing how fast you are, already got the update of your Config App. Your work is amazing!!!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] Facebooook:
Can i use beta15 with cm 14.1 rom ?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Allright. This is why I have not noticed anything. I never use my development phone for doing calls, hehe.

No, it will not work.

CM14 = Android N requires some good changes to work. So you will have to wait for my beta1 kernel for CM14.1. Which is ready, and I play with the thought to give it out today still (although I cannot suppor tor the next 5 days as I am not at home).

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] kqueenc:
Maybe a stupid question. Does mobile network drain much more juice than WIFI does?

I notice my battery usage in screen off is average a little over 1% per hour by using WIFI, while it is over 3% per hour while using 4G.

It there that much difference?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
This depends a lot on your mobile signal reception.

But in general WIFI uses less juice than mobile network, this was always the case with all phones I had.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] kqueenc:
Thanks for quick reply.

What's the difference between these 2 in your phone? I can accept if your statistics isn't far away from mine.

By the way, I switched from EX to Boeffla just last week. There used to be "Touchboost" and "Fsync" option in EX kernel manager, but I cannot find them in Boeffla config app. Do I miss anything?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
My ratio is around 1:3. So I need about 3x more battery when on mobile network.

FSync: It is called dynamic fsync and on Governor/IO tab at the very bottom in Boeffla-Config.

Touch boost: I do only allow to configure input boost, which is pretty much the same I would assume. It is on Display+LED Tab and called "Input boost" where you can configure this to be on or off per CPU cluster, also you can configure the frequencies and the duration of it.

If touch boost is still something different (I do not follow other kernels development), I have no plans to make it configurable too, sorry.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] kqueenc:
While using EX, I was suggested to disable disable dynamic fsync to increase performance but there's risk losing data. For "Touch boost" (or maybe I should call it "Input boost in Boeffla config"), I was also suggested to disable it in order increase SOT.

Is it the same case in Boeffla?

Thanks again for your answer.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
My opinions are quite clear:

Disabling touch boost will not noticeably save battery. But you can try and switch Input Boost off in my kernel, then you will see.

Dynamic fsync should be enabled for better performance, with the extremely minor risk of corrupting data (I never had an occurance as the driver in my kernel handles also kernel panics etc.).

So I would keep dynamic fsync on, and with input boost you can "play".

But bear in mind: Kernel influence on battery life is really minor compared to other pieces like rom, apps, background processes etc.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] kqueenc:
Check. I will take your advice! :good:
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] DarKAngel1234:
Beta 12, 13, 14, and 15 all have worked just fine with CM14.1 or CM14, under either AICP or Tesla's version of N.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
But not together with Boeffla-Config. This was not possible due to Selinux changes with CM14.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] DarKAngel1234:
It would work if you forced Selinux to premissive under CM14.1 or CM14.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] nadejo:
is there a gpu boost option?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] niwia:
Thanks for your work boeffla. You are a legend. Now Cm14.1 is complete :cowboy:
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] kash296:
[MENTION=947981]Lord Boeffla[/MENTION]

The pocketmode app is awesome. However, noticed it isn't working on the unofficial builds provided by ZZ. Will the app support the unofficial builds in the future? :)

It works beautifully on the official kernel anyway, just wanted to know as I'm testing the unofficial builds out. :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Sure, that is what required the changes to be compatible.

But switching to selinux is not really an option. That's why I said, it is not compatible.

No. And I am not planning something like that.

This should not be. Zane usually just recompiles my kernels without changes.

What makes you believe it does not work... error message or function just not working?

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] kash296:
I don't remember seeing the statement in the companion app about a correct Boeffla-kernel version which supports pocket mode, when i flashed the official beta 15. I just flashed the beta 15 linaro 621 kernel which Zane uploaded yesterday. I had used the official one a couple of days ago to test the app. I covered the proximity sensor with my hand to check if it's working, worked perfectly on the official kernel, it doesn't seem to work on the builds by Zane. Now when i cover the sensor and press the fingerprint sensor, it unlocks. Not a deal breaker for me, but i figured I'd mention it anyway. Thanks :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Did you reboot after installing the app? Just to go sure.

If it still does not work then, it might be worth posting that in Zane's unofficial kernel thread.

The app should work fine on his kernels, he is using it too.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] kash296:
Thanks! Working fine now. I didn't have to do this on the official, so it didn't occur to me to give it a shot this way. Cheers! :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
** Absence - again **

Hi all,

me again disappearing for the next 5 days.

I will leave in an hour towards the city of Rome in Italy for 5 days vacation, returning back Monday night.

This means again the obvious: Much reduced support and for sure no updated of anything before Tuesday.

Have a good time

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] xantic21:
[MENTION=220904]andi[/MENTION]: With the last two updates of your Config App (2.14.14 and 2.14.15) I can't access the govenor tunables anymore. When I click on "Tunables" I get an error message "access denied"...something with boost......I can't remember exactly, I had to go back to version 2.14.13. Anyone else having this problem?
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
Hi,

yes, I can confirm this. It is a side effect of the root library exchange done with 2.4.14.

I cannot fix it before I go on holidays, but will look at it next week Tuesday.

I think I can fix it in next 10 minutes, before I really enter my Taxi... fingers crossed.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] xantic21:
No problem, take your time. I went back to 2.4.13.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] andip71:
App 2.4.16 is pushed out. Tunables maintenance should be working again.

Andi
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] corrupt1234:
Gonna try this with the official cm14. Have a safe journey fam!
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] xantic21:
This was fast! Thank you very much!!!! It's working again.
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] kash296:
[MENTION=947981]Lord Boeffla[/MENTION] if i close the pocketmode app from the recents panel, i no longer have pocketmode access, and i can unlock using my fingerprint even while covering the proximity sensor. Could you look into it after your vacation? Have a nice time btw :)
[OnePlus 3 ROMs, Kernels, Recoveries, & Other Devel] hellcat50:
you have a great time :)