From e87085400d4a46793ee4f21ea8591c0f65813ba6 Mon Sep 17 00:00:00 2001 From: spv Date: Mon, 22 Sep 2025 20:52:37 -0400 Subject: fix magisk module --- Makefile | 4 ++-- README | 2 ++ src/service.sh | 5 ++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 78e2551..127391b 100644 --- a/Makefile +++ b/Makefile @@ -30,9 +30,9 @@ kill: all adb shell -x pkill kblightd bin/kblightd_magisk.zip: bin bin/kblightd src/service.sh res/module.prop - mkdir -p bin/magisk + mkdir -p bin/magisk/system/bin - cp -p bin/kblightd bin/magisk/ + cp -p bin/kblightd bin/magisk/system/bin cp -p src/service.sh bin/magisk cp -p res/module.prop bin/magisk diff --git a/README b/README index cdf6344..d23808b 100644 --- a/README +++ b/README @@ -14,6 +14,8 @@ roadmap [x] magisk module +[ ] enable on lid-open + [ ] config file in /data/??? license diff --git a/src/service.sh b/src/service.sh index e88e6b3..e32a1b8 100644 --- a/src/service.sh +++ b/src/service.sh @@ -1,3 +1,2 @@ -cp data/adb/modules/sh.spv.kblightd/kblightd /sbin/kblightd -chmod 700 /sbin/kblightd -exec /sbin/kblightd +chmod 700 /system/bin/kblightd +exec /system/bin/kblightd -- cgit v1.2.3