-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
nogrep edited this page Jun 14, 2026
·
2 revisions
- Copy the
torchbutton-vX.Y.Z.zipsomewhere on the device. - Magisk app → Modules → Install from storage → pick the zip.
- Reboot.
adb push torchbutton-vX.Y.Z.zip /data/local/tmp/torchbutton.zip
adb shell su -c 'magisk --install-module /data/local/tmp/torchbutton.zip'
adb rebootadb shell 'su -c "ps -ef | grep torchd | grep -v grep"'
# should show a torchd process
adb shell 'su -c "tail -10 /data/adb/torchbutton.log"'
# should end with "torchd ready"The daemon is started by service.sh in late_start service mode and is
wrapped in a watchdog loop — if it crashes, it restarts in 3 seconds.
service.sh also installs the bundled APK via pm install -r on first run
(or on updates — it compares the bundled APK md5 against a marker file
bin/.installed.md5).