[AOKP][GPU] App to change GPU speed - Android Apps and Games

Hello,
I’m proud to share with you my little contribution to easily change GPU speed.
Intro:
In AOKP rom based android 4.1+, it’s easy to change the GPU frequency. Many devices are stable while GPU overclocked.
To change GPU speeds simply edit /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
Values:
0: normal frequency (for example, 307 Mhz on some devices)
1: medium
2: high (for example, 512 Mhz on some devices)
But, it’s not my goal to discuss it.
My app:
Here is my app to select GPU speed on the fly (normal, medium or high).
This app need root and secure settings plugin (from google play). Write in system need root.
The app change only the value in the file “gpu_oc” with 0, 1 or 2. The design is simple, don’t blame me.
If I helped, then press my thanks button
Before use it, go to edit the following file to check value:
/sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
If there is 0, 1 or 2, then you are able to use this app. If not, or if the file is missing, then don’t use this app.
Use this app only with AOKP rom based with Android JB 4.1+
Some devices can't handle GPU overclocking well and might freeze/reboot and it may be necessary to adjust voltages.
After GPU OC, if your device freeze, just reboot and GPU will not be overclocking.
Use at your own risk, I’m not responsible of any damage on your device.
Required:
- AOKP rom based
- Android JB 4.1+
- Secure settings plugin from google app store
- File "gpu_oc" here in /sys/devices/system/cpu/cpu0/cpufreq
If you tried on other rom and if it worked, then come back to tell me.
Downloads:
Click on attached files below to download the app : GPU_OC.apk
>>> To test GPU speed, use nenamark2 from google app store.
Screenshots:

excellent thank you

you should probably warn people that some phones cant handle gpu oc well and might freeze/reboot and it may be necessary to adjust voltages

Doesn't even ask for root access. Its either fake or poorly wrote.
Sent from my Nexus 10 using xda app-developers app

blmvxer said:
Doesn't even ask for root access. Its either fake or poorly wrote.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
If you don't have anything positive or productive to say about the app don't say nothing at all
Don't listen to this guy
-App DOES ask for root permission
-I checked /sys/devices/system/CPU.... And its written like it should be.
-Ran a benchmark on my GS3 before usage , ran it again with higher scores... So it does make a difference.
Device: ATT GS3
ROM: AOKP 4.2.2
no OC or extra kernel features.
Thnx for this app
Sent from my SGH-I747 using Tapatalk 2

My app use the app “secure settings plugin”, which need root to write in system. So, in fact, my app need root.
@ Miguel : ok, summary modified.

jayRokk said:
If you don't have anything positive or productive to say about the app don't say nothing at all
Don't listen to this guy
-App DOES ask for root permission
-I checked /sys/devices/system/CPU.... And its written like it should be.
-Ran a benchmark on my GS3 before usage , ran it again with higher scores... So it does make a difference.
Device: ATT GS3
ROM: AOKP 4.2.2
no OC or extra kernel features.
Thnx for this app
Sent from my SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
You know, he does have a point.

Required:
- AOKP rom based
- Android JB 4.1+
- Secure settings plugin from google app store
- File "gpu_oc" here in /sys/devices/system/cpu/cpu0/cpufreq
If you tried on other rom and if it worked, then come back to tell me.
Click to expand...
Click to collapse
i was trying at Lewa Os, and stuck :crying:

Running on Mokee 4.4.2, Tab 2, Dohllmen Kernel. Have yet to test with above-mentioned app, but will do tomorrow. My Tabs animations do seem to be snappier on the medium setting. Look forward to seeing the numbers tomorrow. Thank you!
Sent from my GT-P5113 using XDA Premium 4 mobile app

Dhollmen Kernel results (Nenamark2)
1.0ghz with GPU 0 = 28.2 fps
1.4ghz with GPU 0 = 28.6 fps
1.4ghz with GPU 1 = 30.0 fps
1.4ghz with GPU 2 = 35.2 fps
GPU 0 means 300mhz
GPU 1 means 384mhz
GPU 2 means 512mhz
your results should be as follows

Great work. Tested it on Samsung Tab 2 10.1 with Dhollmen kernel n CM11 nightly. Question is, how do I set the higher gpu rate at boot?

jcsy said:
Dhollmen Kernel results (Nenamark2)
1.0ghz with GPU 0 = 28.2 fps
1.4ghz with GPU 0 = 28.6 fps
1.4ghz with GPU 1 = 30.0 fps
1.4ghz with GPU 2 = 35.2 fps
GPU 0 means 300mhz
GPU 1 means 384mhz
GPU 2 means 512mhz
your results should be as follows
Click to expand...
Click to collapse
So it means that this app basically works fine? is this available for android M also?

philippe734 said:
Hello,
I’m proud to share with you my little contribution to easily change GPU speed.
Intro:
In AOKP rom based android 4.1+, it’s easy to change the GPU frequency. Many devices are stable while GPU overclocked.
To change GPU speeds simply edit /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
Values:
0: normal frequency (for example, 307 Mhz on some devices)
1: medium
2: high (for example, 512 Mhz on some devices)
But, it’s not my goal to discuss it.
My app:
Here is my app to select GPU speed on the fly (normal, medium or high).
This app need root and secure settings plugin (from google play). Write in system need root.
The app change only the value in the file “gpu_oc” with 0, 1 or 2. The design is simple, don’t blame me.
If I helped, then press my thanks button
Before use it, go to edit the following file to check value:
/sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
If there is 0, 1 or 2, then you are able to use this app. If not, or if the file is missing, then don’t use this app.
Use this app only with AOKP rom based with Android JB 4.1+
Some devices can't handle GPU overclocking well and might freeze/reboot and it may be necessary to adjust voltages.
After GPU OC, if your device freeze, just reboot and GPU will not be overclocking.
Use at your own risk, I’m not responsible of any damage on your device.
Required:
- AOKP rom based
- Android JB 4.1+
- Secure settings plugin from google app store
- File "gpu_oc" here in /sys/devices/system/cpu/cpu0/cpufreq
If you tried on other rom and if it worked, then come back to tell me.
Downloads:
Click on attached files below to download the app : GPU_OC.apk
>>> To test GPU speed, use nenamark2 from google app store.
Screenshots:
Click to expand...
Click to collapse
I can't see the file in my Xperia C4 E5303. Does that mean that It will not work for me?

hi i need help i saw some folders in sys directory called folder name sys/module/fuse/《《 is this folder knox fuse??
sys/module/dm-verity/
and sorry for off topic ?

Related

[MOD] Aroma | UV | 09-Jan | New dualcore configuration of 1.1/1.2-abov bricked kernel

