torchbutton v1.1.2
Bug-fix release.
- Flashlight lit by the system Quick Settings tile can now be turned off
with long-press Power. Previously the module only knew about torch changes
it made itself; an external toggle (system flashlight tile, other apps) went
unnoticed. The helper APK now mirrors the real LED state — via
CameraManager.registerTorchCallback()— into a file the daemon reads, so
long-press always knows whether the torch is actually on. - The Quick Settings tile and the in-app switch now stay in sync both ways,
live — toggling one updates the other immediately.
No daemon behaviour changes otherwise. After updating, service.sh reinstalls
the bundled helper APK on next boot automatically.
Install
```sh
adb push torchbutton-v1.1.2.zip /data/local/tmp/torchbutton.zip
adb shell su -c 'magisk --install-module /data/local/tmp/torchbutton.zip'
adb reboot
```
Or Magisk app → Modules → Install from storage.
Tested on Pixel 8 Pro / Android 16 (CP1A.260505.005) / Magisk 30.7.