[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
- Update 2.3.0 stable/beta -​

AOSP and Sense hybrid support:

- AOSP: Making compatible with AOSP based roms stemming from [MENTION=3857343]crpalmer[/MENTION] 's LineageOS kernel + [MENTION=5471195]tabp0le[/MENTION] 's additions

- AOSP: for letting MTP work perfectly on AOSP roms, follow this guide: https://xdaforums.com/showpost.php?p=74241318&postcount=1221

- AOSP: you must replug charger/USB at (re)booting to get charging led. All other cases working

- AOSP: You need switch off Ambient Display to make Button Light Notification / Flashlight notification work.

- AOSP: Quick charging works but is not shown on LineageOS (haven't tested PureFusion/ RR, pls report, patch is added to work)

- AOSP: fastcharge works, BLN works, Pulsating notification light works etc...

Report your issues please

Flashlight Notification Blink

Not as dim as I expected, but this is the best possible on the htc 10.

Let the phone show its beautiful back - and don't miss the chance to see that you missed a notification

New parameters:

-- haptic mode : 0/1 use this in conjunction with phone's DND mode (thanks [MENTION=1162986]Captain_Throwback[/MENTION] for the idea) -> if this is set ON (1) then Flashlight will only blink when Vibration based notification happened. So while in DND mode, you won't have the Flashing. This is DEFAULT ON

-- Dim use period 0/1 -> if 0, dim mode will be continuously used, if 1 dim mode will be activated in a period set by you (or default: 22-6 (10PM-6AM)) default ON

-- Dim mode: 0/1/2 -> if 0 no dim mode, 1 it will dim HALF the flashlight when in dim period or if "dim use period" is set OFF. 2 means if dimming in the dim period it will switch off the flash blinking fully. (default is 1)

-- dim period start hour/end hour : 0-23, you can set the dim period if you are using it with Dim use period set to 1 (default 22-6)

Sysfs:

-- bln_flash_blink - 0/1

-- bln_flash_blink_number - 0 (infinite) 1-50

-- bln_flash_blink_wait_sec - 1-10 delay in seconds between blinks

---- bln_flash_wait_inc - 1/0 increase/not increase delay with time

------ bln_flash_wait_inc_max - maximum plus in seconds of the delay, increased with time 1-8

----- bln_flash_haptic_mode 1/0 - 1 = flash only when DND is off (vibration notifications will trigger the blinking) ( default value: 1 )

----- bln_flash_dim_mode 2/1/0 - 2 = in dim mode do NOT flash at all, 1 = in dim mode flash half the brightness of the full flashing, 0 = no dimming ( default value: 1 )

----- bln_flash_dim_use_period 1/0 - 1 = switch to dim flash mode in a given period, 0 = no restriction for dimming, if you set it, it will be flashing dim regardless of current time ( default value: 1 )

--------- bln_flash_dim_period_start_hour 0-23 - start hour for dimmed flashing (default 22 (10PM))

--------- bln_flash_dim_period_end_hour 0-23 - end hour for dimmed flashing (default 6 (6AM))

Vibrating Notification Reminder

Feature:

- after each notification you haven't checked while screen is off, it will do a Vibrating notification reminder after X number (default 15) of flashlight notification blink. (DEFAULT OFF, if you switch on, it will vib on each 15th flashlight).

- if you switch screen on, or if flashlight notification stops, it will stop vibrating.

- (Low light mode, or Flashlight notification off will disable this feature)

- vibration power (length) adjustable from 1 to 500

- use Full light/vib switch to activate it (double press VolUp/Down while screen is off)

/indicator/bln_vib_notification 1/0 (default 0 OFF)

/indicator/bln_vib_notification_slowness 5-30 (default 15, periodicity bound with flashlight notif)

/indicator/bln_vib_notification_length 1-500 (how many milliseconds to vibrate on each reminder, default 250)

Low-Light-Vib/Full-Light-Vib switch (with some problems yet, deepsleep blocks this, beta phase)

For now to use this feature I recommend: switch screen ON then OFF, then quickly use the VolumeUp/Down buttons as described below. Otherwise deepsleep will block it from working.

- you can only use gesture it when screen is off (no confusion with notification volume settings)

- four modes now:

--- Normal mode (all lights on, notification vibration booster on) - switch by pressing VolumeUp/Down quickly at the same time, ( short buzz will signal the switch)

--- Low light mode (led/key light lowered, no button light notification if not on charge, no flashlight notification) - switch by pressing VolUp/Down quickly at the same time ( long buzz will signal the switch)

--- Low light/low vibration mode (Notification booster off, led/key light lowered, no button light notification if not on charge, no flashlight notification) - - switch by long pressing VolUp/Down at the same time

--- Full light/vib mode: switch to it by double press VolUp/Down - enables vibrating notification reminder plus all led notification full brightness

Lowering haptic vibration power default voltage to ~1320mV (on AOSP this is overridden by your setting in Settings!)

Download:

https://www.androidfilehost.com/?fid=745849072291679600