Read new informations in installation guide​
Click to expand...
Click to collapse
Click to expand...
Click to collapse
IF YOU HAVE REBOOTS WHEN YOU ARE USING THE PHONE, IT'S BECAUSE YOU SET A UV TOO AGGRESSIVE, SO, YOUR CPU CAN'T BE STABLE. CHOSE A LOWER UNDERVOLTAGE
IF YOU WANT TO KNOW HOW VOLTAGE CAN REACH YOUR CPU, START STABILITY TEST (DOWNLODABLE FROM MARKET) AND USE IT FOR ABOUT 10 MINUTES, IF PHONE REBOOTS IN THAT TIME, THAT VOLTAGE IS TOO LESS FOR A STABLE CHIP
NOT ALL CHIP ARE THE SAME, IF YOU HAVE A LUCKY CHIP, YOU CAN REACH A LOWER VOLTAGE (AS MINE)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Ok Guyz, since show creates the badass governor, i'd want to use it for a better one multicore configurtion
What's the advantages of multicore sistem?
Symply, more parallelization means more performance per second, as i can say, 2 core can compile at last the double quantity of threads than 1, so, 1 core at double frequency can't compile the same number of thread, but it do it faster..
ex..
if you have 2 thread (impossibile), 1 audo and 1 video, a single core @ 2ghz compile firstly the audio, than the video.. the dualcore architecture can compile on core0 the audio and on core1 the video!! this is the powerfully of multicore system.
Ok, since i say it, i create a MOD witch TRY to use this logically.. this MOD uses the limitate frequency of the badass governor, that's why, with ondemand, all of 2 core goes at maxFreq too fast, now, with this badass, the system will not grow up the first limitate frequency until the single core uses more than that frequency.. so.. we can limitate the "ondemand" issue in 3 freq phases..
thus, the actual MOD configuration is it:
Click to expand...
Click to collapse
SCREEN ON:
- dualcore with all cores TURNED ON (hope you understand now )
- governor badass for all of 2 cores
- min freq at 384mhz for all of 2 cores
- max freq at 1.566ghz for all of 2 cores
- first phase freq at 810mhz for bla bla bla
- second phase freq at 1.188ghz for bla bla bla
- third phase freq at 1.566ghz (is the maxfreq)
SCREEN OFF:
- only core0 is TURNED ON
- governor conservative
- minfreq 192mhz
- maxfreq 540mhz​
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Badass governor has the same configuration as last show's ondemand governor
So, now, with this MOD we have a pure functional dualcore with the advantages of multicore system, with limitate frequency. The stock situation is 384-810mhz, if the single core (is the same, qualcomm uses asyncronic frequency) needs more than 810mhz, it increases the max freq to 1.188ghz (the sensation original frequency), if 1.188 isn't sufficently, it increeses at 1.566
remember, qualcomm has asyncronic frequency, so, one core can be run at 1.56ghz, the other at minimum mhz..
Click to expand...
Click to collapse
Click to expand...
Click to collapse
How to use it?​
Click to expand...
Click to collapse
INSTALLATION:
-) flash a kernel witch has badass governor (i advise bricked 1.1) with NO GPU OC and what governor you want, the same for the frequency, mod autochanges those, chose what scheduler you prefer.
1) Flash MOD zip file by recovery
2) Select what MOD YOU want
3) Reboot.
#) You have to reinstall at every Rom Upgrade
# If you want only the UV, select Remove in mod choseing (it's the same as no installing it); you can use the UV mod with all kernels, and all governors
# If you come from V2.0 to 3.0, go to recovery, wipe, format system partition, after that, reinstall rom, reinstall bricked kernel (if it hasn't), reinstall other mods (like battery %), install my mod, reboot.. You will not loose your data
# ONDEMAND VERSION IS NOT FOR GOOD BATTERY CONSUPTION, IF YOU HAVE HUGE BATTERYDRAIN (IT'S WHAT YOU'LL HAVE) INSTALL THE BADASS - BOOST+BOOST VERSION.
DISINSTALLATION:
1) Boot in recovery, flash the Mod
2) Select Remove
3) Reboot​
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Code:
bricked 1.2 -above
V 11.9
> Fixed Screenoff chose
> Changed DEFAULT first phase for better reactive with less power usage
> Other minor changes
###
Added Version for AOSP kernel (NoSense)
V 11.8
> Changed some settings
V 11.7
> Changed some settings for a better fluidity
V 11.6
> Added Remove chose
> Fixed an installation issue of the Aroma
V 11.5
> Added possibility to know if MOD is working, you have to give a cycle on/off of the screen, after that, if it works, you will find a new file in home of sdcard!
V 11
> Changed configuration for less battery drain
V 10.5
> Tweaked badass experience for better battery life (only with bricked kernel 1.4)
V 10.1
> Tweaked screen off conservative
V 10.0
>> BIG RELEASE
> Added possibility to chose frequency
> Added possibility to chose screen off governor
V 1.01
> Fixed freq values in Aroma installer
V 1.0
> Initial Release
​
HaVe FuN!​
Click to expand...
Click to collapse
Click to expand...
Click to collapse
FAQ in second post​
VIDEO
Click to expand...
Click to collapse
FAQ
Click to expand...
Click to collapse
Witch version could you chose?
The versions of the mod are two:
The 3.7 is the older, it's for the bricked 1.1 version AND for other kernels (don't know if all rom will boot up with my mod, some has issues)
The version 10 and above are for bricked 1.36 and 1.40
​
What setting could you use?
You can intall what you want, i create those (expecially the 10 versions) witch has the possibilities to be changed as users experience.
I advice to use default settings if you don't know how change, but, you should try to, it will not brick your phone, in fact, you could find a new setting could it be better for your use.
So, try try try
One EX:
If you want a faster phone, grow up the minfreq to 300-400mhz, grow up the first phase at 1.2ghz, put the second to 1.2 or more, and change the maxfreq as you would, OC too.
If you want a better battery experience, decrese minfreq, the first and second phase, decrese the maxfreq too, maybe, with this settings: 192 - 648 - 1020 - 1180 mhz
If you want the lowest battery experience, try with this setting: 192 - 648 - 1020 - 1020 mhz
Be careful, you could have some lags if you chose the lower setting, but, for ex, if you don't play, you can chose a setting as like, 192 - 810 - 1020 - 1180 mhz
So, you have to install, select one setting with you think it's ok, try, if you have lags in some situation, grow up some setting, an re-try til you find your best settages. I don't have your use, so, i don't know if you could have a good esperience with my setting.​
How to see if mod is working?
If you have the version 10 or above, you will find a new file in SD card, it calls IBA21ModWorking. if you don't find that, turn on the screen, wait 5 seconds, turn on, refresh the explorer app, and try to see if there is.
If you have the 3.7v you have to download and install system tuner, and see if all cores are turned on.
​
Why my phone doesen't boot after apply the mod?
Not al roms has the same quality, some doesen't have some little features; my mod uses a whyle cicle witch chages settings from screen-on use to screen-off (standby). If phone doesen't boot up, rom doesen't have the possibility to use the cycles in the script, so, script is unusefull.​
Do you need to delete or wipe the rom at every upgrade?
ABSOLUTELY NO, mod auto removes the old script and changes that with the newer one, so, YOU DON'T NEED TO DO ANYTHING, ONLY FLASH THE UPGRADE OR THE NEW SETTINGS WITCH YOU ARE CHANING!​
Click to expand...
Click to collapse
Click to expand...
Click to collapse
enjoy my work and, press a lot of thanks buttons! :d​
Very very good, the system is smooth and stable, I've only a lag after reboot, and sometimes when start synchronization...
Good work!
Hi nice script. Must the CPU values be truly stock ? Could it take something like 384-1566?
Sent from my Sensation running HyperNonsense v2.3
remus82 said:
Hi nice script. Must the CPU values be truly stock ? Could it take something like 384-1566?
Sent from my Sensation running HyperNonsense v2.3
Click to expand...
Click to collapse
Yep, i could do it.. but.. i tryed it, and.. it only increase the power consuption
framir said:
Very very good, the system is smooth and stable, I've only a lag after reboot, and sometimes when start synchronization...
Good work!
Click to expand...
Click to collapse
Lags depends on badass governor.. it's "normally".. but.. 1 lag per day is not bad, remember, with my configuration you have a better badass configuration with lower power consuption than faux kernel..
Looks awesome
Noticed bug appears after every reboot?
How to change second phase to 810-1134 and delete third phase? Or I don't need it
And soo.. It's fully better than original badass?
http://i.imgur.com/gavOn.png
Standby power consuption with data active!
D-SHEL said:
Looks awesome
Noticed bug appears after every reboot?
How to change second phase to 810-1134 and delete third phase? Or I don't need it
And soo.. It's fully better than original badass?
Click to expand...
Click to collapse
You don't need to delete it since system uses third phase (1.2 to 1.5) only in heavy games and web browsing+flash player.. in web usage cores goes to 1.2 max
Btw.. third phase is the maxfreq governor.. i can change it by script if you want to try
Take.. flash it as you would.. you can come back with stock script
For who doesen't understand.. the phase limis is a real limit.. since system needs more performance, system use the lower limit.. as i can see in my use:
For home scrolling 1 core goes to 1.2ghz, the other is at 192mhz (low power consuption)
For notice bar scrolling 1 or 2 cores goes to 810mhz, it depends on other app.. 1 core at 810mhz can calculate the notify bar
For chrome beta browsing.. in web rendering ( page loading) all of 2 cores goes to 1.2ghz, after that, core goes to 192-810 since heavy scrolls, heavy zoom, or animations in the web page (in google page cores goes to 192mhz )
For browser + flash player, 2 cores are uset at 100% at 1.56ghz since it comes down.. after that.. system uses 192-810.. sometimes only one core goes to 192-1.2
In games core i dont know why i dont play games
So.. the third pase is only a turbo boost, it's used only when system needs more and more power.. the phase is a real limit..
For example.. you have a stock 192-810.. when system needs more than 100% (810mhz) badass grow up the frequency to second phase.. it's the same for third phase.. so.. if system doesen't need more power, badass doesen't grow up the cpu frequency..
In my test i see.. ondemand tweaked + core1 off at my usage has a cpu temperature at about 55degrees C.. with badass, 47
So.. lower tenperature.. lower power consuption!
Sure.. ondemand has a faster one response.. since it grow up frequency every time, for low needs too..
you couldn't have performance plus heavy power..
The "busg" is too.. until system needs more than phase freq, it doesent grow up, so, when there's the necessity of more freq, upgrading is slower than ondemand, and it creates a little lag..
On boot, don't know why but.. only one core is turned on.. it's a system fault of reading script.. if you turn off screen, and turn on, it returns at normally (so.. needs an off-on cicle)
iba21 said:
You don't need to delete it since system uses third phase (1.2 to 1.5) only in heavy games and web browsing+flash player.. in web usage cores goes to 1.2 max
Btw.. third phase is the maxfreq governor.. i can change it by script if you want to try
Click to expand...
Click to collapse
Thanks! Maybe really don't need this
Noticed bug appears after every reboot?
"69force192-1188.zip"
As I can see, this is version without third phase?
D-SHEL said:
Thanks! Maybe really don't need this
Noticed bug appears after every reboot?
"69force192-1188.zip"
As I can see, this is version without third phase?
Click to expand...
Click to collapse
Yep that has only 2 phase.. 192-810 and 810-1.2
I edited last message with informations about your questions
Shouldn't this be in the Development section?
nope.. it's not a developement app.. those are some settages..
if you load the script, and delete it, the settages has been changed..
when you turn on display
screen ON:
- dualcore able
- governor badass for all of 2 cores
- min freq at 192mhz for all of 2 cores
- max freq at 1.566ghz for all of 2 cores
- first phase freq at 810mhz for bla bla bla
- second phase freq at 1.188ghz for bla bla bla
- third phase freq at 1.566ghz (is the maxfreq)
when you turn off
screen OFF:
- only core0 able
- governor conservative
- minfreq 192mhz
- maxfreq 540mhz
it changes that values at every turn on-off of the display.. only 1 time.. so.. if you load the script, and delete it, at display turning off, the script doesen't change the values, and, you will not have the "screen off" setting, so, you'll have the stock badass, so, more power consuption
i repeat, my script is only a numerical setting, it's not a kernel, it changes only the superficially values of the kernel, after that, is the kernel governor the real fault of frequency changing
sure.. with my script you have that 2 configuration.. and.. if you see.. conservative in standby means low power consuption (from 20 to 70ma in standby, depends on the system performance needed)
Is step 6 necessary? I don't have that function in root explorer
Sent from my Sensation running HyperNonsense v2.3
remus82 said:
Is step 6 necessary? I don't have that function in root explorer
Sent from my Sensation running HyperNonsense v2.3
Click to expand...
Click to collapse
it's not obbligatory.. but.. you have it.. long press.. OPEN WITH -> LINUX script (it's the third link from top)
http://i.imgur.com/BbeS0.png
Or you can reboot 2 times.. in first run script changes the name of the file witch turn on the second core.. the mpdecision.. so.. or you do a first manually run.. or you do a first reboot.. script changes the name, but the mpdecision script is already loaded.. second reboot use only my script
Thanks! Will report back after a day of use!
Sent from my Sensation running HyperNonsense v2.3
Edit: solved.
Sent from my Sensation running HyperNonsense v2.3
Iba I notice that media scanner takes extremely long to complete after applying the script. Is it possible to use badass or on demand as screen off governor?
Sent from my Sensation running HyperNonsense v2.3
Sure.. but you loose the advantages of low power consuption..
What is media scanner? How many mhz does it needs?

Overclock on the Fly

This one is in response to user "Afeeq" who asked me how I overclock & is also for anyone who is looking to overclock their A2 but have been unsuccessful or looking for steps to achieve this. But this is purely for overclocking on the fly i.e your phone will revert to normal once you reboot but according to me it will save you a lot of heartburn by avoiding bootloops, random freezes etc & allow you power when you need it & of course thereby save battery life.
My phone - ME865 based on JB 4.1.2 leak 1 stock, rooted, busyboxed,init.d'ed
I have attached Overclock modules which are essentially from SCV7 ROM overclock standalone modules zip finetuned for 1.2 ghz stock devices (Credit : Radvisct) (received from user Sayantan). Please be aware not all A2 devices are the same even if purchased in the same country in terms of their clock steps & by this I mean typically those devices which overclocked to 1.2 ghz when OTA'ed to ICS official (not fxz & maybe that too) from the stock 1 ghz on GB are the devices which are 1.2 ghz stock devices (I am still looking to understand how to check the clock steps which are different for 1 ghz devices and 1.2 ghz devices which can truly tell you which one is your particular device & it would be great if someone can details steps as to how to check this) but since my phone ramped up to 1.2ghz I took a chance. But beware senior members have always warned you can fry your phone if you push it too high or alternatively set the voltage too low etc. So it's your call & I should not be held responsible but I use this myself successfully hence posting.
Overclocking involves loading some kernel modules and setting some parameters. First step the kernel modules should be in /system/lib/modules (Copy them to this location) & second step keep the overclock script at /mnt/sdcard (i.e the overclock.sh file - copy it to this location) third step just click the overcock.sh from a root explorer & execute as root & the script should return an output of 0 meaning success. I use ROM Toolbox Pro for this & then I go to the performance tab CPU settings where you can pull sliders for speed up to a max 1.2 ghz.
Now additionally what I did was downloaded the "Tweakerz" app (Credit : Whirleyes) attached here as well also copied more of Whirleyes .ko modules (extra kernel modules zip & extract & copied to /system/lib/modules, it also adds 'pegasusq' governor which is developed by Samsung especially for dual core phones best performance) thread as here
So once you have executed the 1.2 ghz OC then open Tweakerz, click on required unloaded module & click on load module (insmod) then (slide across tabs on the top to CPU Voltage & speed), go to the last 1200 mhz tab click it and increase the sliders to the speed you desire (I went up to 1.4 ghz & marginally increased voltage & click set value) & voila extra boost over & above 1.2 ghz SCV7 OC & then once again I go to ROM toolbox Pro cpu settings (you can use setcpu, cpu master etc) & choose pegasusq governor & 'sio' I/o settings. Hitch is when the screen goes off it reverts to 1200 ghz again but I use it only when playing heavy games etc. See attached screenshot for benchmark for my various OC's. 1.2 to 1.3ghz gives the best performance for me. Now I am sure someone can chime in with a easier process and in particular ensure the OC further made using Tweakerz sticks even after screen goes off (as of now I again go to CPU tab and pull the speed tab to max set value when I require) but the 1.2 ghz OC sticks until reboot. Would also appreciate if someone can post Jellybean default speed & voltage table like has been posted for GB & ICS in the forums.
Tweakerz apk in post # 2
Guys, hit thanks button if this helps you in any way :good:
Tweakerz apk
Missed file below, attached herein. Tweakerz apk credit to "Whirleyes"

[KERNEL][TouchWiz] TerraBuzz [22 May][PR2.7][STweak][OC/UV][CPU/GPU/MDNIE]

Hello,
Let me introduce a kernel that I've been using every day. Despite the name which is me, the actual developer of this kernel is aatjitra, so please thank him. Since he is using N7105 and for ease of reports, we decided to make a separate thread for the International Samsung Galaxy Note II GT-N7100 model. So it is me that will maintain this thread for N7100. Of course with the help of him to answer questions.
For GT-N7105 model, please visit the original thread here
* WARNING *​This kernel is only for stock ROM or TW Based custom ROM!​DWYOR - Do With Your Own Risk!!!​​
TerraBuzz kernel is created for Samsung Galaxy Note 2 that will suits daily usage. There is no cutting edge and fancy development for this kernel as it's made as close as stock kernel based on source code provided by Samsung. Only cherrypick modification/enhancement from other developers to be implemented in this kernel. This kernel is fast, stable, and battery friendly. All tweaks and modifications are carefully tested to ensure great performance without compromising Galaxy Note II standard features.
Some unnecessary debug and log is also removed to make this kernel as light as possible.
Features
STweak Support
exFAT support
IO Scheduler: Deadline (default), additional scheduler BFQv5r1, , VR
CPU Governor: PegasusQ
Lower GPU threshold from 160 MHz to 266 MHz
CPU Overclock & Undervolt support
GPU Overclock & Undervolt support
Boeffla Sound Engine
CRT Animation support
Dynamic Sync Control
Reduced Samsung Battery Monitor Wakelock
Increased USB Charging rate to 1000 mA
Removed CPU locking by GPU mechanism
Removed some unnecessary debug and log
AFTR Idle Mode
Support Yellow Triangle Away
Exynos Bug patched
ZRAM support (you can delete the script under /System/etc/init.d)
Smooth and battery friendly
Installation
You have to be rooted
Install it using your preferred custom recovery
Reboot the phone
Enjoy the smoothness!
If you're coming from previous version (ex: PR2.5 and up):
- Open STweak and go to 'Extras' and tap 'Reset settings to default'. The apps will close by itself and let it be.
- Open Root Explorer or any file explorer with root access, go to folder /data and delete the folder .terratweak
- Download kernel that match your device type and save it to internal/external storage card on your phone.
- Flash the kernel via TWRP or CWM.
- Reboot and let it stay for a while or until the icon 'checking sd card for error' is gone.
- Open STweak and now you will see a control tab for SCREEN
Source Code
https://github.com/aatjitra/7105u1/​
Downloads
TerraBuzz 2.7: http://www.mediafire.com/download/arjpq46c3xco8nz/TerraBuzz_N7100_PR27_CWM.zip​TerraBuzz 2.6: http://www.mediafire.com/?jid1i6k6cbk6ej1​TerraBuzz 2.5: http://www.mediafire.com/?jqs1wq8h1o4y3hh​TerraBuzz 2.4: http://www.mediafire.com/?ib3v258zqsf19wl​TerraBuzz 2.3: http://www.mediafire.com/download.php?915s5i1qp15jl1a​
Bug Report
Any bug, please report here and please explain in detail for how do you find the bug and if it possible, some steps to replicate it.​
Change Logs
TerraBuzz PR2.7
- Added an interface for charging current and volt via STweak
TerraBuzz PR2.6
- Support MDNIE (color) tweak interface by STweak
- Revert jRCU
- Block optimization for IO Scheduler
- Fixed some parameters in STweak
TerraBuzz PR2.5
- STweak Support for CPU Scaling, Hotplug, Voltage Interface, Clock/Frequency Interface
- STweak Support for BUS/Internal Scaling, Voltage Interface
- STweak Support for GPU Scaling, Voltage Interface, Clock/Frequency Interface
- Support CPU scaling for Frequency for Responsiveness to improve smoothness on low frequency
- Support CPU for Fast Down Scaling for aggresive down scaling. Possible to save battery life
- Modification on Asynchronous I/O latency to a solid-state disk greatly increased
- If you have used TerraBuzz PR2.5 beta version, please remove folder /data/.TerraTweak to reset STweak completely
TerraBuzz PR2.4
- Support CPU Undervolt (adjustable via setcpu, system tuner, android tuner, etc)
- Support CPU Overclock up to 1800 MHz (adjustable via setcpu, system tuner, android tuner, etc)
- Support GPU Undervolt (adjustable via android tuner, etc)
- Support GPU Overclock up to 800 MHz (adjustable via android tuner, etc)
- Added Boeffla Sound Engine 1.6.0 (via Boeffla Sound from Google Play)
- Bug fixing for CRT Animation
- Default CPU Gov: pegasusq (to make it more battery friendly while screen on)
- Default IO Scheduler: deadline (tested using AndroBench and it gives the best result)
TerraBuzz PR2.3 - Initial release for public
Credits and Thanks
Huge thanks and credits to:
Samsung who provide the source code
Great Developer Chainfire (CF-Root Kernel)
Great Developer AndreiLux (Perseus Kernel)
Great Developer wanam (Adam Kernel)
Great Developer franciscofranco (Franco Kernel)
Great Developer hardcore (Speedmod Kernel)
Great Developer tegrak (Tegrak Kernel)
Great Developer faux123
Great Developer simone201 (Simply Honey)
Great Developer Andip71
Great Beta Testers (TerraBuzz, Romie, Chris, 07ex and many friends from Kaskus Indonesia)
To whom I cherrypicked your coding/development
Any name missed in credit, please forgive me and let me know. I will add it accordingly.
Any feedback, let's discuss it...
Screenshots
Here are some screenshots collected from some of our users in the development of this kernel using various ROMs. Please use it as reference only, actual experience and results may differ.
TerraBuzzQ CPU Governor (Suspended)
I tried a few CPU governor which can suit my preferences that will turn off CPU core if the load is light to save battery.
And I come to LulzactiveQ by Tegrak that initially I think this is suitable for me. Nobody is using this governor for Note 2 and I dare myself to try it on my own.
Later on, I modified the source code for LulzactiveQ to remove some parts that I don't need and create my own logic for this cpu governor.
There are 3 thresholds for CPU load:
High Threshold = 100%
Up Threshold = 60%
Down Threshold = 30%
If CPU load = High Threshold (CPU Load = 100%)
CPU scaling per 200 MHz until it reaches maximum frequency 1600 MHz.
If Up Threshold < CPU Load <= High Threshold (CPU Load between 61% and 99%)
CPU scaling per 100 MHz until it reaches 1400 MHz and stop at that point.
If Down Threshold < CPU Load < Up Threshold (CPU Load between 31% and 60%)
CPU scaling per 100 MHz until it reaches 1200 MHz and stop at that point.
If CPU Load <= Down Threshold (CPU Load less than 30%)
CPU down to lowest frequency 200 MHz.​
By this logic, TerraBuzzQ Governor suits my daily usage pattern and tested by beta tester team. The result is great battery life and no lag encounter in heavy game such as Real Racing 3.​
Finally, it's available in XDA...
Best kernel i've tried so far.. Battery friendly yet very smooth...
Thank you for helping me TerraBuzz...
:good:
thx .flashed...
Sent from my GT-N7100 using xda premium
welcome dude :laugh:
At least in here...Cool kernel,
Hope you built for nexus4 and note 1..
Sent from my Nexus 4 using xda premium
try said:
Finally, it's available in XDA...
Best kernel i've tried so far.. Battery friendly yet very smooth...
Click to expand...
Click to collapse
How many hours of onscreen time did u get ?
Sent from my GT-N7100 using xda app-developers app
Nice and solid thanks and keep up the good work
Sent from my GT-N7100 using xda premium
joshphilips said:
How many hours of onscreen time dis u get ?
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
OP updated with screenshots...
best kernel:good:
now flashing
The best kernel for me
I have tried all of kernel.. This kernel is so smooth, but with battery so much friendly..
Thx for aatjitra.. :good:
this kernel can run on aosp?
Sent from my GT-N7100 using xda premium
does it support CRT off animation, that it stopped after flashing this amazing kernel,
not a big issue compared to its smoothness
thanks
pageniao said:
this kernel can run on aosp?
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
No Sir.. I haven't prepare for it but I am planning to do so...
Sent from my GT-N7105 using xda premium
---------- Post added at 10:32 AM ---------- Previous post was at 10:31 AM ----------
koky72 said:
does it support CRT off animation, that it stopped after flashing this amazing kernel,
not a big issue compared to its smoothness
thanks
Click to expand...
Click to collapse
I will include this for next release...
Thank you for the input...
Sent from my GT-N7105 using xda premium
Nice another great kernel. It's there any plan to include color calibration tweak from perseus?
Sent from my GT-N7100 using xda premium
Can't wait for updates new feature.. :thumbup:
Sent from my GT-N7100 using xda premium
Gona try this kernel. Been using neak kernel for sometime and its really good. But whenever I start to play games such as real racing, I get huge battery drain. Duno if its normal or its really a kernel prob. xD anyway will try this one and report back.
Sent from my GT-N7100 using xda app-developers app

[KERNEL][3.0.31][HDMI][FULL HD][GUIDE 1.8]JBX-Kernel Hybrid [1,5ghz]

/// JellyBeanX-kernel ///​
DISCLAIMER
Me, XDA-Developers.com and anyone else doesn't take any repsonsibilty for damages on your device!
Rooting your device will void your warranty!
Don't play with settings you aren't familiar with, you could burn your device!!
Click to expand...
Click to collapse
READ THIS: I added almost all important topics which have been discussed around the kernel thread to the OP and wrote this FAQ just that you guys don't have to browse through 100+ pages of the thread. READ BEFORE YOU ASK and HELP TO KEEP THIS THREAD MORE CLEAN! BUT ALSO BETTER ASK ONCE MORE BEFORE YOU MESS UP YOUR PHONE! If you find something missing in this OP/FAQ, please PM me and I will add it. Thank you!
You can find the FAQ at the bottom of this post!
This is a direct port of my RAZR-JBX-Kernel Hybrid for Motorola Razr!
This kernel is built of the Kexec Project which was initiated first by Kholk & [mbm] and finished by the STS-Dev-Team (Hashcode, Dhacker). Using this kernel will provide addtional features to your ATRIX 2.
LATEST CHANGES (for latest release and NIGHTLIES)
--> DETAILED CHANGELOG JBX-kernel Hybrid <--
Kernel Guide by Placca 1.8!!
Check the FAQ section at the bottom of this post to download it! It will make many things easier for you and help you to understand the kernel and its features!
FEATURES
JBX-Kernel Hybrid
Battery Friend toggle (a battery friendly mode)
Intelli-Plug (Kernel side replacement for msm MPDecisions) by Faux123 + patches by me (no hotplugging when screen is ON)
Dynamic Hotplug: Second core will be turned off ONLY while screen is off - independent from selected governor. (Not needed when using Intelli-Plug)
Optimized OPP Table for smooth CPU scaling
Frequencies: 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300
Modifed Smartreflex driver (Custom Sensor for detecting n-Value).
Smartreflex Tuning Interface: Set min/max calibrated voltage
Overclocking using Live OC (mine runs stable at a maximum frequency of 1,498ghz!)
hwmod, uart, IRQs - cleanups from pre-kexec config to safe power
CPU: lower voltages for CORE and IVA. Give CORE the abbility to scale up to higher voltage if needed
Added IVA_NITROSB
Dynamic fsync control: FSYNC interval is dynamic depending on screen state (SCREEN OFF: synchronous, SCREEN ON: asynchronous)
HTC's Asynchronous Fsync port - read explanation below*
Dynamic page-writeback: Page writeback interval is dynamic depending on screen state.
Frandom v2
JRCU / Tiny RCU (currently JRCU in use)
Raised voltage limits for mpu a bit
Raised the temperature limits from 64c* to 74c* (degrees)
optimized CRC32 algorithm (better code generation)
RW Readahead dynamically depending on storage device (automatic detection of the best value)
zRAM support
GPU has 4 scaling steps and OC to 384mhz (Base freq: 102 mhz --> 154 mhz, 307 mhz, 384 mhz)
GPU C4 states / GPU Control (Governors, Frequencies)
Multicore Power Saving Mode Control
ARCH Dependant Power feature
Gamma Control
Front Buffer Delay Control (draw in x msecs on early suspend)
Screen/Display: Modified OMAPDSS for sharpness and lightning colors
OMAPDSS: Added variable clock rate and OPP - allows the screen to scale down power and voltage
lowmemkiller: Heavy modified for R/W Speed and efficient performance
ZCACHE, ZSMALLOC, XVMALLOC backported from 3.4, 3.7 and 3.10 (ZCACHE currently not in use)
Custom Voltage Support
IO-Schedulers: SIOPlus, Fifo, Row, VR, Noop, Deadline, CFQ, BFQ
ROW Scheduler is heavily tweaked to be the fastest scheduler ever!
CPU: More Governors
Deep Idle
ARM Topology
Many improvements in overall OMAP PM
SELinux permissive
GREAT performance!
battery life!
Support for Trickster Mod Kernel Control App (Download from Gplay)
*]Too much stuff to list here. See "Sources" below and check my Github
* HTC's Asynchronous Fsync and Dynamic Fsync:
Asynchronous fsync (called "afsync" or "async fsync") from HTC is ported into this kernel. By default it's enabled and dynamic fsync is disabled (and as well it isn't needed anymore).
The dynamic fsync toggle in Trickster Mod is now serving both functions - the dynamic fsync AND the asynchronous fsync! How? By default Dynamic Fsync is disabled, and Afsync is enabled. If you now enable Dynamic fsync using the toggle, Afsync will be automatically disabled, so both functions are not conflicting each other - and this way we have a working toggle for both of them.
CAUTION
This is a work in progress! Some of the current features are still not in final stat. If you are facing issues report back here and DON'T spam the threads of the rom you're using!
Be careful with some settings such like Voltage and Overclocking!!! If you aren't experienced with these things, dont play with 'em!
Click to expand...
Click to collapse
REQUIREMENTS
Rooted device
Must use a Kexec Rom (CM, AOKP, AOSP)
Recovery (BMM, SS)
REMOVE any kernel modules you used before
DEACTIVATE ANY CPU tweaks, onboot settings etc otherwise your phone may not boot!
CAUTION: The kernel needs a clean setup related to CPU tweaks / Settings, etc...Keep your device as clean as possible regarding to Tweaks, CPU special settings, etc. The Kernel brings its own CPU settings and after you can boot it succesfully, you can set it like you want!
Some roms may use CPU tweaks. This can cause issues like reboots and freezes. Check the init.d folder for any CPU related stuff and Kernel modules - then remove it. E.g. Remove any scripts which include "insmod" commands.
The best setting is to have stock CPU settings set
This kernel may not work on all roms! Check and report.
TO DO LIST
- Fix bugs
- Fix compile warnings
- More features.
INSTRUCTIONS
NOTE: CLICK here for a detailled Installation Guide (about the Aroma Installer, the features to select and more)
Download zip file from below
Reboot into recovery
Flash the kernel (BMM users: DON'T use the "Flash Kernel" Option! This is a usual zip file!)
Reboot
Download Trickster Mod App from Gplay! Read the FAQ to learn about playing with kernel features!
Enjoy!
EMERGENCY RESTORE
If you have tried a Nightly build and you phone is acting crazy, you can follow these steps:
Check the thread or ask for the latest stable kernel build
NO WIPES!
Flash the Rom (Yes, again! That one you're currently using.)
Flash Gapps
Flash Kernel
Reboot
DOWNLOAD
JBX-Kernel 3.0.8 Versions:
0.8.x ==> Android 4.2.2
1.x == > Android 4.3
2.x == > Android 4.4
JBX-Kernel 3.0.31 Versions:
3.x == > Android 4.4
TEST BUILDs
Test builds are potential prerelease builds which need some more testing before pushing to all users.
CAUTION: Should be stable mostly! But use at your own risk though!!
---> TEST BUILDS [CF] <---
XPERIMENTAL BUILDs
These builds include features without promises to work.
CAUTION: There is no promise that these version are stable/working/whatever! Use at your own risk!!
---> XPERIMENTAL Builds [Dev-Host] <---
---> XPERIMENTAL Builds [CF] <---
Click to expand...
Click to collapse
Something went wrong?
If you think you have set wrong "on-boot-values" in Trickster Mod flash this:
TRICKSTER RESET: http://dtrailer.de/kernel/trickster_reset.zip
FAQ
CAUTION: This FAQ and the whole OP, additional informations about Governors, IO Schedulers and detailed informations about the usage of Trickster Mod and this kernel can be viewed in the awesome Kernel Guide by Placca!
Kernel Guide 1.8
PDF: http://www.mediafire.com/download/7zaddcmvtxfk9ry/JBX+Kernel+Guide_v1.8.pdf
CHM: http://www.mediafire.com/download/g3ck1bf1k3a3j38/JBX+Kernel+Guide_v1.8.chm
CLICK HERE TO OPEN THE FAQ
Please check the following points if you don't know how to use the features of the kernel or you are facing any kind of issues.
INDEX
1. Kernel Features
1.1 Smartreflex (Turn ON/OFF, adjust min/max range)
1.2 Live OC (Realtime Overclocking)
1.3 Custom Voltage (EMIF)
1.4 GPU Overclock
1.5 Gamma Control
1.6 Battery Friend
1.8 IVA Overclock
1.9 DPLL Cascading (Currently not in use)
1.10 HDMI toggle
1.11 Intelli-Plug
2. Issues
1.1 How can I change the smartreflex minimum/maximum voltage
What is Smartreflex?
SR is compareable with an CPU governor but not for scaling frequencies but for voltages. That means SR has a fixed range of voltage (min/max) and calculates the optimal voltage for each CPU frequency. In example on light use of the CPU it scales down to lower voltage - on heavy use it can sclae to higher voltage. This is an efficient system to save power! Compared to EMIF which uses the hardcoded voltages it saves more power because it's variable. EMIF cannot vary between the values.
This interface has a hardcoded range of 830mV min to 1450mV max. Usually there is no need to adjust these values but irt can be usefull in example when using high overclocked frequencies above 1,5ghz! Usually SR cannot handle frequencies above 1,5ghz and I have hardcoded the maximum range of 1,45mV which should allow SR to handle it. In prior times the users had to turn off SR when OCing above 1,5ghz which causes the CPU to eat more power. But you can try around and report your results.
CAUTION: Don't raise the maximum SR voltage too high! It can burn your board = no phone anymore! I recommend to not use higher values than 1490mV! As already mentioned: THe default value should be enough!
ANd also: USUALLY THERE IS NO NEED TO CHANGE ANYTHING ON SR! IF YOU DON'T KNOW WHAT YOU'RE DOING, PLEASE LEAVE IT ALONE!
Ok, now let's see how to do this:
Turn ON/OFF SR
1. Open Trickster Mod
2. Head to the "Specific section"
3. Scroll down to "Smartreflex"
4. You can toggle ON/OFF SR for each component (IVA, CORE, MPU)
Usually I recommend to keep SR ON because it saves power! But in some cases when overclocking the CPU (MPU) the device could freeze - whether you OCed too much or SR couldn't handle the frequency! In this case you can try to raise the vmax value of SR a little bit (CAREFULLY!) and try again. If it sitll freezes and you're sure that you didn't OC too much, turn SR OFF at least for MPU!
Maximum Voltage
Currently there is no app which supports the feature of adjusting the SR vmax value, because I wrote this feature some days ago.
But in the next Trickster Mod version this option will be supported!
example:
# To read the current vmax value. Replace XXX with one of the following:
sc_core - for core max sr voltage
sr_iva - for iva max sr voltage
sr_mpu - for mpu max sr voltage (mpu is most related for CPU scaling)
cat /sys/kernel/debug/smartreflex/XXX/vmax
# You will get an output, e.g. for mpu = 1450000 (1450mV)
# To set a new value, do the following command (replace XXX with a value like above - BE CAREFUL! USUALLY THE DEFAULT VALUE ENOUGH AND YOU CAN LEAVE IT UNTOUCHED!)
echo XXX > /sys/kernel/debug/smartreflex/XXX/vmax
Minimum Voltage
It's easy because Trickster Mod supports it!
1. Open Trickster Mod
2. Head to the "Specific section"
3. Scroll down to "Smartreflex"
4. Below each SR component (IVA, CORE, MPU) there is displayed a value (usually 830 default) which means this is the lowest scalable voltage for this component. You can try to decrease this value for the case you want to UV a bit more - or raise it a bit for the case you think that the set range is too low and causes freezes on your device.
1.2 How do I use Live OC (Live OVerclock)?
This feature allows you to overclock the CPU in realtime. It works with a multiplier value set by the user. The default multplier value is "100", which means: No OC! If you want to raise the OC frerquency, just raise this value step by step.
FOr my device the maximum working OC value is "111" which means the maximum frequency is running at 1498mhz!
NOTE: Keep in mind that you tunr Smartreflex OFF for higher freqs than 1500mhz - or raise the maximum SR voltage range for "MPU" a little bit and test if it works.
Ok, how to use Live oC in action:
Open Trickster Mod App and swipe to the tab "Specific". There you will find something like this:
Code:
MPU OC [100]
DON'T TOUCH THE "CORE OC" SECTION, IT WILL CAUSE FREEZES!
Now slowly increase the value "100" to something higher, e.g. "105". Tap the hook in the right upper corner to confirm. To see your new set of frequencies you can now whether close and restart Trickster Mod or just use any monitoring app like Cool Tool which will show your frequencies in real time. That's it!
CAUTION: You can damage your phone forever!!!! This feature allows you to set very high frequencies (also up to 2,0ghz...) - That DOESN'T mean that your phone can run these frequencies!
If your phone freezes or crashes you have probably set too high OC - or your voltage is too low.
1.3 How do I use Custom Voltage (EMIF)?
NOTE: This only adjusts the fixed voltage! When you have Smartreflex ON it can still vary! You have to see the bigger picture: This voltage value sets the "middle point" for voltages. Smartreflex is still able to increase or decrease the voltage. When Smartreflex is OFF the CPU will stay on this voltage you set here and probably eats also more power.
How does EMIF works together with Smartreflex:
Code:
-------
| CPU |
-------
|
------------------ ------------------
|Voltage 1015 mV | ---->| SMARTREFLEX ON| = 1015mV +/- "vmax"/"vmin"
------------------ -------------------
|
--------------------
|SMARTREFLEX OFF| ----> 1015mV FIXED! No changes!
-------------------
Thi smeans if you change the voltage for a scaling step (OPP) while SR is ON, SR will adjust the voltage from this value, means: mV-Value +/- SR vmin/vmax. WHen SR is OFF it will stay on this mV as a fixed value.
How to adjust the voltage?
Well, this feature can be used with all generic apps which are supporting voltage settings. But we are prepared well, you can adjust voltages also with the "Trickster Mod App".
When you open the app, head to the tab "Specific" and below the "Live OC Section" you will find your voltage table, which looks like this:
Code:
<-->
1200 [1398]
1000 [1388]
900 [1371]
...
..
..
Now just tap the arrows in the right upper above the first voltage value and just type or tap (per direction) a value, e.g. "-25". To apply it, confirm by tapping the hook in the right upper corner of your screen. That's it, your new voltage values are now set and applied. And also mind here: If your phone freezes you porbably have set it too low.
CAUTION: NEVER SET HIGHER VOLTAGE THAN 1490mv here!!!!! Or you might damage your phone FOREVER!
This voltage is not the same like Smartreflex! But it's still voltage! Just be carefull!!
1.4 How can I use GPU OC and GPU Governor?
GPU Overclock doesn't work like Live OC! You cannot really set custom frequencies for the GPU, but you can select and set the maximum frequency from a hardcoded range!
For the GPU there are the following available frequencies:
154mhz (FIXED!)
307mhz
384mhz
416mhz
The minimum frequency of 154 is FIXED! This means you cannot change it because the GPU needs a minimum speed to run with. But the kernel allows you to select the maximum speed. This can be usefull for playing games and also for saving power . In example when not playing games you don't need the GPU to run at 416mhz! Set it to 307mhz in this case and save power.
When you open Trcikster Mod and head to the "specific section tab", you will find "GPU MAX FREQUENCY" and it's currently set maximum frequency. Tap on it to select your preferred one:
- 154 Mhz
- 307 MHz
- 384 MHz
That's it. The new setting will be your new maximum GPU frequency.
Below there's another option called "GPU Governor". Just tap on it and select your prefered one.
NOTE: If you want to track current GPU frequencies and watch governor's behavior, just switch to Trickster's "Informations" - Tab and watch the frequencies clock.
1.5 How can I use Gamma Control?
What is gamma? The gamma setting sets the color range for the screen. You can compare it to the contrast. We all know that the touchscreen eats most of the power compaerd to all other components in a smartphone! A lower brightness causes less power consumption and a lower gamma or contrast range alos helps a little bit to save power.
In this kernel you can choose from a range of "5 - 10" while "5" is very bright while "10" is very dark. The default setting is "5" BUT CAUTION: Trickster Mod will display a range of "0" to "10" and the default setting will be shown as "0". This is caused by the fact that this feature was ported from the Gnex device where you can choose from a higher range. The only sideeffect is that the values "0" - "5" won't show any difference.
How to set the gamma value?
Well, once again open Trickster Mod and swipe to the tab on the right end. Just select your preferred value by using the slider.
Alternately you can use sysfs by terminal or adb:
OMAP Gamma interface:
echo i > /sys/devices/platform/omapdss/manager0/gamma
Replace i with 0-10 of your choice.
1.6 What is "Battery Friend and how to use it?
Battery Friend is a simple toggle (ON/OFF) which sets your device into a battery friendly mode without the need to play with all settings in Trickster Mod /sysfs until you find a good setting. In fact it does the job for you.
What does it affect?
NOTE: Doesn't lock anyx frequencies anymore!
locks dynamic Fsync enabled
locks Fsync disabled
Doesn't allow any OC (Live OC will not have any effect, Core OC is not allowed in this kernel)
Increases the dirty ratio interval to 90% (starts working at this value)
Enables Dynamic Hotplug: This doesn't allow hotplugging during device is active - and it will always turn CPU1 OFF during suspend! It also prevents from conflicts when user uses a hotplug governor (which isn't a good idea though) - but hotplug governors are causing higher battery drain!
Dynamic Page-writeback always enabled
How to toggle Battery Friend:
For now the only way is via terminal, adb shell or root explorer (text editor)
For terminal and adb:
Code:
echo 1 > sys/kernel/battery_friend/battery_friend_active /* Enable */
echo 0 > sys/kernel/battery_friend/battery_friend_active /* Disable */
For Root Explorer
Open Root Explorer
Navigate to sys/kernel/battery_friend/
Open "battery_friend_active" with Text Editor
Change "0" to "1" and safe the file to enable
Change "1" to "0" and safe the file to disable
1.7 Suspend Governor Control (CURRENTLY DISABLED)
Suspend Governor Control is a kernel module written by me. You can use it to set your preferred Screen-Off-governor.
For now it's only supported by sysfs (Trickster Mod will support all my current and upcoming features as soon as it gets updated with its new UI mode!
How to set suspend governor
Open a terminal or use adb shell
Code:
su
echo "x" > /sys/kernel/suspend_gov/suspend_gov
Replace x with one of these values:
0 = Ondemand
1 = Ktoonservative
2 = Conservative
3 = OndemandX
NOTE: No matter what governor you use for suspend mode, if Battery Friend is enabled the second core will be turned off during suspend!
1.8 IVA Overclock
What is IVA OC?
IVA OPPs are controlling the CPU load for sound events. It could be useful (in some cases) when you get sound related laggs. Just set the maximum frequency to highspeed. This will allow more CPU power for sound events but also will cause higher battery consumption.
How to use IVA OC?
If you want to check the current IVA frequency. Just type in Terminal or ADB:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/iva_clock
You will get an output like this:
Code:
132 Mhz
2. You can whether enable IVA highspeed: 130 - 430 Mhz ["1"] or enable IVA normal speed: 130 - 332 Mhz ["0"]
320 Mhz max: echo "0" > sys/devices/system/cpu/cpu0/cpufreq/iva_freq_oc
430 Mhz max: echo "1" > sys/devices/system/cpu/cpu0/cpufreq/iva_freq_oc
1.9 DPLL Cascading
DPLL: Davis–Putnam–Logemann–Loveland (DPLL) algorithm
To get more info about this please see wiki
But to sum it up shortly: It helps to use/stream media (music) in a low power mode.
NOTE: DPLL Cascading will be available to be switched easily via Trickster Mod App soon!
How to switch DPLL?
DPLL is ENABLED by default!
Open Trickster Mod -> Speicific Tab --> DPLL (soon)
sysfs:
Turn off:
Code:
echo 0 > /sys/kernel/dpll/dpll_active
Turn on:
Code:
echo 1 > /sys/kernel/dpll/dpll_active
1.10 HDMI toggle
Some users are facing a RAZR-sepcific problem: HDMI cable is detected, even though there is no cable plugged!
Therefor I included a toggle to switch HDMI wether ON or OFF. Additinally there's an init.d script included within the AROMA Installer you can select during the installation of JBX-Kernel.
To enable/disable HDMI on-the-fy:
sysfs:
Turn off:
Code:
echo 0 > /sys/kernel/hdmi/hdmi_active
Turn on:
Code:
echo 1 > /sys/kernel/hdmi/hdmi_active
1.11 Intelli-Plug
For intelli-plug hotplugging is now only allowed when the device enters sleep.
To enable hotplugging universally just change the value of the following entry whether to 1 (on) or 0 (off):
Code:
sys/module/intelli-plug/parameters/int_hotplug
*Unfortunately I don't have enough space in the OP to write all this into the FAQ, that's why the I only added the sysfs path, but the description is simply here
2. If anyone has the following issues:
Issue
Media Process FC
No SD-Card in File Explorer
My CPU Settings (frequencies, etc) won't be saved (it sets itself back to Kernel default after screen off)
My phone freezes/reboots always when I try to set options in Trickster Mod
The device is lagging very hard
Solution
Media FC: Open App settings, head to "Download Manager" and "Media Storage" and hit the "delete data" button. Reboot. Now it shouldn't give any FCs anymore and after a little bit of waiting it will find all Media (Pictures, Videos, etc..)
No SD-Card: Reboot into recovery, go to "Mounts & Storage", tick "mount int" or "mount ext".
USB: Make sure the screen is ON while plugging the cable in.
CPU Settings: This is a bug which cannot be solved at the moment. Temporary solution: In Trickster Mod just activate the "Frequency Lock" and your settings will persist.
Trickster Mod:: Open App settings, Trickster Mod and select "uninstal updates". Now it should work.
Crashes, Freezes, lagging, something doesn't work, etc
There are too many reasons which could cause crashes! So here is a checklist for you to look for. Check each point and try the following workaround:
- Your rom has CPU tweaks (e.g. Kernel modules, init.d folder, etc)
- You have set custom CPU settings (e.g. custom frequencies with apps like No-Frills CPU Control, Set-CPU, Antutu, etc...)
- You have undervolted too low
- You have overclocked too high
- You have applied higher "Core OC" value in Trickster Mod App
- You are running any other kernel tweaks which are regarding to the CPU and/or performance (e.g. Kernel modules by Whirleyes eventually set by init.d, etc..)
- After setting some settings (e.g. in Trickster Mod) your device doesn't boot anymore
- adb doesn't work / shows only "device offline"
- You are facing hard lagging
If any point here matches your setting, please revert from it:
- Remove any CPU init.d script from /System/etc/init.d
- Uninstall any CPU controling app (e.g. Set-CPU, No-Frills, etc..)
- Remove all extra kernel modules from system/lib/modules (e.g. cpu_control.ko, cpufreq_smartass2.ko, etc..)
- Unset any custom settings from any other kernel / CPU - tweaking app which is NOT Trickster Mod
- Maybe your governor causes issues. Hotplug is know for bugs at the moment...I'm going to fix it..
- NEVER set your CPU Settings (e.g. in Trickster Mod App) on boot!!!! - before you aren't sure that your settings are safe!!!
- You may flash the kernel again after reverting related settings
- to make adb work / show device online, download latest SDK platform-tools and confirm access on device (4.2 security feature of Android)
- Don't use any task killers, memory killers, seeder apps! They may conflict with the kernel/Rom settings.
If none of these suggestions work for you your rom may be incompatible. Please report it here that I can add the rom to the list of imcompatible roms
If you have any issue, please read this:
First check:
- is it really a kernel issue?
- did I see this bug with the roms original kernel?
- what are the people in the rom thread saying?
- what are the people in the kernel thread saying?
- can I find this issue on a bug list?
- how about my settings? Is it my fault it crashed?
- can I find something useful in the kernel FAQ?
- Is it maybe a well known issue and can be solved
withing seconds? Just like wifical.sh?
- Where to repeat that issue? Rom or kernel?
I know it's sometimes difficult to track the issues, and we can't know for sure if it's caused by the rom or by the kernel, but if you try at least to get some information you might find an answer sometimes. If you are able to understand logs, you may report whatever you find.
All this helps to keep the threads more clear. Thank you.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
DONATE
If you like my work and want to support me, I'd enjoy a little beer or coffee. You can find my beer mug below my username
SOURCE
3.0.8 Base:
JBX-Kernel 4.2.2
JBX-Kernel 4.3
CREDITS
Kholk & [mbm] - Kexec inital Release
Hashcode & Dhacker - Making Kexec stable and initiating compatible kernels
Motorola - 3.0.8 Kernel Source
Surdu_Petru - Sharing Knowledge and helping with problems
nithubhaskar - Hints and answering my questions
Ezekeel, Imoseyon - Custom Voltage, Live OC, Temp Control, Gamma Control Source Code
faux123 - Some features, like Intelli-Plug, Intellidemand, Intelliactive
bigeyes0x0 - Trickster Mod App
Team Trickster - Great support and adding new features from my suggestions
Placca - Awesome kernel guide
Click to expand...
Click to collapse
3.0.8 / 3.0.31
There is the classic JBX 3.0.8 Kernel (a hybrid of 3.0.8, 3.0.21, 3.4, 3.7, 3.8, 3.10, 3.11, mostly backports from these versions)
And now there is also JBX 3.0.31 (also a hybrdig including the above backports, but also from 3.0.101)
I won't list the whole version history, too long
3.0.31 first TEST-BUILD now coming!
- also reserved -
And it arrives...
Many thanks man...
Really appreciate you doing this...
---------------------------------------------------
May the -Mass times Acceleration-be with You...
I need the internal storage mount points from someone with stock kernel, please. I saw something about mmcblk0 - int ? Please anyone check the /mnt partitions and tell where the internal and external sdcards are mounted. thx
Edit: nevermind, I didn't know this device doesn't include an internal storage. Now I need to know if USB mount works on Devesh's Rom ports.
Used Stock ICS Based ROM on System 1 with BMM , and Mobile Terminal .
hope its ok .
Wow !
I see some awesomeness coming to our A2s *Respect*
All is set up. Everything works, so I will now build the first test kernel for you guys.
First test kernel in NIGHTLIES folder. Please test and report. Keep in mind that you have to be on one of Devesh's Rom Ports!
Edit: Sorry, forgot something! Please wait 5 mins...
Edit: Done!
Dirty flashed, liquid smooth slot 6 oc1350 running good.
MB865/ATT/BMM
1. Stock 4.0.4
2. Miui 4.0.4
3. Pac man 4.2.2 (6/3)nonkexec
4. Mt
5. MT
6. Cm 10.1 4.2.2 (6/7)kexec
Can I get a wohooo for the A2
JB leak?
Sorry for asking dummy question. Can i flash it on the JB leak because we still need JB leak for installing kexec room right? So if I want to try what possibly would happen?
dtrail1 said:
First test kernel in NIGHTLIES folder. Please test and report. Keep in mind that you have to be on one of Devesh's Rom Ports!
Edit: Sorry, forgot something! Please wait 5 mins...
Edit: Done!
Click to expand...
Click to collapse
Man! You really are damn energetic and enthusiastic, aren't you? Really glad to have you around.. Thanks again.. :thumbup:
Sent from my MB865 using Tapatalk 2
amynjimmy said:
Dirty flashed, liquid smooth slot 6 oc1350 running good.
MB865/ATT/BMM
1. Stock 4.0.4
2. Miui 4.0.4
3. Pac man 4.2.2 (6/3)nonkexec
4. Mt
5. MT
6. Cm 10.1 4.2.2 (6/7)kexec
Can I get a wohooo for the A2
Click to expand...
Click to collapse
How did you OC ? i just can't get the phone to Overclock properly with this trickster app ..
afeeq said:
Sorry for asking dummy question. Can i flash it on the JB leak because we still need JB leak for installing kexec room right? So if I want to try what possibly would happen?
Click to expand...
Click to collapse
You cannot. It needs a kexec Rom. So flash it first
M.o.t.o.r.o.l.a.R.a.z.r - JBX-Kernel 0.6 - Tapatalk4
New nightly online with fixed CPU and live oc! @Brantuck84
Edit: sorry, wrong thread!
But ne nighty comes here too in 5 mins
M.o.t.o.r.o.l.a.R.a.z.r - JBX-Kernel 0.6 - Tapatalk4
So with the current version there is a bug with OC ? ( i don't see TEST2 for Atrix like with the Razr version).
Yes, device starts lagging when OC too high (over oc value of ~107). But new release comes with fixes - OC up to 1,5ghz possible without any problems (Mine crashes when OC higher than 1,498mhz, each silicon is different).
I think I will push it as a release (not NIGHLTY) - only thing left to be fixed is the random black screen while booting. But that's not that important as long as the kernel works well when booted successful.
Edit. done!
Great can't wait to boot 1498mz!
MB865/ATT/BMM
1. Stock 4.0.4
2. Miui 4.0.4
3. Pac man 4.2.2 (6/3)nonkexec
4. Mt
5. MT
6. Cm 10.1 4.2.2 (6/7)kexec
Can I get a wohooo for the A2
Not boot, just set it after boot - and if you're sure you have it running stable, set the "Apply on boot" function in Trickster Mod with a delay of ~90 sec - just to be safe!
RELEASE for Atrix 2
CHANGELOG JBX-kernel 0.6 Hybrid
This version includes fixes for performance and stability
CPU: Set bootup policy to static frequency
CPU: Revert some accidently failed cleanups
CPU: Reset CPU delay on tickless
CPU: Changed margins and sr settings for some OPPs
CPU: Default trimmed dpll mpu
CPU: Added Uilization
SR: Fixed SR return value check
Decreased RCZ_CPU_STALL_TIMEOUT to 60
emif, lpddr: Re-added 466mhz timings
USB: Change ehci performance mode to static scaling freq
Disabled PM_DEBUG for performance
Reduced RW READAHEAD Buffer to 1024
OMAP, CPU, RCU: Re-enabled watchdog
Universal performance invreased
dtrail1 said:
Not boot, just set it after boot - and if you're sure you have it running stable, set the "Apply on boot" function in Trickster Mod with a delay of ~90 sec - just to be safe!
RELEASE for Atrix 2
CHANGELOG JBX-kernel 0.6 Hybrid
This version includes fixes for performance and stability
CPU: Set bootup policy to static frequency
CPU: Revert some accidently failed cleanups
CPU: Reset CPU delay on tickless
CPU: Changed margins and sr settings for some OPPs
CPU: Default trimmed dpll mpu
CPU: Added Uilization
SR: Fixed SR return value check
Decreased RCZ_CPU_STALL_TIMEOUT to 60
emif, lpddr: Re-added 466mhz timings
USB: Change ehci performance mode to static scaling freq
Disabled PM_DEBUG for performance
Reduced RW READAHEAD Buffer to 1024
OMAP, CPU, RCU: Re-enabled watchdog
Universal performance invreased
Click to expand...
Click to collapse
Is his gonna allow then use of 1498 then.
MB865/ATT/BMM
1. Stock 4.0.4
2. Miui 4.0.4
3. Pac man 4.2.2 (6/3)nonkexec
4. Mt
5. MT
6. Cm 10.1 4.2.2 (6/7)kexec
Can I get a wohooo for the A2

Leeco Le 2 (s3) (X522) Kernel settings for better performance and battery life

Hey guys so after some tinkering and tweaking with the kernel I've come up with some settings that can reduce "UI lag" and improve general performance and lower heat output without tanking battery life or "SOT" so what are these setting? you may ask, well before we get into that please note that your results may vary based on the ROM and kernel you are using, I'm using Bootleggers 9.0 with GrapheneKernel v1.5, the app I'm using to tweak the setting is Kernel Adiutor, don't worry it's really simple and we're not making major changes to the kernel settings. but before making any changes please make a back up of your current settings.
Also if you have any better settings for the kernel, share them below.
First off, Go the "CPU" tab and change the big cluster frequencies:
set the minimum frequencies to 400 MHz (0.4 GHz)
Max frequencies to 1800 MHz (1.8 GHz)
change the little cluster frequencies:
set the minimum frequencies to 400 MHz (0.4 GHz)
Max frequencies to 1400 MHz (1.4 GHz)
Next, Set both big and little clusters governors to "Interactive"
Next, Go to "CPU Hotplug"
Set minimum big cluster core to 2
Change the busy down threshold to 20
Change the busy up the threshold to 40
Offline Delay to 100 ms
Next, Go to "GPU"
Set the max frequency to 600 Mhz
set the minimum frequency 266 Mhz
Set GPU governor to "msm-adreno-tz"
Set Adreno Idler to on
Change Down differential to 20
Idle wait to 20
workload to 5
Next, go to I/O Scheduler
Change the Scheduler to cfq (why because noop sucks when it comes to CPU scaling and performance)
Read-ahead value to 2048
RQ affinity to 1
and that's it your done.
If you guys want me to make a .json fine which you can import just and apply all settings in one go let me know in the comments
for me, light use = checking Twitter, Instagram, web browsing and some Youtube
moderate use = Taking photos, light gaming, and editing photos
heavy use = Lot's of photo taking, photo editing, uploading and downloading of large files, heavy gaming such Hades star, (a GPU heavy game btw) Pubg and asphalt 9 and 8
My battery life with these settings
Light use 5 hours and 26 minutes on average
moderate use 4 hours and 38 minutes on average
Heavy use 3 hours and 10 minutes on average
Heat output when in light use is 33 to 36c on average
Heat output when moderate use is 34 to 39c on average
Heat output when in heavy use or gaming is 42 to 46c on average
Bro,how to disable thermal throttling on Le 2,I've found a magisk module of mi5s,I've flash it,but I think its not working,please help,I'm also a hardcore pubg player
Bro, could you please share the link of graphene kernel 1.5?
lambha48 said:
Bro,how to disable thermal throttling on Le 2,I've found a magisk module of mi5s,I've flash it,but I think its not working,please help,I'm also a hardcore pubg player
Click to expand...
Click to collapse
Try disabling Core control if you re using the stock kernel but i recommend using GrapheneKernel or overload 4.10 for Pie based roms or overload 4.5 for oreo based roms and change the thermal limit by a factor of 5 degrees, but do this at your own risk as high temps can damage your device You can also try the new overdose kernel too
lambha48 said:
Bro,how to disable thermal throttling on Le 2,I've found a magisk module of mi5s,I've flash it,but I think its not working,please help,I'm also a hardcore pubg player
Click to expand...
Click to collapse
Disabling thermal throttling is not recommended but of you're willing to take the risk, it can be done by editing the thermal engine config file in system/etc/ folder. Remember that the chipset has in-built thermal control that kicks in when the phone gets too hot with your upped thresholds. However, don't assume that this is a good enough safety net and go crazy with the temps. You might ruin your CPU! This is more so on non-eui based roms.
twistyplain said:
Disabling thermal throttling is not recommended but of you're willing to take the risk, it can be done by editing the thermal engine config file in system/etc/ folder. Remember that the chipset has in-built thermal control that kicks in when the phone gets too hot with your upped thresholds. However, don't assume that this is a good enough safety net and go crazy with the temps. You might ruin your CPU! This is more so on non-eui based roms.
Click to expand...
Click to collapse
Bro,please tell me how,I'm on cr droid nougat,please step by step,I want it to throttle at 60 degrees
lambha48 said:
Bro,please tell me how,I'm on cr droid nougat,please step by step,I want it to throttle at 60 degrees
Click to expand...
Click to collapse
If you're rooted, go to system/etc/ folder and look for a file called thermal-engine-s2.conf and send it to me. I'll edit it for you and send it back with your requested level of 60 degrees. Explaining what all the values mean will take too long.
twistyplain said:
If you're rooted, go to system/etc/ folder and look for a file called thermal-engine-s2.conf and send it to me. I'll edit it for you and send it back with your requested level of 60 degrees. Explaining what all the values mean will take too long.
Click to expand...
Click to collapse
Bro,its in Chinese language,thermal.conf
lambha48 said:
Bro,its in Chinese language,thermal.conf
Click to expand...
Click to collapse
Send me any thermal.conf files in that folder in a zip file. I'll figure out which one needs work.
twistyplain said:
Send me any thermal.conf files in that folder in a zip file. I'll figure out which one needs work.
Click to expand...
Click to collapse
Bro,i can't find.config when open with text editor,I can't understand its in chinese ive rename to bak,doesnt seem to work,only XML I found,I'm on cr droid nougat,please install cr droid,712 on yors and figure it out
Bro,please pubg I played at 736*414 screen resolution with easy DPI changer,but it throttle at 40 degree CPU,baterry 41 degree,um on illusion kernel with cr droid 712 I need to throttle it at 60.
lambha48 said:
Bro,i can't find.config when open with text editor,I can't understand its in chinese ive rename to bak,doesnt seem to work,only XML I found,I'm on cr droid nougat,please install cr droid,712 on yors and figure it out
Click to expand...
Click to collapse
Talk to the developer about it. I can't flash a new ROM right now.
Bro,are these files to be edit to disable thermal,throttling,please help
Please link graphenekernel v 1.5

Categories

Resources