Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,741 Members 46,987 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
tbalden
Old
(Last edited by tbalden; 29th April 2013 at 02:02 PM.)
#1  
tbalden's Avatar
Recognized Developer - OP
Thanks Meter 6369
Posts: 3,892
Join Date: Oct 2010

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

[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://forum.xda-developers.com/show....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_an...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:
Select 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: http://d-h.st/FHA
Configuration variants, additional flashables (using init.d): http://forum.xda-developers.com/show...&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://forum.xda-developers.com/show...&postcount=133
Camera Flashable fix for v3.0 + ROM versions 1.29.xxx.12 and 1.29.xxx.13 here: http://forum.xda-developers.com/atta...0&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...l_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/d...smanager&hl=en
htc one teaMSeven Sense/GPe Android 4.4 with Flick2Wake/Pick2Wake kernels here
Donate to me!

VirtuousROM & TeamNDVRu(cm10.2/cm10.1) & TeamDS(cm10.1) team member
htc one x cm10.2
HTC DoubleShot - mt4gs - cm10.1 | Virtuous Inquisition

my youtube/music channel: Illes Pal
Twitter @illespal http://twitter.com/illespal
gplus: https://plus.google.com/u/0/104117834086133689848/posts
The Following 117 Users Say Thank You to tbalden For This Useful Post: [ Click to Expand ]
 
tbalden
Old
(Last edited by tbalden; 27th April 2013 at 09:01 PM.)
#2  
tbalden's Avatar
Recognized Developer - OP
Thanks Meter 6369
Posts: 3,892
Join Date: Oct 2010

 
DONATE TO ME
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
htc one teaMSeven Sense/GPe Android 4.4 with Flick2Wake/Pick2Wake kernels here
Donate to me!

VirtuousROM & TeamNDVRu(cm10.2/cm10.1) & TeamDS(cm10.1) team member
htc one x cm10.2
HTC DoubleShot - mt4gs - cm10.1 | Virtuous Inquisition

my youtube/music channel: Illes Pal
Twitter @illespal http://twitter.com/illespal
gplus: https://plus.google.com/u/0/104117834086133689848/posts
The Following 25 Users Say Thank You to tbalden For This Useful Post: [ Click to Expand ]
 
frodriguez96
Old
#3  
frodriguez96's Avatar
Senior Member
Thanks Meter 74
Posts: 144
Join Date: Jul 2011
Location: Oklahoma City

 
DONATE TO ME
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
 
tbalden
Old
#4  
tbalden's Avatar
Recognized Developer - OP
Thanks Meter 6369
Posts: 3,892
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by frodriguez96 View Post
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
i test it on my HTC One (m7), and not on AT&T or Developer edition. So please report back if it works.

And yes, earpiece issue is fixed.
htc one teaMSeven Sense/GPe Android 4.4 with Flick2Wake/Pick2Wake kernels here
Donate to me!

VirtuousROM & TeamNDVRu(cm10.2/cm10.1) & TeamDS(cm10.1) team member
htc one x cm10.2
HTC DoubleShot - mt4gs - cm10.1 | Virtuous Inquisition

my youtube/music channel: Illes Pal
Twitter @illespal http://twitter.com/illespal
gplus: https://plus.google.com/u/0/104117834086133689848/posts
The Following 2 Users Say Thank You to tbalden For This Useful Post: [ Click to Expand ]
 
hasan_abeer
Old
#5  
Senior Member
Thanks Meter 37
Posts: 377
Join Date: Jul 2008
Nice to see New kernel developer here ....please sir hopefully you can add call recorder ....welcome sir to HTC one dev
 
frodriguez96
Old
#6  
frodriguez96's Avatar
Senior Member
Thanks Meter 74
Posts: 144
Join Date: Jul 2011
Location: Oklahoma City

 
DONATE TO ME
Do I need to flash the boot.IMG with fastboot and the modules in recovery or just one.

Sent from my HTC One
 
tbalden
Old
(Last edited by tbalden; 21st April 2013 at 06:53 PM.)
#7  
tbalden's Avatar
Recognized Developer - OP
Thanks Meter 6369
Posts: 3,892
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by frodriguez96 View Post
Do I need to flash the boot.IMG with fastboot and the modules in recovery or just one.

Sent from my HTC One
fastboot flash boot boot.img -- then from recovery modules! will add to first post.
htc one teaMSeven Sense/GPe Android 4.4 with Flick2Wake/Pick2Wake kernels here
Donate to me!

VirtuousROM & TeamNDVRu(cm10.2/cm10.1) & TeamDS(cm10.1) team member
htc one x cm10.2
HTC DoubleShot - mt4gs - cm10.1 | Virtuous Inquisition

my youtube/music channel: Illes Pal
Twitter @illespal http://twitter.com/illespal
gplus: https://plus.google.com/u/0/104117834086133689848/posts
The Following 3 Users Say Thank You to tbalden For This Useful Post: [ Click to Expand ]
 
n3ocort3x
Old
#8  
n3ocort3x's Avatar
Senior Member
Thanks Meter 10855
Posts: 5,856
Join Date: May 2012
Location: Vienna

 
DONATE TO ME
Great Job from a great Guy ! Thanks TB ! Its really good to have u here !
Brilliant: LINK Hats off
================================================== ======================
========== ICE COLD JELLY COMMUNITY ON G+ ->>LINK ============
================================================== ======================
================ FOLLOW ME ON TWITTER ->> LINK ==================
The Following 3 Users Say Thank You to n3ocort3x For This Useful Post: [ Click to Expand ]
 
frodriguez96
Old
#9  
frodriguez96's Avatar
Senior Member
Thanks Meter 74
Posts: 144
Join Date: Jul 2011
Location: Oklahoma City

 
DONATE TO ME
Alright sweet. Will report back once I can get a hold of a computer.

Sent from my HTC One
 
tbalden
Old
#10  
tbalden's Avatar
Recognized Developer - OP
Thanks Meter 6369
Posts: 3,892
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by n3ocort3x View Post
Great Job from a great Guy ! Thanks TB ! Its really good to have u here !
thanks mate, we'll rock this device, n3o
htc one teaMSeven Sense/GPe Android 4.4 with Flick2Wake/Pick2Wake kernels here
Donate to me!

VirtuousROM & TeamNDVRu(cm10.2/cm10.1) & TeamDS(cm10.1) team member
htc one x cm10.2
HTC DoubleShot - mt4gs - cm10.1 | Virtuous Inquisition

my youtube/music channel: Illes Pal
Twitter @illespal http://twitter.com/illespal
gplus: https://plus.google.com/u/0/104117834086133689848/posts

The Following 4 Users Say Thank You to tbalden For This Useful Post: [ Click to Expand ]
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes