Skip to content

torchbutton v1.1.3

Choose a tag to compare

@zazaulola zazaulola released this 14 Jun 05:31
· 3 commits to main since this release

Hardening release driven by a full code audit. Every fix was verified on a
Pixel 8 Pro (Android 16, Magisk 30.7).

Highlights

  • Disabling/removing the module returns the Power button without a reboot.
  • The helper-app SET receiver is no longer exported — no other app can toggle
    your torch.
  • The keyguard check is time-bounded, so a stuck system service can't freeze
    the Power button.
  • The daemon re-acquires the input device on suspend/hotplug instead of going
    dead until the watchdog restarts it.
  • State files moved to device-encrypted storage (work before first unlock),
    written atomically; torch state seeded at boot.
  • SELinux via a persistent sepolicy.rule; update.json for in-Manager
    auto-update; log moved to root-only storage; APK version derives from
    module.prop.

See CHANGELOG
and the wiki for details.

Note: tracking a torch lit by the system flashlight tile requires the
Torch Button Quick Settings tile to be added.

Install

```sh
adb push torchbutton-v1.1.3.zip /data/local/tmp/torchbutton.zip
adb shell su -c 'magisk --install-module /data/local/tmp/torchbutton.zip'
adb reboot
```
Or Magisk app → ModulesInstall from storage.