Releases: zazaulola/magisk-torchbutton
Release list
torchbutton v1.1.6
Icon fix — the power-ring gap now correctly follows the lightning bolt: the
right end runs parallel to the bolt's lower-right diagonal. (v1.1.5 mistakenly
squared the ends; v1.1.4's flatten rounded the join.) Vector drawables are now
flattened from the SVG with sharp miter joins, matching it exactly. No
functional changes.
Install
```sh
adb push torchbutton-v1.1.6.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.
torchbutton v1.1.5
Icon refinement — the power-ring gap now has two flat, vertical, symmetric ends
(the gap is a vertical slot rather than the lightning-bolt outline, which
previously slanted the right end). Slightly thinner ring. No functional changes
from v1.1.4.
Install
```sh
adb push torchbutton-v1.1.5.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.
torchbutton v1.1.4
Icon refresh — thicker ring on the power+bolt glyph (launcher icon and Quick
Settings tile). Reads more clearly, especially at the small QS size. No
functional changes from v1.1.3.
Install
```sh
adb push torchbutton-v1.1.4.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.
torchbutton v1.1.3
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
SETreceiver 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.jsonfor 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 → Modules → Install from storage.
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.
torchbutton v1.1.1
Icon refresh.
The launcher icon and Quick Settings tile are now a power symbol with a
lightning bolt in the gap — instead of the old flashlight/sun-style glyph
that read like a brightness control. Clean, neutral, and it won't clash with
the flashlight icon from your icon-pack theme.
No functional changes to the daemon. After updating, service.sh reinstalls
the bundled helper APK automatically on the next boot (it compares the APK
md5), so the new icons appear without any manual step.
Install
```sh
adb push torchbutton-v1.1.1.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.
torchbutton v1.1.0
First public release.
Long-press Power toggles the flashlight when the screen is off or locked.
When on + unlocked, long-press still opens the system power dialog.
Power+VolumeDown (screenshot) keeps working. Toggle the whole thing on/off
from the bundled Torch Button app or its Quick Settings tile.
Tested on Pixel 8 Pro / Android 16 (CP1A.260505.005) / Magisk 30.7.
Install
```sh
adb push torchbutton-v1.1.0.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.
See the wiki for build
instructions, configuration, and architecture notes.