View Single Post
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#231
Kernel v6 has arrived.

Source still up on Github.

Changelog:
Code:
- Added FIFO, FIOPS, SIO, TRIPNDROID, VR and ZEN I/O scheduler

- Added backlight dimmer option

- Added Westwood+ TCP congestion control 

- Added new force_fast_charge options

- Added double tap 2 wake

- Optimized build flags
I/O scheduler is set at /sys/block/mmcblk0/queue/scheduler.
Code:
cat /sys/block/mmcblk0/queue/scheduler
gives you a list of available schedulers and shows which scheduler is active.


The backlight can now be dimmed beyond the lowest setting.
Change /sys/module/lm3630_bl/parameters/backlight_dimmer to '1' to activate the feature and set your desired value in /sys/module/lm3630_bl/parameters/min_brightness (default is 5)
Change your brightness in settings to maximum and back to minimum to check your results.

Force fast charge can be enabled at /sys/kernel/fast_charge
'1' is the old behaviour(charging with usb up to 900mA)
'2' lets you choose your desired charge level. Available levels are:
500 900 1200 1500 2000 (change in fast_charge_level)

To enable doubletap2wake feature change /sys/android_touch//doubletap2wake to '1' for the bottom half of the screen and '2' for fullscreen.

How long dt2w is active can be changed in /sys/android_touch/wake_timeout (in minutes, 0 is always active).
dt2w is active again after unlocking the phone.

To stop doubletap2wake feature using the power button set /sys/module/qpnp_power_on/parameters/pwrkey_suspend to '1'.
dt2w is active again when you lock the screen with swipe to lock or using the lock button.

But since dt2w is not a native feature of the N5 it will cause battery drain, i haven't tested it long enough to say how much battery it costs, because i got used to the lpm screen unlocking.

Flashable ZIP can be downloaded here.

Sorry, i've uploaded a ZIP which was missing the westwood TCP congestion control, link is now fixed (11-16-2016 11:11 PM)

Happy testing...

Last edited by mautz; 2016-11-16 at 22:11.
 

The Following 6 Users Say Thank You to mautz For This Useful Post: