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

[KERNEL] [N5] [S2W/DT2W] [GPL] Linaro Kernel | r57 | 3.4.98 | 4.4.4 | A15 GCC 4.9.1 -O3 | Faux Sound |

Tip us?
 
LaboDJ
Old
(Last edited by LaboDJ; 12th April 2014 at 12:46 PM.)
#1  
LaboDJ's Avatar
Senior Member - OP
Thanks Meter 3317
Posts: 589
Join Date: Nov 2007
Location: Siena

 
DONATE TO ME
Default [KERNEL] [N5] [S2W/DT2W] [GPL] Linaro Kernel | r57 | 3.4.98 | 4.4.4 | A15 GCC 4.9.1 -O3 | Faux Sound |


Features:
  • Based on Franco Kernel
  • This is an AOSP based kernel, so it won't work with CAF based ROMs like CM11
  • Aroma Installer with selectable options (sound, colors, wake gestures...)
  • O3 flag, hard ABI, Linaro, VFP and many others Cortex-A15 Optimizations
  • Tweaks to make it compile with gcc 4.9.1, Tweaks from Morfic
  • Fixed most of the warnings
  • Upstream with Linux kernel 3.4.x
  • Init.d Support
  • Battery Life eXtender, LCD_KCAL drivers
  • FAT usb OTG outomount, for other FS use stickmount app
  • Turned off many debug and logging option
  • Added Faux sound, Franco sound is not included, I prefer Faux solution
  • Sl[AOU]b allocators optimizations and fixes
  • Lz4 compressed kernel and RamDisk for faster boot (with lz4 r119)
  • Added sweep2wake, doubletap2wake, sweep2sleep
  • s2w/dt2w: Powerkey toggle, Prevent touches during phone calls, Timeout option, Bidirectional sweep2sleep, Omnidirectional sweep2wake...
  • Wake gestures interface (requires this xposed module)
  • Optional haptic feedback for gestures
  • ExFat 1.2.5 and F2FS support
  • lib/string & lib/memcpy: use faser glibc version
  • Rwsem backported from Linux 3.10
  • Overclocked slimbus for better audio quality
  • Mouse/Keyboard Driver support (you need this app and adb debug activated to use your device as a keyboard/mouse to control a pc, even in bios)
  • Audio call recording support (you need this app)
  • Many other fixes you can find in my git

App Support:
  • Compatible with Nexus 5 gamma reverse engineering
  • Compatible with franco.kernel Updater (FKU)
  • Compatible with Faux Sound

Notes:
  • You can find my own compiled toolchain, optimized for Cortex A15 HERE
  • s2w, dt2w, s2s+dt2w will cause an extra battery drain (~2% per hour)
  • s2s only will not cause any extra battery drain


How to flash:
just flash in recovery, no need to wipe anything

Do you like my work? Donate :)
In


In $


Donors hall of fame:
  • @supguise
  • @shaker2k
  • @pc-service.as
  • @ConTejas2

Credits:
Source HERE

XDA:DevDB Information
Linaro Kernel, Kernel for the Google Nexus 5

Contributors
LaboDJ
Kernel Special Features: AOSP Kernel based on Franco Kernel compiled with my own compiled Cortex A15 optimized Linaro toolchain, it includes latest linux patches, and many other optimizations.

Version Information
Status: Stable
Current Stable Version: r57
Stable Release Date: 2014-07-17

Created 2013-11-14
Last Updated 2014-07-17
The Following 205 Users Say Thank You to LaboDJ For This Useful Post: [ Click to Expand ]
 
LaboDJ
Old
(Last edited by LaboDJ; 11th June 2014 at 09:44 AM.)
#2  
LaboDJ's Avatar
Senior Member - OP
Thanks Meter 3317
Posts: 589
Join Date: Nov 2007
Location: Siena

 
DONATE TO ME
Default Notes

S2W, DT2W, S2S (Deprecated section)

Sweep2Wake + Sweep2Sleep: With screen off swipe from left o right to wake up the device, with screen on swipe from right to left on the bottom black bar to power off the screen.
in terminal emulator app (or in adb shell) type:
Code:
Select Code
su
echo 1 > /sys/android_touch/sweep2wake
Set on boot: Create a file named s2w in /sdcard/s2Boot folder

DoubleTap2Wake Full screen: With screen off double tap the screen to wake up the device.
In terminal emulator app (or in adb shell) type:
Code:
Select Code
su
echo 2 > /sys/android_touch/doubletap2wake
Set on boot: Create a file named dt in /sdcard/s2Boot folder

DoubleTap2Wake Bottom Half: With screen off double tap the screen (in the bottom half) to wake up the device.
In terminal emulator app (or in adb shell) type:
Code:
Select Code
su
echo 1 > /sys/android_touch/doubletap2wake
Set on boot: Create a file named dtb in /sdcard/s2Boot folder

Sweep2Sleep Only: With screen on swipe from right to left on the bottom black bar do power off the screen.
In terminal emulator app (or in an adb shell) type:
Code:
Select Code
su
echo 2 > /sys/android_touch/sweep2wake
Set on boot: Create a file named s2s in /sdcard/s2Boot folder

NOTE: you can combine Sweep2wake + Sweep2Sleep and DoubleTap2Wake (normal and bottom half) via terminal commands or via files to set on boot
You can also combine, Sweep2Sleep Only and DoubleTap2Wake (normal and bottom half)


Powerkey toggle: if you turn off the screen by pressing Power Key button the s2w/dt2w functions are deactivated until next time the screen turns off itself by standby timer, usually 30sec without user interaction
In terminal emulator app (or in an adb shell) type:
Code:
Select Code
su
echo 1 > /sys/module/qpnp_power_on/parameters/pwrkey_suspend;
Set on boot: Create a file named pwr in /sdcard/s2Boot folder

Wake Timeout:: only if you have s2w/dt2w without powerkey toggle; the timer starts when the screen goes off, after # minutes the screen will flash and s2w/dt2w features will be disabled saving your battery until next time you wake the phone by pressing power button.
In terminal emulator app (or in an adb shell) type:
Code:
Select Code
su
echo # > /sys/android_touch/wake_timeout; (where # is the number of minutes)
Set on boot: Create a file named timer in /sdcard/s2Boot folder and write into it the timer minutes, for example 60 = 1 hour timer
The Following 29 Users Say Thank You to LaboDJ For This Useful Post: [ Click to Expand ]
 
reeco
Old
#3  
reeco's Avatar
Senior Member
Thanks Meter 96
Posts: 273
Join Date: Nov 2009
Location: Swansea, Wales

 
DONATE TO ME
Interesting...... Flashing

Sent from my Nexus 5 using xda app-developers app
The Following User Says Thank You to reeco For This Useful Post: [ Click to Expand ]
 
Vangelis13
Old
#4  
Vangelis13's Avatar
Recognized Contributor
Thanks Meter 8378
Posts: 7,780
Join Date: Feb 2011
Location: 300 meters from the Rhein
Quote:
Originally Posted by reeco View Post
Interesting...... Flashing

Sent from my Nexus 5 using xda app-developers app
Heeey, Dj! Nice to see you here! :thumbup:
ἕν οἶδα, ὅτι οὐδὲν οἶδα

"I know one thing, that I know nothing"
The Following User Says Thank You to Vangelis13 For This Useful Post: [ Click to Expand ]
 
Stylez Ray.
Old
#5  
Stylez Ray.'s Avatar
Senior Member
Thanks Meter 416
Posts: 824
Join Date: Jan 2008
Location: Hatehole

 
DONATE TO ME
Great to have you here, too!
HAMMERHEAD x2
FIND 5
MAKO x2
MAGURO
And a ****load of other devices I owned


Quote:
Originally Posted by morfic

Just flash over.
Only thing we wipe here is our butts.
The Following 2 Users Say Thank You to Stylez Ray. For This Useful Post: [ Click to Expand ]
 
sir*mez
Old
#6  
sir*mez's Avatar
Senior Member
Thanks Meter 198
Posts: 1,167
Join Date: Nov 2007
Location: NYC

 
DONATE TO ME
Yes, I loved this version from the Nexus 4! Now I'm complete on the Nexus 5! Thank you @LaboDJ
Provider: •T•••Mobile
Phone: nexus 5 32gb White
Phone: nexus 5 16gb Black
Tablet: nexus 7 2013 32gb
Phone: nexus 4 16gb
Current
Rom: SlimKat
Kernel: franco.Kernel
Recovery: TWRP
Follow me on: Twitter: SiR_Mez, Google+: Link

My Previous Work

 
Old G1: Click here to ENABLE HOME AUTO ROTATE
Old G1: Click here for M_Blend Theme
Old G1: Click here for PrOdigal_SuN Theme
The Following 2 Users Say Thank You to sir*mez For This Useful Post: [ Click to Expand ]
 
pathtologos
Old
#7  
pathtologos's Avatar
Senior Member
Thanks Meter 232
Posts: 1,475
Join Date: Mar 2009
Location: Ft. Lauderdale, FL
Wow. Linaro is here!!! Development is flying... So glad I got an N5!!!

Thank you!
 
dex2grigg
Old
#8  
dex2grigg's Avatar
Senior Member
Thanks Meter 145
Posts: 218
Join Date: Mar 2012
Location: Salisbury
Omg this is flying! .. Just like on the nexus 4 :d!

Sent from my Nexus 5 using Tapatalk
 
archish
Old
#9  
Member
Thanks Meter 9
Posts: 40
Join Date: Apr 2012
How about adding cm support?
The Following User Says Thank You to archish For This Useful Post: [ Click to Expand ]
 
tibere86
Old
#10  
tibere86's Avatar
Senior Member
Thanks Meter 160
Posts: 1,023
Join Date: Feb 2009
Location: Washington, DC
Awesome! Franco hotplug & commits + Faux Sound = perfect!

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

Advanced Search
Display Modes