FORUMS
Remove All Ads from XDA

[KERNEL][23/05/14][S2W] S2W Kernel!

620 posts
Thanks Meter: 508
 
By CurtisMJ, Senior Member on 24th April 2014, 05:25 PM
Post Reply Email Thread
S2W Kernel!

S2W mod of InifintyKernel!

Finally, S2W for our device!

This kernel includes the following features:
  • All features of InfinityKernel #6
  • Dedicated control app!
  • Sweep2Wake
  • Sweep2Lock
  • Hold2Wake
  • DoubleTap2Wake
  • Pocket mode!

And all stable! hopefully

Pocket Mode
Uses the proximity sensor to detect whether the device is probably in the user's pocket and disables all s2w features in order to prevent accidental wakes.

S2W Controls App
Let's you change which method you use to wake and other settings on the fly! It also applies your settings at boot, no more need for init.d scripts!

Sweep2Lock
Prevent accidental soft key presses by sweeping right to left while the screen is on, locking the soft keys. To unlock, just swipe again.

Credits
  • InfinityShooter
  • neXus PRIME
  • All those involved in the development of InfinityKernel
  • All those involved in the development of the original base, neXusKERNEL
  • All who tested debug and beta builds
  • Anyone I forgot

Get the kernel image here (#4)
Dropbox:
https://www.dropbox.com/s/0zw6v81na8...s2w_beta32.img
Dev-Host:
http://devhost.xda-developers.com/N1w

#3 Still available here:
https://www.dropbox.com/s/yi4ijt3job...s2w_beta30.img
#2 Still available here:
https://www.dropbox.com/s/5q9083pc4n...s2w_beta28.img
#1 Still available here:
https://www.dropbox.com/s/0lp9ssa7zn...y_s2w_beta.img

Get the control app here (Requires SU):
Dropbox:
https://www.dropbox.com/s/bwhyf6xoub...rols_final.apk
Dev-Host:
http://devhost.xda-developers.com/QEr

Happy swiping!

Source

Changelog:
Code:
#1
- Initial
#2
-Small optimizations
-Possible sleep freeze fix (raised i2c transfer retry limit and a few other small changes from pico implementation)
#3
-DT2W now works across the whole screen (Let me know if you want others to do the same)
-Reverted some sleep issue related pico changes
#4
-Improve multi-method usage
The Following 23 Users Say Thank You to CurtisMJ For This Useful Post: [ View ] Gift CurtisMJ Ad-Free
24th April 2014, 05:29 PM |#2  
Recognized Contributor
Flag Aachen
Thanks Meter: 1,274
 
More
This is awesome, great work CurtisMJ! Sadly, I moved on to CM already, so I won't test this one. But if you do enable these features in CM kernel (source is in Devlopement thread in General section), it would be great!
The Following 2 Users Say Thank You to dansou901 For This Useful Post: [ View ] Gift dansou901 Ad-Free
24th April 2014, 05:55 PM |#3  
DeveloperOne's Avatar
Member
Thanks Meter: 30
 
More
Someone post a flashable zip pls
24th April 2014, 06:07 PM |#4  
$îMpŁÿ_¢ØmPłİÇåŤęĎ's Avatar
Senior Member
Flag Delhi
Thanks Meter: 78
 
More
Thanks.! Now i am gonna definitely switch to Sense 5
24th April 2014, 06:09 PM |#5  
Senior Member
Flag Katowice
Thanks Meter: 94
 
Donate to Me
More
Awesome, but can you add options like governors, i/o managers and etc in you app ?
24th April 2014, 08:31 PM |#6  
Senior Member
Thanks Meter: 294
 
More
I now do CM for our phone. You not against if I use your source codes of a kernel.
P.S Already it turned out to collect the stable version with a kernel 3.4, there is a problem with the camera and a bluetooth.
I think a problem with (camera) drivers just in a kernel, you couldn't look at the logs. I while haven't enough experience in programming.
The Following 3 Users Say Thank You to fozzy_fozzy For This Useful Post: [ View ] Gift fozzy_fozzy Ad-Free
24th April 2014, 08:53 PM |#7  
CurtisMJ's Avatar
OP Senior Member
Thanks Meter: 508
 
More
Quote:
Originally Posted by DeveloperOne

Someone post a flashable zip pls

Should be attached. I haven't tested it yet, but the partions are definitely correct.

Quote:
Originally Posted by Szwajowy

Awesome, but can you add options like governors, i/o managers and etc in you app ?

That's not the purpose of the app, it's for s2w related controls only, not general kernel features, use a dedicated app for that.

Quote:
Originally Posted by fozzy_fozzy

I now do CM for our phone. You not against if I use your source codes of a kernel.
P.S Already it turned out to collect the stable version with a kernel 3.4, there is a problem with the camera and a bluetooth.
I think a problem with (camera) drivers just in a kernel, you couldn't look at the logs. I while haven't enough experience in programming.

I don't mind you using my code, as long as the proper credit is given for my work and for others. I would rather wait until the kernel is fully stable(all drivers included) before trying to add extra features though. (If no-one's ported my code before it's stable I'll port it myself)
Attached Files
File Type: zip Infinity_S2W_beta_signed.zip - [Click for QR Code] (4.56 MB, 401 views)
The Following 2 Users Say Thank You to CurtisMJ For This Useful Post: [ View ] Gift CurtisMJ Ad-Free
24th April 2014, 09:35 PM |#8  
nightwalkerkg's Avatar
Senior Member
Flag Kragujevac
Thanks Meter: 612
 
More
Tested the zip and i can confirm that it works.
I'll use it for some time to see how it works. Good work.

It would be awesome to implement an option to lock the screen with a double tap,like the wake option. But one option at the time.
Once more,good work.
The Following User Says Thank You to nightwalkerkg For This Useful Post: [ View ] Gift nightwalkerkg Ad-Free
24th April 2014, 09:52 PM |#9  
Senior Member
Flag Katowice
Thanks Meter: 94
 
Donate to Me
More
For me its working only wake future. Can't lock screen with sweep :/

Wysłane z mojego HTC Desire X przy użyciu Tapatalka
24th April 2014, 10:00 PM |#10  
Senior Member
Thanks Meter: 28
 
More
When i want to open the controll app i just get an force close

Sent from my HTC Desire X using xda app-developers app
24th April 2014, 10:13 PM |#11  
nightwalkerkg's Avatar
Senior Member
Flag Kragujevac
Thanks Meter: 612
 
More
Quote:
Originally Posted by Szwajowy

For me its working only wake future. Can't lock screen with sweep :/

Wysłane z mojego HTC Desire X przy użyciu Tapatalka

I think that is why it's called Swipe2Wake. :P
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