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

[KERNEL] [GPL] [N5] [DT2W/S2W] franco.Kernel - r57 [4.4.4] [Phantom]

Tip us?
 
PhantomGamers
Old
(Last edited by PhantomGamers; 12th July 2014 at 05:01 AM.)
#1  
Senior Member - OP
Thanks Meter 852
Posts: 740
Join Date: Jun 2011
Location: NY

 
DONATE TO ME
Default [KERNEL] [GPL] [N5] [DT2W/S2W] franco.Kernel - r57 [4.4.4] [Phantom]

Hey guys, this is just a version of @franciscofranco's kernel built with DoubleTap2Wake and Sweep2Wake from Bricked Kernel merged in.

(By downloading and installing the kernel you assume all responsibility for any damage to your device, but I don't post images with the intention of this occurrence and test them to the best of my abilities.)
Download:

r57
boot image - https://sundergaming.com/downloads/h...l-r57-dt2w.img
md5 - 9ba11b4c3f5cd963c69d54bbfd919fe1
zip - https://sundergaming.com/downloads/h...l-r57-dt2w.zip
*Color tweak is integrated since r30, check 2nd post for information on how to enable.
Want a dedicated build for color tweaks because your boot animation isn't pretty enough? Build it yourself. Sources below.
**Test builds posted throughout the thread.


Kernel is for 4.4.1/2 since r19

Installation:
fastboot flash boot boot_name_img
or
flash the .zip in recovery

Sources
Kernel - https://github.com/PhantomGamers/hammerhead
Ramdisk - https://github.com/PhantomGamers/ramdisk_hammerhead

Credits
@franciscofranco for his kernel - http://forum.xda-developers.com/show....php?t=2508284
@show-p1984 for the dt2w and s2w additions - http://forum.xda-developers.com/show....php?t=2524557
@flar2 for his on-the-fly color tweak, power key touch to wake suspend, and other general dt2w improvements. - http://forum.xda-developers.com/show....php?t=2519607
I do accept and appreciate any donations but I urge you to first donate to the amazing developers listed above for their work because my contributions are minimal and without them this kernel variant would not exist.


Franco's original thread for reference only:
Quote:
Originally Posted by franciscofranco View Post
Hi all.

Currently does not work with recent CyanogenMod nightlies or any rom has uses CM sources as a base because they made underlying changes that are now incompatible with Kernels that don't follow their path.

Installation:
fastboot flash boot boot_name_img
or
flash the .zip in the recovery

Changelog:
http://kernels.franco-lnx.net/Nexus5.../changelog.xml

franco.Kernel updater Free apk: http://forum.xda-developers.com/show....php?t=1867127
Nexus Display Control Free apk: http://forum.xda-developers.com/show....php?t=2424467

Got any questions that you couldn't find after searching?
FAQ: http://forum.xda-developers.com/show....php?t=2532422

Disclaimer to moderators:
Slight OT is fine, but when users decide to act stupid they should be dealt with with the appropriate means - its really annoying for me when OT turns crazy. Please put the warning/ban hammer anytime any of you think there's lack of respect and/or too much unwanted OT crap - but if it doesn't meet this criteria let the OT posts alone. Thank you.

Cheers!
XDA:DevDB Information
franco.Kernel+DT2W/S2W, a Kernel for the Google Nexus 5

Contributors
PhantomGamers, franciscofranco, show-p1984, flar2
Kernel Special Features:

Version Information
Status: Stable

Created 2014-02-06
Last Updated 2014-02-06
Phone: Google Nexus 5 Black 16GB
ROM: latest stock || Kernel: franco.Kernel
Carrier: T-Mobile || Plan: $30 UL Web and Text
Retired Devices: Google Nexus 4 Black 16GB, Samsung Galaxy S3 Blue 32GB (VZW), Motorola Droid 2

Getting LTE to stick on Nexus 4 without Data Wipe
The Following 104 Users Say Thank You to PhantomGamers For This Useful Post: [ Click to Expand ]
 
PhantomGamers
Old
(Last edited by PhantomGamers; 6th April 2014 at 11:58 PM.)
#2  
Senior Member - OP
Thanks Meter 852
Posts: 740
Join Date: Jun 2011
Location: NY

 
DONATE TO ME
Default Kernel Settings

Disabled by default. To enable execute the code next to terminal in adb shell or terminal emulator as root.
If you wish for it to be automatically enabled on boot you can create the file named in the boot section.
After creating this file you can still execute the terminal code to enable it immediately or you can just reboot and have the kernel enable it for you.

[DT2W/S2W]

S2W
terminal -
Code:
echo 1 > /sys/android_touch/sweep2wake
boot - Create /sdcard/fkSettings/fks2w

DT2W
terminal -
Code:
echo 1 > /sys/android_touch/doubletap2wake
boot - Create /sdcard/fkSettings/fkdt2w

Bottom Half Screen DT2W (Only allows you to double tap bottom half to turn screen on, instead of above.)
terminal -
Code:
echo 2 > /sys/android_touch/doubletap2wake
boot - Create /sdcard/fkSettings/fkdt2wps

S2Sleep
terminal -
Code:
echo 1 > /sys/android_touch/s2w_s2s
boot - Create /sdcard/fkSettings/fks2s

PWRKEY_SUSPEND (Turns off touch to wake when display is turned off with power button, reenables when turned on, useful for long idle periods, unaffected by sweep to sleep)
terminal -
Code:
echo 1 > /sys/module/qpnp_power_on/parameters/pwrkey_suspend
boot - Create /sdcard/fkSettings/fkpwrks

Touch Wake Timeout
terminal -
Code:
echo 15 > /sys/android_touch/wake_timeout
(15 is an example, include the number of minutes you prefer)
boot - Create /sdcard/fkSettings/fkwt with number of minutes to delay timeout (IE: text file with "15" inside)

[COLOR]
*This tweak is experimental and you use it at your own risk.
**Breaks gamma calibration apps.


terminal -
Code:
echo 1 > /sys/module/mdss_dsi/parameters/color_preset
boot - Create /sdcard/fkSettings/fkcolor

[WIDGETS]
*Thanks to @JsChiSurf

http://forum.xda-developers.com/show....php?t=2626476

[App]
*Thanks to @casperpas

http://forum.xda-developers.com/show...&postcount=839
Phone: Google Nexus 5 Black 16GB
ROM: latest stock || Kernel: franco.Kernel
Carrier: T-Mobile || Plan: $30 UL Web and Text
Retired Devices: Google Nexus 4 Black 16GB, Samsung Galaxy S3 Blue 32GB (VZW), Motorola Droid 2

Getting LTE to stick on Nexus 4 without Data Wipe
The Following 26 Users Say Thank You to PhantomGamers For This Useful Post: [ Click to Expand ]
 
kashix
Old
#3  
kashix's Avatar
Senior Member
Thanks Meter 81
Posts: 529
Join Date: Mar 2010
just giving my 2 cents, franco's kernel intention is to deliver a stable, optimized and battery efficient kernel for the n5, by baking in these S2W/DT2W features into the kernel, aren't you defeating the purpose? If I would want those features built in, I could have flashed Elementalx, Bricked etc. No offense but that's what occur to me, to others, it may be godsend.
Device: HTC One M8
ROM: STOCK
Kernel: STOCK
Color Profile: ["]NIL[/URL]
Quote:
Originally Posted by morfic

Just flash over.
Only thing we wipe here is our butts
The Following User Says Thank You to kashix For This Useful Post: [ Click to Expand ]
 
PhantomGamers
Old
#4  
Senior Member - OP
Thanks Meter 852
Posts: 740
Join Date: Jun 2011
Location: NY

 
DONATE TO ME
Quote:
Originally Posted by kashix View Post
just giving my 2 cents, franco's kernel intention is to deliver a stable, optimized and battery efficient kernel for the n5, by baking in these S2W/DT2W features into the kernel, aren't you defeating the purpose? If I would want those features built in, I could have flashed Elementalx, Bricked etc. No offense but that's what occur to me, to others, it may be godsend.
Elementalx and Bricked don't have Franco's custom hotplug driver, personally that's the main selling point of his kernel to me.
I don't particularly care for these features anyway though and just used this as a learning experience to build kernels.
(I am currently running this build though to play around with it, haven't noticed a huge difference in battery life myself)
Phone: Google Nexus 5 Black 16GB
ROM: latest stock || Kernel: franco.Kernel
Carrier: T-Mobile || Plan: $30 UL Web and Text
Retired Devices: Google Nexus 4 Black 16GB, Samsung Galaxy S3 Blue 32GB (VZW), Motorola Droid 2

Getting LTE to stick on Nexus 4 without Data Wipe
The Following User Says Thank You to PhantomGamers For This Useful Post: [ Click to Expand ]
 
durhamite
Old
#5  
Senior Member
Thanks Meter 39
Posts: 313
Join Date: Jun 2009
Location: Durham, NC
I am used to flashing zips, I guess I am not advanced enough to flash img files. Can I get more detailed instructions on how to flash this?
Device: T-Mobile Samsung Galaxy S3
Old Device: Sprint - Samsung Epic 4G Touch
ROM: Constantly Changing
 
tyrellcorpnexus
Old
#6  
tyrellcorpnexus's Avatar
Senior Member
Thanks Meter 25
Posts: 178
Join Date: Jul 2012
This is very tempting to try out.

Thank you!

---------- Post added at 07:57 PM ---------- Previous post was at 07:57 PM ----------

Quote:
Originally Posted by durhamite View Post
I am used to flashing zips, I guess I am not advanced enough to flash img files. Can I get more detailed instructions on how to flash this?
Flashify seems like it'd do the trick, if original Franco kernels are any indication.
Nexus 5 16GB Black
The Following User Says Thank You to tyrellcorpnexus For This Useful Post: [ Click to Expand ]
 
grumphy
Old
(Last edited by grumphy; 22nd November 2013 at 07:09 PM.)
#7  
grumphy's Avatar
Member
Thanks Meter 23
Posts: 52
Join Date: Sep 2010
Well, I tried it, and it works!
Thanks OP!

Tip: if u have FKU, put the img in the franco.kernel_updater bkp folder and restore if it were bkp. Most easy!

Sent from N5
Grumphy - N5
The Following 3 Users Say Thank You to grumphy For This Useful Post: [ Click to Expand ]
 
PhantomGamers
Old
#8  
Senior Member - OP
Thanks Meter 852
Posts: 740
Join Date: Jun 2011
Location: NY

 
DONATE TO ME
Quote:
Originally Posted by durhamite View Post
I am used to flashing zips, I guess I am not advanced enough to flash img files. Can I get more detailed instructions on how to flash this?
Yeah Flashify seems like your best bet if you're rooted.
I might try and include zip releases in the future, sorry for the inconvenience.

Quote:
Originally Posted by grumphy View Post
Well, I tried it, and it works!
Thanks OP!

Tip: if u have FKU, put the img in the franco.kernel_updater bkp folder and restore if it were bkp. Most easy!

Sent from N5
Thanks for the confirmation!
Phone: Google Nexus 5 Black 16GB
ROM: latest stock || Kernel: franco.Kernel
Carrier: T-Mobile || Plan: $30 UL Web and Text
Retired Devices: Google Nexus 4 Black 16GB, Samsung Galaxy S3 Blue 32GB (VZW), Motorola Droid 2

Getting LTE to stick on Nexus 4 without Data Wipe
 
Nastybutler
Old
#9  
Nastybutler's Avatar
Senior Member
Thanks Meter 227
Posts: 488
Join Date: Nov 2012
Location: Anchorage
Thanks for doing this. Will you be updateing this to keep up with Franco's releases, or was this a one time experiment?
New Phone: LG Nexus 5 D820 (32GB White) "Hammerhead"
Kernel: Franco r32
ROM: Stock 4.4.2 KOT49H w/ Xposed framework & Gravity Box tweaks
Recovery: TWRP 2.6.3.4
Runtime: Dalvik w/ Moto X optimized libraries

Old Phone: LG Optimus G E970 "Geeb"
Kernel: MysteryEmotionz' B20a1
ROM: Vanilla Rootbox (unofficial)
Recovery: TWRP 2.5.0

Tablet: Asus Nexus 7 (2013 32GB) "Flo"
Kernel: Franco r3
ROM: Stock 4.4 KMT16S
Recovery: TWRP 2.6.3.4
 
PhantomGamers
Old
#10  
Senior Member - OP
Thanks Meter 852
Posts: 740
Join Date: Jun 2011
Location: NY

 
DONATE TO ME
Quote:
Originally Posted by Nastybutler View Post
Thanks for doing this. Will you be updateing this to keep up with Franco's releases, or was this a one time experiment?
Yeah that's my plan, I'll most likely keep this going until franco includes his own DT2W feature or unless I run into some technically difficulty.
Phone: Google Nexus 5 Black 16GB
ROM: latest stock || Kernel: franco.Kernel
Carrier: T-Mobile || Plan: $30 UL Web and Text
Retired Devices: Google Nexus 4 Black 16GB, Samsung Galaxy S3 Blue 32GB (VZW), Motorola Droid 2

Getting LTE to stick on Nexus 4 without Data Wipe

The Following User Says Thank You to PhantomGamers For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes