Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[KERNEL] [N5] [S2W] [F2FS] Linaro Kernel | r64t1 | 3.4.104 | 4.4.4 | A15 GCC 4.9.2 |

OP LaboDJ

View First Unread
14th November 2013, 09:06 PM   |  #1  
LaboDJ's Avatar
OP Senior Member
Flag Siena
Thanks Meter: 3,582
 
610 posts
Join Date:Joined: Nov 2007
Donate to Me
More

Features:
  • Based on Franco Kernel
  • F2FS-ALL support in the installer, you don't need 2 versions anymore!
  • 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.2
  • 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 r123)
  • 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
  • Logitech unifying receiver support
  • ExFat 1.2.9, NFS and F2FS kernel 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:
  • If you want to mount usb OTG this kernel will automount only fat/fat16/fat32 filesystems, for any other file system please use StickMount App
  • 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
  • F2FS-ALL option: if you select this option the ramdisk will be modified to work with F2FS-ALL ROMs and recoveries on the fly, it means that the kernel boot.img is created on the fly depending on the options chosen in the installer
  • Don't use F2FS-ALL if you are not going to use a F2FS recovery and ROM, it will not boot


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

Do you like my work? Donate :)
In


In $


Donors hall of fame:
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: r64t1
Stable Release Date: 2014-09-30

Created 2013-11-14
Last Updated 2014-09-30
Last edited by LaboDJ; 12th April 2014 at 01:46 PM.
The Following 221 Users Say Thank You to LaboDJ For This Useful Post: [ View ]
14th November 2013, 09:06 PM   |  #2  
LaboDJ's Avatar
OP Senior Member
Flag Siena
Thanks Meter: 3,582
 
610 posts
Join Date:Joined: Nov 2007
Donate to Me
More
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:
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:
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:
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:
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:
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:
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
Last edited by LaboDJ; 11th June 2014 at 10:44 AM.
The Following 32 Users Say Thank You to LaboDJ For This Useful Post: [ View ]
14th November 2013, 09:08 PM   |  #3  
reeco's Avatar
Senior Member
Flag Swansea, Wales
Thanks Meter: 98
 
279 posts
Join Date:Joined: Nov 2009
Donate to Me
More
Interesting...... Flashing

Sent from my Nexus 5 using xda app-developers app
The Following 2 Users Say Thank You to reeco For This Useful Post: [ View ]
14th November 2013, 09:12 PM   |  #4  
Vangelis13's Avatar
Recognized Contributor
Flag 300 meters from the Rhein
Thanks Meter: 9,110
 
8,005 posts
Join Date:Joined: Feb 2011
More
Quote:
Originally Posted by reeco

Interesting...... Flashing

Sent from my Nexus 5 using xda app-developers app

Heeey, Dj! Nice to see you here! :thumbup:
The Following 2 Users Say Thank You to Vangelis13 For This Useful Post: [ View ]
14th November 2013, 09:17 PM   |  #5  
Stylez Ray.'s Avatar
Senior Member
Thanks Meter: 447
 
886 posts
Join Date:Joined: Jan 2008
Donate to Me
More
Great to have you here, too!
The Following 2 Users Say Thank You to Stylez Ray. For This Useful Post: [ View ]
14th November 2013, 09:33 PM   |  #6  
sir*mez's Avatar
Senior Member
Flag NYC
Thanks Meter: 200
 
1,174 posts
Join Date:Joined: Nov 2007
Donate to Me
More
Yes, I loved this version from the Nexus 4! Now I'm complete on the Nexus 5! Thank you @LaboDJ
The Following 2 Users Say Thank You to sir*mez For This Useful Post: [ View ]
14th November 2013, 09:36 PM   |  #7  
pathtologos's Avatar
Senior Member
Flag Ft. Lauderdale, FL
Thanks Meter: 248
 
1,590 posts
Join Date:Joined: Mar 2009
More
Wow. Linaro is here!!! Development is flying... So glad I got an N5!!!

Thank you!
14th November 2013, 09:39 PM   |  #8  
dex2grigg's Avatar
Senior Member
Flag Salisbury
Thanks Meter: 175
 
233 posts
Join Date:Joined: Mar 2012
More
Omg this is flying! .. Just like on the nexus 4 :d!

Sent from my Nexus 5 using Tapatalk
14th November 2013, 09:42 PM   |  #9  
Member
Thanks Meter: 9
 
46 posts
Join Date:Joined: Apr 2012
How about adding cm support?
The Following User Says Thank You to archish For This Useful Post: [ View ]
14th November 2013, 10:06 PM   |  #10  
tibere86's Avatar
Senior Member
Flag Washington, DC
Thanks Meter: 167
 
1,042 posts
Join Date:Joined: Feb 2009
Awesome! Franco hotplug & commits + Faux Sound = perfect!

The Following User Says Thank You to tibere86 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread