You've already forked ZygiskNext
mirror of
https://github.com/Dr-TSNG/ZygiskNext.git
synced 2025-08-27 23:46:34 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
338d306501 | ||
|
|
7979cb4b25 | ||
|
|
505e5dc4ba | ||
|
|
420e93f8ed | ||
|
|
eee424f11c | ||
|
|
698e6e6624 |
16
.github/workflows/issue_moderator.yml
vendored
16
.github/workflows/issue_moderator.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
autoclose:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check issue
|
||||
- name: Check no title issue
|
||||
uses: tachiyomiorg/issue-moderator-action@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -21,3 +21,17 @@ jobs:
|
||||
}
|
||||
]
|
||||
auto-close-ignore-label: do-not-autoclose
|
||||
- name: Check version issue
|
||||
uses: tachiyomiorg/issue-moderator-action@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
auto-close-rules: |
|
||||
[
|
||||
{
|
||||
"type": "body",
|
||||
"regex": ".*(version is too old|version too old|太旧|过旧).*",
|
||||
"message": "Upgrade your KernelSU / 升级 KernelSU"
|
||||
}
|
||||
]
|
||||
auto-close-ignore-label: do-not-autoclose
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ Standalone implementation of Zygisk, providing Zygisk API support for KernelSU a
|
||||
### KernelSU
|
||||
|
||||
+ Minimal KernelSU version: 10940
|
||||
+ Minimal ksud version: 11424
|
||||
+ Minimal KernelSU Manager (ksud) version: 11424
|
||||
+ Kernel has full SELinux patch support
|
||||
|
||||
### Magisk
|
||||
|
||||
@@ -20,11 +20,11 @@ val gitCommitHash = "git rev-parse --verify --short HEAD".execute()
|
||||
|
||||
val moduleId by extra("zygisksu")
|
||||
val moduleName by extra("Zygisk Next")
|
||||
val verName by extra("v4-0.9.1")
|
||||
val verName by extra("v4-0.9.1.1")
|
||||
val verCode by extra(gitCommitCount)
|
||||
val commitHash by extra(gitCommitHash)
|
||||
val minKsuVersion by extra(10940)
|
||||
val minKsudVersion by extra(11424)
|
||||
val minKsudVersion by extra(11425)
|
||||
val maxKsuVersion by extra(20000)
|
||||
val minMagiskVersion by extra(26402)
|
||||
|
||||
|
||||
@@ -387,11 +387,11 @@ public:
|
||||
LOGW("inject signal sent to init: %s %d",
|
||||
sigabbrev_np(WSTOPSIG(status)), WSTOPSIG(status));
|
||||
ptrace(PTRACE_CONT, pid, 0, WSTOPSIG(status));
|
||||
continue;
|
||||
} else {
|
||||
LOGW("suppress stopping signal sent to init: %s %d",
|
||||
sigabbrev_np(WSTOPSIG(status)), WSTOPSIG(status));
|
||||
}
|
||||
continue;
|
||||
}
|
||||
ptrace(PTRACE_CONT, pid, 0, 0);
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ androidComponents.onVariants { variant ->
|
||||
|
||||
doLast {
|
||||
if (file("private_key").exists()) {
|
||||
println("=== machikado intergity signing ===")
|
||||
println("=== Guards the peace of Machikado ===")
|
||||
val privateKey = file("private_key").readBytes()
|
||||
val publicKey = file("public_key").readBytes()
|
||||
val namedSpec = NamedParameterSpec("ed25519")
|
||||
@@ -223,7 +223,7 @@ androidComponents.onVariants { variant ->
|
||||
val installMagiskTask = task<Exec>("installMagisk$variantCapped") {
|
||||
group = "module"
|
||||
dependsOn(pushTask)
|
||||
commandLine("adb", "shell", "su", "-c", "magisk --install-module /data/local/tmp/$zipFileName")
|
||||
commandLine("adb", "shell", "su", "-M", "-c", "magisk --install-module /data/local/tmp/$zipFileName")
|
||||
}
|
||||
|
||||
task<Exec>("installKsuAndReboot$variantCapped") {
|
||||
|
||||
@@ -26,8 +26,8 @@ create_sys_perm() {
|
||||
chcon u:object_r:system_file:s0 $1
|
||||
}
|
||||
|
||||
TMP_PATH=/sbin
|
||||
[ -f /sbin ] || TMP_PATH=/debug_ramdisk
|
||||
export TMP_PATH=/sbin
|
||||
[ -d /sbin ] || export TMP_PATH=/debug_ramdisk
|
||||
|
||||
create_sys_perm $TMP_PATH
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
MODDIR=${0%/*}/..
|
||||
|
||||
TMP_PATH=/sbin
|
||||
[ -f /sbin ] || TMP_PATH=/debug_ramdisk
|
||||
export TMP_PATH=/sbin
|
||||
[ -d /sbin ] || export TMP_PATH=/debug_ramdisk
|
||||
|
||||
exec $MODDIR/bin/zygisk-ptrace64 ctl $*
|
||||
|
||||
Reference in New Issue
Block a user