[One (M7) Original Android Development] tbalden:
[kernel][sense][Apr-27-2013] tbalden's kernel v3.6 [CIFS] + [HOME2WAKE][HTClogoMenu][HTCLogo2Wake/Sleep][OTG]

NEWS: Teamed up with n3ocort3x, as TeaMSeven. Development of this kernel continues in this thread: http://xdaforums.com/showthread.php?t=2255160 . Check out second post for the STABLE edition (no OC/UV/gcc), and first post for PERFORMANCE edition (OC/UV/linaro)

- Compiled from HTCDev source

- Fixed audio routing issue with voice calls [phone's earpiece amplification fixed, htc left out a good chop from its released kernel sources]

- Adds support for more USB OTG devices than official HTC kernel - (pls test if you think your DSLR/ps3 controller etc and report - only works if your phone's charged above 30%!)

- Added CIFS (windows share filesystem mount support, use CIFS manager)

- Added NTFS (read/write) support

- All in one installer - script by [MENTION=1118681]he_stheone64[/MENTION] (thanks !)

- Added init.d support (thanks [MENTION=3828647]torxx[/MENTION] !)

- Based on latest kernel source: 1.29.1540.3 Developer Edition

http://dl4.htc.com/RomCode/Source_and_Binaries/m7ul-jb-crc-3.4.10-42e6c45.zip

- Tested on 1.28.401.7 (please report your Build number if differs), international One (m7, from UK)

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

VARIANTS:

HOME2Wake and HTCLogo2Sleep:

- What is HOME2Wake -> It's a bit similar to Sweep2Wake, but instead of swiping through the capacitive buttons, you have to push the Home button instead, to wake the device from sleep. Then press HTC logo to switch screen off. At times it takes 2 consecutive presses when the phone is in deepsleep. Still testing this stuff.

Video:

[youtube]UAIHUfHD9cQ[/youtube]

HOME2Wake and HTCLogoMenu

HOME -> wakes phone

HTC Logo -> Menu button mapping

HTCLogo long tap -> screen off

[youtube]CC-hSUR0dyU[/youtube]

Known issues:

- None

- Aroma installer sometimes exits in the setup process, try again till success

KNOWN TO WORK ON:

- 1.28 International edition based ROMs, and 1.29 (1.29.1540.3) developer edition based ROMs, updates up to 1.29.401.5, 1.29.xxx.13

!Doesnt work on Sprint HTC One variant, as it's CDMA, not GSM!

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarms on your phone failed. Please
* do some research if you have any concerns about features included in this Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

DOWNLOAD

3.6 All-In-One installer zip (flash from recovery) - kernel and modules and keylayout and working camera firmware, Aroma based (thx [MENTION=3828647]torxx[/MENTION] for aroma script):

tbaldens-sense-kernel-v3.5-full_installer.zip: http://d-h.st/uSB

Use CWM or another AROMA compatible recovery. You can select all stuff from Menus, no need for additional flashing. If you get stuck, or exits to Recovery menu, try again. Should work! (Aroma is sometimes a bit flaky, but it works, preferably press Next buttons in installer a bit slower, that way it's more stable)

Changelogs in second post

Older versions:

tbaldens-sense-kernel-v3.5-full_installer.zip: http://d-h.st/WQy

tbaldens-sense-kernel-v3.4-full_installer.zip: [COLOR="Red"]http://d-h.st/FHA[/COLOR]

Configuration variants, additional flashables (using init.d): http://xdaforums.com/showpost.php?p=40672557&postcount=211

tbaldens-sense-kernel-v3.2-full_installer.zip: http://d-h.st/3FV

tbaldens-sense-kernel-v3-full_installer.zip: http://d-h.st/S35

Unified boot.img with switches (2.0): http://xdaforums.com/showpost.php?p=40631815&postcount=133

Camera Flashable fix for v3.0 + ROM versions 1.29.xxx.12 and 1.29.xxx.13 here: http://xdaforums.com/attachment.php?attachmentid=1908030&d=1366810966[/b] - you NEED this flashed from recovery, if you're on a rom based on those versions, so camera will work

http://d-h.st/SIE - Base version 1.0 (not with HOME2Wake)

http://d-h.st/4ZM - HOME2Wake & HTCLogo2Sleep version 1.1, test version, might need two taps when it deepsleeps, Push HTC logo for screen off

http://d-h.st/JkK - HOME2Wake & HTCLogoMenu version 1.1 (if you want HTC Logo as Menu button)

modules installer 1.1 (flashable from recovery), only for 2.0 version and below, for Wifi and kernel modules + HTCLogoMenu button, not needed for 3.0+ http://d-h.st/7Iq

INSTALLATION

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)

2. reboot

CONFIGURATION OF HOME2WAKE/HTCLogo behavior

You can select the Variant you want in the Aroma installer, and also select a mod to Disable on-screen three-dot menu button (useful if you use HTCLogo2Menu configuration)

Possible variants you can select in installer (recovery):

- Stock (no wake, no menu, no sleep button)

- Home2Wake + HTCLogo2Menu and long tap HTCLogo2Sleep

- Home2Wake + HTCLogo2Sleep with long tap

- Home2Wake + HTCLogo2Sleep with short tap

- HTCLogo2Menu

- Home2Wake

- HTCLogo2Wake + HTCLogo2Sleep with long tap

- HTCLogo2Wake + HTCLogo2Sleep with short tap

- HTCLogo2Wake + HTCLogo2Menu and long tap HTCLogo2Sleep

SOURCE

https://github.com/TeaMSeven/android_kernel_htc_m7-sense

ABOUT THE DEVELOPMENT OF THIS KERNEL

This is a feature oriented kernel development thread, not performance oriented.

This kernel will stay free of Overclock/Underclock/Overvolt/Undervolt patches on purpose.

I'll keep that part in line with HTC's original kernel and intention so as to remain rock stable on the long run.

What HTC did I consider well tested and best for everyday operation, but adding usability features (like wake/button and such stuff I've introduced) I'm very much interested in. So that's the part where this kernel comes into picutre, very stable with additional usability features.

Additional resources

Cifs manager: https://play.google.com/store/apps/details?id=ws.plattner.cifsmanager&hl=en