PerformanC / ReZygisk

Standalone implementation of Zygisk but better.
GNU General Public License v3.0
76 stars 6 forks source link

[Bug] Can not get ReZygisk daemon version #14

Closed RinLin-NYA closed 5 days ago

RinLin-NYA commented 5 days ago

Steps to reproduce/复现步骤

  1. Open an Terminal application and grants SuperUser privilege.
  2. change directory to /data/adb/modules/zygisksu/bin
  3. run command ./zygiskd64 --version or ./zygiskd32 --version

In my fork Kasumi-Ushio/ReZygisk, reproduce step is as follows:

  1. Add these code to webroot/js/main.js: https://pastebin.mozilla.org/yxqv9Pzo
  2. Build module zips via Github Actions
  3. Flash in KernelSU Manager
  4. Reboot
  5. Open KernelSU Manager, and open WebUI

Expected behaviour/预期行为

Both zygiskd64 and zygiskd32 should return a string like this

ReZygisk daemon v1.0.0-213-2be1ccc-release

Actual behaviour/实际行为

At console, zygiskd64 returns this:

thread 'main' panicked at src/main.rs:36:21: zygiskd main: environment variable not found note: run with RUST_BACKTRACE=1 environment variable to display a backtrace Aborted

KernelSU Module List/KernelSU 模块列表

zygisksu(ReZygisk)
zygisk_lsposed(LSPosed_mod)
zygisk_shamiko(Shamiko)
zygisk_assistant(Zygisk Assistant)

ReZygisk version/ReZygisk 版本

v1.0.0-225-03cca55-release

Android version/Android 版本

Android 14 UKQ1.230804.001

KernelSU version/KernelSU 版本

ksud 11874

Version requirement/版本要求

Logs/日志

KernelSU_bugreport_2024-06-28_14_15.tar.gz This log is fetched when running my fork build, but the behavior is same in ReZygisk's original build.

ThePedroo commented 5 days ago

You are confusing zygiskd version with zygiskd --version, which works.

RinLin-NYA commented 5 days ago

Oh, it's my fault. Sorry