Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

* * * * *
4 votes

[KernelTweaks] LeanKernelTweaks v16.0

  • Please log in to reply

OP jakebites

jakebites

Developer

Posted 02 February 2012 - 06:32 PM #1

Mod Type:: Script

Difficulty:: Very Easy

Mod Base:: AOSP

Mod Status:: Stable

Apply In:: CWM Recovery

Carrier:: Unlocked GSM

Optional:: Overclocked

Requires Root:: Yes

Optional:: Custom Settings

Android Version:: 4.0.3 (ICS)

Source::
LeanKernelTweaks v16.0
This is just an attempt to be more organized with my updates etc. and should reduce the "Where can I download this?" posts/clutter in Imoseyon's kernel thread. THIS IS ONLY FOR IMOSEYON'S LEAN KERNEL FOR NOW. If enough people request it, I'll make a version for other kernels too.

This will work with stable or exp versions of Imo's kernel and is compatible with every current and future build of LeanKernel.


Changelog:


v16.0:
-Added jakebites preset optimal settings to the main menu

This will set the following at boot:

-CPU MHz: 350 Min, 1350 Max
-Interactive Gov w/ Touch Input Boost Enabled
-Temp Control Set To: 75000
-GPU MHz: 384
-Preset Smart Reflex Tuning
-Ezeekel's Color Offset Tuning
-HQ Sound Playback Enabled
-Aggressive Minfree Mod Enabled
-Remove Logcat Mod Enabled

-Added aggressive preset smart reflex tuning option to the smart reflex tuning menu
-Reverted to deadline scheduler as the stock option
-Fixed one of the checks not working
-Fixed a couple of typos
-Moved some old changelogs to reduce OP size


v15.2:
-Fixed a few typos and bugfixes, nothing new in this build


v15.1:
-Added disable logger at boot mod
-Added input_boost and hispeed_freq advanced settings when setting a max frequency value
-Changed go_hispeed_load to stock JB value which is 50
-Fixed a few typos
-Most things work with JB


v15.0:
-Fixed all known bugs with start up color tweaks
-Added screen on scheduler tweaks
-Added preset smart reflex tweaks (adding more to this later)


>>Old Changelogs<<
>>Old Changelogs<<



Please note that the 180, 230 and 1420 slots are not stable on every phone to begin with. Undervolting these slots will NOT be stable on every device.


Preset voltages used when undervolting with my script:
1650 MHz: 1420 mV
1520 MHz: 1320 mV
1350 MHz: 1220 mV
1200 MHz: 1210 mV
920 MHz: 1080 mV
700 MHz: 1010 mV
350 MHz: 840 mV
180/230 MHz: 820 mV

Aggressive preset voltages used when undervolting with my script:
1650 MHz: 1400 mV
1520 MHz: 1280 mV
1350 MHz: 1220 mV
1200 MHz: 1160 mV
920 MHz: 1000 mV
700 MHz: 900 mV
350 MHz: 760 mV
180/230 MHz: 740 mV


Features:

-Changes the value in /sys/devices/system/cpu/cpufreq/interactivex/hispeed_freq to user selected value

^ This file determines the frequency that the systems cpu will ramp up to after a certain point in the interactivex and interactive governors. By default it is set to 1200mhz for the Galaxy Nexus. By changing it to the custom overclock value(1350), the system will now not have to load up to 1200 and then make the jump to 1350, which is pretty significant in my opinion because the interactive(X) governors are supposed to jump up quickly for a faster response to the user. This value is untouched when changing frequencies in setcpu and most likely the other cpu apps out there. Many people including myself found this to make a big difference in speed, I feel like now it actually feels overclocked. ^

-Includes leantweaks script which can customize:
Min/Max frequencies at boot
Governor at boot
Zram toggle
Swap toggle
Check current kernel stats
Reboot
Reboot to recovery
Disable all tweaks

Basically, it does what setCPU does with the addition of the interactive/interactivex hispeed_freq edit without the need for an app/service running in the background.


How to install:
Flash in recovery, no need to wipe anything.


Download:
LeanKernelTweaks-16-0.zip
md5: 37491661aafbcef41496710ef37a52f8


Screenshot:
Posted Image



FAQ'S:

What happens when I have a question about Lean Tweaks?:
Abqnm will be VERY HAPPY to answer all questions for you! :)

What is activated by default after the initial flash of the tweaks?
-OC to 1350 at boot
-InteractiveX governor at boot
-hispeed_freq and go_hispeed_freq value edits

What's zram and swap and why should I care?
Zram and swap both offer an extention to VM without having to get more memory(hardware). Basically it will make multi-tasking easier and more efficient.

