Basic Tuning for Hardrock kernel (Noob freindly Guide)

Hard_Rock83

Recognized Developer
Apr 21, 2015
2,355
5,381
0
Chennai
ok , I am writing this guide to help those users who are not able to configure kernel tweaks themselves...(Just summarized way).Depend upon preferences, users need to adjust settings.I am not going in details but just what everyone need to adjust for battery, performance or balanced profiles.

All these settings is for Hardrock kernels so dont ask for other kernel related settings.

First of all to adjust settings you need Kernel auditor or similar tools. You can download from playstore
Lets get started(I am taking into consideration Hardrock kernel governors, io schedulers , gpu settings etc):

** one more thing is even If I am sharing, the experience or thoughts might be different from person to person.so I am just providing some initial ideas for tweaks

1) For Battery related settings (sorted from best) :

select anyone of these cpu governors:
a) ZZmove (add from cpu tunables profile no 2)
b) smartmax EPS
c) ondemand
d) conservative/powersave


cpu clock frequency :

set cpu frequency min 480 mhz and max 2.4 ghz

set gpu governor to ondemand

I/o scheduler : Noop


2) For Extreme Battery realted settings :

a) ZZMOVE (Profile no 3)
b) smartmax eps

set cpu frequency min 480 mhz and max 2.2 ghz
set gpu governor to ondemand

I/o scheduler : zen


3) For balanced profile settings :

a) InteractiveX
b) Interactive pro
b) Intelliactive
c) Impulse
d) cultivation


min cpu frequency 480 and max 2.4 ghz
I/o scheduler : maple or zen



4) For performance settings:

a) InteractiveX
b) Performance
c) Hyper
d) blue active

set min freq 650 mhz and max 2.8 ghz

set I/O scheduler to Fiops or BFQ


5) For gaming settings :

a) InteractiveX
b) Performance
c) Ironactive
d) Intelliactive
e) on demand
set min freq 650 mhz and max 2.8 ghz
set Gpu min frequency 100 and max 999 mhz and select adreno gz or ondemand

set I/O scheduler to Deadline


6) For completely insane beast settings
a) Performance
b) InteractiveX
c) Intelliactive
d) nightmare

min frequency 1036 mhz and max 2.8 ghz
set gpu min 100 and max 999 mhz and select adreno-gz or ondemand

set I/O scheduler to Fiops


7) For Multitasking settings

a) Interactive
b) interactive_pro

min frequency 650 mhz and max 2.8 ghz
Open governor tunables and change the following(if You can't find those settings then leave it):
* boostpulse_duration = 80000

* go_hispeed_load = 95

* hispeed_freq = 499200

* input_boost_freq = 960000

* min_sample_time = 100000

** target_loads = 98 422400:15 729600:30 1190400:35 1344000:40 1497600:55 1574400:60 1651200:65 1728000:75 1958400:85 2035200:90 2265600:95 2496000:98


set I/O scheduler to CFQ OR BFQ



Remember I am not focussing on gpu since if its idle then it wont drain, it will only pump up once you are into game.so select either ondemand or msm adreno gz gpu governor for any kind of settings..


For I/o schedulers, I/O Read Ahead Buffer is dependent on the size of your flash storage (internal/external). Below is the recommended settings for the given size that will yield the best performance .

Less than 8GB - 128KB
8GB - 512KB
16GB - 1024KB
32GB or above - 2048KB

please set this as read ahead for internal or external storage depending on volume size..


and please do not touch other kernel settings , just leave them as it is..

** and try to read more from google.It will be big help instead of asking again and again :p
 
Last edited:

beingtejas

Senior Member
Apr 9, 2014
1,095
845
113
NAGPUR
Friend I don't know what I did , but your profile zip V3 worked

ok , I am writing this guide to help those users who are not able to configure kernel tweaks themselves...(Just summarized way).Depend upon preferences, users need to adjust settings.I am not going in details but just what everyone need to adjust for battery, performance or balanced profiles.

All these settings is for Hardrock kernels so dont ask for other kernel related settings.

First of all to adjust settings you need Kernel auditor or similar tools. You can download from playstore
Lets get started(I am taking into consideration Hardrock kernel governors, io schedulers , gpu settings etc):

** one more thing is even If I am sharing, the experience or thoughts might be different from person to person.so I am just providing some initial ideas for tweaks

1) For Battery related settings (sorted from best) :

select anyone of these cpu governors:
a) ZZmove (add from cpu tunables profile no 2)
b) smartmax EPS
c) ondemand
d) conservative/powersave


cpu clock frequency :

set cpu frequency min 480 mhz and max 2.4 ghz

set gpu governor to ondemand

I/o scheduler : Noop


2) For Extreme Battery realted settings :

a) ZZMOVE (Profile no 3)
b) smartmax eps

set cpu frequency min 480 mhz and max 2.2 ghz
set gpu governor to ondemand

I/o scheduler : zen


3) For balanced profile settings :

a) InteractiveX
b) Interactive pro
b) Intelliactive
c) Impulse
d) cultivation


min cpu frequency 480 and max 2.4 ghz
I/o scheduler : maple or zen



4) For performance settings:

a) InteractiveX
b) Performance
c) Hyper
d) blue active

set min freq 650 mhz and max 2.8 ghz

set I/O scheduler to Fiops or BFQ


5) For gaming settings :

a) InteractiveX
b) Performance
c) Ironactive
d) Intelliactive
e) on demand
set min freq 650 mhz and max 2.8 ghz
set Gpu min frequency 100 and max 999 mhz and select adreno gz or ondemand

set I/O scheduler to Deadline


6) For completely insane beast settings
a) Performance
b) InteractiveX
c) Intelliactive
d) nightmare

min frequency 1036 mhz and max 2.8 ghz
set gpu min 100 and max 999 mhz and select adreno-gz or ondemand

set I/O scheduler to Fiops


Remember I am not focussing on gpu since if its idle then it wont drain, it will only pump up once you are into game.so select either ondemand or msm adreno gz gpu governor for any kind of settings..


For I/o schedulers, I/O Read Ahead Buffer is dependent on the size of your flash storage (internal/external). Below is the recommended settings for the given size that will yield the best performance .

Less than 8GB - 128KB
8GB - 512KB
16GB - 1024KB
32GB or above - 2048KB

please set this as read ahead for internal or external storage depending on volume size..


and please do not touch other kernel settings , just leave them as it is..

** and try to read more from google.It will be big help instead of asking again and again :p
I was messing with my device , and I backed up my device with twrp recovery , and then installed China miui developer ROM just to see the difference in China and global ROM, when I returned to global ROM , by restoring the backup I made , I booted my device and just uninstalled the kernel adiutor ,

Then I tried to follow this guide and tried creating profile in kernel adiutor, when one profile I created is shown in the list.. I thought let's try flashing the zip of profiles by @Hard_Rock83
And falshed the V3 profile zip, and it worked all profiles are in the list removing mine..that I created
 

Attachments

Last edited:
  • Like
Reactions: Hard_Rock83

Hard_Rock83

Recognized Developer
Apr 21, 2015
2,355
5,381
0
Chennai
I was messing with my device , and I backed up my device with twrp recovery , and then installed China miui developer ROM just to see the difference in China and global ROM, when I returned to global ROM , by restoring the backup I made , I booted my device and just uninstalled the kernel adiutor ,

Then I tried to follow this guide and tried creating profile in kernel adiutor, when one profile I created is shown in the list.. I thought let's try flashing the zip of profiles by @Hard_Rock83
And falshed the V3 profile zip, and it worked all profiles are in the list removing mine..that I created
I just want to say lol:laugh:
I never trust miui..it behaves strange or weird always..
 
Last edited:
  • Like
Reactions: beingtejas

ne0t

Senior Member
Feb 23, 2017
205
42
0
Hi, thanks for your work, is there any guide on how to prevent aggressively killing of this kernel? After apllied this kernel on MIUI 10 v8.8.23, apps that's supposed to be running all the time like whatsapp, gsam, etc keep getting killed aggressively.

 
Last edited: