• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[Verizon] [GUIDE] LeanTweaks

jmar

Nexican
You can find the latest LeanKernel here:
http://rootzwiki.com/topic/13092-leankernel-minimalistic-kernel-280-32912/

All credit goes to Imoseyon

You can find the latest LeanTweaks here: http://rootzwiki.com/topic/15891-kerneltweaks-leankerneltweaks-v124-revamped/

All credit goes to jakebites

THE GUIDE

EDIT: I will soon add in more information on all tweaks and settings.

This is a simple guide and starting point of discussion, best practices and troubleshooting for LeanTweaks. I will update the guide as per member request and as new features and info rolls out. For now, this guide is a copy of my latest post in the LeanKernel thread.

So I am currently running the latest version, 12.4, of LeanTweaks. Anytime I flash an update of LeanKernel I simply flash the latest version of LeanTweaks afterward.

Then it is onto terminal after reboot.

1. Open terminal.

2. Type su

3. Type lt

Now, I have my settings backed up using LeanTweaks' backup function, so I just restore and reboot.

HERE ARE MY SETTINGS:

4. Change governor at boot to your liking if you choose. I have no problems, ever, with InteractiveX so I choose it.

5. Set scaling at boot, again, if you have min/max speeds that you know don't cause you trouble. I use the standard 350/1200.

THE NEXT SET OF TWEAKS MAY CALL FOR A REBOOT. I DO NOT REBOOT UNTIL I AM DONE ENABLING ALL TWEAKS.

6. I enable Rwap, to increase memory (RAM).

7. I enable Zram tweak though I can't remember why (lol).

8. I enable SD Card Speed Up for faster card reads.

9. I enable File System Speed Up for faster file system reads.

OTHER OPTIONS

10. With IX governor it has a built in gohighspeed module that when your CPU reaches a certain load value, it will move to higher speeds quicker and is useful to maintain performance and is seen as a savings to battery life as your CPU spends less time going between speed slots. Default for LeanKernel stable is 75. Default for stock kernel is 95. I keep it at 75. I have moved this number many times and feel it is the happy medium.

11. I don't undervolt as this kernel is slightly undervolted by default. Options exist to do so with LeanTweaks.

12. Aggressiveminfree is a tweak which changes the set value for the minimum amount of memory allowed at any given time. I don't mess with it as I think the stock value manages memory well when swap is enabled.

13. After setting up your tweaks, backup these settings so your process becomes a simple restore from within LeanTweaks.

14. Reboot.

15. Open up terminal and get back into LeanTweaks to double check that all is enabled. Do this by choosing the Check Kernel Menu, then choosing Check All Kernel Stats!

There are other tweaks I haven't covered like, for example, fast charge. If more people want to know what's up with other tweaks, I will see about turning this post into a guide thread. Post a thanks or response if that is something you want.

Thanks y'all.

Hope this helped and have fun. Be sure to nandroid before you start doing anything, just to be on the safe side.

BTW, if anyone sees any error in what I have written, feel free to correct me :).

jmar

Edit: The settings I use are what I wrote in the numerical guide listed above. I derived that setup from trying various configurations, most based on recommendations from threads here, rootz and xda. It also stems from reading the OP on rootz and Googling the terms and features I did not understand. Lastly, it all comes down to real world performance and what you are looking to get out if a kernel. My need is simple: stability and optimized battery life. LeanKernel and LeanTweaks provide that. I dig that!
 
Great nfo! Been waiting on someone to come up with some kind of guide so we would have something to go by and know what to do.

THANKS!
 
A lot of those settings can be modified in LiquidSmooth, right? All that stuff under Performance I never really played with.
 
A lot of those settings can be modified in LiquidSmooth, right? All that stuff under Performance I never really played with.

I haven't tried Liquid, yet. But if it has similar built it options for tweaks I would imagine that, yes, the same tweaks can be found in that ROM. I am running AOKP and though it offers some tweaks available in LeanTweaks, I don't enable tweaks via ROM. I use LeanTweaks for its ability to backup settings and for its one-stop-shop approach to tweaking a ROM/Kernel. Thanks for the response!

jmar
 
Great post, Nexican! Thanks so much for working on helping out the community! I found this a very helpful read! :)
 
So this may sound kind of silly, but what exactly does LeanTweaks do? Is it just an even more in depth kernel manager than, say, SetCPU? Has anyone's battery life improved just by running it?
 
So this may sound kind of silly, but what exactly does LeanTweaks do? Is it just an even more in depth kernel manager than, say, SetCPU? Has anyone's battery life improved just by running it?

That's a great way of looking at it.

Basically, the commands built into the scripts are run as you toggle settings.

While I have not done any real world comparison, the placebo affect was definitely felt. For what it is worth, I feel like I get more battery life since I began using tweaks :).

Edit: I will be updating OP today with some helpful comparisons and more info about LT!
 
Back
Top Bottom