If I flash a new version of LeanKernel, do I need to re-install LeanTweaks as well?
No, these tweaks and settings will persist until wiping data and/or flashing a new rom.

I chose a setting that my phone didn't like and now my phone won't turn on, do I need to wipe data and reflash everything?
No, just reflash the LeanKernelTweakvX.zip in recovery and the settings will then be reset to stable settings.

If I flash a new version of LeanKernelTweaks, will I need to set everything back up?
Yes, you will need to re-enable the tweaks you would like to use when installing a new version of LeanKernelTweaks.

I'm getting a busybox error when trying to use leantweaks in terminal emulator, what do I do?
You can use Jrummy's Busybox Installer app which is free on the market to install busybox. Leantweaks should work fine after installing busybox.

I want to use a different kernel, do I need to do anything with leantweaks before hand?
Open the leantweaks menu in terminal and disable all tweaks. You can then flash any kernel you like with no issues.


How do I use the terminal commands?
Open terminal emulator and type:
su
leantweaks





Please uninstall or disable defaults in setcpu(or other cpu apps) before installing this.
You're phone doesn't need to rely on a cpu app any longer with this mod, upon install 350 min -1350 max and interactivex governor will be defaulted with the mod to the interactivex file as well. I've done a lot of testing on my personal phone and custom voltages offer such a minimal battery benefit that even after one SOD or random reboot, it has used more battery than it has saved. However, if enough people really desire user undervolting, I'll try working on that too.

Edited by jakebites, 19 September 2012 - 10:45 AM.

  • 11 Likes
PSN: LoveLESSjake
^ add me for Battlefield 3 and Modern Warfare 3 :D ^

Arvylas

Arvylas

Super User

  • 323 posts

Posted 03 February 2012 - 02:51 AM #2

Does this tweak change the sampling rate and the up/down threshold of IX?

Sent from my Galaxy Nexus using Tapatalk
  • 0 Likes

OP jakebites

jakebites

Developer

Posted 03 February 2012 - 04:41 AM #3

Does this tweak change the sampling rate and the up/down threshold of IX?

Sent from my Galaxy Nexus using Tapatalk


Ix doesn't scale that way. It changes the hispeed_freq file for interactive and ix however which makes the jump to 1350 much faster.
  • 0 Likes
PSN: LoveLESSjake
^ add me for Battlefield 3 and Modern Warfare 3 :D ^

antintyty

antintyty

Flash-0-Holic

Posted 03 February 2012 - 05:55 AM #4

For the N00bs out there, your installation instructions seem none existent and or very vague....

I'm assuming this gets flashed through recovery then it's able to be used, correct?


Edit: I know this is how, but I'm sure some others may not know....

Edited by antintyty, 03 February 2012 - 06:07 AM.

  • 0 Likes

"Hey, how did I get here?"


OP jakebites

jakebites

Developer

Posted 03 February 2012 - 06:14 AM #5

Good point, I'll add to the OP.
  • 0 Likes
PSN: LoveLESSjake
^ add me for Battlefield 3 and Modern Warfare 3 :D ^

OP jakebites

jakebites

Developer

Posted 03 February 2012 - 08:17 AM #6

Updated to 5.3. Changelog in OP!
  • 0 Likes
PSN: LoveLESSjake
^ add me for Battlefield 3 and Modern Warfare 3 :D ^

sert00

sert00

Member

Posted 03 February 2012 - 01:02 PM #7

it's so easy..look inside the zip and if there s meta-inf you can flash via cwm..i think that if a person begin to flash a kernel,has a minimum knownledge of what he is doing and how to see if a file need the flash via cwm...
  • 0 Likes

OP jakebites

jakebites

Developer

Posted 03 February 2012 - 04:36 PM #8

Updated to 6.0. Changelog in OP.
  • 0 Likes
PSN: LoveLESSjake
^ add me for Battlefield 3 and Modern Warfare 3 :D ^

OP jakebites

jakebites

Developer

Posted 04 February 2012 - 01:52 PM #9

v6.1 is up!
  • 0 Likes
PSN: LoveLESSjake
^ add me for Battlefield 3 and Modern Warfare 3 :D ^

ArmanUV

ArmanUV

Android Master

  • 565 posts

Posted 04 February 2012 - 08:57 PM #10

v6.1 is up!


Great work!
One question though: how can I change UV values? the defualt values you have chosen are a bit too low for my device.
  • 0 Likes
Galaxy Nexus GSM (maguro) - ROM/Kernel : it's complicated :tongue2:
Please quote me when you are replying to my posts!