Power Tweaks for SnapDragon 810 Devices

maikl91

Senior Member
Apr 5, 2016
59
15
0
Im sorry but I just don't get it:
Besides flashing the v3 through trwp do I need to do anything else like those command lines?

Do I need to make any backups and how do I remove the flashed tweaks?

Thanks!
 

FPSUsername

Senior Member
Jun 18, 2012
3,504
963
253
FPSUsername.cf
Something important about those power tweak scripts

Make sure that the .sh file in /system/su.d has the permissions chmod 0700 / RWX------

From versions 2.22 onwards, after the policies have been patched and the daemon is ready to go, all executables in the /system/su.d/ directory are executed (chmod 0700 both the directoy and the scripts)
I uploaded a fixed version that makes the permissions to 0700, please delete the .sh script from your phone if you already installed it. I renamed the .sh to power_tweaks.sh so whenever an update is coming, you can flash it right over the old one without problems (universal name).
 

Attachments

Last edited:

Pierre2324

Senior Member
Oct 25, 2015
1,458
2,125
153
22
Okay so today I got 5hrs Screen On Time on first cycle (Messenger, wifi searching a little bit, messenger calls (at least 1 hr of talking),chrome, youtube, snapchat)will see tomorrow how it does?on a connected all day wifi

Sent from my unknown using XDA-Developers Legacy app
 

Kallepalli

Senior Member
Nov 11, 2016
124
17
0
NEW TWEAKS!!!!!!!!!! 07/09/15

Hey there guys,
This is my first XDA thread and I am here to share some battery tweaks by my friend @Naman Bhalla. I am using Oneplus 2 rooted on stock rom with unofficial uber Boeffla Kernel by @ZaneZam.
These tweaks will work with all Snapdragon 810 devices. Naman and I and a few fellow Oneplus 2 owners have tested them and our battery life have increased significantly. These tweaks controls the qualcomm power drivers which are poorly messed up. You will need a root explorer like ES File Explorer to edit the files.

Here are the tweaks:
1. sys\module\qpnp_fg\parameters
here you will find 4 files. open the file debug_mask and change the value from 0 to 1 and sense_type from 1 to 0
2. sys\module\qpnp_smbcharger\parameters
here you will find 12 files. open the file vf_adjust_high_threshold and change the value to 99 and vf_adjust_low_threshold to 55.

My screen on time increased from 5h10min average to nearly 7hours. that is almost a 50% increase! The only problem with these tweaks is that it will not stick after a reboot but there are only 4 files to edit and most of them are from the same folder, thus it is not much of a hassle to do that after every reboot. They will also not have any impact on performance and only improve battery life.
Have fun and Enjoy the tweaks!

NEW TWEAKS! 7/09/15
Tweak 1
The file I am uploading now is the a config file to manage the thermals. It is tested ONLY ON BOEFFLA KERNEL so use it at your own risk if you are on other kernels.
The file is located in system\etc.
Steps:
1. Open Boeffla-Config app and go to the MISC 1 tab
2. Change system tweaks to Thermal-Custom
3. replace the file using a root explorer, ES File Explorer recommended
4. Reboot and you are set to go

This will stick after reboot unlike the tweaks before.
Download link for the thermal-engine.config file.
https://drive.google.com/file/d/0B18V29gXNAaPYm11UEl2Y1JxOXc/view?usp=sharing

Tweak 2
sys\module\qpnp_fg\parameters\first_est_dump to 1
sys\module\qpnp_fg\parameters\debug_mask to 1
sys\kernel\slab change cpu_slab in all :at folders to 99, cpu_partial to 5, min_partial to 58

thats all for the new tweaks for 7/09/15. Sorry for the slight delay in upload have been busy. Enjoy and post results!

Credits to @Naman Bhalla for providing me with the tweaks
The google drive files doesn't exist:crying:
 

xrehpicx

Member
Jun 4, 2016
14
1
0
I'm on 8.1 and I see no improvement, the phone just heats up a lot and the battery once reached 40% drops really really fast, even if I'm at the home screen, every 10seconds I lose a percentage , doing noting, by the time I finished typing this I've already lost 5 % from 30% to 25, and now it's 24
 

agent.47

Senior Member
Feb 9, 2015
68
8
0
Birjand
Hi, I searched almost the entire topic but i cant find the proper v3 file
could anyone send a link here?? or attach it??
should i flash a custom kernel? im running stock MM with stock kernel
 

Chaprnks

Senior Member
May 9, 2011
101
32
58
Soviet America
gta.sh
I know this is an old bump.. but this will be very useful for people still using an SnapDragon 810 (like me). Dived through all the topic pages & included the V1 & V2 and uploaded as attachment. Both of these are in su.d format (I personally use init.d, but its easy to convert it).

Enjoy!
 

Attachments

  • Like
Reactions: arindamrocks

TheVan28

Senior Member
Nov 2, 2016
320
75
28
Naples
I know this is an old bump.. but this will be very useful for people still using an SnapDragon 810 (like me). Dived through all the topic pages & included the V1 & V2 and uploaded as attachment. Both of these are in su.d format (I personally use init.d, but its easy to convert it).
Enjoy!
How do you convert su.d to init.d?
 

arindamrocks

New member
Mar 22, 2015
1
0
0
I know this is an old bump.. but this will be very useful for people still using an SnapDragon 810 (like me). Dived through all the topic pages & included the V1 & V2 and uploaded as attachment. Both of these are in su.d format (I personally use init.d, but its easy to convert it).

Enjoy!
How do you install or enable this script I am almost a noob so have to be a bit clear about things. Thanks in Advance.