[Kernel][sense][Apr27]tbaldens kernel3.6[HOME2WAKE|HTCLogoMenu|CIFS|NTFS|NoOC/UV|OTG]

Status
Not open for further replies.
Search This thread

tbalden

Recognized Developer
[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 @he_stheone64 (thanks !)
- Added init.d support (thanks @torxx !)
- 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:



HOME2Wake and HTCLogoMenu


HOME -> wakes phone
HTC Logo -> Menu button mapping
HTCLogo long tap -> screen off




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!

Code:
#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 @torxx 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
 
Last edited:

tbalden

Recognized Developer
Changelog, history:

Version 3.6 - April-27-2013
- Added long press HTCLogo sleep for HTCLogo2sleep modes too (Home2Wake/HTCLogo2Sleep and HTCLogo2wake/Sleep modes)
- For HTCLogo2sleep modes added a Long tap and Short tap variant. Long tap variants will need a long tap on HTCLogo for sleep.
- For HTCLogo2Wake (when screen is off), the size of the Logo area to tap for wake is slightly increased for easier wake (not increased when screen is on, to not interfere with keyboard)
- Added a short time counter for HTCLogo2Wake too, to avoid accidental wakes: you will need to press the logo button slightly longer to wake the device.
(when device deepsleeps, you will need two slightly longer Logo button press to wake device!)

Version 3.5 - April-27-2013
- Added long press HTCLogo button for sleep (works only if you enabled a HTCLogo
function [logo2sleep or logo2menu])
- Added a short time counter for Home2Wake to avoid accidental wakes, you
will need to press the Home button slightly longer to wake the device.
(when device deepsleeps, you will need two slightly longer Home button press
to wake device!)
- Added possible msm_hsci_host wakelock fix from CAF for test purpose.
Tested, works fine, not sure if it gives or takes away, but
deepsleep works fine with it.


Version 3.4 - April-27-2013
- Moving to Aroma installer, thanks to @torxx
- Logo2Wake options added to possibilities (Logo2Wake+Logo2Sleep and Logo2Wake+Logo2Menu)

Version 3.3 - April-26-2013
- Haptic feedback for HTCLogo2Menu button feature added (thanks @codeworkx for the right solution) - will switch off if you switch off Haptic feedback in Power save mode
- Haptic feedback added for Home2Wake/HTCLogo2Sleep button functionality
- possibly resolves OTG device incompatibility issues for DSLR adn PS3Controller and alike, please test and report back[/B]


Version 3.2 - April-25-2013
- Wider HTC-Logo button area for more convenient handling
- Incorporated matching Camera firmware (thanks @he_stheone64)

Version 3.1 - April-25-2013
- Camera firmware fix for 1.29.xxx.12 and .13 based roms added to downloads. Thanks to @he_stheone64 , @Nushi for creating the fix.

Version 3.0 - April-24-2013
- All-In-One installer (kernel + modules + keylayout), (thanks @he_stheone64 for the awesome flasher script)
- Still unified version with sysfs configuration for variants
- NTFS read/write support added
- init.d support added (thanks @torxx)

Version 2.0 - April-24-2013
- Unified version with sysfs configuration for variants
- Write MMC for system partition enabled
- Some fixes in Logo2Menu functionality

Version 1.2 for HTCLogoMenu new variant - April 23 2013
- HTCLogoMenu feature added to a new variant



Version 1.1 for H2w - April-22-2013

- H2W updated: HTC logo 2 sleep added. Check video in first post.

Version 1 - April-21-2013
- initial release
- based on 1.29.1540.3 Developer Edition
- fixed earpiece audio routing issue
- adding CIFS support with
- fixed CIFS mounting issue
 
Last edited:

Wohee

Senior Member
Jul 9, 2011
179
96
Oklahoma City
So this will work an art device and the ear piece issue (not working) in other kernels, that's fixed?

Sent from my HTC One
 

hasan_abeer

Senior Member
Jul 17, 2008
397
38
Nice to see New kernel developer here ....please sir hopefully you can add call recorder ....welcome sir to HTC one dev
 
well this app came installed on the viper rom htc one x and I already used it to flash recovery igm from clockworkmod...

---------- Post added at 02:13 PM ---------- Previous post was at 02:13 PM ----------

also works for flashing kernels but haven tryied it yet in the htc one

---------- Post added at 02:15 PM ---------- Previous post was at 02:13 PM ----------

this kernel is supposed to work on all custome roms right just to make sure..
 

Reynt

Senior Member
Sep 18, 2011
97
2
Wow nice work.

Could you add following:
Voltage support
CPU freq change support
Wake up with volume keys

:)
 

tbalden

Recognized Developer
well this app came installed on the viper rom htc one x and I already used it to flash recovery igm from clockworkmod...

---------- Post added at 02:13 PM ---------- Previous post was at 02:13 PM ----------

also works for flashing kernels but haven tryied it yet in the htc one

---------- Post added at 02:15 PM ---------- Previous post was at 02:13 PM ----------

this kernel is supposed to work on all custome roms right just to make sure..

It uses stock ramdisk . So if that's fine with the custom Rom it should work imho. I'm on stock .pls report back

Sent from my HTC One using Tapatalk 2
 

Reynt

Senior Member
Sep 18, 2011
97
2
Haha, I'm sure, too. Well, I'm glad the biggest step was done now: Fixing Sound Problem.
 
Last edited:
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 117
    [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 @he_stheone64 (thanks !)
    - Added init.d support (thanks @torxx !)
    - 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:



    HOME2Wake and HTCLogoMenu


    HOME -> wakes phone
    HTC Logo -> Menu button mapping
    HTCLogo long tap -> screen off




    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!

    Code:
    #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 @torxx 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
    25
    Changelog, history:

    Version 3.6 - April-27-2013
    - Added long press HTCLogo sleep for HTCLogo2sleep modes too (Home2Wake/HTCLogo2Sleep and HTCLogo2wake/Sleep modes)
    - For HTCLogo2sleep modes added a Long tap and Short tap variant. Long tap variants will need a long tap on HTCLogo for sleep.
    - For HTCLogo2Wake (when screen is off), the size of the Logo area to tap for wake is slightly increased for easier wake (not increased when screen is on, to not interfere with keyboard)
    - Added a short time counter for HTCLogo2Wake too, to avoid accidental wakes: you will need to press the logo button slightly longer to wake the device.
    (when device deepsleeps, you will need two slightly longer Logo button press to wake device!)

    Version 3.5 - April-27-2013
    - Added long press HTCLogo button for sleep (works only if you enabled a HTCLogo
    function [logo2sleep or logo2menu])
    - Added a short time counter for Home2Wake to avoid accidental wakes, you
    will need to press the Home button slightly longer to wake the device.
    (when device deepsleeps, you will need two slightly longer Home button press
    to wake device!)
    - Added possible msm_hsci_host wakelock fix from CAF for test purpose.
    Tested, works fine, not sure if it gives or takes away, but
    deepsleep works fine with it.


    Version 3.4 - April-27-2013
    - Moving to Aroma installer, thanks to @torxx
    - Logo2Wake options added to possibilities (Logo2Wake+Logo2Sleep and Logo2Wake+Logo2Menu)

    Version 3.3 - April-26-2013
    - Haptic feedback for HTCLogo2Menu button feature added (thanks @codeworkx for the right solution) - will switch off if you switch off Haptic feedback in Power save mode
    - Haptic feedback added for Home2Wake/HTCLogo2Sleep button functionality
    - possibly resolves OTG device incompatibility issues for DSLR adn PS3Controller and alike, please test and report back[/B]


    Version 3.2 - April-25-2013
    - Wider HTC-Logo button area for more convenient handling
    - Incorporated matching Camera firmware (thanks @he_stheone64)

    Version 3.1 - April-25-2013
    - Camera firmware fix for 1.29.xxx.12 and .13 based roms added to downloads. Thanks to @he_stheone64 , @Nushi for creating the fix.

    Version 3.0 - April-24-2013
    - All-In-One installer (kernel + modules + keylayout), (thanks @he_stheone64 for the awesome flasher script)
    - Still unified version with sysfs configuration for variants
    - NTFS read/write support added
    - init.d support added (thanks @torxx)

    Version 2.0 - April-24-2013
    - Unified version with sysfs configuration for variants
    - Write MMC for system partition enabled
    - Some fixes in Logo2Menu functionality

    Version 1.2 for HTCLogoMenu new variant - April 23 2013
    - HTCLogoMenu feature added to a new variant



    Version 1.1 for H2w - April-22-2013

    - H2W updated: HTC logo 2 sleep added. Check video in first post.

    Version 1 - April-21-2013
    - initial release
    - based on 1.29.1540.3 Developer Edition
    - fixed earpiece audio routing issue
    - adding CIFS support with
    - fixed CIFS mounting issue
    21
    Ok, here we go!

    HTC Logo -> Menu button mapping first version:

    boot.img for Fastboot flash boot boot.img:
    http://d-h.st/JkK

    modules zip (you must flash this for menu button, modified Synaptics keylayout file):
    http://d-h.st/7Iq

    21
    ok, folks, we teamed up with n3ocort3x as teaMSeven, soon we will release the sense kernel 3.7 version in a new thread.
    we introduce together a Stable (gcc-4.6 compiled, no OC/UC/VC) and a Performance version with linaro & VC,UC,OC.

    expect it today or tomorrow :)
    16
    So here's the 2.0 version:

    boot.img for fastboot flash boot boot.img:
    http://d-h.st/pv3
    You still need to flash the modules zip found in first post if you didnt flash it already (from recovery)

    If you want init.d support: same boot.img with init.d support by torxx (thanks, gonna include this in next release!): http://xdaforums.com/showpost.php?p=40654432&postcount=180

    Changelog:
    - added sysfs configurability (/sys/android_touch/home2wake and logo2menu sysfs path switches stuff)
    - removed MMC write protection for system partition
    - fixed some minor quirk with the Logo2Menu functionality (Logo-Menu button could get 'stuck' when you pressed Back button right after Logo-Menu button)


    By default: Home2Wake + Logo2Menu is enabled when you boot up.



    If you want to switch off the Home2Wake, type in rooted console or adb:
    # echo "0" > /sys/android_touch/home2wake

    To switch it back
    # echo "1" > /sys/android_touch/home2wake

    More variants:

    If you want Home2Wake with Logo2SLEEP (not menu):
    # echo "2" > /sys/android_touch/home2wake
    # echo "0" > /sys/android_touch/logo2menu

    If you want Home2Wake without anything else (no menu, no sleep):
    # echo "1" > /sys/android_touch/home2wake
    # echo "0" > /sys/android_touch/logo2menu


    If you want Home2Wake with Logo2Menu (!):
    # echo "1" > /sys/android_touch/home2wake
    # echo "1" > /sys/android_touch/logo2menu

    If you want all of them off:
    # echo "0" > /sys/android_touch/home2wake
    # echo "0" > /sys/android_touch/logo2menu