RikkaApps / Riru

Inject into zygote process
4.79k stars 572 forks source link

[Bug] #292

Closed HappyDru closed 2 years ago

HappyDru commented 2 years ago

This is a bug of Riru itself

Other modules are disabled

Riru version

25.* and later

Android version

11

Device

Xiaomi Mi 9T PRO

Describe the bug

Hi!

Since versions 25.* I have the problem on two devices that after installing riru in Magisk I cannot install EdExposed or LSPosed. During the experiment, it is always reported that riru is not installed.

This affects my HTC 10 and my Xiaomi Mi 9T PRO. Both devices are correctly rooted and run with CustomRoms.

HTC 10 : AICP v.15 / Android 10 Magisk v23 riru master 25. or 26. (installed via Magisk)

Xiaomi Mi 9T PRO crDroid 7.10 / Android 11 Magisk v23 riru master 25. or 26. (installed via Magisk)

If I next want to install the module EdXposed-v0.5.2.2-4683-master.zip or LSPosed-v1.5.1-5898-release.zip on both devices under Magisk, the above message comes up that riru is not installed. Magisk then leads me directly to the website on github.

However, if I install riru-v23.8-release.zip on both devices, I can install both EdExposed and LSPosed. I also had a version starting with 24 that worked, but I can't find it anymore. Since version 25.* it no longer works for me. And that on two different devices with different CustomRoms.

I also tryed the latest debug-version riru-v26.0.5-debug.zip with the same result. I have no idea how to debug this and therefore I use the old version of riru so that I can use EdXposed. I need this for XPrivacyLua.

Kind regards R

Relevant logs

1. riru-v26.1.3.release513.zip
##############################

- Copying zip to temp directory
- Installing riru-v26.1.3.release513.zip
- Device is system-as-root
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: module.prop
************************
 Riru 
 by Rikka, yujincheng08 
************************
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: customize.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: verify.sh
*******************
 Powered by Magisk 
*******************
- Installing from Magisk app
- Installing Riru v26.1.3.r513.8e95115fd4 (Riru API 26)
- Magisk version: 23.0 (23000)
- Device sdk: 30
- Device platform: arm64
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
   creating: META-INF/com/google/android/
  inflating: META-INF/com/google/android/update-binary.sha256sum
  inflating: META-INF/com/google/android/update-binary
  inflating: META-INF/com/google/android/updater-script.sha256sum
  inflating: META-INF/com/google/android/updater-script
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: customize.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: customize.sh.sha256sum
- Verified META-INF/com/google/android/update-binary
- Verified customize.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: verify.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: verify.sh.sha256sum
- Verified verify.sh
- Extracting Magisk files
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: module.prop
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: module.prop.sha256sum
- Verified module.prop
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: post-fs-data.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: post-fs-data.sh.sha256sum
- Verified post-fs-data.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: service.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: service.sh.sha256sum
- Verified service.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: system.prop
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: system.prop.sha256sum
- Verified system.prop
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: util_functions.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: util_functions.sh.sha256sum
- Verified util_functions.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: uninstall.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: uninstall.sh.sha256sum
- Verified uninstall.sh
rm: can't remove '/dev/gTBOw7i/.magisk/modules/riru-core/util_functions.sh': No such file or directory
- Extracting arm libraries
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: libriru.so
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: libriru.so.sha256sum
- Verified lib/armeabi-v7a/libriru.so
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: libriruhide.so
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: libriruhide.so.sha256sum
- Verified lib/armeabi-v7a/libriruhide.so
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: libriruloader.so
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: libriruloader.so.sha256sum
- Verified lib/armeabi-v7a/libriruloader.so
- Extracting arm64 libraries
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: libriru.so
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: libriru.so.sha256sum
- Verified lib/arm64-v8a/libriru.so
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: libriruhide.so
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: libriruhide.so.sha256sum
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: libriruloader.so
- Verified lib/arm64-v8a/libriruhide.so
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: libriruloader.so.sha256sum
- Verified lib/arm64-v8a/libriruloader.so
- Setting permissions
- Extracting rirud
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: rirud.apk
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: rirud.apk.sha256sum
- Verified rirud.apk
- Checking if your ROM has incorrect SELinux rules
- Start checks...
- No problem found
rm: can't remove '/data/adb/riru/api_version.new': No such file or directory
- Removing old files
rm: can't remove '/data/adb/riru/version_code.new': No such file or directory
rm: can't remove '/data/adb/riru/version_name.new': No such file or directory
rm: can't remove '/data/adb/riru/enable_hide': No such file or directory
rm: can't remove '/data/adb/riru/api_version': No such file or directory
rm: can't remove '/data/adb/riru/util_functions.sh': No such file or directory
rm: can't remove '/data/misc/riru/api_version': No such file or directory
rm: can't remove '/data/misc/riru/version_code': No such file or directory
rm: can't remove '/data/misc/riru/version_name': No such file or directory
sh: 1: unknown operand
rmdir: '/data/adb/modules_update/riru-core': Directory not empty
- Done

####################################
2. Reboot
####################################
3. EdXposed-v0.5.2.2-4683-master.zip
####################################

- Copying zip to temp directory
- Installing EdXposed-v0.5.2.2-4683-master.zip
- Device is system-as-root
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: module.prop
***********************
 Riru - EdXposed 
 by solohsu, MlgmXyysd 
***********************
*******************
 Powered by Magisk 
*******************
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: customize.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
cat: can't open '/dev/tmp/de_DE.sh.s': No such file or directory
sha256sum: can't open '/dev/tmp/de_DE.sh': No such file or directory
- EdXposed version v0.5.2.2_4683-master
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: verify.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: customize.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: customize.sh.s
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: util_functions.sh
- Verified customize.sh
Archive:  /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
  inflating: util_functions.sh.s
- Verified util_functions.sh
- Android SDK version: 30
- Magisk version: 23000
*********************************************************
! is not installed
! Please install Riru from Magisk Manager
*********************************************************
! Installation failed
github-actions[bot] commented 2 years ago

Automatically closing this issue since it may be EdXposed relative. EdXposed is out of maintenance. If you want to use Xposed Framework, use the original Xposed, LSPosed, Taichi or Dreamland instead.

github-actions[bot] commented 2 years ago

Automatically closing this issue since Exposed (aka Taichi) does not require Riru.