[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.6.0 beta1 -

And thus the Unrooted Kernel Era begun​

Unprivileged Configuration Interface - new feature

This is to provide unrooted kernel configuration possibility.

- /sdcard/uci_user.cfg configuration file directly interfaces with kernel

- copy uci_user.cfg there from downloads

- Edit the values with your fav text editor, save, and it's going to be applied

If you copy the file to the internal storage, any configuration entry in the file will take precedence over any sysfs settings you may apply!

parameters:

# Smart Notification Control
smart_trim_inactive_mins=6
smart_stop_inactive_mins=60
smart_hibernate_inactive_mins=240
smart_silent_mode_stop=1
smart_silent_mode_hibernate=0

# Kernel Ambient Display
kad_on=0
kad_only_on_charger=0
kad_disable_touch_input=1
kad_disable_fp_input=1
kad_kcal=1
kad_halfseconds=11
kad_repeat_times=4
kad_repeat_multiply_period=1
kad_repeat_period_sec=12
kad_three_finger_gesture=1

# Fingerprint
fingerprint_mode=2
fp_vib_strength=20
fp_unlock_vib_strength=20
fp_doubletap_wait_period=2

# Squeeze Control
squeeze_wake=1
squeeze_sleep=1
squeeze_peek=1
squeeze_peek_halfseconds=4
squeeze_peek_kcal=0
squeeze_swipe=1
squeeze_swipe_vibration=1

# Flashlight notif
flash_blink=1
flash_blink_bright=1
flash_blink_bright_number=5
flash_blink_number=46
flash_blink_wait_sec=4
flash_blink_wait_inc=1
flash_blink_wait_inc_max=8
flash_haptic_mode=1
flash_dim_mode=1
flash_dim_use_period=1
flash_dim_start_hour=22
flash_dim_end_hour=6
# Vib notif reminder
vib_notification_reminder=1
vib_notification_slowness=12
vib_notification_length=250

# Buttonlight
bln=1
bln_light_level=20
bln_no_charger_switch=1
bln_number=6
bln_speed=1
bln_dim_blink=1
bln_dim_number=0
bln_rgb_batt_colored=1
bln_rgb_light_level=0
bln_rgb_pulse=1
bln_rgb_pulse_pattern=0

#Notif booster
notification_booster=1

# Adreno Boost
adrenoboost=1

CleanSlate Companion app 1.0 new awesomeness:

- ONLY WORKS WITH COMPATIBLE KERNEL, currently cleanslate 2.6 beta only

- install APK, grant rights

- Will interface with kernel to send DoNotDisturb status, in pocket state, call state, lock screen state

- kernel receives this and now functions accordingly:

--- won't do Kernel Ambient Display while in Pocket

--- won't do KAD while Lock screen is not running

--- can switch to Smart Notification Stop / Hibernate modes when you turn phone into DND mode (Details of Smart modes here: https://xdaforums.com/showpost.php?p=74412439&postcount=1292 )

------ configuration lines: smart_silent_mode_stop=1 / smart_silent_mode_hibernate=0 -- if you set it to 1 then switching to DND mode will also switch to Smart_Stop or Smart_Hibernate modes (read on the link above what notifications will be trimmed/dimmed or stopped)

Fingerprint feature update:

Added /sys/fpf/fpf_unlock_vib_strength configuration to enable setting of Unlock FP vibration strength (0-90)

Fixed a great many things during this process.

Test and report! Possibly donate! :) :good:

You can still use the kernel without the CleanSlate Companion app, but then the restrictions to use Lock immediately on power off needs to be applied for KAD.

For the companion app you'll need this new version of the kernel!

Download folder:

Full zip contains all in one, unzip it, and apply readme.txt. You can download one by one as well. The separate uci_user.cfg config file needs unzipping to copy it to Internal Storage (/sdcard) usage.

https://www.androidfilehost.com/?w=files&flid=229532

Full zip, all in one, if you can unzip it (not flashable!!) https://www.androidfilehost.com/?fid=889964283620765450