You've already forked ZygiskNext
mirror of
https://github.com/Dr-TSNG/ZygiskNext.git
synced 2025-08-27 23:46:34 +00:00
Rename project to Zygisk Next
This commit is contained in:
8
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
8
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -6,11 +6,11 @@ body:
|
|||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Thanks for reporting issues of Zygisk on KernelSU!
|
Thanks for reporting issues for Zygisk Next!
|
||||||
To make it easier for us to help you please enter detailed information below.
|
To make it easier for us to help you please enter detailed information below.
|
||||||
Note: We will **NEVER** handle any issue related to root detection or writable system.
|
Note: We will **NEVER** handle any issue related to root detection or writable system.
|
||||||
|
|
||||||
感谢给 Zygisk on KernelSU 汇报问题!
|
感谢给 Zygisk Next 汇报问题!
|
||||||
为了使我们更好地帮助你,请提供以下信息。
|
为了使我们更好地帮助你,请提供以下信息。
|
||||||
为了防止重复汇报,标题请务必使用英文。
|
为了防止重复汇报,标题请务必使用英文。
|
||||||
请注意:我们**不会**处理任何有关 root 检测和 system 分区可写相关的问题。
|
请注意:我们**不会**处理任何有关 root 检测和 system 分区可写相关的问题。
|
||||||
@@ -43,7 +43,7 @@ body:
|
|||||||
required: true
|
required: true
|
||||||
- type: input
|
- type: input
|
||||||
attributes:
|
attributes:
|
||||||
label: Zygisk on KernelSU version/Zygisk on KernelSU 版本
|
label: Zygisk Next version/Zygisk Next 版本
|
||||||
description: Don't use 'latest'. Specify actual version, otherwise your issue will be closed./不要填用“最新版”。给出具体版本号,不然 issue 会被关闭。
|
description: Don't use 'latest'. Specify actual version, otherwise your issue will be closed./不要填用“最新版”。给出具体版本号,不然 issue 会被关闭。
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
@@ -62,7 +62,7 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
label: Version requirement/版本要求
|
label: Version requirement/版本要求
|
||||||
options:
|
options:
|
||||||
- label: I am using latest debug CI version of Zygisk on KernelSU and enable verbose log/我正在使用最新 CI 调试版本 Zygisk on KernelSU 且启用详细日志
|
- label: I am using latest debug CI version of Zygisk Next and enable verbose log/我正在使用最新 CI 调试版本 Zygisk Next 且启用详细日志
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
|
|||||||
14
README.md
14
README.md
@@ -1,15 +1,13 @@
|
|||||||
# Zygisk on KernelSU
|
# Zygisk Next
|
||||||
|
|
||||||
Zygisk loader for KernelSU, allowing Zygisk modules to run without Magisk environment.
|
Standalone implementation of Zygisk, providing Zygisk API support for KernelSU and a replacement of Magisk's built-in Zygisk.
|
||||||
|
|
||||||
Also works as standalone loader for Magisk.
|
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
### General
|
### General
|
||||||
|
|
||||||
+ No multiple root implementation installed
|
+ No multiple root implementation installed
|
||||||
+ SELinux enforcing: We now rely on SELinux to prevent `vold` from aborting our fuse connection
|
+ SELinux enforcing: Zygisk Next rely on SELinux to prevent `vold` from aborting our fuse connection
|
||||||
|
|
||||||
### KernelSU
|
### KernelSU
|
||||||
|
|
||||||
@@ -20,8 +18,10 @@ Also works as standalone loader for Magisk.
|
|||||||
### Magisk
|
### Magisk
|
||||||
|
|
||||||
+ Minimal version: 26300
|
+ Minimal version: 26300
|
||||||
+ Original Zygisk turned off
|
+ Built-in Zygisk turned off
|
||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
|
|
||||||
Should work with everything except those rely on Magisk internal behaviors.
|
`PROCESS_ON_DENYLIST` cannot be flagged correctly for isolated processes on Magisk DenyList currently.
|
||||||
|
|
||||||
|
Zygisk Next only guarantees the same behavior of Zygisk API, but will NOT ensure Magisk's internal features.
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ val gitCommitCount = "git rev-list HEAD --count".execute().toInt()
|
|||||||
val gitCommitHash = "git rev-parse --verify --short HEAD".execute()
|
val gitCommitHash = "git rev-parse --verify --short HEAD".execute()
|
||||||
|
|
||||||
val moduleId by extra("zygisksu")
|
val moduleId by extra("zygisksu")
|
||||||
val moduleName by extra("Zygisk on KernelSU")
|
val moduleName by extra("Zygisk Next")
|
||||||
val verName by extra("v4-0.8.1")
|
val verName by extra("v4-0.8.1")
|
||||||
val verCode by extra(gitCommitCount)
|
val verCode by extra(gitCommitCount)
|
||||||
val commitHash by extra(gitCommitHash)
|
val commitHash by extra(gitCommitHash)
|
||||||
@@ -42,7 +42,7 @@ tasks.register("Delete", Delete::class) {
|
|||||||
|
|
||||||
fun Project.configureBaseExtension() {
|
fun Project.configureBaseExtension() {
|
||||||
extensions.findByType(LibraryExtension::class)?.run {
|
extensions.findByType(LibraryExtension::class)?.run {
|
||||||
namespace = "icu.nullptr.zygisksu"
|
namespace = "icu.nullptr.zygisk.next"
|
||||||
compileSdk = androidCompileSdkVersion
|
compileSdk = androidCompileSdkVersion
|
||||||
ndkVersion = androidCompileNdkVersion
|
ndkVersion = androidCompileNdkVersion
|
||||||
buildToolsVersion = androidBuildToolsVersion
|
buildToolsVersion = androidBuildToolsVersion
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ if [ "$BOOTMODE" ] && [ "$KSU" ]; then
|
|||||||
if [ "$(which magisk)" ]; then
|
if [ "$(which magisk)" ]; then
|
||||||
ui_print "*********************************************************"
|
ui_print "*********************************************************"
|
||||||
ui_print "! Multiple root implementation is NOT supported!"
|
ui_print "! Multiple root implementation is NOT supported!"
|
||||||
ui_print "! Please uninstall Magisk before installing Zygisksu"
|
ui_print "! Please uninstall Magisk before installing Zygisk Next"
|
||||||
abort "*********************************************************"
|
abort "*********************************************************"
|
||||||
fi
|
fi
|
||||||
elif [ "$BOOTMODE" ] && [ "$MAGISK_VER_CODE" ]; then
|
elif [ "$BOOTMODE" ] && [ "$MAGISK_VER_CODE" ]; then
|
||||||
@@ -50,7 +50,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
VERSION=$(grep_prop version "${TMPDIR}/module.prop")
|
VERSION=$(grep_prop version "${TMPDIR}/module.prop")
|
||||||
ui_print "- Installing Zygisksu $VERSION"
|
ui_print "- Installing Zygisk Next $VERSION"
|
||||||
|
|
||||||
# check android
|
# check android
|
||||||
if [ "$API" -lt 29 ]; then
|
if [ "$API" -lt 29 ]; then
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ name=${moduleName}
|
|||||||
version=${versionName}
|
version=${versionName}
|
||||||
versionCode=${versionCode}
|
versionCode=${versionCode}
|
||||||
author=Nullptr, 5ec1cff
|
author=Nullptr, 5ec1cff
|
||||||
description=Run Zygisk on KernelSU.
|
description=Standalone implementation of Zygisk.
|
||||||
updateJson=https://api.nullptr.icu/android/zygisk-on-kernelsu/static/update.json
|
updateJson=https://api.nullptr.icu/android/zygisk-next/static/update.json
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ if [ "$(which magisk)" ]; then
|
|||||||
if [ -d "$file" ] && [ -d "$file/zygisk" ] && ! [ -f "$file/disable" ]; then
|
if [ -d "$file" ] && [ -d "$file/zygisk" ] && ! [ -f "$file/disable" ]; then
|
||||||
if [ -f "$file/post-fs-data.sh" ]; then
|
if [ -f "$file/post-fs-data.sh" ]; then
|
||||||
cd "$file"
|
cd "$file"
|
||||||
log -p i -t "zygisksu" "Manually trigger post-fs-data.sh for $file"
|
log -p i -t "zygisk-sh" "Manually trigger post-fs-data.sh for $file"
|
||||||
sh "$(realpath ./post-fs-data.sh)"
|
sh "$(realpath ./post-fs-data.sh)"
|
||||||
cd "$MODDIR"
|
cd "$MODDIR"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ if [ "$(which magisk)" ]; then
|
|||||||
if [ -d "$file" ] && [ -d "$file/zygisk" ] && ! [ -f "$file/disable" ]; then
|
if [ -d "$file" ] && [ -d "$file/zygisk" ] && ! [ -f "$file/disable" ]; then
|
||||||
if [ -f "$file/service.sh" ]; then
|
if [ -f "$file/service.sh" ]; then
|
||||||
cd "$file"
|
cd "$file"
|
||||||
log -p i -t "zygisksu" "Manually trigger service.sh for $file"
|
log -p i -t "zygisk-sh" "Manually trigger service.sh for $file"
|
||||||
sh "$(realpath ./service.sh)"
|
sh "$(realpath ./service.sh)"
|
||||||
cd "$MODDIR"
|
cd "$MODDIR"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ dependencyResolutionManagement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.name = "ZygiskOnKernelSU"
|
rootProject.name = "ZygiskNext"
|
||||||
include(
|
include(
|
||||||
":loader",
|
":loader",
|
||||||
":module",
|
":module",
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ pub const PATH_PTRACE_BIN32: &str = "bin/zygisk-ptrace32";
|
|||||||
pub const PATH_PTRACE_BIN64: &str = "bin/zygisk-ptrace64";
|
pub const PATH_PTRACE_BIN64: &str = "bin/zygisk-ptrace64";
|
||||||
|
|
||||||
|
|
||||||
pub const STATUS_LOADED: &str = "😋 Zygisksu is loaded";
|
pub const STATUS_LOADED: &str = "😋 Zygisk Next is loaded";
|
||||||
pub const STATUS_CRASHED: &str = "❌ Zygiskd has crashed";
|
pub const STATUS_CRASHED: &str = "❌ Zygisk Next has crashed";
|
||||||
pub const STATUS_ROOT_IMPL_NONE: &str = "❌ Unknown root implementation";
|
pub const STATUS_ROOT_IMPL_NONE: &str = "❌ Unknown root implementation";
|
||||||
pub const STATUS_ROOT_IMPL_TOO_OLD: &str = "❌ Root implementation version too old";
|
pub const STATUS_ROOT_IMPL_TOO_OLD: &str = "❌ Root implementation version too old";
|
||||||
pub const STATUS_ROOT_IMPL_ABNORMAL: &str = "❌ Abnormal root implementation version";
|
pub const STATUS_ROOT_IMPL_ABNORMAL: &str = "❌ Abnormal root implementation version";
|
||||||
|
|||||||
Reference in New Issue
Block a user