[Guide] How to increase your gaming performance - HTC Sensation

To reduce lags download an app named Kernel Tuner or any system tuner(but i recommend to use Kernel tuner).
1. Of course changing cpu frequency to maximum but not done yet, and also change the both governor to performance. Don't forget to change gpu frequency to maximum!
2. Go to thermal and change the cpu to maximum (or any frequency as you want it) three of it.. Then change the temperature of threshold high, medium, and low to 85 degree all of it
3. Go to Misc and change the io scheduler to sio or deadline
4. Go to oom and change the preset to 1000 aggressive
5. Press menu button and create any swap file size, after that activate the swap and change the swappiness to 100
6. Lastly go to settings and choose general, then check "Prevent changes from other apps"
Now you can play the heavy games laglessly
Sent from my HTC Sensation using XDA Premium 4 mobile app

My device isn't compatible with the thermal part, what do I do?, or how do Iget it ? (Any alternatives?)
Sent from my SPH-L710 using xda app-developers app

Related

SetCPU queries

I really cant understand how to configure setcpu properly. Ive a rooted legend on 2.2 , 3.15 build. My doubts are:
1.What is userspace, ondemand and performance scaling ?
2.On the main menu of the setcpu if slided the bars way down to 19 max and 19 min , but it still shows 600max 480min as default as the speed ...
3. What does the "set On boot" option do ? Set the values on the sliders after booting ? But that does not happen.
4. I also want to overclock my legend. After installing the kernel , is it so that that the sliders' max value will increase ?
5. Also what is the difference between the 3.5 and th 4 kernel version and why do people recommend the 3.5 version ? (btw i wanna oc to 768)
-e-
My 2nd query is solved. i disabled the perflock and it went according to the sliders. But please explain the differences between userspace , performace and ondemand scaling
Any help guys ?
its easy, set on boot means what it says.
select autoconfig or recommended
drag slides to max speed and lowest speed
triggers are such as if the battery goes below say 15% it will lower the speed
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
sorry forgot to mention that performance keeps it at the max speed and on demand keeps it at lowest speed until more is needed
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk

[GUIDE] CPU Governors Explained in Detail for Android....

Many of us don't know what is CPU Governor's and which suites them perfectly, so after doing some Googling i am writing these.
What is a CPU governor?
A CPU governor in Android controls how the CPU raises and lowers its frequency in response to the demands the user is placing on their device. Governors are especially important in smartphones and tablets because they have a large impact on the apparent fluidity of the interface and the battery life of the device over a charge.
NOTE: You cannot change your CPU governor unless your phone is rooted and you have a ROM or app that lets you make a change. Also, different kernels (the intermediary software between your phone's hardware and the operating system) offer different sets of governors.
S/W or App's for using these features:
1. SetCPU.
2. No-frills CPU.
3. Tegrak Overclock.
1. Smartass: Performance is on par with the “old” minmax and smartass is a bit more responsive. Battery life is hard to quantify precisely but it does spend much more time at the lower frequencies.
Smartass will also cap the max frequency when sleeping to 352Mhz (or if your min frequency is higher than 352 it will cap it to your min frequency).
2. SmartassV2: Version 2 of the original smartass governor from Erasmux. Another favorite for many a people. The governor aim for an "ideal frequency", and ramp up more aggressively towards this freq and less aggressive after. It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq. This governor scales down CPU very fast (to hit sleep_ideal_freq soon) while screen is off and scales up rapidly to awake_ideal_freq when screen is on. There's no upper limit for frequency while screen is off (unlike Smartass). So the entire frequency range is available for the governor to use during screen-on and screen-off state. The motto of this governor is a balance between performance and battery.
3. SavagedZen: Another smartassV2 based governor. Achieves good balance between performance & battery.
4. Ondemand: which would instantly go to max frequency once it detects cpu activity and then scales down as the requirement decreases.
5. Performance: It has the same min and max frequency so I guess your phone will heat up and throttle really quick, although if you want to benchmark this would give you the best result.
6. Interactive: Much like the OnDemand governor, the Interactive governor dynamically scales CPU clockspeed in response to the workload placed on the CPU by the user. This is where the similarities end. Interactive is significantly more responsive than OnDemand, because it's faster at scaling to maximum frequency.
Unlike OnDemand, which you'll recall scales clockspeed in the context of a work queue, Interactive scales the clockspeed over the course of a timer set arbitrarily by the kernel developer. In other words, if an application demands a ramp to maximum clockspeed (by placing 100% load on the CPU), a user can execute another task before the governor starts reducing CPU frequency. This can eliminate the frequency bouncing discussed in the OnDemand section. Because of this timer, Interactive is also better prepared to utilize intermediate clockspeeds that fall between the minimum and maximum CPU frequencies. This is another pro-battery life benefit of Interactive.
However, because Interactive is permitted to spend more time at maximum frequency than OnDemand (for device performance reasons), the battery-saving benefits discussed above are effectively negated. Long story short, Interactive offers better performance than OnDemand (some say the best performance of any governor) and negligibly different battery life.
7. InteractiveX: Created by kernel developer "Imoseyon," the InteractiveX governor is based heavily on the Interactive governor, enhanced with tuned timer parameters to better balance battery vs. performance. The InteractiveX governor's defining feature, however, is that it locks the CPU frequency to the user's lowest defined speed when the screen is off.
8. Pegasusq: The Pegasus-q / d is a multi-core based on the Ondemand governor and governor with integrated hot-plugging.
Ongoing processes in the queue, we know that multiple processes can run simultaneously on. These processes are active in an array, which is a field called "Run Queue" queue that is ongoing, with their priority values arranged (priority will be used by the task scheduler, which then decides which process to run next).
To ensure that each process has its fair share of resources, each running for a certain period and will eventually stop and then again placed in the queue until it is your turn again. If a program is terminated, so that others can run the program with the highest priority in the current queue is executed.
9. Abyssplug: from what I have read is a modified hotplug which is simillar to ondemand but has the ability to turn off a core when it is not needed and is a little more precise in scaling down cpu performance.
10. Lazy: This governor from Ezekeel is basically an ondemand with an additional parameter min_time_state to specify the minimum time CPU stays on a frequency before scaling up/down. The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand. Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state on a step overriding sampling interval. Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always select the maximum frequency while the screen is off.
11. Powersave: This is opposite of the Performance governor, the Powersave governor locks the CPU frequency at the lowest frequency set by the user.
12. Lagfree: This is similar to ondemand. Main difference is it's optimization to become more battery friendly. Frequency is gracefully decreased and increased, unlike ondemand which jumps to 100% too often. Lagfree does not skip any frequency step while scaling up or down. Remember that if there's a requirement for sudden burst of power, lagfree can not satisfy that since it has to raise cpu through each higher frequency step from current. Some users report that video playback using lagfree stutters a little.
Now you decide it on your own which will suite you ....
Hope this helped you .......
Source
Thanks mj for the wonderful explanation... Learnt some stuff..
Sent from my GT-I9103
Well done. Great work.
This is good work.:good:
I found this thread and this. It explains many more governers.....if any one is interested!:good:
If anyone is interested to know about I/O schedulers...a term that is very commonly used along with CPU governors, refer this
Could you also explain on how to use it ??
I m completely noob...are these governors bundled with kernel or thru some app ??
Sent from my GT-I9103 using Tapatalk 2
vipul12389mehta said:
Could you also explain on how to use it ??
I m completely noob...are these governors bundled with kernel or thru some app ??
Sent from my GT-I9103 using Tapatalk 2
Click to expand...
Click to collapse
NOTE:
You cannot change your CPU governor unless your phone is rooted and you have a ROM or app that lets you make a change. Also, different kernels (the intermediary software between your phone's hardware and the operating system) offer different sets of governors.
Quoted from here
Good job. Can you please add a source of this information?
Thank You OP ! Im now using abyssplug and it saves my battery so much !! Also with a good performance while gaming too !!
Sent from my GT-I9103 using xda app-developers app
what does save most battery for our galaxy r ?
Sent from my GT-I9103 using xda premium
vipul12389mehta said:
Could you also explain on how to use it ??
I m completely noob...are these governors bundled with kernel or thru some app ??
Click to expand...
Click to collapse
These Governor's are related to Kernel, when Kernel is developed these will be coded into kernel and we can select them by using App's like "Set CPU" or "No frill CPU".
"No frill CPU" is free and similar to set CPU...
Eg: In Horsepower kernel developed by fuss132 for Galaxy R we are having most of these Governor's...
m.kochan10 said:
Good job. Can you please add a source of this information?
Click to expand...
Click to collapse
Source added to OP...
Birki96 said:
what does save most battery for our galaxy r ?
Click to expand...
Click to collapse
As rhodrhi said you can try abyssplug or Powersave ( I forgor about this i will add it to OP) and Under clock the CPU will save some power....
Eg: When screen is off i will set it to max 780 and min 256 ( Presently i don't have mobile with me so i don't remember exactly the frequency's)....
Can some one tell me how the lagfree governer works on sgr? I am actually getting good smooth response on this governer and also it does not eat too much of battery...
How about others?
Sent from my GT-I9103
bhargav143 said:
Can some one tell me how the lagfree governer works on sgr? I am actually getting good smooth response on this governer and also it does not eat too much of battery...
How about others?
Click to expand...
Click to collapse
Lagfree: This is similar to ondemand. Main difference is it's optimization to become more battery friendly. Frequency is gracefully decreased and increased, unlike ondemand which jumps to 100% too often. Lagfree does not skip any frequency step while scaling up or down. Remember that if there's a requirement for sudden burst of power, lagfree can not satisfy that since it has to raise cpu through each higher frequency step from current. Some users report that video playback using lagfree stutters a little.
I will add this to OP.
mj.vikram said:
7. InteractiveX: Created by kernel developer "Imoseyon," the InteractiveX governor is based heavily on the Interactive governor, enhanced with tuned timer parameters to better balance battery vs. performance. The InteractiveX governor's defining feature, however, is that it locks the CPU frequency to the user's lowest defined speed when the screen is off.
Source
Click to expand...
Click to collapse
How does DEEP SLEEP mode play into all of this?
Does this governor prevent DEEP SLEEP when the phone screen is off since it locks it at the lowest speed?
Neo3D said:
How does DEEP SLEEP mode play into all of this?
Does this governor prevent DEEP SLEEP when the phone screen is off since it locks it at the lowest speed?
Click to expand...
Click to collapse
+1
Sent from my GT-I9103 using xda premium
Neo3D said:
How does DEEP SLEEP mode play into all of this?
Does this governor prevent DEEP SLEEP when the phone screen is off since it locks it at the lowest speed?
Click to expand...
Click to collapse
drarunmmc said:
+1
Click to expand...
Click to collapse
Deep sleep is basically your phone going into a low CPU state and it's most likely enabled in all the kernel's by default irrespective of all Governor's ....
Install the app CPU Spy which will let you know the Time spent in each CPU frequency including deep sleep also....
Thnx
Great explaination :good:
Well done. Great work.
Thanks
..very informative! thank you very much for this info, it helps me a lot :good:
mj.vikram said:
Many of us don't know what is CPU Governor's and which suites them perfectly, so after doing some Googling i am writing these.
What is a CPU governor?
A CPU governor in Android controls how the CPU raises and lowers its frequency in response to the demands the user is placing on their device. Governors are especially important in smartphones and tablets because they have a large impact on the apparent fluidity of the interface and the battery life of the device over a charge.
NOTE: You cannot change your CPU governor unless your phone is rooted and you have a ROM or app that lets you make a change. Also, different kernels (the intermediary software between your phone's hardware and the operating system) offer different sets of governors.
S/W or App's for using these features:
1. SetCPU.
2. No-frills CPU.
3. Tegrak Overclock.
1. Smartass: Performance is on par with the “old” minmax and smartass is a bit more responsive. Battery life is hard to quantify precisely but it does spend much more time at the lower frequencies.
Smartass will also cap the max frequency when sleeping to 352Mhz (or if your min frequency is higher than 352 it will cap it to your min frequency).
2. SmartassV2: Version 2 of the original smartass governor from Erasmux. Another favorite for many a people. The governor aim for an "ideal frequency", and ramp up more aggressively towards this freq and less aggressive after. It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq. This governor scales down CPU very fast (to hit sleep_ideal_freq soon) while screen is off and scales up rapidly to awake_ideal_freq when screen is on. There's no upper limit for frequency while screen is off (unlike Smartass). So the entire frequency range is available for the governor to use during screen-on and screen-off state. The motto of this governor is a balance between performance and battery.
3. SavagedZen: Another smartassV2 based governor. Achieves good balance between performance & battery.
4. Ondemand: which would instantly go to max frequency once it detects cpu activity and then scales down as the requirement decreases.
5. Performance: It has the same min and max frequency so I guess your phone will heat up and throttle really quick, although if you want to benchmark this would give you the best result.
6. Interactive: Much like the OnDemand governor, the Interactive governor dynamically scales CPU clockspeed in response to the workload placed on the CPU by the user. This is where the similarities end. Interactive is significantly more responsive than OnDemand, because it's faster at scaling to maximum frequency.
Unlike OnDemand, which you'll recall scales clockspeed in the context of a work queue, Interactive scales the clockspeed over the course of a timer set arbitrarily by the kernel developer. In other words, if an application demands a ramp to maximum clockspeed (by placing 100% load on the CPU), a user can execute another task before the governor starts reducing CPU frequency. This can eliminate the frequency bouncing discussed in the OnDemand section. Because of this timer, Interactive is also better prepared to utilize intermediate clockspeeds that fall between the minimum and maximum CPU frequencies. This is another pro-battery life benefit of Interactive.
However, because Interactive is permitted to spend more time at maximum frequency than OnDemand (for device performance reasons), the battery-saving benefits discussed above are effectively negated. Long story short, Interactive offers better performance than OnDemand (some say the best performance of any governor) and negligibly different battery life.
7. InteractiveX: Created by kernel developer "Imoseyon," the InteractiveX governor is based heavily on the Interactive governor, enhanced with tuned timer parameters to better balance battery vs. performance. The InteractiveX governor's defining feature, however, is that it locks the CPU frequency to the user's lowest defined speed when the screen is off.
8. Pegasusq: The Pegasus-q / d is a multi-core based on the Ondemand governor and governor with integrated hot-plugging.
Ongoing processes in the queue, we know that multiple processes can run simultaneously on. These processes are active in an array, which is a field called "Run Queue" queue that is ongoing, with their priority values arranged (priority will be used by the task scheduler, which then decides which process to run next).
To ensure that each process has its fair share of resources, each running for a certain period and will eventually stop and then again placed in the queue until it is your turn again. If a program is terminated, so that others can run the program with the highest priority in the current queue is executed.
9. Abyssplug: from what I have read is a modified hotplug which is simillar to ondemand but has the ability to turn off a core when it is not needed and is a little more precise in scaling down cpu performance.
10. Lazy: This governor from Ezekeel is basically an ondemand with an additional parameter min_time_state to specify the minimum time CPU stays on a frequency before scaling up/down. The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand. Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state on a step overriding sampling interval. Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always select the maximum frequency while the screen is off.
11. Powersave: This is opposite of the Performance governor, the Powersave governor locks the CPU frequency at the lowest frequency set by the user.
12. Lagfree: This is similar to ondemand. Main difference is it's optimization to become more battery friendly. Frequency is gracefully decreased and increased, unlike ondemand which jumps to 100% too often. Lagfree does not skip any frequency step while scaling up or down. Remember that if there's a requirement for sudden burst of power, lagfree can not satisfy that since it has to raise cpu through each higher frequency step from current. Some users report that video playback using lagfree stutters a little.
Now you decide it on your own which will suite you ....
Hope this helped you .......
Source
Click to expand...
Click to collapse
Thanks man this helps me understand a little ore of configuring a nandroid. :highfive:

[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

Modify thermal config+init.qcom.post_boot-1.sh

I just need thermal config+init.qcom.post_boot-1.sh with some modification...
My requirements are as follows...
1) dont care about heating.
2) cpu governor- interactive
3) min clock frequency- 100 mhz for all cpu
4) maximum clock frequency- no limit
5) camera app not depends on temperature ( hang or slow at high temperature).
6) remove all cpu throttling...(must need)
7) remove cpu offline algorithm... (Must need)
Anyone here which is capable of doing this thing,please help...
my thermal config has it all. have you check ?
only the cpu freq I don't set as low as 200 in interactive. (the minimum) you'll get lag and slow respon. believe me.
but I can change if you want.
http://en.miui.com/thread-140563-1-1.html
thanks...
Thanks dude for your advice but i tested your procedures,after that still some cores shut down according to temperature...
i know your skill,so lets join my algorithm and your skill to make best config files...
1) dont care about heating.
2) cpu governor- interactive
3) min clock frequency- 200 mhz for all cpu
4) maximum clock frequency- no limit
5) camera app not depends on temperature ( hang or slow at high temperature).
6) remove all cpu throttling...(must need)
7) remove cpu offline algorithm... (Must need)
and dont confuse between hotplug and throttling(hotplugging is turn unused CPU cores off during periods of low CPU utilization and throttling is turn CPU cores off according to temperature)...
also if you can do then set first 4 core(1.65 mhz x 4) at interactive and others (1.1 mhz x 4) at ondemand...
believe me...this makes best algorithm to control heating and increase performane
Rockmee said:
Thanks dude for your advice but i tested your procedures,after that still some cores shut down according to temperature...
i know your skill,so lets join my algorithm and your skill to make best config files...
1) dont care about heating.
2) cpu governor- interactive
3) min clock frequency- 200 mhz for all cpu
4) maximum clock frequency- no limit
5) camera app not depends on temperature ( hang or slow at high temperature).
6) remove all cpu throttling...(must need)
7) remove cpu offline algorithm... (Must need)
and dont confuse between hotplug and throttling(hotplugging is turn unused CPU cores off during periods of low CPU utilization and throttling is turn CPU cores off according to temperature)...
also if you can do then set first 4 core(1.65 mhz x 4) at interactive and others (1.1 mhz x 4) at ondemand...
believe me...this makes best algorithm to control heating and increase performane
Click to expand...
Click to collapse
if you're talking about cpu2 & cpu3 still offline then I can't help.. it's because of the kernel.
they are active as per need though , not totally offline.
thermal config should be good for your need (if you want can remove all the SS-CPU in there )
https://drive.google.com/file/d/0B7YlmAzhAoSxanpPNTdPSlgxZG8/view
post_boot.sh later.. ( i think Keasby has one with mix interactive/ondemand)
Explain
thanks for your hard work but can you tell me changelog of this config files according to my requirement...
Thanx but there is a problem
Yes you here right,i just checked your config file,i think this is perfect mod but it does not support miui 6.7.2... After some time frequency of first four core set to 1651 mhz and rest at 800 mhz...please fix this issue,it makes heating issue...

Categories

Resources