From 44918d332e67398b08f9243ffa3b1d89a17e9511 Mon Sep 17 00:00:00 2001 From: Nullptr Date: Tue, 24 Oct 2023 17:04:48 +0800 Subject: [PATCH] Rename project to Zygisk Next --- .github/ISSUE_TEMPLATE/bug_report.yml | 8 ++++---- README.md | 14 +++++++------- build.gradle.kts | 4 ++-- module/src/customize.sh | 4 ++-- module/src/module.prop | 4 ++-- module/src/post-fs-data.sh | 2 +- module/src/service.sh | 2 +- settings.gradle.kts | 2 +- zygiskd/src/constants.rs | 4 ++-- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 58b09e1b..a8dced1c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -6,11 +6,11 @@ body: - type: markdown attributes: 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. Note: We will **NEVER** handle any issue related to root detection or writable system. - 感谢给 Zygisk on KernelSU 汇报问题! + 感谢给 Zygisk Next 汇报问题! 为了使我们更好地帮助你,请提供以下信息。 为了防止重复汇报,标题请务必使用英文。 请注意:我们**不会**处理任何有关 root 检测和 system 分区可写相关的问题。 @@ -43,7 +43,7 @@ body: required: true - type: input 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 会被关闭。 validations: required: true @@ -62,7 +62,7 @@ body: attributes: label: Version requirement/版本要求 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 - type: textarea attributes: diff --git a/README.md b/README.md index c8b55cbe..614f572c 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,13 @@ -# Zygisk on KernelSU +# Zygisk Next -Zygisk loader for KernelSU, allowing Zygisk modules to run without Magisk environment. - -Also works as standalone loader for Magisk. +Standalone implementation of Zygisk, providing Zygisk API support for KernelSU and a replacement of Magisk's built-in Zygisk. ## Requirements ### General + 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 @@ -20,8 +18,10 @@ Also works as standalone loader for Magisk. ### Magisk + Minimal version: 26300 -+ Original Zygisk turned off ++ Built-in Zygisk turned off ## 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. diff --git a/build.gradle.kts b/build.gradle.kts index 28aa0424..28fbafad 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,7 +19,7 @@ val gitCommitCount = "git rev-list HEAD --count".execute().toInt() val gitCommitHash = "git rev-parse --verify --short HEAD".execute() 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 verCode by extra(gitCommitCount) val commitHash by extra(gitCommitHash) @@ -42,7 +42,7 @@ tasks.register("Delete", Delete::class) { fun Project.configureBaseExtension() { extensions.findByType(LibraryExtension::class)?.run { - namespace = "icu.nullptr.zygisksu" + namespace = "icu.nullptr.zygisk.next" compileSdk = androidCompileSdkVersion ndkVersion = androidCompileNdkVersion buildToolsVersion = androidBuildToolsVersion diff --git a/module/src/customize.sh b/module/src/customize.sh index 1575ac69..fb341ed9 100644 --- a/module/src/customize.sh +++ b/module/src/customize.sh @@ -31,7 +31,7 @@ if [ "$BOOTMODE" ] && [ "$KSU" ]; then if [ "$(which magisk)" ]; then ui_print "*********************************************************" 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 "*********************************************************" fi elif [ "$BOOTMODE" ] && [ "$MAGISK_VER_CODE" ]; then @@ -50,7 +50,7 @@ else fi VERSION=$(grep_prop version "${TMPDIR}/module.prop") -ui_print "- Installing Zygisksu $VERSION" +ui_print "- Installing Zygisk Next $VERSION" # check android if [ "$API" -lt 29 ]; then diff --git a/module/src/module.prop b/module/src/module.prop index 10f47dc6..5659962a 100644 --- a/module/src/module.prop +++ b/module/src/module.prop @@ -3,5 +3,5 @@ name=${moduleName} version=${versionName} versionCode=${versionCode} author=Nullptr, 5ec1cff -description=Run Zygisk on KernelSU. -updateJson=https://api.nullptr.icu/android/zygisk-on-kernelsu/static/update.json +description=Standalone implementation of Zygisk. +updateJson=https://api.nullptr.icu/android/zygisk-next/static/update.json diff --git a/module/src/post-fs-data.sh b/module/src/post-fs-data.sh index 1dd0a708..1981d285 100644 --- a/module/src/post-fs-data.sh +++ b/module/src/post-fs-data.sh @@ -12,7 +12,7 @@ if [ "$(which magisk)" ]; then if [ -d "$file" ] && [ -d "$file/zygisk" ] && ! [ -f "$file/disable" ]; then if [ -f "$file/post-fs-data.sh" ]; then 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)" cd "$MODDIR" fi diff --git a/module/src/service.sh b/module/src/service.sh index e892dea0..012a291e 100644 --- a/module/src/service.sh +++ b/module/src/service.sh @@ -14,7 +14,7 @@ if [ "$(which magisk)" ]; then if [ -d "$file" ] && [ -d "$file/zygisk" ] && ! [ -f "$file/disable" ]; then if [ -f "$file/service.sh" ]; then 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)" cd "$MODDIR" fi diff --git a/settings.gradle.kts b/settings.gradle.kts index e0bb43f5..0995e84b 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -16,7 +16,7 @@ dependencyResolutionManagement { } } -rootProject.name = "ZygiskOnKernelSU" +rootProject.name = "ZygiskNext" include( ":loader", ":module", diff --git a/zygiskd/src/constants.rs b/zygiskd/src/constants.rs index 6e339eae..f367e90a 100644 --- a/zygiskd/src/constants.rs +++ b/zygiskd/src/constants.rs @@ -33,8 +33,8 @@ pub const PATH_PTRACE_BIN32: &str = "bin/zygisk-ptrace32"; pub const PATH_PTRACE_BIN64: &str = "bin/zygisk-ptrace64"; -pub const STATUS_LOADED: &str = "😋 Zygisksu is loaded"; -pub const STATUS_CRASHED: &str = "❌ Zygiskd has crashed"; +pub const STATUS_LOADED: &str = "😋 Zygisk Next is loaded"; +pub const STATUS_CRASHED: &str = "❌ Zygisk Next has crashed"; 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_ABNORMAL: &str = "❌ Abnormal root implementation version";