GUIDE: FIX S7 LAG FROM ROOT! Works on ALL S7 Variants (& Almost ALL Android Phones)

swick1981

Senior Member
Dec 2, 2010
127
77
0
CONFIDENTIAL - Access Denied
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://forum.xda-developers.com/ver...-to-notes-root-install-xposed-unroot-t3411039
3) Flash v15 FIX universal from OP located here: http://forum.xda-developers.com/ver...-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://forum.xda-developers.com/devdb/project/?id=16012#downloads
GovTuner's Project Thread: http://forum.xda-developers.com/and...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://forum.xda-developers.com/ver...uide-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://forum.xda-developers.com/and...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://forum.xda-developers.com/and...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://forum.xda-developers.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://forum.xda-developers.com/ver...uide-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://forum.xda-developers.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 @srish2 for the info)!
1) Download the flashable zip (Direct Download Link: http://forum.xda-developers.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://forum.xda-developers.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://forum.xda-developers.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
 
Last edited:

swick1981

Senior Member
Dec 2, 2010
127
77
0
CONFIDENTIAL - Access Denied
This resolves lag -- what about the obscene battery drain?
it fixed the INSANE battery drain AND insane LAG. Bottom line, it fixes both, FOR ME! (And the other 16 phones I have installed it on for my employees!) - Full disclosure, I did install it on a 17th phone, but that phone turned out to have a physical defect, so I dont really count that one, heh!
With govtuner, I can go for at least 18 hours in performance mode profile and over a DAY in battery mode profile. (You'd select the profile that you want through GovTuner in a Terminal app on phone).
But it saved my arse, big time. BEFORE govtuner, I would only get 6-8 hours battery time if LUCKY.
Now, I get a HECK of a lot more! :)
 
  • Like
Reactions: blane3298

w0rdie

Senior Member
Jan 26, 2007
492
75
0
Austin, TX
I've got an S7E and S7 -- I rooted and 'tuned' the E but couldn't live with the battery drain, overheating and lag (in order of severity) so I've opted to leave my S7 unmodified but welcome a viable root solution.

Going to give your steps a try on the Edge.
 
  • Like
Reactions: swick1981

swick1981

Senior Member
Dec 2, 2010
127
77
0
CONFIDENTIAL - Access Denied
I've got an S7E and S7 -- I rooted and 'tuned' the E but couldn't live with the battery drain, overheating and lag (in order of severity) so I've opted to leave my S7 unmodified but welcome a viable root solution.

Going to give your steps a try on the Edge.
Thanks, that means a lot to me. I appreciate it! Let me know how it works.

FYI, I have mine set to performance mode and changed some of the settings in LSPEED to be even more performance enhancing than was suggested in the post / guide (link provided in that step to the settings suggested. Just scroll down to the LSPEED title). So my phone CAN run VERY hot. however, I've changed my phone to battery profile (within govtuner) and changed LSPEED settings to more battery conservation - taking a slight hit to performance - it ran cool and smooth and I did NOT notice ANY lag. Plus, my phones have close to 600 apps.

Oh, also... I would seriously suggest getting a program that'll allow you to stop certain apps from loading at start up. Forgot to add that to the directions. That's certainly helped as well!
 

swick1981

Senior Member
Dec 2, 2010
127
77
0
CONFIDENTIAL - Access Denied
Early read: performance seems on par with stock -- battery life isn't as solid as unmodified, but does appear to be much improved
Thanks for the early read - Glad the mod worked. Those developers for govtuner are amazing! :)
Appreciate it!
Don't forget, try other governors and then pick a profile that u wanna use. I've found interactive in battery profile to give good batt life & that same governor in performance profile to be very fast - alongside L-SPEED, of course!
 
  • Like
Reactions: blane3298

ororick

Senior Member
Dec 17, 2010
51
11
0
Thanks for the early read - Glad the mod worked. Those developers for govtuner are amazing! :)
Appreciate it!
Don't forget, try other governors and then pick a profile that u wanna use. I've found interactive in battery profile to give good batt life & that same governor in performance profile to be very fast - alongside L-SPEED, of course!
Thanks for the guide sir. Heat is gone using interactive and balanced and lag is noticeably reduced. Great find. Out of curiosity, do govtuner tweaks set on reboot, or do I have to rerun and reset profile after I reboot the phone? Also would love to see what settings you use for most balanced performance under kernel auditor and govtuner.

