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

.~~- no-root is a state of mind -~~.​

CleanSlate Companion app 1.0.1 new awesomeness:

- installer places the APK on your internal storage's root folder (/sdcard/) -- please 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: URL)

------ configuration lines: smart_silent_mode_stop=1 / smart_silent_mode_hibernate=0

--- make phone_ring_in_silent_mode possible to work, so phone vibrates while in silent mode

--- make block_power_key_in_pocket possible to work, will block power key turn on phone while in pocket, or face down, or near head

KAD changes: When using the application it's no longer needed to set Power button Lock -> immediately and Lockscreen timeout after screen off -> Immediately. Set your preference, make sure companion app is installed, and kernel ambient display will only display after lockscreen is locked.

Unprivileged Configuration Interface - new feature

This is to provide unrooted kernel configuration possibility.

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

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

- Only values in the config file take precedence over sysfs settings

- Note: Companion app works without this file placed on the sdcard. It has it's own uci_sys.cfg file, you shouldn't modify that file!

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

# Extra
phone_ring_in_silent_mode=0
fastcharge=1
block_power_key_in_pocket=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
kad_kcal_val=135
kad_kcal_cont=255

# 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
vibration_power_set=0
vibration_power_percentage=40

# Adreno Boost
adrenoboost=1

More new features :

- adding Laptop/Legacy chargers "fastcharge" feature to test how it goes with different laptops (I'm not sure if this actually does anything on my laptop, but i plan to test with more)

--- uci user config entry: fastcharge=1 (0/1)

- adding "Vibrate long twice even in silent mode upon phone Call" option through UCI user config. If you switch to silent mode on Stock Sense android, you cannot leave still call vibrations on. (I wanted this option, so here it is :) Works only with fully running CleanSlate Companion app installed and started!)

--- uci user config entry: phone_ring_in_silent_mode=0 (0/1) - if set to 1, will vibrate twice upon phone call in Silent DND mode.

--- /sys/fpf/phone_ring_in_silent_mode (0 default /1) off/on

- adding "Block power button when in pocket (proximity sensor triggers)"

--- uci user config entry: block_power_key_in_pocket=0 (0/1) - if set to 1, will block power button turning on when in proximity (pocket, face down, your head talkin' :) )--- /sys/fpf/block_power_key_in_pocket (0 default / 1) off/on

- adding "default vibration power" setting - you can set the power of vibrator motor for those vibrations where notification booster is not being applied

--- uci user config entry: vibration_power_set=0 (0/1) and vibration_power_percentage=40 (0-100)=0 (0/1) - if first set to 1, percentage will be applied. (sysfs won't be added, it's on the standard path already)

- adding possibility to tweak Kernel Ambient Display grayscale "Magic Value" and "Contrast" for KCal:

---- /sys/fpf/kad_kcal_cont /sys/fpf/kad_kcal_val -- UCI: kad_kcal_cont and kad_kcal_val

- Adding /sys/fpf/unlock_vib_strength configuration to enable setting of Unlock FP vibration strength (0-90) independently from Home button vib_strength

Download (v2, reuploaded with minor fix):

Full package to install kernel, copy CS Companion APK and config sample (to internal storage): https://www.androidfilehost.com/?fid=745849072291689060

1. Install from TWRP, 2. reboot, 3. install /sdcard/cleanslatecompanion-x.y.z.apk (allow Unknow sources to install), 4. copy/rename /sdcard/uci_user.cfg_sample to /sdcard/uci_user.cfg to actually start using it. Enjoy!

APK: https://www.androidfilehost.com/?fid=889964283620766498

Config sample: https://www.androidfilehost.com/?fid=817906626617947046