Work me too work
But primary i use ButtonMapper, to assign long press VolumeKey to on/off Flashlight:
- without root must be LCD on (but don’t need unlocked)
- with root can switch with LCD off
- not have 4minutes limit, is configurable in Settings to more times and newer