FORUMS
Remove All Ads from XDA
Honor View 10

[Kernel][Aug24][CM-11.0]teaMSeven2.3.6c10[Flick2Wake|TapWake|BLN|UnderVolt|KitKat]

7,296 posts
Thanks Meter: 12,128
 
Post Reply Email Thread
Announcement from tbalden: updated to latest cm-11 nightlies (msm8960 common kernel)

teaMSeven CyanogenMod 11.0 kernel
for Android 4.4 CyanogenMod 11.0 ROMs


Quote:


Brought to you by the cooperation of @n3ocort3x and @tbalden.

We're striving to always be the first to bring life into Custom Kernel development for the HTC One!
To bring new horizons to the way you use your HTC One, tbalden invented the idea of and implemented Logo2Menu, ButtonLightNotification, Flick to Wake, Pick to Wake.
We're providing two main lines for our kernels, STABLE edition is for sticking with HTC's way adding only safe to use features. PERFORMANCE edition is providing additional stuff. Read below.

Currently tbalden only publishes the Stable Edition for CM 11.0 alpha roms.


STABLE EDITION
- Stable Edition is the safe way to go for normal usage, frequencies and CPU/GPU handled as HTC designed it, only usability features added in that version. This is recommended for non-tweaking users.


FEATURES


- No accidental touch events when in-call on ear-piece screen off by proximity (on stock 4.2.2 kernel this happens, you can touch the buttons accidentally with your ear while screen is off)
- Different Wake options (Home2Wake, Logo2Wake, Sweep2Wake, DoubleTap2Wake)
- Flick2Wake/Pick2Wake - read second post for details and video
- NO Sweep2Sleep, and not planned to be added, as it is finicky and many users report they actually push home or back or start apps from locker screen in the end accidentally on other kernels.
- Pocket Wake Protection (prevents phone from waking accidentally in your pocket, when it contacts skin through textile)
- Logo2Menu, Logo2Sleep options
- CIFS, NTFS-RW
- Button light notification (only with screen off, if not on charging light, or screen on)
- all OTG devices (except some controllers, as the stack of htc is not compatible with that. Sisaxis bluetooth works on the 4.3 Sense base reportedly)
- system write protection disabled in kernel
- cpu freq stats enabled
- Undervolting control enabled (as an exception for tweaks in the Stable Edition, because it's not risky if you don't actively undervolt in a tweak app)
- additional TCP congestion variants (use Trickster Mod or other app to set it)
- force usb fastcharge possibility


KNOWN ISSUES

- The issues that happen on the alpha cm11.0 based ROMs are present. No additional kernel issue known

SPECIAL THANKS


CM team, especially Intervigil
@mkasick for the 4.2 fix for system wide mounting
fransiscofranco for his hotplug stuff
@faux123 for his gpu governor and sound control
@flar2 for bringing doubletap2wake first for htc one
HTC for releasing Google Edition sources so quickly, and all the other sources
Thanks @Whiskey103 for the hosting!



DOWNLOAD



CM 11.0 Stable Edition


CM 11.0 Stable Edition (Android 4.4 ROMs)
- Usability Features + UV possible, FastCharge, NO OTHER TWEAKS, NO OC/UC:


teaMSeven-cm11-kernel-v2.3.6c10.zip - http://d-h.st/H0N
Github sources:
https://github.com/tbalden/android_kernel_htc_msm8960 cm-11.0 branch



For roms that still use the separate m7 kernel (and cm milestone snapshots):
teaMSeven-cm11-kernel-v2.3.6c3.zip - http://d-h.st/5aH - For older m7 kernel based ROMs (not common msm8960)
teaMSeven-cm11-kernel-v2.3.6c9.zip - http://d-h.st/eE3
teaMSeven-cm11-kernel-v2.3.6c8.zip - http://d-h.st/qeS
teaMSeven-cm11-kernel-v2.3.6c7.zip - http://d-h.st/cDh
teaMSeven-cm11-kernel-v2.3.6c6.zip - http://d-h.st/HUZ

https://github.com/tbalden/android_kernel_htc_m7 cm-11.0 branch
teaMSeven-cm11-kernel-v2.3.6c1.zip - http://d-h.st/C1E
teaMSeven-cm11-kernel-v2.3.6.zip - http://d-h.st/K4i
teaMSeven-cm11-kernel-v2.2.8c2.zip - http://d-h.st/tvY
teaMSeven-cm11-kernel-v2.2.8c1.zip - http://d-h.st/A8t
teaMSeven-cm11-kernel-v2.2.8.zip - http://d-h.st/fMv




TOUCHSCREEN KEYS REMAPPING

To swap up LogoMenu and Home button, to behave like on HTC One X and older HTC phones (you need the kernel flashed too BEFORE flashing this!):

Swapped (Home->Menu Logo->Home)
teamseven-swapkeys-home2menu-logo2home-1.0.zip - http://d-h.st/DGn

Original (Home->Home Logo->Menu)
teamseven-swapkeys-original-map-1.0.zip - http://d-h.st/S9d




Installation


Be aware that this is using CM-11.0 Ramdisk, not injecting the boot.img only, but replacing Ramdisk. Repack if you're using a special Ramdisk for an AOSP rom. (I test only on CM at the moment!)

0. go into Recovery
0.1 DO A NANDROID backup if you didnt already -- if anything goes cheesy, restore your backup
1. flash All-In-One installer zip (aroma menus will ask for options)
1.1 If you want to use a tweak app to set things on reboot, remove from /system/etc/init.d/ 01-h2w and 01-blinkbuttons and 01-pwp scripts
2. reboot
3. Tune settings with a tweak app e.g. TricksterMod, Android Tuner, etc. A guide for Performance Edition tunables: http://forum.xda-developers.com/show...25&postcount=3

If flashing didnt work out by accident (recovery reboots all the time before flashing completes), you can try the following: "fastboot erase cache" and/or reflash recovery and try again.

Reverting: flash original ROM you were using or restore the nandroid backup

KERNEL SOURCES

https://github.com/tbalden/android_kernel_htc_m7


More info:

- Adds support for more USB OTG devices than official HTC kernel like dslr- (only works if your phone's charged above 30%!) - some controllers wont work, htc's bluetooth stack is a no-go
- Added fully working CIFS (windows share filesystem mount support, use CIFS manager)
- All in one installer - script by @he_stheone64 (thanks !)
- Added init.d support (thanks @torxx !)
- blinking buttons (button light notification) - be aware that only blinks on notification if phone's not charging, and when screen is not on
- Based on latest kernel source for cm-11.0 kernel

XDA:DevDB Information
teaMSeven HTC One CM-11.0 - Stable Edition, Kernel for the HTC One

Contributors
tbalden, n3ocort3x, maxwen
Kernel Special Features:

Version Information
Status: Stable
Current Stable Version: 2.3.6
Stable Release Date: 2014-08-24

Created 2013-11-11
Last Updated 2014-08-24
Attached Thumbnails
Click image for larger version

Name:	bc953628fb.jpg
Views:	3332
Size:	44.8 KB
ID:	2552451  
The Following 45 Users Say Thank You to tbalden For This Useful Post: [ View ]
 
 
11th November 2013, 10:05 PM |#2  
tbalden's Avatar
OP Recognized Developer
Flag Budapest
Thanks Meter: 12,128
 
Donate to Me
More
Changelogs:


Version 2.3.6c9 - Feb 23
- merged upstream cm-11.0 fixes committed by intervigil
- wakes now faster as expected


Version 2.3.6c8 - Feb 4
Merging upstream governor changes (ondemand/conservative) - it seems to be waking slightly quicker here using Ondemand


Version 2.3.6.c7 - Feb 1
make pocket detection more effective (lowering the nearness detection threshold)
In many cases it woke up in my leather case. On AOSP roms the new kernel base (msm8960) the proximity sensor seems to be less sensitive, so i added a low threshold to avoid accidental wakes. Seems to work much better, if not perfect. 90% of the cases it didnt wake now in my belt clip leather case.


Version 2.3.6c6 - Feb 1
- new htc_msm8960 common base
- All features of Stable Edition now.
- added back Button light notif
- fixed up CIFS mounting


Version 2.3.6c3 - Dec 22
- Fix regression in pocket detection (detection didn't work in suspended state, probably since first version here in this thread)
- Fix accidental screen off happening immediately after flick wake

Version 2.3.6c2 - Dec 22
- Fix regression in pocket detection (detection didn't work in suspended state, probably since first version here in this thread)

Version 2.3.6c1 - Dec 21:
- added ramdisk injection method from AnyKernel installer, should fix battery issue (don't forget to have the stock cm/aosp kernel boot.img back on the device before installing this flashable!)




Version 2.3.6 - Dec 18
- vibration strength for wake/sleep events (on tap/flick) selectable
in installer
- added Wake/Logo2Menu - No Logo2Sleep options to mappings

Changelog (Dec-6):
- updated to latest CM upstream

Version 2.2.8 - Nov-11-2013
Stable Edition - first CM-11.0 Android 4.4 release

Version 2.2.8 - Oct-21-2013
- Stricter proximity check for gyro wake (f2w)

Changelog - 2.2.7c1 for GPe 4.3 Stable Edition (Oct 19-2013):
- Fixing MMC Writeprotection issue, thanks for @mrjaydee82 for pointing out (performance edition was working good, only stable eidtion affected)


Changelog - 2.2.7c1 for Sense 5.5 - Oct 17 2013
Changes: added additional camera fix for Pano360 by @m0narx and @shnizlon

Changelog - 2.2.7 Sense 5.5 - Oct 16 2013
- First Sense 5.5 specific release
- Fixed camera Zoe mode in 5.5 camera
- Please test if Panorama 360 is there ( i cant get it to appear on stock either for some reason)
Enjoy!


- Changes:
Version 2.2.7 - Oc1-1-2013
- Fixing suspend back-off wakelock issue (related to flick to wake keeping sensor on
on normal screen off event too, when disable happened before panel off)


- Changes:
Version 2.2.6 - Sep-30-2013
- Fixing Proximity sensor issues while in call, sreen should wake now. when moving phone from face
- Fixed sweep2wake + short tap logo sleep mapping in installer script


- Changes:
Version 2.2.5 - Sep-28-2013
- Enhancing "Flick2Wake 4 second wait" option for all types of screen off events
- Fixing Flick2Sleep issue when user apps switch off Gyroscope sensor (like youtube or camera)

Sense 4.2.2-performance edition additional change:
- Updating GPU UC/OC, CPU min freq 81mhz taken from our 4.3 kernels

Changelog:
Version 2.2.4 - Sep-28-2013
- Adding Flick2Wake 4 second wait option in Aroma installer, and sysfs path

Changelog:
Version 2.2.3 - Sep-24-2013
- Fixing Flick2Sleep when Auto Rotation is Off (and Display Sleep is not set to Auto)
--> You don't need to set Auto Rotation or Display Sleep to Auto anymore, flick2sleep should work without that

Changelog:
Version 2.2.2 - Sep-22
- Stable update for Sense 4.3/4.2.2 and GPe 4.3
- Addition of Flick2Wake/Flick2Sleep/Pick2Wake and two sensitivity options for F2W

Changelog:
Version 2.1.7c4-Sense4.3 stable/perf - Sep-13-2013
- Patching up Sense4.3 kernel's memory topology from GPe4.3, to
1.7GB free memory from 1.5GB (thx to @flar2)

Sense 4.3 - Sep-12
Sense Base 3.17 enabled installer

Version 2.1.7-GPe4.3-perf - Sep-8-2013
- Adding GPU OC to 483Mhz, and Idle freq of 128Mhz GPU UC
- Adding CPU min freq 81MHz to CPU UC possibilities
- Updating Smartmax governor to latest version from n3o's AOSP kernel

Version 2.1.7 sense 4.2.2 Sep-7-2013
- Updated to latest 4.2.2 Sense sources
- Fixes HDR low light issue

Version 2.1.7c1-Sense4.3-perf - Sep-7-2013
- AROMA installer updated to B6 (to resolve installation issues)
Version 2.1.7c1-Sense4.3-stable - Sep-7-2013
- AROMA installer updated to B6 (to resolve installation issues)


Version 2.1.7-Sense4.3-perf - Sep-7-2013
- Public stable release

Version 2.1.7-Sense4.3-stable - Sep-7-2013
- Public stable release


Version 2.1.5c-GPe4.3 - Aug-26-2013
- removing system partition write protection (MMC)

Version 2.1.5c-GPe4.3-perf - Aug-26-2013
- adding back missing Hotplug control interface (was left out accidentally)
- removing system partition write protection (MMC)

Version 2.1.5-GPe4.3-perf - Aug-22-2013
- Performance Edition released for GooglePlayEdition (4.3) ROMs
Version 2.1.5-GPe4.3-stable - Aug-19-2013
- Stable Edition released for GooglePlayEdition (4.3) ROMs

Version 2.1.5-performance - Jul-21-2013
- Adding Pocket Detection two options:
-- - Pocket detection when: Dark And Near detected (useful really dark pockets, like for jeans and such)
-- - Pocket detection when: Near detected (useful for lighter material pockets in the summer)
- Adding Simple GPU governor (all credits to faux123)
- Adding configuration options for CPU thermal throttling control

Version 2.1.5-stable - Jul-21-2013
- Adding Pocket Detection two options:
-- - Pocket detection when: Dark And Near detected (useful really dark pockets, like for jeans and such)
-- - Pocket detection when: Near detected (useful for lighter material pockets in the summer )


Version 2.1.4 - Jul-6-2013
- Adding a limit for doubletap2wake to not wake on the outer edges of the screen
- Further Fastcharge fix for unknown USB device case (thanks n3o)

Version 2.1.4-performance - Jul-6-2013
- Adding a limit for doubletap2wake to not wake on the outer edges of the screen
- Further Fastcharge fix for unknown USB device case (thanks n3o)
- Adding new governors:
-- intellidemand - all credits to faux123
-- dance dance - all credits to Snuzzo


Version 2.1.3 Stable - Jul-2-2013
- Adding optional Fastcharge (use tweak app e.g. TricksterMod to enable it, and replug USB if it was plugged already, it will charge faster from your PC/laptop)



Performance Edition Version 2.1.3 Jul-1-2013
Changelog:
- Fixed FastCharge (it was broken as tests have shown, now it's fixed properly, if set in e.g. TricksterMod, and re-plugged USB, it will show AC plugged and will charge fast)



Version 2.1.2 - Jun-30-2013
- Adding @faux123 's sound control (use e.g. Trickster Mod (SoundControl) or Faux123's control app to set it)
- HSIC tweaks from @faux123 / flar2's m7 kernel
- Adding TCP Congestion variants (use e.g. Trickster Mod to set it)



Changelog:
Version 2.1.1 Stable edition- Jun-29-2013
- Adding DoubleTap2Wake option
- Adding UnderVoltage control to Stable Edition, not undervolted by default
Leave it as it is for stability, or use tweak app to control it.
Changelog:
Version 2.1.1 Performance - Jun-29-2013
- Adding DoubleTap2Wake option


Changelog:
Version 2.1.0-performance-beta - Jun-29-2013
- Replacing external htc MPDec with MAKO hotplug of Fransisco Franco, tuned by n3ocort3x
- Removing MPDec service from ramdisk
- Adding additional IO schedulers (fiops, bfq ...)
- Resolving max frequency being cut to 1.02GHz on first screen off/on



2.0.3-performance-beta Jun-28
- Fixing camera tap zoom freeze issues



2.0.2-performance-beta Jun-27
Changelog:
- Performance Edition's Wi-Fi regression fixed



Version 2.0.1-performance-beta - Jun-27-2013
- Adding CPU OC to 1.99GHz
- Adding CPU UC to 135MHz
- Adding GPU OC 450mhz
- Adding CRPalmer's msm Thermal patch for better thermal efficiency
- Removing PERFLOCK and HTC PNP Manager - use your tweak app to lock CPU freqs
- Adding new governors, and updating CPUFREQ: smartmax, interactive, wheatley
Seems it sometimes locks to 384mhz and 1.02GHz with on-demand on a screen-off/on. Still needs some experimenting.



2.0.0-beta Stable and Performance Edition - Changelog - Jun-26-2013:
- Updated to latest htcdev sources for Android 4.2.2 (m7-jb-crc-3.4.10-7edee3c)
- Fixes HDMI out
- Fixes graphical glitches (bad sized renderings, gaps, like Phone app, Google Current)
- Pocket Wake Protection is optional now
- Camera libs from 4.2.2 Sense base
- May fix new touch firmware working (2.17+) Please report




Version 1.1.4-Stable - June-23-2013
- Fixing a pocket wake protection bug that occasionally prevented the wake options to work correctly (it didn't wake)
Version 1.1.4-Performance
- Added UnderVoltage control (UV)
- Added USB Fast charge (disabled by default, use tweak app to enable)





Changelog for 1.1.3 Jun-22-2013
- Updated to more cl162357 htc kernel sources:
- using 1.29.xxx.16 camera libs and firmware (thanks for tiny4579 for pushing this forward!), hopefully results in better photo quality
- updated SOC driver
- Added Pocket Wake Protection (proximity sensor based) for l2w/s2w/h2w wake options


1.1.2 June-20-2013:

1.1.2 stable version up:
Changelog:
- Fixed infrared




Version 1.1.1-beta - June-20-2013
- Updating Aroma installer (no more freeze [thanks Hopie for the heads-up])
- Removing unneeded WriteProtection cracker mod that causes bootloops in some custom roms (TrickDroid, probably ARHD?)
- Touchscreen updates from latest htcdev kernel sources to resolve touch sensitivity issues



1.1.0-beta - Jun-19-2013
Changelog:
- video playback (hw decoding) fixed by @Flemmard (gallery, 3rd party apps and youtube as well)



Version 1.0.2-alpha - Jun-13-2013
- Updating kernel LOCALVERSION to match DRM kernel modules (cryptograpic modules)
- Updating ramdisk to support android 4.2.2 with system wide visible mounting for CIFS (thanks mkasick)


1.0.1-alpha version update, Jun-3:

Changelog:
- added NTFS-RW support for third party OTG USB drive mounter apps
- CPU Freq stats added (for CPUSpy and alike apps)


1.0.0-alpha version update, Jun-3:

Changelog:
- Initial release



- Flick2Wake/Sleep - flick the phone, with a good strength, and the phone screen will wake or get to sleep. (It might look a bit awkward on the video, but i already am in love with this feature, it's comfortable ) Phone should be held in portrait mode, and flip the phone in a way that the top is flipping around the middle line of the phone...try it and you'll get used to it. IMPORTANT: On some Sense 4.3 roms like ARHD and ViperOne, for Flick2Sleep to work on Sense ROMs you need to set the Screen timeout to Auto! Thanks @elloar for the discovery http://forum.xda-developers.com/show...postcount=2266 (Cannot reproduce this issue on MaximusHD 13.0 tho')
- Pick2Wake - when your phone is laying around on e.g.a desk horizontally on its back, and you pick it up in a short motion and turn it to stay vertically still for a moment (like you would generally be looking at it), it will wake up.


Regarding Pick2Wake I must let you know that, if you'll want to use that specific feature (pick2wake), it will certainly keep the phone's CPU more busy, less deepsleep, especially when the phone is not sitting still, but being moved (gyroscope sensor being active), when it will keep the CPU up for more time than normally. Unfortunately, that cannot be circumvented, so pick2wake feature will come at a price of battery juice. It won't eat up the juice like mad, but certainly, i've measured that it WILL eat more.
Fiddling around with the Flick2Wake/Sleep, if you only use that, and leave the P2W off, deepsleep should be normal.
The Following 15 Users Say Thank You to tbalden For This Useful Post: [ View ]
11th November 2013, 10:21 PM |#3  
aamitabh28's Avatar
Senior Member
Thanks Meter: 412
 
More
Finally! Thanks Tbalden!

Sent from my HTC One using Tapatalk 2
11th November 2013, 10:34 PM |#4  
dirtytwo's Avatar
Senior Member
Thanks Meter: 37
 
More
Trying it right now.So far everything is smooth
Using sweep to wake is finally back on my phone.
11th November 2013, 11:01 PM |#5  
mteezey's Avatar
Senior Member
Flag Detroit
Thanks Meter: 755
 
More
Working great. Can't wait to see where this goes!:thumbup:

Sent from my One using Tapatalk 2
12th November 2013, 01:40 AM |#6  
monkboy24's Avatar
Senior Member
Flag Maryland
Thanks Meter: 960
 
More
Kernel is working well so far. i cant wait for the performance edition.
12th November 2013, 02:37 AM |#7  
Blazeitup123's Avatar
Senior Member
Flag Saskatoon
Thanks Meter: 54
 
More
This kernel breaks camera.

Sent from my mighty_m7ul using Tapatalk
12th November 2013, 02:57 AM |#8  
ANDR01DN00B's Avatar
Senior Member
Flag Your downstairs basement
Thanks Meter: 798
 
More
Why am I not able to remove the 3 dot menu on ANY KitKat ROM?
12th November 2013, 03:17 AM |#9  
farang4u's Avatar
Senior Member
Flag LOS
Thanks Meter: 87
 
More
Quote:
Originally Posted by Blazeitup123

This kernel breaks camera.

Sent from my mighty_m7ul using Tapatalk

Works here.
No issues so far
12th November 2013, 07:38 AM |#10  
tbalden's Avatar
OP Recognized Developer
Flag Budapest
Thanks Meter: 12,128
 
Donate to Me
More
Quote:
Originally Posted by Blazeitup123

This kernel breaks camera.

Sent from my mighty_m7ul using Tapatalk

No issue with that here. Haven't modified any camera related and it's cm 11 branch based.
I guess it's not working for you because you are on another aosp based ROM maybe?

Sent from my One using Tapatalk
12th November 2013, 08:42 AM |#11  
Try4Ce's Avatar
Senior Member
Flag NRW
Thanks Meter: 441
 
More
Quote:
Originally Posted by tbalden

No issue with that here. Haven't modified any camera related and it's cm 11 branch based.
I guess it's not working for you because you are on another aosp based ROM maybe?

Sent from my One using Tapatalk

Maybe its not compatible with Trip's AOSP 4.4 Kitkat build? He seems to have included basic CM11 stuff, but his fixes seem to be his own work related to camera and gps... dunno for sure tho.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes