Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,145 Members 42,087 Now Online
XDA Developers Android and Mobile Development Forum

WerewolfJB kernel v009 [04-29-2014] GPU/CPU/LP OC | UV | CPUQUIET

Tip us?
 
laufersteppenwolf
Old
(Last edited by laufersteppenwolf; 8th September 2013 at 04:55 PM.) Reason: version updated
#1  
laufersteppenwolf's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 4865
Posts: 2,382
Join Date: Jul 2012
Location: Baden-Württemberg

 
DONATE TO ME
Angry WerewolfJB kernel v009 [04-29-2014] GPU/CPU/LP OC | UV | CPUQUIET

Hey guys

Even if this wasn't the way i planned to release my stuff, i'm gonna do it anyways now...
I usually planned not to release my kernel seperately from my rom, but my lappy just crashed hard this afternoon when i was about to push my sources to github... so everything's gone except for the kernel, i pushed it on saturday... luckily

Now, back to topic

The FEATURES:
  • Compiled with Linaro toolchain
  • Based on the CM 10.1 kernel
  • Rock stable
  • Overclocked CPU to max 1.7GHz
  • Unlinked GPU from CPU
  • Overclocked GPU to max 600MHz (Please see 2nd post for instructions)
  • Overclocked LP to 600MHz by default, up to 700MHz by user
  • Cpuquiet framework enabled (with balanced as default gov)
  • Added UV interfaces for CPU, GPU, LP and EMC
  • Added LP max clock interface
  • Added arararagi's hardware customizations
  • Added dynamic FSYNC toggle
  • Added changes from NVIDIA
  • Added Smartmax Governor
  • Added GAMING Governor
  • Added smartassV2 Governor
  • Added HYPER Governor
  • Added wheatley Governor
  • Added Deadline I/O scheduler
  • Set Deadline as default
  • Added ROW I/O scheduler
  • Added cfq I/O scheduler
  • Added SIO I/O scheduler
  • Added fast charging
  • KSM enabled by default
  • Raised the temperature throttle to 80°C (Tegra 3 default is 85°C, LGs default is 71°C)
  • Disabled Baseband wakelock
  • A lot of tweaks

The REQUIREMENTS
  • A unlocked bootloader
  • A working adb/fastboot runtime
  • A brain with the ability to read
  • The will to recycle your warranty papers

The INSTRUCTIONS
Download the latest kernel version from HERE

The easy and fast way:
  • Copy the zip to your sdcard
  • boot into recovery
  • flash the zip
  • reboot


Click image for larger version

Name:	Screenshot_2013-05-13-23-52-48.jpg
Views:	11786
Size:	33.6 KB
ID:	1962142


We have our own IRC channel now:
#WerewolfJB

if you feel like having a relaxed chat, or if you have a serious problem, feel free to join

The THANKS
  • @non4 for testing and giving ideas
  • @FunkyRasta for his testing
  • exFAT for his help and port for stock
  • eagleeyetom for all his help
  • doixanh for his help
  • the whole #GingerDX channel

Disclaimer: I can not be held responsible for any damage this kernel might have caused to your phone

The PLANS FOR THE NEXT RELEASE
Code:
CPU OC
Unlinking the GPU
New I/O schedulers
cpuquiet
S2W
More Tweaks
The SOURCES
can be found on my GitHub HERE, used branch is cm-10.1
Used defconfig
Used toolchain
Used scripts

Feel free to use them, that's what they're there for, but please make sure to give credits. It's not too much to ask, is it?


XDA:DevDB Information
WerewolfJB kernel v009 [04-29-2014] GPU/CPU/LP OC | UV | CPUQUIET, Kernel for the LG Optimus 4X HD

Contributors
laufersteppenwolf
Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: 009
Stable Release Date: 2014-04-29

Created 2013-09-13
Last Updated 2014-06-15
Sony Ericsson Xperia X8: GingerDX v31b ; alfs CM7 v09c
LG Optimus 4x HD: my own version of CM 10.1 , CWM recovery, UNlocked BL

Crying that it's an application bug is like crying over the speed of light: you should deal with reality, not what you wish reality was. - Linus Torvalds
The Following 183 Users Say Thank You to laufersteppenwolf For This Useful Post: [ Click to Expand ]
 
laufersteppenwolf
Old
#2  
laufersteppenwolf's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 4865
Posts: 2,382
Join Date: Jul 2012
Location: Baden-Württemberg

 
DONATE TO ME
Default Reserved

The Following 7 Users Say Thank You to laufersteppenwolf For This Useful Post: [ Click to Expand ]
 
laufersteppenwolf
Old
(Last edited by laufersteppenwolf; 29th April 2014 at 09:20 PM.) Reason: version updated
#3  
laufersteppenwolf's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 4865
Posts: 2,382
Join Date: Jul 2012
Location: Baden-Württemberg

 
DONATE TO ME
Changelog:

Code:
04.29.2014 Biiiig update
v009
  - Enabled WiFi Ad-Hoc
  - Reverted the GPU unlink
  - Volume gains
  - CM upstream patches
  - GPU driver updates
  - General CPU and CPUQuiet tweaks
  - Modified runnable_threads gov to use less cores at low freqs (--> better battery)
  - Fixed booting into bootloader (reboot bootloader and reboot oem-unlock is the same now)
  - Added support for OUYA Wireless Bluetooth Controller
  - Fixed double-press-power from kernel-side 
  - Improved proximity sensor
  - SmartDimmer enabled
  - 5GHz WiFi support
  - Various network changes
  - Updated gaming gov

09.08.2013 bugfixes
v008b
  - Fixed CPU throttles during games
  - Fixed LP OC
  - Improved camera performance
  - Small cpuquiet tweaks

09.01.2013  huuuuge update
v008
  - Finally fixed the baseband wakelocks correctly
  - Updated many NVIDIA drivers
  - Updated WIFI firmware
  - Many I/O tweaks
  - Fixed a cpuquiet value (should go faster in LP mode now)
  - Improved hotplug
  - Entropy tweaks
  - Backported 3.4 lowmemkiller
  - Reduced trasition latency
  - HOX+ memory timings
  - Added smartassV2 gov
  - Added HYPER gov
  - Added wheatley gov
  - Some more minor stuff ;)

[07.16.2013] even better performance and hardware customizability
v007
  - Updated SIO, ROW and Deadline
  - Added smartmax gov
  - Added runnable threads couquiet gov
  - Completely re-worked cpuquiet
  - Set default max freq to 1.5GHz - everyone should be able to boot this kernel now
  - Beaten skin throttle - no more useless performance throttling
  - Added Ad-Hoc mode
  - Added arararagi's hardware customizations  -  Thanks a lot man :)
     * Control of Torch brightness
     * Control of backlight
     * Control of charging current
     * Disabled baseband wakelocks
     * Control of Vibrator strength
     * Control of used backlight HVLEDs
     * Control of Livecolors

[06.16.2013] improved performance
v006
  - Activated and tweaked cpuquiet
  - Balanced as defaule cpuquiet governor
  - Baseband wakelock is visible again
  - Tweaked temperature throttles --> should be way better now
  - Tweaked CPU in general
  - Overclocked LP to 600MHz as default max freq, but overclockable up to 700MHz by user
  - Most likely some more stuff i did, but i already forgot  :D

[05.20.2013] new features and fixes
v005
  - Added CPU OC up to 1.7GHz on all four cores
  - Increased the needed Voltage for 4x1.7GHz
  - Added a dynamic FSYNC toggle
  - Fixed the CPU UV inferface
  - Added a EMC UV interface
  - Added a GPU UV interface
  - Added a LP UV interface
  - Included the baseband wakelock "fix"
  - Changed the lower frequencies again
  - Added fast charging
  - Fixed temperature reporting

[05-14-2013] improved performance
v004
  - Added CPU OC up to 1.7GHz single, 1.6GHz quad
  - Added GPU OC up to 600MHz
  - Added undervolt interface
  - Added LP max clock interface
  - Added GPU max clock interface
  - Improved battery consumption
  - New clock-speeds
  - Reduced DDR3 min_rate to 25.5MHz (by NVIDIA)
  - Some more tweaks

[05-08-2013] baseband wakelock improvements + tweaks
v003
  - Building with Linaro toolchain from now on
  - Improved baseband wakelocks
  - More tweaks
  - Stuff I forgot :D

[05-03-2013] big GPU improvements
v002
  - Added some new I/O schedulers
  - GPU now unlinked from within the kernel
  - GPU overclocked to 520MHz
  - Slightly improved multitasking

[04-29-2013] initial release

Additional stuff:

GPU OC more than 520MHz:
For daily use, i set the max GPU rate to 520MHz. This should be enough.
But if you think, you need more heat to cook something for example, you can go up to 600MHz. Therefore you need to set a new max GPU clock limit. You do this using the following commands:
Code:
echo '<GPU_clock>' >/sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
with <GPU_clock> being your new desired max clock rate

Setting LP max rate:
You have now the ability to set the max speed of the low power core (5th core). You can do this using the following command:
Code:
echo '<LP_clock>'  >/sys/devices/system/cpu/cpu0/cpufreq/cpu_lp_max
with <LP_clock> being your new desired max clock rate

Changing the voltage table:
You have the ability to change the voltages for the processor from now on. But just because you can, doesn't mean you should. Changing voltages is dangerous! In the worst case, you can burn your processor!
I am not at all responsible for damage, caused my my kernel/your settings!
You can find the interfaces here:
Code:
/sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table    <--- CPU
/sys/devices/system/cpu/cpu0/cpufreq/avp_UV_mV_table    <--- GPU
/sys/devices/system/cpu/cpu0/cpufreq/emc_UV_mV_table    <--- RAM
/sys/devices/system/cpu/cpu0/cpufreq/lp_UV_mV_table    <--- LP core
For using @arararagi's hardware customizations, i'd suggest you to use his toolbox from this thread
Sony Ericsson Xperia X8: GingerDX v31b ; alfs CM7 v09c
LG Optimus 4x HD: my own version of CM 10.1 , CWM recovery, UNlocked BL

Crying that it's an application bug is like crying over the speed of light: you should deal with reality, not what you wish reality was. - Linus Torvalds
The Following 54 Users Say Thank You to laufersteppenwolf For This Useful Post: [ Click to Expand ]
 
exFAT
Old
(Last edited by exFAT; 21st May 2013 at 03:33 PM.)
#4  
Senior Member
Thanks Meter 112
Posts: 138
Join Date: Dec 2012
Default Stock builds of Werewolf JB

Hi all.

I'll be maintaining WerewolfJB kernel for stock. The links will be listed on this post. I may also upload experimental kernels.

All credits go to @laufersteppenwolf for his excellent kernel.

For now, the link for WerewolfJB v005 stock is this: https://www.box.com/s/okea8s7pdqcgf5soppbi

And for WerewolfJB v005 CM (with increased voltages and new modules for mobile data): https://www.box.com/s/4d3vxivlcu9ebsku6r4f

Flash it via CWM/TWRP.

Note: Both stock AND CM versions have increased voltage for the 1.7GHz step to 1300mV because of reported instability. Be careful in undervolting since the voltage table is slightly imbalanced, so perhaps -75mV can work for some frequencies but not for others. Furthermore, I removed quite a lot of wakelock references in baseband_xmm_power but forgot to revert them back to the "fix", so if you have any baseband instability please drop me a PM. Also please do report battery life performance, along with a screenshot of your wakelocks and ideally a dmesg. Thanks.

==============================

Experimental versions (for STOCK):

None for now.

The Following 19 Users Say Thank You to exFAT For This Useful Post: [ Click to Expand ]
 
roy8846
Old
#5  
Senior Member
Thanks Meter 90
Posts: 741
Join Date: Oct 2006
Woohoo thanks!! Goodies for us

Sent from my LG-P880 using Tapatalk 2
 
laufersteppenwolf
Old
#6  
laufersteppenwolf's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 4865
Posts: 2,382
Join Date: Jul 2012
Location: Baden-Württemberg

 
DONATE TO ME
Quote:
Originally Posted by roy8846 View Post
Woohoo thanks!! Goodies for us

Sent from my LG-P880 using Tapatalk 2
I would have liked to release the ROM tonight, too.... but my lappy somehow didn't agree with me

Please test and report back. Also about gaming performance.
Sony Ericsson Xperia X8: GingerDX v31b ; alfs CM7 v09c
LG Optimus 4x HD: my own version of CM 10.1 , CWM recovery, UNlocked BL

Crying that it's an application bug is like crying over the speed of light: you should deal with reality, not what you wish reality was. - Linus Torvalds
The Following User Says Thank You to laufersteppenwolf For This Useful Post: [ Click to Expand ]
 
Nemeziz 56th
Old
#7  
Nemeziz 56th's Avatar
Senior Member
Thanks Meter 56
Posts: 256
Join Date: Oct 2012
Is to flash the Kernel with Fastboot the only way ?
Our can I flash it with Terminal Emulator?

Sent from my LG-P880 using xda app-developers app
 
sQuAshPL
Old
#8  
sQuAshPL's Avatar
Member
Thanks Meter 10
Posts: 73
Join Date: Apr 2011
Location: Gdynia (Poland)
What about battery life?

On official CM when I use 3G Internet, battery drain is very, very fast.

_____________________
Swypnięte z LG Optimus 4X HD przy użyciu Tapatalk'a
 
laufersteppenwolf
Old
#9  
laufersteppenwolf's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 4865
Posts: 2,382
Join Date: Jul 2012
Location: Baden-Württemberg

 
DONATE TO ME
Quote:
Originally Posted by Nemeziz 56th View Post
Is to flash the Kernel with Fastboot the only way ?
Our can I flash it with Terminal Emulator?

Sent from my LG-P880 using xda app-developers app
you can use this method of course, too

Quote:
Originally Posted by sQuAshPL View Post
What about battery life?

On official CM when I use 3G Internet, battery drain is very, very fast.

_____________________
Swypnięte z LG Optimus 4X HD przy użyciu Tapatalk'a
this kernel (together with my rom) lasts about 2 days with mobile data and wifi always enabled
Sony Ericsson Xperia X8: GingerDX v31b ; alfs CM7 v09c
LG Optimus 4x HD: my own version of CM 10.1 , CWM recovery, UNlocked BL

Crying that it's an application bug is like crying over the speed of light: you should deal with reality, not what you wish reality was. - Linus Torvalds
The Following 5 Users Say Thank You to laufersteppenwolf For This Useful Post: [ Click to Expand ]
 
JAsko_san
Old
#10  
JAsko_san's Avatar
Senior Member
Thanks Meter 34
Posts: 179
Join Date: May 2012
Quote:
Originally Posted by laufersteppenwolf View Post
you can use this method of course, too



this kernel (together with my rom) lasts about 2 days with mobile data and wifi always enabled
Those are awesome news when can we expect your rom to be officially released ???

Tags
gaming, kernel, p880
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes