Wednesday, 13 July 2016

GUIDE: fine-tuning performance and battery for your S7 or S7 Edge



This is a follow-up post to my GUIDE: ROOT, install XPOSED, and UNROOT/returning to stock a Verizon Galaxy S7

So you want even better performance and battery life than what I include in my flashable update package and in my deep debloat flashable update package? Not afraid to get your hands dirty with more hands-on config? Not afraid to fork over a few dollars to get the nice root apps we need to do so? Well okay then, let's dive in!

Disclaimer: You tweak your phone at your own risk, even if you follow my guide exactly. If something doesn't work right for you or you have problems, feel free to report it so I can modify my guide accordingly, but I'm not offering anyone specific support or help with any of this process. This is just what I do to make my phone that much more optimized.

Apps you'll need:




Android Google Play Store apps you'll need:
Amplify (including in-app pro activation)
Greenify (including pro package)
LeanDroid (including in-app pro activation)

Android Xposed modules you'll need:
Amplify (installed via Play Store app)
Greenify (installed via Play Store app)
(don't forget to activate Xposed modules after you've installed them, then reboot your phone)

Additionally, you'll need the Xposed framework installed and functional. Check my root guide under Recommended Next Steps if you need help with that.

You'll notice that I don't use any task managers (with the slight exception of Greenify, but it's going to be set up to deep-sleep apps, not kill them). You'll also notice I don't use any CPU tweaking apps -- the default settings from our carrier does really well and are persistently set by my flashable update package anyway.


Configuring Android




Note: all of the changes in this section will be in your device's main settings.

Tap on Wireless and networks: More. Tap on Nearby device scanning and turn it off.

Tap on Personal: Location. Tap on Improve accuracyand turn both Wi-Fi scanning and Bluetooth scanning off.

Tap on System: Developer options (should already be enabled from the root section of my guide). Scroll to three options labeled "Window animation scale", "Transition animation scale", and "Animator duration scale". Set all three to "Animation off".



Configuring Amplify




Note: swipe from the left in this app to get a list of sections.

Settings




Show launcher icon: checked
Choose theme: inconsequential
Service Blocking: checked
Force English: inconsequential
Scroll Item Names: checked



Wakelocks




Note: find the item in the list and tap it to configure, then tap 'ON' under 'SETTINGS' to enable controlling the wakelock, then tap the field immediately under this to configure the throttle for the wakelock.

LocationManagerService: 10 seconds
Icing: 30 seconds
*net_scheduler*: 120 seconds
GCoreFlp: 60 seconds
NlpWakeLock: 60 seconds
NetworkStats: 60 seconds
SyncLoopWakeLock: 300 seconds
AudioIn: 240 seconds
fingerprint_scanner_local: 9999999 seconds
NlpCollectorWakeLock: 60 seconds
GeofencerStateMachine: 10 seconds
GpsLocationProvider: 1 second



Alarms




Note: find the item in the list and tap it to configure, then tap 'ON' under 'SETTINGS' to enable controlling the alarm, then tap the field immediately under this to configure the throttle for the alarm.

com.android.internal.telephony.data-stall: 60 seconds
com.google.android.gms/.lockbox.Lockbox: 60 seconds
com.levelup.beautifulwidgets.core.ACTION_REFRESHTIME: 120 seconds throttles the Beautiful Widgets widget refresh time



Services




Note: services can either be enabled or disabled entirely, not throttled. I haven't found it necessary to disable ("control") any services using Amplify.






Configuring Greenify




Note: most of the performance savings will come from this app.

Working Mode: Boost
Shallow Hibernation (experimental): enabled
Aggressive Doze (experimental): enabled
Xposed-based Features -> Wakeup Timer Coalescing (4.4+): checked
Xposed-based Features -> Telephony Wakeup: checked
Xposed-based Features -> Don't Remove Notifications: checked
Xposed-based Features -> Block App State Abuse: checked
Xposed-based Features -> Deep Hibernation (alpha): unchecked
Xposed-based Features -> GCM push for greenified apps: checked
Xposed-based Features -> Greenifying system apps: unchecked
Xposed-based Features -> Reveal Hidden Sync: unchecked

Now you'll need to add apps you want to Greenify. From the main Greenify menu, click the [+] button at the top of the app. Scroll down and click "Show more apps". I would select almost all apps except the ones that need to automate or update the UI such as widgets, Xposed modules, print services, dialer/phone, alarm clocks, widgets, etc. Some SMS or chat apps may also need to be skipped, but I personally have Hangouts, Facebook, etc. Greenified and I still get instant notifications for new messages and e-mails just fine. Your experience may vary, so spend some time experimenting with what apps you do and don't like put into hibernation when not in direct use.



Configuring LeanDroid




Note: I only use LeanDroid's features to compliment Blocking Mode during specific hours. Tasker or other automated programs could do this, but that's a more in-depth guide. Additionally, this setup will add a persistent notification that you can use to pause/unpause LeanDroid or jump to its settings. That notification can be disabled by going into the app, clicking the [...] menu in the top right, and choosing "Hide notification". I like having it there to know it's on and to pause/unpause it if I'm not using blocking mode for some reason.

LeanDroid master on/off switch: enabled
Disable... -> Wi-Fi: checked
Disable... -> Cellular data -- leave it unchecked if you want the phone to be cut off from all data during blocking mode hours / check it if you want it to be blocked
Disable... -> Cellular radio: unchecked
Disable... -> Bluetooth: checked -- unless you feel that Bluetooth connectivity is important during blocking mode hours
Disable... -> Network location: checked -- unless you feel that location availability is important during blocking mode hours
Disable... -> GPS location: checked -- unless you feel that GPS availability is important during blocking mode hours
Switch... -> Cellular network mode to [varies]: unchecked -- you could check this and enable 2G or 3G if you are allowing blocking mode hours to have access to cellular data, but want to restrict it to lower speeds (uses less battery than LTE/4G)
Switch... -> [varies] after screen off [except] -- multiple options here, set it to '5 MIN' after screen off and click 'EXCEPT ->'
EXCEPT-> Except [varies]-[varies] -- time range, I have mine set from 7:00 AM to 11:30 PM because at 11:30 PM is when my Blocking Mode is enabled on my phone (until 7:00 AM the next day), adjust yours as necessary
EXCEPT-> remaining options: unchecked -- set as desired, but I have them all off
Restore... -> After screen on: selected
Restore... -> After screen unlocked: unselected
Restore... -> Every [varies] after screen off: unchecked -- configure if you want data enabled in short bursts during blocking mode hours
Restore... -> Data after waiting [varies] for Wi-Fi to connect: unchecked

Use these settings in tandem with Samsung's built-in Blocking Mode on a schedule. Your phone won't hardly touch any battery overnight if left off the charger (unless you're in a really horrible reception area and/or roaming or something -- cellular radio is still active for phone calls).



Enjoy!




No comments:

Post a Comment