Power Tweaks for SnapDragon 810 Devices

jcespi2005

Senior Member
Feb 15, 2006
2,376
190
0
49
Madrid
Last edited:

CounterC

Senior Member
Oct 26, 2012
2,029
635
0

vazovskiiii

Senior Member
Feb 20, 2008
1,061
80
0
Tbilisi
for me nothing suspicious on this guide i have did it yesterday but nothing with regard of battery, but i think it's because i have flashed kernel before did this and it needs to be charged 2 or 3 times
 

iaa85

Senior Member
Aug 10, 2015
267
78
0
35
BRASÍLIA
People I tested this yesterday and I got some good results, almost six hours in 24hrs of total time.. This is not complete test because I had flashed new version of the boeffla kernel, so today I test again with some changes in gov of the cpu, but it seems to me very promising... Thanks for guys who brougth it to us...

Enviado do meu ONE A2001 através de Tapatalk
 
Last edited:

Naman Bhalla

Senior Member
Jan 1, 2014
1,166
3,051
0
22
Another interesting read:

https://github.com/dtsinc/DTS-Eagle...tation/devicetree/bindings/power/qpnp-bms.txt
or
https://github.com/OnePlusOSS/andro...tation/devicetree/bindings/power/qpnp-bms.txt

at

qcom,shutdown-soc-valid-limit = <20>;

sounds like the % the SOC shutdown the A57 core... perhaps can be changed...
Exactly... The tweaks I am testing at the moment include that too... So next tweaks will be a lot awesome.. ;)

Sent from my ONE A2003 using Tapatalk
 

Naman Bhalla

Senior Member
Jan 1, 2014
1,166
3,051
0
22
Ok Guys.. So I have started writing sys-) kernel -) slab myself now. Track the activities on Github. I will be uploading it there soon. With that, I expect everyone's SOT to increase by 2 hours without any affect on performance but we'll we have to see how it goes.
Thanks.

Sent from my ONE A2003 using Tapatalk
 

Greenforty1

Member
Nov 9, 2014
42
22
0
Wow thanks, can you message me to give me more details?

Oneplus 2


This is what happens when I reboot/press play. Error.

And if I press to copy the error log, it puts nothing on clipboard.
I have this too. Tasker has su permission.

Sent from my ONE A2003 using Tapatalk
I'm also stuck at writing the file. Do you know a solution?
i get an error when trying to run the write command in the tasker script.
what can i do to make it work? help is welcome. :eek:
Any thoughts on that?
Looks like tasker has no permission to write to system files.
I modified the task a little bit. It now uses shell commands (as root, similar to the chmod actions in the beginning) to set the values.
Instead of using the tasker "write" action, I am using :
Code:
echo x > /path/to/file
with root permissions

Tried it before and it works.

Download Tasker Project
So basically the first 4 tasks are to give tasker permission to write the files and the other 4 are for writing the files.
A possible solution for your problems would be to manually set the path in the last 4 (write file) tasker tasks (not by typing but with the magnifier icon) and run it again. If that doesn't work you there might be a problem with setting the permissions, manually set the permissions and test again if that works rewrite the permissions tasks, reboot and try again after
 

CounterC

Senior Member
Oct 26, 2012
2,029
635
0
Looks like tasker has no permission to write to system files.
I modified the task a little bit. It now uses shell commands (as root, similar to the chmod actions in the beginning) to set the values.
Instead of using the tasker "write" action, I am using :
Code:
echo x > /path/to/file
with root permissions

Tried it before and it works.

Download Tasker Project
Worked, thanks!
 
Sep 4, 2015
42
11
0
21
what this does is basically activate debugging (for some reason, dont know what that should improve) and setting max cpu freq only at 99% Load and stops setting the max freq when it gets under 55% load, right?
Wouldnt something like 95%/70% be better than? (95% for performance or keep 99% for battery :) , just so it still has a chance reaching its max clock somehow in games for example, cause on my phone at least it almost never hits 99% cpu load in games.)

Or does "vf_adjust_low_threshold" mean that until then it is in lowest clock?
Then 95%/40% could be even better :)

Isnt that basically changing the Kernel Governor Settings?

I would be happy to see someone release a new Governor or even a modded boeffla or elementalx kenrel based on these changes :)
So you dont have to apply it everytime on boot or use it as a task.

Or did i understand something wrong?

Thanks for feedback! :)