[Kernel][SENSE][Feb 20]BeastMode Evita Plus | S2w Mpdec [Linaro -O3][Linux 3.4.11]

Status
Not open for further replies.
Search This thread

Zarboz

Known Scammer
Mar 5, 2009
145
9,339
Denver


banner4o.png

10dtqms.png






A kernel is the lowest level of easily replaceable software that interfaces with the hardware in your computer. It is responsible for interfacing all of your applications that are running in “user mode” down to the physical hardware, and allowing processes, known as servers, to get information from each other using inter-process communication (IPC).



Android-system-architecture.jpg


What is Sweep2wake?


It Allows you to make a Sweeping action along the bottom of your screen to wake or sleep the screen (mimics action of the power button)

What is msm_mpdecision?

100% kernel based multi core decision! (should cpu1 be online or not?)
This replaces your /system/bin/mpdecision binary which is renamed by the installer to mpdecision_backup.

Check /sys/kernel/msm_mpdecision/conf/ for the configuration.
startdelay = time until mpdecision starts doing it's magic (70000)
delay = time between checks (500)
pause = if something else plugs in the cpu, fall asleep for 10000
scroff_single_core = if the screen is off, don't plug in cpu1 (1)
nwns_threshold_up = runqueue threshold, if this is reached cpu1 will be hotplugged (35)
nwns_threshold_down = runqueue threshold, if this is reached cpu1 will be unplugged (5)
twts_threshold_up = time threshold, this amount of time must have passed (250)
twts_threshold_down = same as above (250)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
idle_freq = a value against that will be checked if a core +/- is requested. (486000)
If cpu0 is below that value and a core up of cpu1 is requested, nothing will happen.
If cpu1 is above that value and a core down of cpu1 is requested, nothing will happen. (otherwise it would now put down cpu1 even though it is still working)

What is ARM Topology:
ARM Topology allows individual queue'ing of tasks to cores by the scheduler, For intelligent load balancing and more data crunching power. This has come from the Linaro Team you can view the most recent patch at from http://patches.linaro.org/9894/ all patches at http://patches.linaro.org/project/linux-arm-kernel/


Special Thanks to: HausX, ToastCFH, Klin1344, Sbryan12144, QD2DC, Ca1ne, TwistedUmbrella, Mdeejay, Thicklizard, Haykuro

Thanks So much to my Team for pushing me to do things i never would have thought i could do or be a part of
If you WANT to donate please donate here:




HUGE HUGE HUGE HUGE HUGE HUGE thanks to:
Showp1984 For all his help and for thinking up a great thing like sweep2wake



Standard disclaimer: if you manage to brick, blow up, vaporize, eliminate, choke on, insert into a strange place or otherwise screw up your device: It is your fault and your fault alone. NOBODY, INCLUDING MYSELF, is responsible for anything you mess up.


I HIGHLY suggest you use Kernel Tuner to tune this kernel as you can control your GPU/Sweep2wake/Individual Core control/Mpdecision control/profiles
and its Free!




 
Last edited:

Zarboz

Known Scammer
Mar 5, 2009
145
9,339
Denver

Please track all bugs issues here
http://code.google.com/p/this-project-is-zarboz/issues/list
please include rom revision s-off or on status and description of problem
I would appreciate the reporting
ONLY REPORT BUGS FOR MY KERNEL DOWNLOADED FROM THIS THREAD

The proper format for reporting is on the google code page but please attach the following to your bugreport post:
Adb logcat dump of event
kmesg dump of event < dont know what that is ?? here is a easy way to get it
Code:
adb shell dmesg > errorreportdump.txt
this will spawn a .txt file in the directory your shell is in upload this file this will suffice for a stacktrace

Code:
[CENTER][B]CHANGE LOG[/B]

[b] Beastmode Evita Plus RC1.0[/b]
-Jelly Bean 3.4.10 Source
-Msm_mpdecision added most upstream version
-Msm_thermald added most upstream version
-Sweep2wake with programmable start/end key
-Userspace UV controle
-3D Gpu overclock up to 512mhz
-2D Gpu overclock up to 325mhz
-CPU OC avail up to 1.9ghz
-L2 Cache Boosted
-FSB bus increased
-LOTS of scheduler mods to increase performance
-ARM Topology updated
-Intellidemand, Lionheart and Badass governors added
-FIOPS, ROW, SIO schedulers
-Userspace FSYNC Toggle in /sys
-Fsync tweaks
-WP switch toggled so system is r/w
-Init.d Support
-Cmdline interfacing
-Zram ported from 3.6 linux kernel and enabled
-Enabled Faster PVS bin

[b]Beastmode RC5[/b]
-Added Cmdline interface
-Added fully aroma controlled install - Thanks Bigwillyg/Showp/Faux123
-Adjusted FSB clock
-Adjusted GPU OC so it is fully controlled by aroma

[B]Beastmode 4.4[/B]
-Sweep2wake disabled by default use kernel tuner to enable
-Patched upstream to 3.0.52 - C.G/KeRnElCheF did the hard work of fixing the kernel.org patchi just cherrypicked his git
-Fixes for -O3 Compiling - Thanks BigWillyG for posting your fixes for this
-Altered GPU Clocking/scaling in system
-Changed FSB Clocks increased a bit
-Changed L2 Cache boost stepping
-Altered s2w to have C.G/KeRnElChIeF's /sys start/end mod for sweep2wake - Thanks alot for posting this and giving permission to use. Your work is awesome :D

[B]Beastmode 4.3[/B]
-Patched upstream to 3.0.51
-Fixed Framebuffer Overruns
-Fixed Voltages
-Fixed Graphical Glitching
-Fixed OTG support
-Fixed incorrect MDP formats for unpack patterns
-Fixed Race between DBS_Refresh and hotplug
-Made the Scaling_governor sysfs node polable
-Fixed Sysfs Deadlock on Cocurrent hotplug/freq switch
-Forcing use of insecure mode to RIVA (wifi controller to load my modules)
-Powered OTG (thanks eak1080!)
-Built with -O2 flags
-Corrected mdp_iommu
-Enable ALL iommu's
-added a psuedo planar output for interleaved format

[B][CENTER]BeastMode 4.2[/CENTER][/B]
-Patched in linaro's topology drivers from 
http://patches.linaro.org/9894/ 
all patches at http://patches.linaro.org/project/linux-arm-kernel/


[B][CENTER]BeastMode v4.1[/CENTER][/B]
- incremental update
- Fixed GPU scaling issues
- Smoothass removed for now
- Restored stock qualcomm voltage tables
- Linaro 4.7 toolchain used to compile
- I know aroma still says 4.0 the next full release i will update the installer

[B][CENTER]BeastMode v4.0[/CENTER][/B]
- Sweep2wake added
- ThermalD userspace interface added
- Mpdecision moved to kernelside
- Fixed Voltage tables
- S-On Friendly installer WORKING WITH NEW HBOOT!
- Updated aroma to v2.56 fixes touch issues in the installer

[B][CENTER]BeastMode v3.0[/CENTER][/B]
-Will Update this sortly. Check my github source for channel log

[B][CENTER]BeastMode v2.1[/CENTER][/B]
-Added Aroma Options:
--OC Min
--GPU OC
-New Flashing Method (thanks Scott)
-Cleaned Up Scripts
-Fixed OC on First Boot

[CENTER][B] BeastMode v2.0.1 [/B][/CENTER]
-Fixed Recovery Loops
[B][COLOR="Red"]Note: Refer to post 3 on my thread on themikmik.com for recovery loop fix.[/COLOR][/B]
[CENTER][B] BeastMode v2.0 [/B][/CENTER]
-Updated to 1.91 Base (All Previous Mods Applied)
-Fixed OC Stick Bug
-Added Aroma Installer for Custom OC
-Fixed Install (One .zip Only)
[CENTER][B] BeastMode v1.1 [/B][/CENTER]
-OC now MAX 2.1Ghz MIN .192Ghz
-OCed GPU
-Added Simple I/O Scheduler
-Dimmed Capcitive Buttons
-UVed
-Tweaks for Battery Saving
-Added Interactive Governor
And Much More :)[/CENTER]


Common bugs and fixes for them:


Unable to boot
I have started the phone slightly undervolted and due to this it causes some units to fail to boot. This will be resolved in a future release
Sorry for the delay with this, here is something that might help those who cannot fully boot on this kernel...
https://dl.dropbox.com/u/6621763/HTC_EVO_4G_LTE_Kernel_Voltage_Stabilizer.zip
It increases the voltage all across the board by 75mv.
To remove the mod
https://dl.dropbox.com/u/6621763/HTC_EVO_4G_LTE_Kernel_Voltage_Stabilizer_Remover.zip
Im on the new JB kernel and my WiFi Says ERROR... what do i do!?!?!
-please download attached prima_wlan.ko.zip unzip and place the prima_wlan.ko into /system/lib/modules/ and set permissions to 744
I am using XYZ ROM and my Camera Doesn't work?
- please see attached .zip to thread flash via recovery
enjoy your working camera
It seems the Sense Task Manager app isn't functioning properly after flashing v4.3. Is this the case for anyone else??

IOMMU

IOMMU

IOMMU

IOMMU

http://en.wikipedia.org/wiki/IOMMU

http://askubuntu.com/questions/85776/what-is-iommu-and-will-it-improve-my-vm-performance

it is working just fine


the memory is handled ALOT differently now :D

My max clock got stuck to 1.7ghz but i picked XYZ clock
-Bug in the installer is being looked into
 
Last edited:
D

Deleted member 3452239

Guest
I noticed someone else maintains the 3.0 thread. I see why you made this one :p
anyways, looking forward to this!
 
Last edited by a moderator:

Zarboz

Known Scammer
Mar 5, 2009
145
9,339
Denver
Glad to be here guys

any sense rom should be fine I tested on Venom when i got to play with my sister in laws XL it was FAST

enjoy :D :D

Did i mention this is S-On Friendly :D

please be HTCdev unlocked with TWRP/CWM to install :D
 
Last edited:

wongSlam

Member
Jun 20, 2012
49
19
Does s2w impact the battery life in this kernel? Because I'm running rohan's build 5 kernel and I'm losing battery a lot faster than usual. But I'm super excited that all these s2w kernels are popping up! If battery loss is what it takes, I'm willing to make that sacrifice. Thanks for all the work you put into this kernel btw :D
 

Zarboz

Known Scammer
Mar 5, 2009
145
9,339
Denver
Does s2w impact the battery life in this kernel? Because I'm running rohan's build 5 kernel and I'm losing battery a lot faster than usual. But I'm super excited that all these s2w kernels are popping up! If battery loss is what it takes, I'm willing to make that sacrifice. Thanks for all the work you put into this kernel btw :D

Beta testers reported 20+ hours of battery life :D

here is one report

20121028225550.png

20121028225558.png

uploadfromtaptalk135143.jpg
 
Last edited:
  • Like
Reactions: wongSlam

sbryan12144

Inactive Recognized Developer
Jul 10, 2010
1,979
4,268
31
Columbus
Good job bro. Don't forget to add updated aroma to v2.56. It fixes touch issues in the installer :) in the channel log that is. Lol I already did it :p

Sent from my HTC One XL
 

idoido

Member
Oct 24, 2007
6
1
stuck on 10% of the installing kernel step. Come from 2.20. Do I still need to flash it by fastboot?
 

idoido

Member
Oct 24, 2007
6
1
It works! It stopped at the 10% for about 5 mins, but after rebooting, everything works fine. Thanks!
BTW: Has the default setting been undervolted?
 
  • Like
Reactions: Zarboz

Aviras

Senior Member
Mar 7, 2011
153
47
Vancouver
Flashed normally, twrp, no issues at all. Said 10% and didn't display any higher digit of completion, but it did complete and reboot, tested that slide-to-wake thinger to nake sure it wasnt just screwing with me, it and works great. Thanks for all the commitment to the One XL! May we be graced with your awesome sauce for ages to come. :)

Sent from my HTC One XL using xda app-developers app
 
  • Like
Reactions: Zarboz

jrlatta

Senior Member
Jul 10, 2010
332
49
Decatur, AL
got it installed , hung at 10% and rebooted twice before booting up, all seems well other than my status bar was backwards for a second, which governor would be recommended for the best performance with good battery life? im on viper xl, id also like to know whether cfq, deadline or noop is better?
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 72


    banner4o.png

    10dtqms.png






    A kernel is the lowest level of easily replaceable software that interfaces with the hardware in your computer. It is responsible for interfacing all of your applications that are running in “user mode” down to the physical hardware, and allowing processes, known as servers, to get information from each other using inter-process communication (IPC).



    Android-system-architecture.jpg


    What is Sweep2wake?


    It Allows you to make a Sweeping action along the bottom of your screen to wake or sleep the screen (mimics action of the power button)

    What is msm_mpdecision?

    100% kernel based multi core decision! (should cpu1 be online or not?)
    This replaces your /system/bin/mpdecision binary which is renamed by the installer to mpdecision_backup.

    Check /sys/kernel/msm_mpdecision/conf/ for the configuration.
    startdelay = time until mpdecision starts doing it's magic (70000)
    delay = time between checks (500)
    pause = if something else plugs in the cpu, fall asleep for 10000
    scroff_single_core = if the screen is off, don't plug in cpu1 (1)
    nwns_threshold_up = runqueue threshold, if this is reached cpu1 will be hotplugged (35)
    nwns_threshold_down = runqueue threshold, if this is reached cpu1 will be unplugged (5)
    twts_threshold_up = time threshold, this amount of time must have passed (250)
    twts_threshold_down = same as above (250)
    enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
    idle_freq = a value against that will be checked if a core +/- is requested. (486000)
    If cpu0 is below that value and a core up of cpu1 is requested, nothing will happen.
    If cpu1 is above that value and a core down of cpu1 is requested, nothing will happen. (otherwise it would now put down cpu1 even though it is still working)

    What is ARM Topology:
    ARM Topology allows individual queue'ing of tasks to cores by the scheduler, For intelligent load balancing and more data crunching power. This has come from the Linaro Team you can view the most recent patch at from http://patches.linaro.org/9894/ all patches at http://patches.linaro.org/project/linux-arm-kernel/


    Special Thanks to: HausX, ToastCFH, Klin1344, Sbryan12144, QD2DC, Ca1ne, TwistedUmbrella, Mdeejay, Thicklizard, Haykuro

    Thanks So much to my Team for pushing me to do things i never would have thought i could do or be a part of
    If you WANT to donate please donate here:




    HUGE HUGE HUGE HUGE HUGE HUGE thanks to:
    Showp1984 For all his help and for thinking up a great thing like sweep2wake



    Standard disclaimer: if you manage to brick, blow up, vaporize, eliminate, choke on, insert into a strange place or otherwise screw up your device: It is your fault and your fault alone. NOBODY, INCLUDING MYSELF, is responsible for anything you mess up.


    I HIGHLY suggest you use Kernel Tuner to tune this kernel as you can control your GPU/Sweep2wake/Individual Core control/Mpdecision control/profiles
    and its Free!




    31

    Please track all bugs issues here
    http://code.google.com/p/this-project-is-zarboz/issues/list
    please include rom revision s-off or on status and description of problem
    I would appreciate the reporting
    ONLY REPORT BUGS FOR MY KERNEL DOWNLOADED FROM THIS THREAD

    The proper format for reporting is on the google code page but please attach the following to your bugreport post:
    Adb logcat dump of event
    kmesg dump of event < dont know what that is ?? here is a easy way to get it
    Code:
    adb shell dmesg > errorreportdump.txt
    this will spawn a .txt file in the directory your shell is in upload this file this will suffice for a stacktrace

    Code:
    [CENTER][B]CHANGE LOG[/B]
    
    [b] Beastmode Evita Plus RC1.0[/b]
    -Jelly Bean 3.4.10 Source
    -Msm_mpdecision added most upstream version
    -Msm_thermald added most upstream version
    -Sweep2wake with programmable start/end key
    -Userspace UV controle
    -3D Gpu overclock up to 512mhz
    -2D Gpu overclock up to 325mhz
    -CPU OC avail up to 1.9ghz
    -L2 Cache Boosted
    -FSB bus increased
    -LOTS of scheduler mods to increase performance
    -ARM Topology updated
    -Intellidemand, Lionheart and Badass governors added
    -FIOPS, ROW, SIO schedulers
    -Userspace FSYNC Toggle in /sys
    -Fsync tweaks
    -WP switch toggled so system is r/w
    -Init.d Support
    -Cmdline interfacing
    -Zram ported from 3.6 linux kernel and enabled
    -Enabled Faster PVS bin
    
    [b]Beastmode RC5[/b]
    -Added Cmdline interface
    -Added fully aroma controlled install - Thanks Bigwillyg/Showp/Faux123
    -Adjusted FSB clock
    -Adjusted GPU OC so it is fully controlled by aroma
    
    [B]Beastmode 4.4[/B]
    -Sweep2wake disabled by default use kernel tuner to enable
    -Patched upstream to 3.0.52 - C.G/KeRnElCheF did the hard work of fixing the kernel.org patchi just cherrypicked his git
    -Fixes for -O3 Compiling - Thanks BigWillyG for posting your fixes for this
    -Altered GPU Clocking/scaling in system
    -Changed FSB Clocks increased a bit
    -Changed L2 Cache boost stepping
    -Altered s2w to have C.G/KeRnElChIeF's /sys start/end mod for sweep2wake - Thanks alot for posting this and giving permission to use. Your work is awesome :D
    
    [B]Beastmode 4.3[/B]
    -Patched upstream to 3.0.51
    -Fixed Framebuffer Overruns
    -Fixed Voltages
    -Fixed Graphical Glitching
    -Fixed OTG support
    -Fixed incorrect MDP formats for unpack patterns
    -Fixed Race between DBS_Refresh and hotplug
    -Made the Scaling_governor sysfs node polable
    -Fixed Sysfs Deadlock on Cocurrent hotplug/freq switch
    -Forcing use of insecure mode to RIVA (wifi controller to load my modules)
    -Powered OTG (thanks eak1080!)
    -Built with -O2 flags
    -Corrected mdp_iommu
    -Enable ALL iommu's
    -added a psuedo planar output for interleaved format
    
    [B][CENTER]BeastMode 4.2[/CENTER][/B]
    -Patched in linaro's topology drivers from 
    http://patches.linaro.org/9894/ 
    all patches at http://patches.linaro.org/project/linux-arm-kernel/
    
    
    [B][CENTER]BeastMode v4.1[/CENTER][/B]
    - incremental update
    - Fixed GPU scaling issues
    - Smoothass removed for now
    - Restored stock qualcomm voltage tables
    - Linaro 4.7 toolchain used to compile
    - I know aroma still says 4.0 the next full release i will update the installer
    
    [B][CENTER]BeastMode v4.0[/CENTER][/B]
    - Sweep2wake added
    - ThermalD userspace interface added
    - Mpdecision moved to kernelside
    - Fixed Voltage tables
    - S-On Friendly installer WORKING WITH NEW HBOOT!
    - Updated aroma to v2.56 fixes touch issues in the installer
    
    [B][CENTER]BeastMode v3.0[/CENTER][/B]
    -Will Update this sortly. Check my github source for channel log
    
    [B][CENTER]BeastMode v2.1[/CENTER][/B]
    -Added Aroma Options:
    --OC Min
    --GPU OC
    -New Flashing Method (thanks Scott)
    -Cleaned Up Scripts
    -Fixed OC on First Boot
    
    [CENTER][B] BeastMode v2.0.1 [/B][/CENTER]
    -Fixed Recovery Loops
    [B][COLOR="Red"]Note: Refer to post 3 on my thread on themikmik.com for recovery loop fix.[/COLOR][/B]
    [CENTER][B] BeastMode v2.0 [/B][/CENTER]
    -Updated to 1.91 Base (All Previous Mods Applied)
    -Fixed OC Stick Bug
    -Added Aroma Installer for Custom OC
    -Fixed Install (One .zip Only)
    [CENTER][B] BeastMode v1.1 [/B][/CENTER]
    -OC now MAX 2.1Ghz MIN .192Ghz
    -OCed GPU
    -Added Simple I/O Scheduler
    -Dimmed Capcitive Buttons
    -UVed
    -Tweaks for Battery Saving
    -Added Interactive Governor
    And Much More :)[/CENTER]


    Common bugs and fixes for them:


    Unable to boot
    I have started the phone slightly undervolted and due to this it causes some units to fail to boot. This will be resolved in a future release
    Sorry for the delay with this, here is something that might help those who cannot fully boot on this kernel...
    https://dl.dropbox.com/u/6621763/HTC_EVO_4G_LTE_Kernel_Voltage_Stabilizer.zip
    It increases the voltage all across the board by 75mv.
    To remove the mod
    https://dl.dropbox.com/u/6621763/HTC_EVO_4G_LTE_Kernel_Voltage_Stabilizer_Remover.zip
    Im on the new JB kernel and my WiFi Says ERROR... what do i do!?!?!
    -please download attached prima_wlan.ko.zip unzip and place the prima_wlan.ko into /system/lib/modules/ and set permissions to 744
    I am using XYZ ROM and my Camera Doesn't work?
    - please see attached .zip to thread flash via recovery
    enjoy your working camera
    It seems the Sense Task Manager app isn't functioning properly after flashing v4.3. Is this the case for anyone else??

    IOMMU

    IOMMU

    IOMMU

    IOMMU

    http://en.wikipedia.org/wiki/IOMMU

    http://askubuntu.com/questions/85776/what-is-iommu-and-will-it-improve-my-vm-performance

    it is working just fine


    the memory is handled ALOT differently now :D

    My max clock got stuck to 1.7ghz but i picked XYZ clock
    -Bug in the installer is being looked into
    27
    Downloads:

    JELLYBEAN KERNELS

    ICS KERNELS
    • link pulled until further notice





    13
    i wanted to update this weekend but i am working on updating the compiler i use from 4.6.2 to 4.7

    this will give us cleaner compilation better optimization and a little more compression on the kernel.

    I have also narrowed down what i believe to be the cause of graphic glitching and in my tester groups they all report the problem absolved.

    I am working hard to get you guys the very best i can. So please bear with me

    ------- i will use the old toochain to make a no GPU OC version later this afternoon -----
    12
    Coming soon to a BeastMode Kernel near you:
    • Sweep2sleep: with screen on, swipe right to left to turn screen off
    • Sweep2power: with screen on, swipe left to right for power menu (simulated 2.5 second power button hold)
    • Sweep2snap: with screen on: swipe left to right and press Home within 2 seconds for a screen snap
    • Sweep2wake: with screen off: swipe left to right to turn screen on (disabled by default for better battery life)
    • Phantom volume down: with screen on, touch between back and home for vol-down one notch
    • Phantom volume up: with screen on, touch between home and recent apps for vol-up one notch
    • Sweep2mute: with screen on, swipe from home to back for vol full down (vibrate)
    • Sweep2loud: with screen on, swipe from home to recent apps for max volume