Update: upon further review, this really really does work. For those of you who have held off rooting because of engboot lag/heat issues, rest assured this does a good enough job that it mitigates any problems I was having. I had followed all steps before trying this (flashing fixes v15, l speed, greenify, doze, amplify) but this is what did the trick. Thank you OP again
 
Last edited:

swick1981

Senior Member
Dec 2, 2010
127
77
0
CONFIDENTIAL - Access Denied
Thanks for the guide sir. Heat is gone using interactive and balanced and lag is noticeably reduced. Great find. Out of curiosity, do govtuner tweaks set on reboot, or do I have to rerun and reset profile after I reboot the phone? Also would love to see what settings you use for most balanced performance under kernel auditor and govtuner.
Govtuner SHOULD run at boot. You should only rerun the tune (or govtuner) command IF you've changed the governor OR soemthing within the kernel!

My Governor is set to "INTERACTIVE" & my GOVTUNER profile is set to "PERFORMANCE".

Here are my LSPEED settings
(Please understand that I sacrifice battery run time for performance and allows my phone to run for a little under a day!)

within the Main tweaks Option (From MAIN MENU options)
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 (DEFINATLY ENABLE THIS!) - there is a better flag tuner available as a flashed tweak somewhere on XDA, but I can't remember where. However, the tweak is VERY GOOD within LSPEED. I'll update OP if I find the better one!
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

Once finished, PLEASE SAVE THESE CHANGES to you can load them and not go through all this again. Furthermore, make sure you do not disable LSPEED from running at start up! (Several people have had that problem and not realized it)!

I HOPE you're phone goes so fast it flies into the future to tell you the world is going to end! heh

Enjoy!

Swick
 
Last edited:

swick1981

Senior Member
Dec 2, 2010
127
77
0
CONFIDENTIAL - Access Denied
Govtuner did help out I used to use it when I was rooted but I still had stability issues battery did improve but still drained to fast for me. I'm back on stock

Sent from my SM-G930V using XDA-Developers mobile app
I'm sorry to hear that! Plus, that's extremely odd - did you test other governor's on all the govtuners profiles? Did you flash the v15 fix on the PF2 firmware (if you did that, it WILL cause stability issues - I can attest to that, sadly)!

I've setup on 16 S7's and they all work like a charm - no joke! I've NEVER had a phone this fast in my life, frankly!
Further, I do suggest starting from a clean install as that usually works best. PLUS, PE1 firmware seems, so far, to be the best and most stable firmware when flashing v15 fix.

I have setup on the PF2 firmware on 2 S7's, but they were not my phones, and though th owners have told me on several occasions that their phones are much faster, etc... I cannot swear to that because I do not know and have not seen them for some time. But, it did work and has helped significantly!

Anyway, I'd be happy to help you if you want... I hate to hear it didn't work for you! :(
Really sorry about that!

Swick
 

swick1981

Senior Member
Dec 2, 2010
127
77
0
CONFIDENTIAL - Access Denied
This solution is quite solid -- I do notice quite a bit of lag when the phone wakes up from sleep but it subsides quickly. Well played swick.
That's odd... You should try changing setting from within LSPEED app to change that behavior. It may not be possible depending on the profile you're using and the governor your using with govtuner, but... I know my phone has NO LAG, literally. (I'm swearing on my grandfather's gave & my 2 uncles' gaves, too) Seriously!
You may want to TRY my settings from OP - I know they will use more battery, BUT. See if that solves and and work back from there. Maybe you can find what is causing the lag when waking up, and fix it? just a suggestion...

In any case, I am glad it worked (mostly) for you. At least I know that ALL my phones are rooted and have ZERO LAG. That's all I care about. Plus, if you get a MOPHIE case for your S7 you can have WELL OVER 24 hours of battery life/run time!
BTW, the S6 mophie cases work JUST as well as the s7 mophie case - the only down side to the S6 mophie case - they do NOT have wireless charging, the S7 mophie case does! HOWEVER, the S6 case is far superior because it fully locks the phone into place. Whereas the S7 mophie case has a frame that you snap in place around the phone - the S7 mophie case provides FAR LESS "protection" because a small drop will cause the frame to pop off instantly! - Just thought I'd let you know in case you were wondering... heh

Swick

PS. LMK if you'd like me to help - tbh, I'm not sure what I can do to help, but am more than happy to try! But working back from my faster settings from within LSPEED should do the trick! LMK what happens!
 

davidisflash

Senior Member
Dec 20, 2008
553
91
0
Chandler, AZ
Govtuner SHOULD run at boot. You should only rerun the tune (or govtuner) command IF you've changed the governor OR soemthing within the kernel!

My Governor is set to "INTERACTIVE" & my GOVTUNER profile is set to "PERFORMANCE".

Here are my LSPEED settings
(Please understand that I sacrifice battery run time for performance and allows my phone to run for a little under a day!)

within the Main tweaks Option (From MAIN MENU options)
Kernel Modifications:
Kernel Tweak - Disabled
Kernel Sleepers Optimization - Enabled
Under System Tweaks
Battery Improvement - Enabled
Faster Boot - Enabled
WiFi Sleeper - disabled (you preference)
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

Once finished, PLEASE SAVE THESE CHANGES to you can load them and not go through all this again. Furthermore, make sure you do not disable LSPEED from running at start up! (Several people have had that problem and not realized it)!

I HOPE you're phone goes so fast it flies into the future to tell you the world is going to end! heh

Enjoy!

Swick
Awesome! What screen on time are you getting? With BT, wifi always on, location services, bunch of data apps, whether on unrooted U firmware, rooted or V firmware, I always seem to hover around 4 hours screen on time. My phone does sleep well though in all cases (90%+ deep sleep if untouched for an hour). With these settings OP, would you say your phone is now faster than stock?
 

swick1981

Senior Member
Dec 2, 2010
127
77
0
CONFIDENTIAL - Access Denied
Awesome! What screen on time are you getting? With BT, wifi always on, location services, bunch of data apps, whether on unrooted U firmware, rooted or V firmware, I always seem to hover around 4 hours screen on time. My phone does sleep well though in all cases (90%+ deep sleep if untouched for an hour). With these settings OP, would you say your phone is now faster than stock?
Hey, real quick - take a look on the OP in this thread - there are 2 settings that are missing under the kernel tweaks in my LSPEED settings! (Those settings are a big deal, too! SORRY!!!!)

I really can't answer your question because I ONLY run my BT for a few hours and my WiFi is on all the time. My screen brightness is set to auto (but I try to keep it as low as possible).
All I can say is test EACH governor (android has a LOT of governors that it supports) with govtuner's profiles and see what combination is best for YOU. It's possible that you'll get results similar to mine, where I actually got a near doubling of the battery. (Again, it was in conjunction with LSPEED & GOVTUNER and doing LOT of testing / tweaks).

As to your other question - HECK YES, my phone is FAR FASTER than stock. In fact, when I loaded a large spreadsheet (in excel) it would take about 30-40 seconds to load at best. Now, my phone loads these spreadsheets up in about 10 seconds (or less, though that's unusual)!
So, yes - it is FAR FASTER than stock, and I'm not understating things at all (nor am i exaggerating).

Sorry I couldn't be of more help... But I am EXTREMELY confident that you'll get an improvement - I just do not know how much!

Swick
 
Last edited:
  • Like
Reactions: davidisflash

srish2

Senior Member
Nov 19, 2011
57
25
0
Install Universal INIT.D and set the toggle to "ON" (From playstore)
Hi @swick, thanks for the comprehensive guide. I'm excited to try it.

The only problem I had with the steps was with Universal Init.D: it was crashing when I tried to run it. :confused: No SuperSu popup, nada. I recorded a logcat to troubleshoot.

It turns out I was using JRummy's BusyBox for Android, but after I installed BusyBox from stericson, it started working, popping up a SuperSu permissions request. Must have been some missing file or something.

Thanks again for putting this together.
 

swick1981

Senior Member
Dec 2, 2010
127
77
0
CONFIDENTIAL - Access Denied
Hi @swick, thanks for the comprehensive guide. I'm excited to try it.

The only problem I had with the steps was with Universal Init.D: it was crashing when I tried to run it. :confused: No SuperSu popup, nada. I recorded a logcat to troubleshoot.

It turns out I was using JRummy's BusyBox for Android, but after I installed BusyBox from stericson, it started working, popping up a SuperSu permissions request. Must have been some missing file or something.

Thanks again for putting this together.
No prob, happy to help! I was bound and determined to find a fix, or make one, because of thedarn lag. Thankfully govtuner works! :)

On another note, I am using jrummy's busybox without trouble. you probably just needed to reinstall busybox from within the jrummy 's app again to update links? (Just a guess though)!
I'm glad its finally working for you! Make sure you test each governor & profile to see what works best for you! There are a LOT of combinations, so enjoy! heh

Swick