FORUMS
Remove All Ads from XDA

[KERNEL]ZD Kernel || 21 July 2016

961 posts
Thanks Meter: 2,197
 
By corphish, Recognized Developer / Recognized Contributor on 10th April 2015, 07:20 PM
Post Reply Email Thread
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* 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.*/
Features
You get all those well known features of a custom kernel, like usual sets of IOScheds and governors, tweaks optimizations. However I will be only mentioning the key ones:
  • Wake Gestures - Double Tap, Sweep Up, Down, Left, Right, Diagonals, Draw 'L' and 'V'
  • Music Mode - Control Music without even unlocking the device.
  • Pocket Mode - Turns off wake gestures when it detects it in pocket to save battery
  • ZD Charger Control - Full control over USB charging currents.
  • ThunderSonic Engine - An unique, customizable sound control driver written by @varun.chitre15 for MSM8930 boards.
  • Dynamic Fsync 1.6 - This feature does not need any introduction, however it is now more optimized to run when screen is off, while halt when screen is on.
  • Overclock to 1.5Ghz, Underclock to 188Mhz
  • Permissive SELinux in kernel.
  • Uses live Ramdisk patching during flashing, so need not worry about ROMs on which you are flashing on.

Compatibility
Android 4.4 based ROMs - Theoretically yes, testers needed for confirmation.
Android 5.x based ROMs - Theoretically yes, testers needed for confirmation.
Android 6.0 based ROMs - Yes and confirmed by me working on CM13.

Installation Instructions
  • Download and put zip in phone.
  • Go to recovery and flash it. No need of wiping anything. And the zip will flash appropriate files depending on your system.
  • Reboot & Enjoy.

Notes
Toolchain used - GCC 4.8 by Google for stability.
Source - https://github.com/TeamButter/zd_taoshan

Downloads - Here

Recommended App
  • Presenting my very own app to control wake gestures. Find it here - ZD Kernel Control

F.A.Q
  • For which phone will it work? Sony Xperia L with above ROMs.
  • Do I need to have Unlocked BootLoader? Yes

Credits
  • thewisenerd - For bringing up new DT2W for XL, and many other stuff.
  • varun.chitre15 - For bringing LP to XL, CAF Kernel for LP, ThunderZap Kernel, ThunderZap Control App and many more.
  • showp1984 - For original DT2W driver.

Video Walkthrough
The Following 49 Users Say Thank You to corphish For This Useful Post: [ View ]
 
 
10th April 2015, 07:34 PM |#2  
adil089's Avatar
Senior Member
Thanks Meter: 183
 
More
Hey great work, I thought varun chitre was going to surprise us but you beat him to it. Anyways I think its a really good start. Good job and thanks to anyone else who was involved in the development of this.
The Following User Says Thank You to adil089 For This Useful Post: [ View ] Gift adil089 Ad-Free
10th April 2015, 07:38 PM |#3  
corphish's Avatar
OP Recognized Developer / Recognized Contributor
Flag Durgapur
Thanks Meter: 2,197
 
Donate to Me
More
Quote:
Originally Posted by adil089

Hey great work, I thought varun chitre was going to surprise us but you beat him to it. Anyways I think its a really good start. Good job and thanks to anyone else who was involved in the development of this.

I do not intend to compete with anyone. Just we 2 (me and twn) are on our own. I am a fan of this thing, so I thought of adding the same (with twn's full support of course).
The Following 8 Users Say Thank You to corphish For This Useful Post: [ View ]
10th April 2015, 08:21 PM |#4  
corphish's Avatar
OP Recognized Developer / Recognized Contributor
Flag Durgapur
Thanks Meter: 2,197
 
Donate to Me
More
Download link updated
Download link updated. Kernel now available as fully flashable zip.

Do let me how good/bad dt2w works.
The Following 7 Users Say Thank You to corphish For This Useful Post: [ View ]
11th April 2015, 12:10 AM |#5  
SdtBarbarossa's Avatar
Senior Member
Thanks Meter: 2,176
 
More
so this is varuns caf kernel +dt2w ? any other changes or just that?
really important to me:
does this dt2w function make the phone avoid deep sleep mode?
11th April 2015, 12:46 AM |#6  
Senior Member
Thanks Meter: 3,091
 
More
Lemme quickly answer that last question: no.

How this works? irq_wake.

How does your phone switch on when your phone is in deep sleep and you press the power button? It's because though there is deep sleep, there's still power being routed to those buttons since you want to get those 'interrupt's (viz: key presses).

Similarly, that's what we do with the touch panel: in your device's case, cyttsp3. We don't allow the touch panel to 'sleep', viz. Power is always routed to the touch panel. So, battery drains because the touch panel is always turned on, and not because the phone doesn't go to deep sleep.

P.S. if your touch panel has a 'low power mode' of sorts, that could be used to slightly lower power consumption, thus 'slightly' reducing battery consumption.
The Following 9 Users Say Thank You to thewisenerd For This Useful Post: [ View ] Gift thewisenerd Ad-Free
11th April 2015, 02:44 AM |#7  
SdtBarbarossa's Avatar
Senior Member
Thanks Meter: 2,176
 
More
Quote:
Originally Posted by thewisenerd

Lemme quickly answer that last question: no.

How this works? irq_wake.

How does your phone switch on when your phone is in deep sleep and you press the power button? It's because though there is deep sleep, there's still power being routed to those buttons since you want to get those 'interrupt's (viz: key presses).

Similarly, that's what we do with the touch panel: in your device's case, cyttsp3. We don't allow the touch panel to 'sleep', viz. Power is always routed to the touch panel. So, battery drains because the touch panel is always turned on, and not because the phone doesn't go to deep sleep.

P.S. if your touch panel has a 'low power mode' of sorts, that could be used to slightly lower power consumption, thus 'slightly' reducing battery consumption.

really love this detailed answer

Sent from my C2105 using XDA Free mobile app
12th April 2015, 06:54 AM |#8  
Navneet Suresh's Avatar
Senior Member
Flag /Universe/Earth/India/
Thanks Meter: 550
 
More
@corphish awesome work !!
12th April 2015, 08:37 AM |#9  
Navneet Suresh's Avatar
Senior Member
Flag /Universe/Earth/India/
Thanks Meter: 550
 
More
@thewisenerd @corphish
It works even if you tap it once(Which shouldn't happen AFAIK and it accidently unlocks too :/). It is functional though I can provide you logs if you need to find the issue.
12th April 2015, 09:34 AM |#10  
corphish's Avatar
OP Recognized Developer / Recognized Contributor
Flag Durgapur
Thanks Meter: 2,197
 
Donate to Me
More
Quote:
Originally Posted by Navneet Suresh

@thewisenerd @corphish
It works even if you tap it once(Which shouldn't happen AFAIK and it accidently unlocks too :/). It is functional though I can provide you logs if you need to find the issue.

Its a known thing. We both know about it and its mentioned in the bugs.
We are still trying to resolve this.
And thanks for offering help
The Following 2 Users Say Thank You to corphish For This Useful Post: [ View ]
12th April 2015, 11:17 AM |#11  
Navneet Suresh's Avatar
Senior Member
Flag /Universe/Earth/India/
Thanks Meter: 550
 
More
Quote:
Originally Posted by corphish


Its a known thing. We both know about it and its mentioned in the bugs.
We are still trying to resolve this.
And thanks for offering help

Sorry my bad :/ I didn't bat an eye on the bug list :/
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