I miss this feature too, especially now during winter. It is super convenient in the dark freezing cold when wearing gloves. I use the torch/flashlight more often than the call function. I disagree that it should be out of project scope. When you live in the north, the torch is a useful function of the device, and the device is controlled by the firmware, which is GrapheneOS.
Physical button for torch works on multiple (vendor and non-vendor) ROMs, most notably LineageOS and CalyxOS. Be it power hold, power double tap, or configurable. For security reasons, I would make the phone power off on long press, at least by default. But some versatility would be welcome here.
- 1 sec = torch
- 3 sec = power off
- double tap = camera