[KERNEL] CTS Kernel [Tap2Wake]

MohammadAG

Inactive Recognized Developer
Sep 7, 2009
1,080
5,504
0
27
Jerusalem
mohammadag.xceleo.org
Requires unlocked bootloader.

Requires Sony's .681 KitKat ROM or ones based on it.

Minimal features will be added to this kernel. I'm not interested in OC or other tweaks I won't use.

Features:

You may use @Androguide.fr's excellent Pimp my Z1 app to configure sound options.

Download:
http://mohammadag.xceleo.org/public/Android/XperiaZ1/CTSKernel/latest

Installation:
Either flash the zip in a recovery, or fastboot flash boot boot.img

Sources:
https://github.com/MohammadAG/android_kernel_sony_msm8974

Thanks to:
  • Faux123 for his sound control module
  • Androguide.fr for Pimp my Z1
  • DooMLoRD for his ramdisk, I couldn't get the stock one working for some reason.

Found this useful?
Consider a donation: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A4V3SGRLQDTM6

XDA:DevDB Information
CTS Kernel, a Kernel for the Sony Xperia Z1

Contributors
MohammadAG
Kernel Special Features: Double tap to wake

Version Information
Status: Stable
Current Stable Version: 1.2
Stable Release Date: 2014-04-02

Created 2014-03-30
Last Updated 2014-04-02
 

noob_user_

Senior Member
Oct 25, 2012
99
29
0
26
Kanyakumari
buggy

touchscreen unresponsive while charging......:rolleyes:

plugging the phone when screen off and trying to double tap to unlock produces the issue,,,
 
Last edited:

MohammadAG

Inactive Recognized Developer
Sep 7, 2009
1,080
5,504
0
27
Jerusalem
mohammadag.xceleo.org
1.1 out:
  • Raised delay to 700, 400 was a bit too low
  • Double tap to wake responds to one finger, previously, one tap with two fingers would wake up the screen
  • After boot, tapping the screen would lock the device, fixed
  • Timeout is correctly reset when screen is turned off

This should fix all issues with double tap to wake
 

MohammadAG

Inactive Recognized Developer
Sep 7, 2009
1,080
5,504
0
27
Jerusalem
mohammadag.xceleo.org
touchscreen unresponsive while charging......:rolleyes:

plugging the phone when screen off and trying to double tap to unlock produces the issue,,,
Charging isn't changed, if you have issues with the touchscreen while charging, I'd say it's a ground issue or a hardware one.
And in any case, I test the kernel with the charger plugged in.

Does this support using external recovery on FOTAKernel partition?

Sent from my Nexus 7 using Tapatalk
No idea what that is, got any links?
If advanced stock kernel supports it, this does.
 

Michealtbh

Senior Member
Nov 16, 2010
2,765
834
0
Belfast
  • Like
Reactions: MohammadAG

MohammadAG

Inactive Recognized Developer
Sep 7, 2009
1,080
5,504
0
27
Jerusalem
mohammadag.xceleo.org
Awesome, thanks for the dt2wake port, all my previous attempts were unsuccessful :good:
I tried to port the Nexus 5 one a few months ago, and that didn't work either. I had to do it with custom code in the touch up event :)

I'm trying to add it into Pimp my Z1, I've already opened an issue for you on Github that's either your mistake or my Gradle understanding, or lack thereof.

So, this is exactly the same way Sony would have coded Tap2wake if they included it?
- The touch sensor runs in LPM doze mode, so it doesn't guzzle battery.
- It's double tap to unlock

Checks out :p
 

C_Karhu

Senior Member
Jan 28, 2012
349
80
0
How can I make it work even when screen has been disabled for a while? For me it only works a few seconds after screen of.
Great work!

Sent from my C6903 using XDA Premium 4 mobile app
 

Androguide.fr

Senior Member
Jul 21, 2012
2,056
7,229
0
Lyon, France
androguide.fr
I tried to port the Nexus 5 one a few months ago, and that didn't work either. I had to do it with custom code in the touch up event :)

I'm trying to add it into Pimp my Z1, I've already opened an issue for you on Github that's either your mistake or my Gradle understanding, or lack thereof.
Thanks man, I've just finished cherry-picking your tap 2 wake commits in my kernel, I'll add dt2wake control to Pimp My Z1 in a few minutes.
 
  • Like
Reactions: TheQwertiest

blakwhite

Senior Member
Nov 30, 2010
171
52
0
Appreciate the effort Mohammad, it works well so far.

Edit: I spoke too soon. It doesn't work sometimes, especially after some time following the lock. But it's there and obviously will work after some revisions.
 
Last edited: