[Verizon Samsung Galaxy S7 Guides, News, & Discussi] swick1981:
GUIDE: FIX S7 LAG FROM ROOT! Works on ALL S7 Variants (& Almost ALL Android Phones)

Hey All,

I've found a GREAT PROGRAM that'll fix ALL your lag issues after rooting the S7, called Gov-Tuner.

I've tested by ODIN-ing back to stock (PE1 firmware) and my results were INCREDIBLE, though you do not have to (YMMV)!!

I'm also including Install instructions for Viper4Android Sony Beats 4.8 Universal Edition, SELinux Mode Changer, and what apps to freeze with BootManager - An XPOSED Module - below as these will also help speed up the phone AND provide even more compatibility to install most apps! (for example, SELinux MUST be set to permissive for V4A if you want to install any version OTHER THAN V4A Sony Beats 4.8 Universal Edition).

UPDATE: I just tested a "Ram Expander" type program and I had VERY different results each time I tried. However, my overall result was that it DID help - though there are costs. Read More Below!

I TAKE NO CREDIT for GovTuner, SELINUXChanger, V4A (And all variants) are NOT my programs! Please support the developer(s) of these incredible mods if it works for you! They have spent a LOT of time and effort to make something amazing & should be supported if you use them!

Now on to the instructions...

DISCLAIMER

:

You take FULL responsibility for installing this mod. IF it brick's your phone, causes nuclear disaster, or blows up the planet, do not blame me... Well, if you do blow up the planet and I'm not one of the survivors, then you can blame me - otherwise, it's YOUR fault!!

(Now that I've covered myself, on to the instructions)

Install on a new, clean, and/or reset phone -

1)Reset phone completely to stock (no root) to PE1 or PF2 firmware (PE1 worked best for me for some reason)

2) Root Phone (g930v) - Follow guide from here: http://xdaforums.com/verizon-galaxy-s7/how-to/how-to-notes-root-install-xposed-unroot-t3411039

3) Flash v15 FIX universal from OP located here: http://xdaforums.com/verizon-galaxy-s7/how-to/how-to-notes-root-install-xposed-unroot-t3411039

I had trouble with the v15 Universal Fix on PF2 firmware, but Others have reported it works. So it's up to you...

4) Flash XPosed firmware IF you want to run XPOSED (You can use Wanam's framework v86.0 or Topjo's v86.2 - It's been mentioned that topojo's framework is smoother, but I've NEVER used it. Please report back and let use know. (let phone reboot) -

Install XPOSED APK at any time

5) Flash Gov-Tuner (v2.6 Latest Version as of writing this) (reboot phone)

Download From here: http://xdaforums.com/devdb/project/?id=16012#downloads

GovTuner's Project Thread: http://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828

6) Install Universal INIT.D and set the toggle to "ON" (From playstore) - Or flash a mod to give INIT.D support without needing an app

7) Install L-SPEED (Playstore) and either use my settings to make your phone INSANELY BLAZING FAST (available below) OR the settings suggested from this site after the LSPEED button -

http://xdaforums.com/verizon-galaxy-s7/how-to/guide-fine-tuning-performance-battery-t3417804

8) Install Terminal app (From Playstore)

9) Install an app to change your governor (ir. Kernel Auditor, Rom Toolbox, etc... from Play store)

10) Use app to select the Governor you want to use - (ie. interactive, ondemand, etc) - I prefer INTERACTIVE & suggest you select it - (if it's not already selected & running)

11) Open your preferred terminal app (from phone) to run GOVTUNER

(instructions with commands below - also available on Gov-Tuners Project Thread)

http://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828

11a) in terminal, type "su" (without quotes and hit enter)

11b) in terminal, type "govtuner" (without quotes and hit enter) - Program will make sure you meet all requirements

11c) You should see a menu with 3 profiles available - Battery, Balanced, and Performance. (1, 2, & 3 respectively)

11d) Select the number the corresponds to the profile you want and then hit enter. After it configures you should see up at the top left the profile you selected running in some kind of color - (For instance, Performance is written in blue)

Gov-Tuner Project Thread here: http://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828

12) PROFIT!!! Change & Test different governors AND profiles to get your phone to whatever you prefer.

Whenever you want to change profile, use the govtuner command.

Whenever you change your governor (through romtoolbox, kernel auditor) and you still want to use the same profile you last selected, then you only need to run the "tune" command.

*** Scroll Down to view a list of apps you should freeze ***

Install Gov-Tuner without Resetting Phone

(MUST HAVE ROOT)

1) Download GovTuner from here: http://xdaforums.com/devdb/project/?id=16012#downloads

2) Install Universal INIT.D (Playstore) - Open app and set toggle to "ON"

3) Install Terminal (Playstore)

4) Install L-SPEED (Playstore) - Use my L-SPEED BLAZING FAST settings offered below (at reduced run time) OR the suggested settings from this thread - http://xdaforums.com/verizon-galaxy-s7/how-to/guide-fine-tuning-performance-battery-t3417804 where you'll get a slight performance increase with more run time. (Reboot phone)

4) install an app that'll change your governor (ie. Kernel Auditor, Rom Toolbox, etc.) (Playstore) - Only if you want to change governor

5) Flash Govtuner (v2.6 is latest version at time of writing) with Flashfire's - use OTA flashing option

6) Change governor ONLY IF YOU WANT - (interactive, ondemand, etc) -

I suggest selecting "INTERACTIVE" governor if it's not already running.

7) Open terminal app from phone and run GOVTUNER with the following commands (link to GovTuner Thread above)

7a) in terminal, type "su" (without quotes and hit enter)

7b) in terminal, type "govtuner" (without quotes and hit enter)

7c) You should see a menu with 3 profiles available - Battery, Balanced, and Performance. (1, 2, & 3 respectively)

7d) Select the number the coorosponds to the profile you want (1-Battery, 2-Balanced, 3-Performance) and then hit enter. After it configures you should see up at the top of terminal windows the profile you selected - in some kind of color - (For instance, Performance is written in blue)

8) PROFIT! You may want to test each profile with the different governor(s) until you get EXACTLY what you want. (Long battery life, More performance, etc)

*** Scroll Down for a list of apps to freeze ***

My L-SPEED Settings for an

INSANE PERFORMANCE BOOST!

My Governor is set to "INTERACTIVE" (used Kernel auditor) & the GOVTUNER profile is set to "PERFORMANCE"! (used govtuner within terminal app).These settings will give you an INSANE performance boost, and my runtime is usually 18 hours.

L-SPEED Settings:

Main tweaks Option (From MAIN MENU options)

You can "KILL MEDIA SERVER" manually from within lspeed - It will automatically run on startup.

Kernel Modifications:

Kernel Tweak - Disabled

Kernel Sleepers Optimization - Enabled

Under System Tweaks

Battery Improvement - Enabled

Faster Boot - Enabled

WiFi Sleeper - disabled (you preference)

Flag Tuner - Enabled (I recall a much better flag tuner mod that could be flashed. If its still available, you should use/flash it & disable this setting. The developer of LSPEED was the one who said this & suggested it to us when LSPEED was a flashed mod.

Assertive Display - Enabled

UI Optimizations:

Improve Scrolling - Enabled

Liquid Smooth UI - Enabled

Debugging Options Menu:

Disable Debugging - Enabled

Disable Kernel Panic - disabled

Other Tweaks Menu:

Better In Call audio - enable

Improve image quality - enable

MISC Tweaks - disabled

CPU Tuner Option From main Menu Options

CPU TUNING MENU:

CPU Optimizer - Enabled (Might not need with govtuner running, but I've used with this enabled and hasn't cause a prob - YET... lOl)

LNET OPTIMIZER (From MAIN MENU)

LNET Tweaks Options

NET BUFFERS - BIG

RIL Tweaks - enabled

LNET OPTIMIZATIONS Options

Google DNS - Disabled (Your choice)

Faster Streaming - Enabled

Fast Dormancy - Enabled

IO Tweaks (From Main menu)

Storage IO Tweaks Options

SD Tweak -Aggressive (This sets SD CARD cache amount. I'm using a 256GB Micro SD card and the aggressive setting changes the cache to 2048kb - for me)

IO Boost - Enabled

IO Extended Queue - Enabled

Partition Remount - Enabled

Virtual Memory (From main Menu)

Memory Management Tweaks

OOM Killer - Enabled

Cache Reclaiming - DOUBLE (This option WILL drain battery faster)

Cache Allocation - Medium

RAM Manager (From main Menu)

RAM Manager Options

Ram Manager - (I change this depending on what I'm doing between Multitasking or Gaming - though I hardly EVER play games)

Seeder (Main Menu)

Seeder Options

Seeder - Aggressive (This will drain battery a little faster but has given me AMAZING performance increases!) I'd suggest you try aggressive and work your way through each option to see where it takes you and how much battery / speed you gain / lose!

Cleaner (From Main Menu)

Cache Cleaner

(You can run whatever you'd like - I'd suggest running "Clean Junk Files and wipe cache partition & dalvik cache)

Cleaner Options:

Run Cleaner On Boot - Enable (You do NOT have to set it to enabled, but I prefer to clean things up at boot)

FSTRIM (From Main Menu)

FSTrin On Boot - Enabled (Again, it's not necessary to run this, but I do to keep things clean at all times and trimmed, too!) heh

Create a backup of these settings from within LSPEED just in case - you never know when you'll need to restore the settings.

Make SURE you create a backup of the setting you've just set, AND be certain that LSPEED can launch upon startup / bootup! (VERY IMPORTANT!)

SELinux Mode Changer v3.2

(Change From Enforcing To permissive)

1) Download SELinuxModeChanger from here - http://xdaforums.com/devdb/project/dl/?id=12506

2) Install App

3) Run App and select permissive

4) Enjoy

As a side note, Viper4Android requires SELinux to be set to permissive (EXCEPT Viper4Android Sony Beats v4.8 Universal Edition located here with install instructions)! Can anyone confirm that V4A's latest version worked on the S7 with SELinux set to permissive? I will be testing later on, but please let us all know if possible! Thanks!

ROEHSOFT RAM Expander

(Additional SWAP File) To Speed Up S7

Here are the install instructions -

1) Download ROEHSOFT Ram Expander from the Play Store: https://play.google.com/store/apps/details?id=com.swapit.expander.de&hl=en (There is a FREE & PAID version - get paid version IF it works for you!)

2) You will now need to create, on your MICROSD card (External Storage) a 4GB partition - Please be warned, when you create a partition you can lose ALL your data. I would suggest MiniTool Partition. I'd make the first partition your storage partition (where you store pictures taken, music, etc), and the second partition as the the SWAP partition. Again, ONLY MAKE THE SWAP PARTITION 4GB! You can format the swap partition as a SWAP file system OR in ext4. Either way, it's your call. I found the SWAP file system to be a little better, but you'll need to try them out and see what works best for you.

3) Put microSD back in phone and launch ROEHSOFT's Ram Expander. Give SU permission. Click the menu at the top right and select swap location.

4) Run the app - At the bottom select the "Optimal Values".

5) It will ask you want profile you want (similar to GOVTUNER, but they have NOTHING to do with each other!). You can select Balanced, Gamers, Multitaking, etc...

6) It will ask you to select the directory to use as the swap location - MAKE SURE YOU SELECT THE CORRECT LOCATION BECAUSE it will DELETE ALL INFO ON THAT PARTITION SELECTED! BE EXTRA SURE as I'm not responsible if you select the wrong partition and lose EVERYTHING!

7) Let it do it's thing and enjoy! You'll only need to change the swappiness and possibly the cache.

7b) DO NOT SELECT PERFECT KERNEL unless you KNOW it will work!

7c) DO NOT SET TO AUTORUN until you know it works and does not cause boot loops, probs, etc..

8) ENJOY!

This really did speed up my phone (G930V - S7), and I was amazed because I didn't believe it would, HOWEVER, there is a cost. This CAN heat up your phone since it's writing to the microSD card. If you're playing games and using it a lot, your phone will heat up and the battery will be drained at an insane rate! But, the speed increase was impressive. Like everything else, it's a trade off...

Please post and let me / us know how this works for you!

Suggested Apps To Freeze with

BOOT MANAGER (Xposed App) and/or TitaniumBackup

Here are the apps that CAN be FROZEN with your favorite app (Titanium Backup, App Disabler, etc)

1)Game Launcher (ONLY If you want)

2)EMERGENCY Launcher (ONLY THE EMERGENCY LAUNCHER - do NOT confuse with ANY of the other launchers. Double check to make sure you are freezing the correct one, otherwise you will be in a WORLD of trouble!! - Located in system/app/emergencylauncher/emergencylauncher.apk)

3)SamsungDLPService (system/spp/SamsungDLPService/SamsungDLPService.APK)

4)Security Policy updates (system/priv-app/SPDClient/SPDClient.apk) - Freezing this SHOULD help those who haven't had success running XPOSED due to constant reboots.

5)SecurityLogAgent (system/app/SecurityLogAgent/SecutiryLogAgent.apk)

6)System Updates (system/app/SDM/SDM.APK)

7)Verizon Store Demo Mode (system/priv-app/com.customermobile.preload.vzw/com.customermobile.preload.vzw.apk)

----------------------------------------

Apps To Disable Through BOOTMANAGER

(FREE XPOSED App through the download section of XPOSED APP)

You can disable ALMOST EVERY APP that is running, however... DO NOT disable ANY SYSTEM apps unless you know what you're doing.

The ONLY APPS I can suggest you DO NOT "STOP" are the following:

1) Universal INIT.D

2) L-SPEED

3) Kernel Modification Programs (if Any) - Kernel Auditor, Rom ToolBox, etc...

4) IF by some chance you have an issue after disabling an app, just launch BOOTMANAGER and re-enable the app!

5) You can also "FASTBOOT" through bootmanager where it will disable EVERY SINGLE USER APP you have. Use this if your having a problem with bootup, an app, etc... It's great for diagnostic purposes OR to really speed up your phone if/when needed!

ViperATMOS Sony Beats v4.8 Universal Edition OR

ViperAtmos Sony Beats 5.5 Edition Installation Instructions for phones with

SELinux PERMISSIVE or ENFORCING!

BOTH versions DOES work with the Galaxy S7 Verizon Variant (G930V)!

This version of V4A (Viper4ATMOS Sony Beats v4.8 Universal Edition) runs with SELINUX set to enforcing or permissive unlike other versions! (Thanks to [MENTION=4347308]srish2[/MENTION] for the info)!

1) Download the flashable zip (Direct Download Link: http://xdaforums.com/attachment.php?attachmentid=3701983&d=1459364213)

2) Open flashfire and select OTA flash option

3) Select the downloaded zip file to flash from within flashfire

4) FLASH (let phone reboot)

5) Look in your app drawer and you SHOULD see a DOLBY APP & the Viper4Atmos or Viper4Android app.

Set your audio to whatever you prefer from within those apps. (You may want to go to the project's thread to see what is suggested) Here is the Link To Viper4Android, DOLBY, Viper4ATMOS, & Viper4DD's Project Thread - http://xdaforums.com/android/software/viperaudio-viperatmos-3-8-sq-driver-t3289075

5a)PLEASE NOTE - RUNNING THIS AUDIO TWEAK can (and most likely will) INCREASE your audio quality, BUT it will drain your battery slightly!

6) ENJOY Viper4Android, Viper4ATMOS, Viper4DD+, etc

You should be able to install other V4A variations versions as long as you have SELinux changed to whatever is required per the app's directions in the OP. V4A's Download Link: http://xdaforums.com/devdb/project/dl/?id=12506

A Few More things

...

You SHOULD get an app like bootmanager (xposed module) so you can select certain app's from loading at startup.

Hope this helps,

Swick