JingMatrix / LSPosed

LSPosed Framework resuscitated
https://lsposed.org
GNU General Public License v3.0
1.99k stars 57 forks source link

Manager didn't start and modules stop working in latest ci version #56

Closed CyanChanges closed 1 month ago

CyanChanges commented 1 month ago

Steps to reproduce/复现步骤

  1. Download the module from Github Actions
  2. Install the module. Reboot
  3. Try start LSPosed Manager via Notification
  4. zygote64 crashed and LSPosed Manager (Shell) stopped working

Expected behaviour/预期行为

Open the manager

Actual behaviour/实际行为

zygote64 crashed

Xposed Module List/Xposed 模块列表

Hide My Applist
BiliRoaming
ChromeXt
Lyric Getter
Lyric StatusBar

May be more, but i checked the modules i am sure activated before in the manager but all these modules shows "Module not activated".

Magisk Module List/Magisk 模块列表

Full module information from KernelSU

[
  {
    "id": "zygisk_lsposed",
    "update": "false",
    "author": "Jing Matrix & LSPosed Developers",
    "description": "Another enhanced implementation of Xposed Framework. Supports Android 8.1 ~ 15 Beta 4. Requires Magisk 26.0+ and Zygisk enabled.",
    "enabled": "true",
    "name": "Zygisk - LSPosed",
    "web": "true",
    "version": "v1.10.0 (7107)",
    "versionCode": "7107",
    "remove": "false",
    "updateJson": "https://raw.githubusercontent.com/JingMatrix/LSPosed/master/magisk-loader/update/zygisk.json"
  },
  {
    "enabled": "true",
    "web": "false",
    "remove": "false",
    "author": "swangjang",
    "id": "VoLTE_switch_and_chinese_korean_sim_support_pixel_4a(5G)_5",
    "name": "VoLTE switch and Chinese Korean SIM support for Pixel 4a(5G) and Pixel 5",
    "versionCode": "1",
    "version": "v1",
    "description": "This module enables the VoLTE switch in your settings and adds Chinese and Korean Carrier mbn files for Pixel 4a(5G) and Pixel 5.",
    "update": "false"
  },
  {
    "updateJson": "https://5ec1cff.github.io/TrickyStore/update.json",
    "update": "false",
    "id": "tricky_store",
    "description": "A trick of keystore",
    "author": "5ec1cff",
    "version": "v1.2.0-RC2 (149-323b944-release)",
    "remove": "false",
    "name": "Tricky Store",
    "enabled": "true",
    "web": "false",
    "versionCode": "149"
  },
  {
    "author": "Nullptr, 5ec1cff",
    "name": "Zygisk Next",
    "versionCode": "408",
    "remove": "false",
    "updateJson": "https://api.nullptr.icu/android/zygisk-next/static/update.json",
    "enabled": "true",
    "id": "zygisksu",
    "version": "1.2.0-Preview3 (408-552787c-release)",
    "description": "[😋Zygote64 Injected. Root: ✅KernelSU (11976),DE] Standalone implementation of Zygisk.",
    "update": "false",
    "web": "true"
  },
  {
    "name": "Play Integrity Fix",
    "description": "Universal modular fix for Play Integrity (and SafetyNet) on devices running Android 8-15",
    "id": "playintegrityfix",
    "versionCode": "17600",
    "author": "chiteroman",
    "updateJson": "https://raw.githubusercontent.com/chiteroman/PlayIntegrityFix/main/update.json",
    "version": "v17.6",
    "enabled": "true",
    "update": "false",
    "web": "false",
    "remove": "false"
  },
  {
    "id": "magisk-tailscaled",
    "version": "v1.66.4.1",
    "author": "anasfanani",
    "update": "false",
    "versionCode": "01660401",
    "name": "Magisk Tailscaled",
    "updateJson": "https://raw.githubusercontent.com/anasfanani/Magisk-Tailscaled/master/update-arm64.json",
    "enabled": "true",
    "remove": "false",
    "web": "false",
    "description": "[ ⏲ 10:18 am | ✔ tailscaled service is running!!! ] Tailscale. The easiest, most secure way to use WireGuard and 2FA."
  },
  {
    "author": "shadow3",
    "description": "Frame aware scheduling for android. Requires Magisk 24.0+ and Zygisk enabled.",
    "name": "Zygisk - fas-rs",
    "versionCode": "301",
    "enabled": "true",
    "web": "false",
    "remove": "false",
    "id": "fas_rs",
    "version": "v3.0.1",
    "updateJson": "https://github.com/shadow3aaa/fas-rs/raw/master/update/update_zygisk_en.json",
    "update": "false"
  },
  {
    "remove": "false",
    "id": "zygisk-sui",
    "web": "false",
    "updateJson": "https://rikkaapps.github.io/release/sui_zygisk.json",
    "author": "Rikka",
    "description": "Modern superuser interface implementation. This module requires Magisk 24.0+ and Zygisk enabled. DO NOT add SystemUI and Settings to DenyList.",
    "enabled": "true",
    "update": "false",
    "name": "Zygisk - Sui",
    "versionCode": "319",
    "version": "v13.5.1"
  },
  {
    "versionCode": "240810",
    "author": "Matt Yang(吟惋兮改)",
    "updateJson": "https://github.com/yinwanxi/Uperf-Game-Turbo/raw/master/version.json",
    "version": "️1.37 based on uperf 904",
    "enabled": "true",
    "update": "false",
    "name": "Uperf Game Turbo",
    "web": "false",
    "ASOPT_VERSIONCODE": "269",
    "remove": "false",
    "id": "uperf",
    "description": "❤️欢迎使用Uperf Game Turbo,使用时有问题可反馈至yinwanxi0107@gmail.com❤️///❤️Welcome to use Uperf Game Turbo. If you have any questions, please send feedback to yinwanxi0107@gmail.com❤️"
  },
  {
    "description": "これで勝ったと思うなよ―――!!",
    "name": "Shamiko",
    "remove": "false",
    "enabled": "true",
    "updateJson": "https://lsposed.github.io/releases/shamiko.json",
    "update": "true",
    "id": "zygisk_shamiko",
    "web": "false",
    "author": "LSPosed Developers",
    "versionCode": "357",
    "version": "v1.1.1 (357)"
  },
  {
    "remove": "false",
    "updateJson": "https://rikkaapps.github.io/release/si_zygisk.json",
    "update": "false",
    "versionCode": "89",
    "author": "Rikka",
    "version": "v29.0.1",
    "description": "Enable Enhanced mode for Storage Isolation. This module requires Magisk 24.0+ and Zygisk enabled.",
    "name": "Zygisk - Enhanced mode for Storage Isolation",
    "enabled": "true",
    "web": "false",
    "id": "zygisk-storage-isolation"
  }
]

LSPosed version/LSPosed 版本

7107

Android version/Android 版本

Android 15 (BuildID AP41.240726.009)

Magisk version/Magisk 版本

KernelSU 11976

Riru version/Riru 版本

N/A

Version requirement/版本要求

Logs/日志

LSPosed Manager crashed so i don't know how to enable debug logs. If needed, tell me how to do and i will provide it. But I have log from LogFox here:


Build fingerprint: 'google/husky_beta/husky:15/AP41.240726.009/12231213:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2024-10-03 10:27:10.141289933+0800
Process uptime: 0s
Cmdline: zygote64
pid: 19087, tid: 19087, name: main  >>> zygote64 <<<
uid: 2000
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'JNI FatalError called: (org.lsposed.manager) frameworks/base/core/jni/com_android_internal_os_Zygote.cpp:2136: selinux_android_setcontext(2000, 0, "platform:privapp:targetSdkVersion=35:partition=system:complete", "org.lsposed.manager") failed'
    x0  0000000000000000  x1  0000000000004a8f  x2  0000000000000006  x3  0000007fdd5bf2d0
    x4  666d6873716e6160  x5  666d6873716e6160  x6  666d6873716e6160  x7  7f7f7f7f7f7f7f7f
    x8  00000000000000f0  x9  000000752264a5b8  x10 0000000000000001  x11 000000752269c410
    x12 0000007fdd5be010  x13 00000000000009dc  x14 0000007fdd5be0c0  x15 0000000315fd6a8e
    x16 0000007522706048  x17 00000075226ef570  x18 0000007527374000  x19 0000000000004a8f
    x20 0000000000004a8f  x21 00000000ffffffff  x22 000000725b228180  x23 0000007526eeaa80
    x24 00000000000000ff  x25 00000000000007d0  x26 0000007fdd5bf7c1  x27 0000007fdd5c78b0
    x28 0000007fdd5c78b0  x29 0000007fdd5bf350
    lr  0000007522684b28  sp  0000007fdd5bf2b0  pc  0000007522684b54  pst 0000000000001000
27 total frames
backtrace:
  NOTE: Function names and BuildId information is missing for some frames due
  NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
  NOTE: found under the lib/ directory are readable.
  NOTE: On this device, run setenforce 0 to make the libraries readable.
  NOTE: Unreadable libraries:
  NOTE:   /data/adb/modules/zygisksu/lib64/libzygisk.so
      #00 pc 000000000005db54  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: f2d672d4e6a2ed452a7f4fb7e9c29da2)
      #01 pc 000000000092f3fc  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+344) (BuildId: dcb9fe2b5c99aa3f1a682a6008427d08)
      #02 pc 00000000000160fc  /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_0::__invoke(char const*)+80) (BuildId: 42d41ca7c77853791d096606e7186547)
      #03 pc 00000000000156d0  /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+516) (BuildId: 42d41ca7c77853791d096606e7186547)
      #04 pc 00000000008b814c  /apex/com.android.art/lib64/libart.so (art::JNI<true>::FatalError(_JNIEnv*, char const*)+196) (BuildId: dcb9fe2b5c99aa3f1a682a6008427d08)
      #05 pc 0000000000204ea4  /system/lib64/libandroid_runtime.so (android::zygote::ZygoteFailure(_JNIEnv*, char const*, _jstring*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)+196) (BuildId: aa0e88cc33cfe9e4902a94d06f7089ca)
      #06 pc 0000000000210dc8  /system/lib64/libandroid_runtime.so ((anonymous namespace)::SpecializeCommon(_JNIEnv*, unsigned int, unsigned int, _jintArray*, int, _jobjectArray*, long, long, long, int, _jstring*, _jstring*, bool, bool, _jstring*, _jstring*, bool, _jobjectArray*, _jobjectArray*, bool, bool, bool)+25640) (BuildId: aa0e88cc33cfe9e4902a94d06f7089ca)
      #07 pc 000000000020917c  /system/lib64/libandroid_runtime.so (android::com_android_internal_os_Zygote_nativeSpecializeAppProcess(_JNIEnv*, _jclass*, int, int, _jintArray*, int, _jobjectArray*, int, _jstring*, _jstring*, unsigned char, _jstring*, _jstring*, unsigned char, _jobjectArray*, _jobjectArray*, unsigned char, unsigned char, unsigned char)+316) (BuildId: aa0e88cc33cfe9e4902a94d06f7089ca)
      #08 pc 000000000008ae98  /data/adb/modules/zygisksu/lib64/libzygisk.so
      #09 pc 000000000020db9c  /system/framework/arm64/boot-framework.oat (art_jni_trampoline+316) (BuildId: 0292b851a7fbebadd41ef41cff8f4cdb1c5c0dc8)
      #10 pc 000000000077ebd8  /apex/com.android.art/lib64/libart.so (nterp_helper+2152) (BuildId: dcb9fe2b5c99aa3f1a682a6008427d08)
      #11 pc 00000000001db3d2  /system/framework/framework.jar
      #12 pc 000000000077eb54  /apex/com.android.art/lib64/libart.so (nterp_helper+2020) (BuildId: dcb9fe2b5c99aa3f1a682a6008427d08)
      #13 pc 00000000001dad32  /system/framework/framework.jar
      #14 pc 000000000077e3a4  /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: dcb9fe2b5c99aa3f1a682a6008427d08)
      #15 pc 00000000001daec4  /system/framework/framework.jar
      #16 pc 00000000007f8a48  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteConnection.processCommand+984) (BuildId: 0292b851a7fbebadd41ef41cff8f4cdb1c5c0dc8)
      #17 pc 00000000007fa24c  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteServer.runSelectLoop+2092) (BuildId: 0292b851a7fbebadd41ef41cff8f4cdb1c5c0dc8)
      #18 pc 0000000000808764  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2948) (BuildId: 0292b851a7fbebadd41ef41cff8f4cdb1c5c0dc8)
      #19 pc 0000000000362a40  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: dcb9fe2b5c99aa3f1a682a6008427d08)
      #20 pc 000000000034df38  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+204) (BuildId: dcb9fe2b5c99aa3f1a682a6008427d08)
      #21 pc 000000000034beec  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+512) (BuildId: dcb9fe2b5c99aa3f1a682a6008427d08)
      #22 pc 00000000007398bc  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+104) (BuildId: dcb9fe2b5c99aa3f1a682a6008427d08)
      #23 pc 00000000000d9258  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+104) (BuildId: aa0e88cc33cfe9e4902a94d06f7089ca)
      #24 pc 00000000000ef3ec  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+844) (BuildId: aa0e88cc33cfe9e4902a94d06f7089ca)
      #25 pc 000000000000459c  /system/bin/app_process64 (main+1212) (BuildId: d4d26aeb3a61b9c169309edcba0c31e5)
      #26 pc 0000000000057324  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+116) (BuildId: f2d672d4e6a2ed452a7f4fb7e9c29da2)
CyanChanges commented 1 month ago

I found that enable "Enforce Denylist" in ZygiskNext 1.2.0 Preview3 breaks it, i don't know how they changed the behaviour of Enforce Denylist and breaks LSPosed. I enable it before and it was working correctly.

JingMatrix commented 1 month ago

Thanks for reporting, I will take it as a note.