[KERNEL|22|03|14][AOSP|CM11][teaMseven_v57|CPUQUIET|VC|FLICK&PICK2W |S2W|DT2W]

Search This thread

n3ocort3x

Senior Member
May 10, 2012
5,862
10,822
Vienna
banner_clean_final5wajq.png

banner by jonas2295​

==[teaMsevenAOSP]==

Based on HTC Source: 1.28.161.7​

HOWTO REPORT ERRORS -> THE RIGHT WAY

-) YOU need to provide me the following information, otherwise I´m not able to help:
-) On wich ROM you are
-) Wich Kernel and wich modules did you flash
-) ALWAYS provide a last_kmsg AND a logcat (you dont know how to do that ? Use google or search here in this forum, its posted nearly everywhere)
-) posts like "XYZ feature on ROM XYZ does not work" will be ignored (what should i do with that information ???)


CHANGELOG (old versions) & KERNEL FEATURES
Code:
-builded from CM Kernel
-sweep2wake (ALL CREDITS TO FLAR2)
-sweep2sleep (ALL CREDITS TO FLAR2)
-home2menu (known as logo2menu, TBALDEN)
-home2wake (known as logo2wake TBALDEN)
-doubletap2wake (OWN IMPLEMENTATION, I HOPE IT WORKS :p)
-interactive governor from MAKO baseline
-ondemand governor from MAKO baseline
-latest smartmax governor
-hsic_wakelock fix
-freq table from 216 MHZ - 1728MHZ
-blinking backlights notifications (ALL CREDITS TO TBALDEN)
-GPU 400 MHZ
-ADB under linux works (maybe with win7 too ?? no clue)
-MTP under linux and windows woks 
[B]teaMsevenAOSP_v12r15[/B]
-ported mako_hotplug control from franciscofranco
-u can now control ur cores on ur own (DONT TURN ON MPDECISION)
-to control: Trickster MOD -> Hotplug control
-Disabled MPDECSION
-Explenations can be read from TricksterMOD Hotplug Control (what does what)
-adjusted to provide balance between battery and perfromance (change to ur needs/likings)
-removed most of the useless governors and only kept, interactive, ondemand and smartmax (u DONT need anything else, trust me)
-touchscreen script can be found in root directory (/init.tsscript.rc) change it to ur likings and execute it afterwards (s2w,s2s,dt2w,h2m,h2w)

[B]teaMsevenAOSP_v16[/B]
-updates to Hotplug Control (fourth floor and cores on touch, check TricksterMOD)
-updates to interactive governors
-imported patches from CM Gerrit
-added 217MHz and 162MHz freq step
-removed 216MHZ freq step (better for balance)
-allow UV until 700mV

[B]teaMsevenAOSP_v17[/B]
-added 81MHz freq
-refactor of voltage tables as described in earlier post
-BACK - HOME - MENU layout (if u want old... just tell me)
-updates to BT from CAF

[B]teaMsevenAOSP_v19[/B]
-synced with CM Kernel
-sound / audio fixes
-capacitive buttons fixes
-latest update from HTC source
-enabled HDMI support
-enabled CIFS support
-see git for exact changelog (too much to write here)

[B]teaMsevenAOSP_v21[/B]
-fix video recording
-possible fix (pretty sure) for skype

[B]teaMsevenAOSP_v22[/B]
-updates to audio
-discovered today when u do a fresh install on v21, u have no earpiece amp, v22 fixes this

[B]teaMsevenAOSP_v25[/B]
-patched in GE code (thanks CM guys)
-updated touchscreen FW (users of 2.17 base have no more troubles)
-ported HP Control back
-fixed fastcharging (while USB charging it acts as AC charger)
-other CAF updates (check git)

[B]teaMsevenAOSP_v26[/B]
-synced with cm sources (commits for BT)
-ramdisk cleanup

[B]teaMsevenAOSP_v28 (27 was internal dont wonder)[/B]
-synced with CM sources
-enabled SELinux support (thanks Daniel Hillenbrand from CM)
-fixed thermal control (now its working perfect)
-TS Driver update (THX FLAR2) should fix screen response while calls
-small updates to HP Control
-newest Ramdisk from CM, RB, AOKP...
-check github for more info :)

[B]teaMsevenAOSP_v31 (29, 30 was internal)[/B]
- MEGA AUDIO Patch by CM Team
- Synced with CM TREE
- Cherry picked some stuff from CM10.2 branch
- TricksterMOD now allows to control Thermal settings (Thanks to TiMos)
- Bluetooth fully working if ur ROM is up2date
- lots of changes to KGSL from Code Aurora (picked from CM)
- Check github for more info

[B]teaMsevenAOSP_v32[/B]
-updates updates and more updates from caf (check git)
-BT fixes from CM TEAM for both 10.1 and 10.2
-BT connects immediatley now :)
-added FIOPS sched and set it default
-more to come in v33 ;) already working on it

[B]teaMsevenAOSP_v35[/B]
-updates out of CAF CP from CM (check git, too much to state here)
-OC stage 1: CPU: up to 1890Mhz
-OC stage 1: GPU: up to 450MHz
-fixes graphical glitches on CM10.2
-fixes reboots

[B]teaMsevenAOSP_v36 (CM10.2 ONLY, 4.2.2 comes later)[/B]
-switched to zImage injection flashing method by koush
-Ramdisk will be untouched from now on (no more RB and CM versions)
-bye bye mpdecision forever (doesent even show up in Trickster)
-OC stage 2: CPU: 81MHz-1990MHz
-OC stage 2: GPU: 450 MHz

[B]teaMsevenAOSP_v38[/B]
-as we switched to zImage incection, no seperate CM and RB versions anymore
-OC stage3: CPU: 81Mhz-1990MHz
-OC:stage3: GPU: 533MHz (dont excpect wonders, somewhere between 490Mhz and 500Mhz there is a bottleneck)
-refactored voltage tables
-added back 400Mhz GPU freq

[B]teaMsevenAOSP_v40_CM 10.2[/B]
-updated smartmax to latest revision
-adjusted smartmax to act a bit more aggressive
-faster response of recent apps
-added smartmax EPS governor (EXTREME POWER SAVING)
-introducing input mediator
-updated ondemand governor
-synced with cm sources
-check github for all commits

[B]teaMsevenAOSP_v41_CM 10.2[/B]
-fixup gpu freqs, scaling fixed, freqs: 200 320 487,5

[B]teaMsevenAOSP_v42_CM 10.2[/B]
- huge patchset from GE 4.3 source, intervigil, CM (for using 4.3 blobs)
- updated panel drivers - Steve Kondik, CM
- patched panel drivers - Steve Kondik, CM
- reduced lag while Power ON (screen lag) - Steve Kondik, CM
- reduced lag while scrolling (adjusted Hotplug Control)
- reduced lag for bringing up recents even more faster

[B]teaMsevenAOSP_v43_CM 10.2[/B]
- synced with CM
- changes on 14th septemper see [URL="https://github.com/n3ocort3x/android_kernel_htc_m7/commits/cm-10.2"]HERE[/URL]
- fixed USB OTG / CM CRCPALMER, I take no credits for that

[B]teaMsevenAOSP_v45_CM 10.2[/B]
-updated ondemand governor
-updated with latest patches from CM
-see github for all commits

[B]teaMsevenAOSP_v45_CM 10.2_CPUQUIET[/B]
-switch from mako hotplug to cpuquiet

[B]teaMsevenAOSP_v46_CM 10.2_CPUQUIET[/B]
-no more other hotplug releases then cpuquiet
-introducing [user=3088420]@tbalden[/user] FLICK and PICK 2 WAKE on AOSP :) many thanks my friend
-bugfixes, check git
-synced with CM
-tested and working :D

sysfs paths respectively are:
/sys/devices/virtual/htc_g_sensor/g_sensor/flick2wake value 0-1 (off/on)
/sys/devices/virtual/htc_g_sensor/g_sensor/flick2sleep value 0-1 (off/on)
/sys/devices/virtual/htc_g_sensor/g_sensor/f2w_sensitivity value 0-1 (less sensitive/more sensitive)
/sys/devices/virtual/htc_g_sensor/g_sensor/pick2wake value 0-1 (off/on)

[B]teaMsevenAOSP_v47_CM 10.2_CPUQUIET[/B]
-synced up with CM
-flick pick 2 wake fixes from tbalden
-see github for exact things

[B]teaMsevenAOSP_v48_CM 10.2_CPUQUIET[/B]
-2 sites of github commits (check repo)
-CM synced
-flick / pick 2 wake fixups
-I would recommend only to flash this on ROMS which are up2date to prevent graphical glitches

[B]teaMsevenAOSP_v49_CM 10.2_CPUQUIET[/B]
- synced with CM
- CIFS fixups
- USB fixups
- 2 new GPU freqs: 400, 450

[B]teaMsevenAOSP_v50_CM 10.2_CPUQUIET[/B]
-synced with cm
-prep for new gpu OC (nothing changed on user end so far)
-changelog as always on git

[B]teaMsevenAOSP_v51_CM 10.2_CPUQUIET[/B]
-new method of overclocking gpu (over pll)
-introduced by TEAM GLITCH originally for FLO, ported to m7 sense (flar2), and some stuff from me for AOSP
-thanks to TEAM Glitch and FLAR2
-new freqs available: 200, 320, 450 , 477, 490, 504, 531, 558, 585
-synced with CM

[B]teaMsevenAOSP_v52_CM 10.2_CPUQUIET[/B]
-synced up with cm
-gpu and video driver updates
-hopefully no more reboots for the cm guys

[B]teaMsevenAOSP_v53_CM 10.2_CPUQUIET[/B]
-fixes reboots
-synced with CM

CHANGELOG LATEST VERSION:

teaMsevenAOSP_v55_CM 11_CPUQUIET
-rebased on msm8960 Kernel
-s2w seems buggy (hard to wake sometimes, wake takes longer)
-rest seems ok
-no flick and pick to wake so far, comes later

teaMsevenAOSP_v56_CM 11_CPUQUIET
-reverted back to older kernel as it work miles better
-fix incall sound issues (replacing snd_soc_msm_fusion3 with flashable kernel .zip)
- FLASH this on pure CM11 or on CM11 based ROMS except AICP (we havent merged that change, u wont miss anything as the kernel is stock there)

teaMsevenAOSP_v57_CM 11_CPUQUIET
-based on htc_msm8960 Kernel (finally)
- up2date with CM
- all features back in


uploadfromtaptalk137636bd9.jpg



HUGE THANKS TO @maxwen who always support and teaches me

WORKAROUND FOR ATT GUYS THAT UPDATED TO GE 4.3 VERSION
AND NOW GETTING NO SIGNAL:


LINK


Download Kernel & Modules

FOR CM11 and CM11 BASED ROMS (DONT FLASH ON AICP, (IT IS THE STOCK KERNEL THERE) , ALL OTHERS ARE OK) KK 4.4.x + CPUQUIET HOTPLUG

teaMseven_CM11_v57 CPUQUIET BACK_HOME_MENUE Mapping INSTALLER

teaMseven_CM11_v57 CPUQUIET BACK_MENU_HOME Mapping INSTALLER

FOR AOSP KK 4.4.x + CPUQUIET HOTPLUG

teaMsevenAOSP_v54 CPUQUIET BACK_HOME_MENUE Mapping INSTALLER

teaMsevenAOSP_v54 CPUQUIET BACK_MENU_HOME Mapping INSTALLER


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

Howto install:

No AROMA, just good old recovery flash (better then hundrets of freezes in AROMA).

Github, GPL, XDA RULES

To be FULLY on the safe side now, full GPL and XDA compliance ;)

CM10.2 CM10.1
LINK TO GLOBAL GITHUB/USER IN CASE SOMEONE WILL HAVE A LOOK ON MY OTHER REPOS
clicking is way easier then deleting a few chars out of the url bar.. isnt it ?? ;)

FOR CM 10.2 and JB-MR2
Toolchain used: arm-a9-eabi, self made (maxwen)
Defconfig to use: cyanogenmod_m7_defconfig for CM, aicp_m7_defconfig for JB-MR2
branch: cm10.2, JB-MR2

FOR CM 10.1:
Toolchain used: arm-a9-eabi, self made (maxwen)
Defconfig to use: cyanogenmod_m7_defconfig
branch: cm10.1_performance



Disclaimer

-) I am not responsible for bricked devices
-) you do this on your own will
-) If you flash this, your warranty will be void


CREDITS

TBALDEN: HOME 2 WAKE , HOME 2 MENU , LOGO STUFF, BLINKING BUTTONS
MAXWEN: FOR ENDLESS SUPORT AND TEACHING STUFF
KOZMIKKICK: FOR ALWAYS HELPING ME :)
FLAR2: SWEEP 2 WAKE, SWEEP 2 SLEEP
PINPONG: HELP WITH CALCULATING VALUES FOR FREQS
FRANCISCOFRANCO:mako_hotplug control

WHOLE CM TEAM, THIS GUYS DID AN AMAZING JOB AND WITHOUT THEM WE WOULDNT EVEN HAVE THIS KERNEL.

ANOTHER HUGE THANKS TO THE CM GUYS FOR PATCHING LATEST HTC SOURCE WITH GE SOURCE ALL CREDITS TO THEM.
 
Last edited:

n3ocort3x

Senior Member
May 10, 2012
5,862
10,822
Vienna
DONT flash kernel, before reading stuff mentioned below:

-) THIS is not chic IPHONE stuff, you should have some basic knowledge on how to do some things on ANDROID.
-) You encounter an error ? Ok, i will look into it, but you have to follow the rules:
-) ALWAYS tell me following stuff: wich ROM ?, wich KERNEL, UNDERVOLTED ? , wich GOVERNOR used ?
-) You should also provide following stuff so i can look into the issue further:
-) last_kmsg, logcat (you dont know how to get thos files or dont even know what this is ? Ok i will tell you:
-) last_kmsg: connect phone with usb, open up a shell in linux or a CMD in windows, cd to your adb directory and write this: cat /proc/last_ksmg > /sdcard/last_ksmg.log
-) grab the file from your sdcard and provide it to me
-) logcat: This is easier for lazy people, download alogcat app from playstore, fire it up, and extract out the log. Also provide this to me.
-) repack kernel for your ROM with the following online repacker: www.nibble.cc/repack
-) posts like "I had a reboot" or "phone crashed" without proper information will be ignored


Frequently asked questions, answered here:
 
Last edited:

n3ocort3x

Senior Member
May 10, 2012
5,862
10,822
Vienna
HOTPLUG CONTROL, HERMAL CONTROL, GOVERNORS, SAMPLE CONFIGS:

there are 3 types of hotplug methods u guys are confronted with while using this or stock kernel:

-mpdec from qualcomm
-mako_hotplug from franciscofranco
-cpuquiet from nvidia with additions (load_stats)


mpdec is for my taste/needs to aggressive. if u watch cpus go up and down, they spend a lot of time on higer freqs + too much cores online, thats why i wanted to replace it with an other hotplug management. As my coding skills are not good enough (not now but i hope in future) i decided to use francisco francos mako_hotplug. why ? simple. because its adjustable (4 floors). This worked quite well.

but yeah.. we all know.. on Android, u dont stay long at one thing... we move constantly. this is where cpuquiet hotplug kicked in. Its original from nvdia for tegra processors but u can port it to others too (what maxwen did). maxwen added the load stats_governor, wich is a port from franciscofrancos hotplug control in a way. but i dont want to confuse people here so in short:

with cpuquiet + load stats governor u get a brilliant battery life while keep it snappy. Why that ?? simple... maxwen spent a lot of time in it to adjust it for his oppo people and he knows what to do. I recommend leaving the governor on load stats (hotplug depended on load) to get the best results.

I re-adjusted it to fit in m7 as i have a feeling that we need a bit more aggressive tresholds.

If u want to keep it balanced, and yeah, most users want that:

governor: smartmax
cpuquiet governor: load_stats

u want ultimate perfromance:

governor: interactive (up treshold 65) or smartmax (lower tresholds)
cpuquiet governor: load_stats

now give me bonus points :D

THERMAL CONTROL HOWTO:
==================


First have a look on the following folder:

sys/module/msm_thermal/parameters

now have a look at these 2 files:

limit freq
limit_temp_degC

In limit_freq u can adjust on which freqs it should fall back while throttling
In limit_temp_degC u can adjust the tempreature limit for throttling

EXAMPLE:
=======


#limit_freq
1458000 1242000 702000 384000

#limit_temp_degC
55,60,70,80

That means: it throttles to 1458Mhz @ 55 degrees , 1242MHz @ 60 degrees, 702MHz @ 70 degrees , 384MHz @ 80 degrees

SMARTMAX GOVERNOR
===============


Adjust it like that u u wont have a single lag, this governor is simply outstanding:

Freq Range General: 270MHz - 1728MHz
awake_ideal_freq 594000
boost_freq 1242000
suspend_ideal_freq 384000
touch_poke_freq 1242000

Leave the rest untouched :)
 
Last edited:

jonas2295

Senior Member
Jan 4, 2010
5,129
2,787
Bavaria
If I can do anything to speed up the time until you get a device, let me know via pm :) like buying one here in germany etc

Sent from my HTC One using xda premium
 

n3ocort3x

Senior Member
May 10, 2012
5,862
10,822
Vienna
If I can do anything to speed up the time until you get a device, let me know via pm :) like buying one here in germany etc

Sent from my HTC One using xda premium

for now im pretty busy with evening school stuff so i'm kind of happy that devices arrives in 2 weeks. what would be interresting is if anyone tried the kernel yet...if yes: report

[sent from an icecold mako...ncxe'ed....soon...]
 

Top Liked Posts

  • There are no posts matching your filters.
  • 96
    banner_clean_final5wajq.png

    banner by jonas2295​

    ==[teaMsevenAOSP]==

    Based on HTC Source: 1.28.161.7​

    HOWTO REPORT ERRORS -> THE RIGHT WAY

    -) YOU need to provide me the following information, otherwise I´m not able to help:
    -) On wich ROM you are
    -) Wich Kernel and wich modules did you flash
    -) ALWAYS provide a last_kmsg AND a logcat (you dont know how to do that ? Use google or search here in this forum, its posted nearly everywhere)
    -) posts like "XYZ feature on ROM XYZ does not work" will be ignored (what should i do with that information ???)


    CHANGELOG (old versions) & KERNEL FEATURES
    Code:
    -builded from CM Kernel
    -sweep2wake (ALL CREDITS TO FLAR2)
    -sweep2sleep (ALL CREDITS TO FLAR2)
    -home2menu (known as logo2menu, TBALDEN)
    -home2wake (known as logo2wake TBALDEN)
    -doubletap2wake (OWN IMPLEMENTATION, I HOPE IT WORKS :p)
    -interactive governor from MAKO baseline
    -ondemand governor from MAKO baseline
    -latest smartmax governor
    -hsic_wakelock fix
    -freq table from 216 MHZ - 1728MHZ
    -blinking backlights notifications (ALL CREDITS TO TBALDEN)
    -GPU 400 MHZ
    -ADB under linux works (maybe with win7 too ?? no clue)
    -MTP under linux and windows woks 
    [B]teaMsevenAOSP_v12r15[/B]
    -ported mako_hotplug control from franciscofranco
    -u can now control ur cores on ur own (DONT TURN ON MPDECISION)
    -to control: Trickster MOD -> Hotplug control
    -Disabled MPDECSION
    -Explenations can be read from TricksterMOD Hotplug Control (what does what)
    -adjusted to provide balance between battery and perfromance (change to ur needs/likings)
    -removed most of the useless governors and only kept, interactive, ondemand and smartmax (u DONT need anything else, trust me)
    -touchscreen script can be found in root directory (/init.tsscript.rc) change it to ur likings and execute it afterwards (s2w,s2s,dt2w,h2m,h2w)
    
    [B]teaMsevenAOSP_v16[/B]
    -updates to Hotplug Control (fourth floor and cores on touch, check TricksterMOD)
    -updates to interactive governors
    -imported patches from CM Gerrit
    -added 217MHz and 162MHz freq step
    -removed 216MHZ freq step (better for balance)
    -allow UV until 700mV
    
    [B]teaMsevenAOSP_v17[/B]
    -added 81MHz freq
    -refactor of voltage tables as described in earlier post
    -BACK - HOME - MENU layout (if u want old... just tell me)
    -updates to BT from CAF
    
    [B]teaMsevenAOSP_v19[/B]
    -synced with CM Kernel
    -sound / audio fixes
    -capacitive buttons fixes
    -latest update from HTC source
    -enabled HDMI support
    -enabled CIFS support
    -see git for exact changelog (too much to write here)
    
    [B]teaMsevenAOSP_v21[/B]
    -fix video recording
    -possible fix (pretty sure) for skype
    
    [B]teaMsevenAOSP_v22[/B]
    -updates to audio
    -discovered today when u do a fresh install on v21, u have no earpiece amp, v22 fixes this
    
    [B]teaMsevenAOSP_v25[/B]
    -patched in GE code (thanks CM guys)
    -updated touchscreen FW (users of 2.17 base have no more troubles)
    -ported HP Control back
    -fixed fastcharging (while USB charging it acts as AC charger)
    -other CAF updates (check git)
    
    [B]teaMsevenAOSP_v26[/B]
    -synced with cm sources (commits for BT)
    -ramdisk cleanup
    
    [B]teaMsevenAOSP_v28 (27 was internal dont wonder)[/B]
    -synced with CM sources
    -enabled SELinux support (thanks Daniel Hillenbrand from CM)
    -fixed thermal control (now its working perfect)
    -TS Driver update (THX FLAR2) should fix screen response while calls
    -small updates to HP Control
    -newest Ramdisk from CM, RB, AOKP...
    -check github for more info :)
    
    [B]teaMsevenAOSP_v31 (29, 30 was internal)[/B]
    - MEGA AUDIO Patch by CM Team
    - Synced with CM TREE
    - Cherry picked some stuff from CM10.2 branch
    - TricksterMOD now allows to control Thermal settings (Thanks to TiMos)
    - Bluetooth fully working if ur ROM is up2date
    - lots of changes to KGSL from Code Aurora (picked from CM)
    - Check github for more info
    
    [B]teaMsevenAOSP_v32[/B]
    -updates updates and more updates from caf (check git)
    -BT fixes from CM TEAM for both 10.1 and 10.2
    -BT connects immediatley now :)
    -added FIOPS sched and set it default
    -more to come in v33 ;) already working on it
    
    [B]teaMsevenAOSP_v35[/B]
    -updates out of CAF CP from CM (check git, too much to state here)
    -OC stage 1: CPU: up to 1890Mhz
    -OC stage 1: GPU: up to 450MHz
    -fixes graphical glitches on CM10.2
    -fixes reboots
    
    [B]teaMsevenAOSP_v36 (CM10.2 ONLY, 4.2.2 comes later)[/B]
    -switched to zImage injection flashing method by koush
    -Ramdisk will be untouched from now on (no more RB and CM versions)
    -bye bye mpdecision forever (doesent even show up in Trickster)
    -OC stage 2: CPU: 81MHz-1990MHz
    -OC stage 2: GPU: 450 MHz
    
    [B]teaMsevenAOSP_v38[/B]
    -as we switched to zImage incection, no seperate CM and RB versions anymore
    -OC stage3: CPU: 81Mhz-1990MHz
    -OC:stage3: GPU: 533MHz (dont excpect wonders, somewhere between 490Mhz and 500Mhz there is a bottleneck)
    -refactored voltage tables
    -added back 400Mhz GPU freq
    
    [B]teaMsevenAOSP_v40_CM 10.2[/B]
    -updated smartmax to latest revision
    -adjusted smartmax to act a bit more aggressive
    -faster response of recent apps
    -added smartmax EPS governor (EXTREME POWER SAVING)
    -introducing input mediator
    -updated ondemand governor
    -synced with cm sources
    -check github for all commits
    
    [B]teaMsevenAOSP_v41_CM 10.2[/B]
    -fixup gpu freqs, scaling fixed, freqs: 200 320 487,5
    
    [B]teaMsevenAOSP_v42_CM 10.2[/B]
    - huge patchset from GE 4.3 source, intervigil, CM (for using 4.3 blobs)
    - updated panel drivers - Steve Kondik, CM
    - patched panel drivers - Steve Kondik, CM
    - reduced lag while Power ON (screen lag) - Steve Kondik, CM
    - reduced lag while scrolling (adjusted Hotplug Control)
    - reduced lag for bringing up recents even more faster
    
    [B]teaMsevenAOSP_v43_CM 10.2[/B]
    - synced with CM
    - changes on 14th septemper see [URL="https://github.com/n3ocort3x/android_kernel_htc_m7/commits/cm-10.2"]HERE[/URL]
    - fixed USB OTG / CM CRCPALMER, I take no credits for that
    
    [B]teaMsevenAOSP_v45_CM 10.2[/B]
    -updated ondemand governor
    -updated with latest patches from CM
    -see github for all commits
    
    [B]teaMsevenAOSP_v45_CM 10.2_CPUQUIET[/B]
    -switch from mako hotplug to cpuquiet
    
    [B]teaMsevenAOSP_v46_CM 10.2_CPUQUIET[/B]
    -no more other hotplug releases then cpuquiet
    -introducing [user=3088420]@tbalden[/user] FLICK and PICK 2 WAKE on AOSP :) many thanks my friend
    -bugfixes, check git
    -synced with CM
    -tested and working :D
    
    sysfs paths respectively are:
    /sys/devices/virtual/htc_g_sensor/g_sensor/flick2wake value 0-1 (off/on)
    /sys/devices/virtual/htc_g_sensor/g_sensor/flick2sleep value 0-1 (off/on)
    /sys/devices/virtual/htc_g_sensor/g_sensor/f2w_sensitivity value 0-1 (less sensitive/more sensitive)
    /sys/devices/virtual/htc_g_sensor/g_sensor/pick2wake value 0-1 (off/on)
    
    [B]teaMsevenAOSP_v47_CM 10.2_CPUQUIET[/B]
    -synced up with CM
    -flick pick 2 wake fixes from tbalden
    -see github for exact things
    
    [B]teaMsevenAOSP_v48_CM 10.2_CPUQUIET[/B]
    -2 sites of github commits (check repo)
    -CM synced
    -flick / pick 2 wake fixups
    -I would recommend only to flash this on ROMS which are up2date to prevent graphical glitches
    
    [B]teaMsevenAOSP_v49_CM 10.2_CPUQUIET[/B]
    - synced with CM
    - CIFS fixups
    - USB fixups
    - 2 new GPU freqs: 400, 450
    
    [B]teaMsevenAOSP_v50_CM 10.2_CPUQUIET[/B]
    -synced with cm
    -prep for new gpu OC (nothing changed on user end so far)
    -changelog as always on git
    
    [B]teaMsevenAOSP_v51_CM 10.2_CPUQUIET[/B]
    -new method of overclocking gpu (over pll)
    -introduced by TEAM GLITCH originally for FLO, ported to m7 sense (flar2), and some stuff from me for AOSP
    -thanks to TEAM Glitch and FLAR2
    -new freqs available: 200, 320, 450 , 477, 490, 504, 531, 558, 585
    -synced with CM
    
    [B]teaMsevenAOSP_v52_CM 10.2_CPUQUIET[/B]
    -synced up with cm
    -gpu and video driver updates
    -hopefully no more reboots for the cm guys
    
    [B]teaMsevenAOSP_v53_CM 10.2_CPUQUIET[/B]
    -fixes reboots
    -synced with CM

    CHANGELOG LATEST VERSION:

    teaMsevenAOSP_v55_CM 11_CPUQUIET
    -rebased on msm8960 Kernel
    -s2w seems buggy (hard to wake sometimes, wake takes longer)
    -rest seems ok
    -no flick and pick to wake so far, comes later

    teaMsevenAOSP_v56_CM 11_CPUQUIET
    -reverted back to older kernel as it work miles better
    -fix incall sound issues (replacing snd_soc_msm_fusion3 with flashable kernel .zip)
    - FLASH this on pure CM11 or on CM11 based ROMS except AICP (we havent merged that change, u wont miss anything as the kernel is stock there)

    teaMsevenAOSP_v57_CM 11_CPUQUIET
    -based on htc_msm8960 Kernel (finally)
    - up2date with CM
    - all features back in


    uploadfromtaptalk137636bd9.jpg



    HUGE THANKS TO @maxwen who always support and teaches me

    WORKAROUND FOR ATT GUYS THAT UPDATED TO GE 4.3 VERSION
    AND NOW GETTING NO SIGNAL:


    LINK


    Download Kernel & Modules

    FOR CM11 and CM11 BASED ROMS (DONT FLASH ON AICP, (IT IS THE STOCK KERNEL THERE) , ALL OTHERS ARE OK) KK 4.4.x + CPUQUIET HOTPLUG

    teaMseven_CM11_v57 CPUQUIET BACK_HOME_MENUE Mapping INSTALLER

    teaMseven_CM11_v57 CPUQUIET BACK_MENU_HOME Mapping INSTALLER

    FOR AOSP KK 4.4.x + CPUQUIET HOTPLUG

    teaMsevenAOSP_v54 CPUQUIET BACK_HOME_MENUE Mapping INSTALLER

    teaMsevenAOSP_v54 CPUQUIET BACK_MENU_HOME Mapping INSTALLER


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

    Howto install:

    No AROMA, just good old recovery flash (better then hundrets of freezes in AROMA).

    Github, GPL, XDA RULES

    To be FULLY on the safe side now, full GPL and XDA compliance ;)

    CM10.2 CM10.1
    LINK TO GLOBAL GITHUB/USER IN CASE SOMEONE WILL HAVE A LOOK ON MY OTHER REPOS
    clicking is way easier then deleting a few chars out of the url bar.. isnt it ?? ;)

    FOR CM 10.2 and JB-MR2
    Toolchain used: arm-a9-eabi, self made (maxwen)
    Defconfig to use: cyanogenmod_m7_defconfig for CM, aicp_m7_defconfig for JB-MR2
    branch: cm10.2, JB-MR2

    FOR CM 10.1:
    Toolchain used: arm-a9-eabi, self made (maxwen)
    Defconfig to use: cyanogenmod_m7_defconfig
    branch: cm10.1_performance



    Disclaimer

    -) I am not responsible for bricked devices
    -) you do this on your own will
    -) If you flash this, your warranty will be void


    CREDITS

    TBALDEN: HOME 2 WAKE , HOME 2 MENU , LOGO STUFF, BLINKING BUTTONS
    MAXWEN: FOR ENDLESS SUPORT AND TEACHING STUFF
    KOZMIKKICK: FOR ALWAYS HELPING ME :)
    FLAR2: SWEEP 2 WAKE, SWEEP 2 SLEEP
    PINPONG: HELP WITH CALCULATING VALUES FOR FREQS
    FRANCISCOFRANCO:mako_hotplug control

    WHOLE CM TEAM, THIS GUYS DID AN AMAZING JOB AND WITHOUT THEM WE WOULDNT EVEN HAVE THIS KERNEL.

    ANOTHER HUGE THANKS TO THE CM GUYS FOR PATCHING LATEST HTC SOURCE WITH GE SOURCE ALL CREDITS TO THEM.
    38
    HOTPLUG CONTROL, HERMAL CONTROL, GOVERNORS, SAMPLE CONFIGS:

    there are 3 types of hotplug methods u guys are confronted with while using this or stock kernel:

    -mpdec from qualcomm
    -mako_hotplug from franciscofranco
    -cpuquiet from nvidia with additions (load_stats)


    mpdec is for my taste/needs to aggressive. if u watch cpus go up and down, they spend a lot of time on higer freqs + too much cores online, thats why i wanted to replace it with an other hotplug management. As my coding skills are not good enough (not now but i hope in future) i decided to use francisco francos mako_hotplug. why ? simple. because its adjustable (4 floors). This worked quite well.

    but yeah.. we all know.. on Android, u dont stay long at one thing... we move constantly. this is where cpuquiet hotplug kicked in. Its original from nvdia for tegra processors but u can port it to others too (what maxwen did). maxwen added the load stats_governor, wich is a port from franciscofrancos hotplug control in a way. but i dont want to confuse people here so in short:

    with cpuquiet + load stats governor u get a brilliant battery life while keep it snappy. Why that ?? simple... maxwen spent a lot of time in it to adjust it for his oppo people and he knows what to do. I recommend leaving the governor on load stats (hotplug depended on load) to get the best results.

    I re-adjusted it to fit in m7 as i have a feeling that we need a bit more aggressive tresholds.

    If u want to keep it balanced, and yeah, most users want that:

    governor: smartmax
    cpuquiet governor: load_stats

    u want ultimate perfromance:

    governor: interactive (up treshold 65) or smartmax (lower tresholds)
    cpuquiet governor: load_stats

    now give me bonus points :D

    THERMAL CONTROL HOWTO:
    ==================


    First have a look on the following folder:

    sys/module/msm_thermal/parameters

    now have a look at these 2 files:

    limit freq
    limit_temp_degC

    In limit_freq u can adjust on which freqs it should fall back while throttling
    In limit_temp_degC u can adjust the tempreature limit for throttling

    EXAMPLE:
    =======


    #limit_freq
    1458000 1242000 702000 384000

    #limit_temp_degC
    55,60,70,80

    That means: it throttles to 1458Mhz @ 55 degrees , 1242MHz @ 60 degrees, 702MHz @ 70 degrees , 384MHz @ 80 degrees

    SMARTMAX GOVERNOR
    ===============


    Adjust it like that u u wont have a single lag, this governor is simply outstanding:

    Freq Range General: 270MHz - 1728MHz
    awake_ideal_freq 594000
    boost_freq 1242000
    suspend_ideal_freq 384000
    touch_poke_freq 1242000

    Leave the rest untouched :)
    22
    DONT flash kernel, before reading stuff mentioned below:

    -) THIS is not chic IPHONE stuff, you should have some basic knowledge on how to do some things on ANDROID.
    -) You encounter an error ? Ok, i will look into it, but you have to follow the rules:
    -) ALWAYS tell me following stuff: wich ROM ?, wich KERNEL, UNDERVOLTED ? , wich GOVERNOR used ?
    -) You should also provide following stuff so i can look into the issue further:
    -) last_kmsg, logcat (you dont know how to get thos files or dont even know what this is ? Ok i will tell you:
    -) last_kmsg: connect phone with usb, open up a shell in linux or a CMD in windows, cd to your adb directory and write this: cat /proc/last_ksmg > /sdcard/last_ksmg.log
    -) grab the file from your sdcard and provide it to me
    -) logcat: This is easier for lazy people, download alogcat app from playstore, fire it up, and extract out the log. Also provide this to me.
    -) repack kernel for your ROM with the following online repacker: www.nibble.cc/repack
    -) posts like "I had a reboot" or "phone crashed" without proper information will be ignored


    Frequently asked questions, answered here:
    14
    BATTERY LIFE + TRICKSTER MOD SETTINGS
    FOR HOTPLUG , GOVERNOR AND THERMAL CONTROL






    I tried to do my whole correspondence at this circle over the phone.. should mean a lot of:
    *Whatsapp (GF is away from me)
    *G+ Talking in our community
    *Hangouts (helping people)
    *Tapatalk (reply to threads)
    *other stuff
    13
    I update the post NOW as its really outdated, sorry but was busy :D

    UPDATED POST 3:

    HOTPLUG CONTROL, HERMAL CONTROL, GOVERNORS, SAMPLE CONFIGS:

    there are 3 types of hotplug methods u guys are confronted with while using this or stock kernel:

    -mpdec from qualcomm
    -mako_hotplug from franciscofranco
    -cpuquiet from nvidia with additions (load_stats)


    mpdec is for my taste/needs to aggressive. if u watch cpus go up and down, they spend a lot of time on higer freqs + too much cores online, thats why i wanted to replace it with an other hotplug management. As my coding skills are not good enough (not now but i hope in future) i decided to use francisco francos mako_hotplug. why ? simple. because its adjustable (4 floors). This worked quite well.

    but yeah.. we all know.. on Android, u dont stay long at one thing... we move constantly. this is where cpuquiet hotplug kicked in. Its original from nvdia for tegra processors but u can port it to others too (what maxwen did). maxwen added the load stats_governor, wich is a port from franciscofrancos hotplug control in a way. but i dont want to confuse people here so in short:

    with cpuquiet + load stats governor u get a brilliant battery life while keep it snappy. Why that ?? simple... maxwen spent a lot of time in it to adjust it for his oppo people and he knows what to do. I recommend leaving the governor on load stats (hotplug depended on load) to get the best results.

    I re-adjusted it to fit in m7 as i have a feeling that we need a bit more aggressive tresholds.

    If u want to keep it balanced, and yeah, most users want that:

    governor: smartmax
    cpuquiet governor: load_stats

    u want ultimate perfromance:

    governor: interactive (up treshold 65) or smartmax (lower tresholds)
    cpuquiet governor: load_stats

    now give me bonus points :D

    THERMAL CONTROL HOWTO:
    ==================


    First have a look on the following folder:

    sys/module/msm_thermal/parameters

    now have a look at these 2 files:

    limit freq
    limit_temp_degC

    In limit_freq u can adjust on which freqs it should fall back while throttling
    In limit_temp_degC u can adjust the tempreature limit for throttling

    EXAMPLE:
    =======


    #limit_freq
    1458000 1242000 702000 384000

    #limit_temp_degC
    55,60,70,80

    That means: it throttles to 1458Mhz @ 55 degrees , 1242MHz @ 60 degrees, 702MHz @ 70 degrees , 384MHz @ 80 degrees

    SMARTMAX GOVERNOR
    ===============


    Adjust it like that u u wont have a single lag, this governor is simply outstanding:

    Freq Range General: 270MHz - 1728MHz
    awake_ideal_freq 594000
    boost_freq 1242000
    suspend_ideal_freq 384000
    touch_poke_freq 1242000

    Leave the rest untouched :)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone