RikkaApps / Riru

Inject into zygote process
4.84k stars 569 forks source link

Riru not installed or not enabled #234

Closed CaiusCosades closed 3 years ago

CaiusCosades commented 3 years ago

Information:

Logs:

---Magisk Logs---

23.0 (23000)

06-24 04:04:27.449  5042  5070 I : ** post-fs-data mode running
06-24 04:04:27.454  5042  5070 I : * Mounting mirrors
06-24 04:04:27.454  5042  5070 E : mount /sbin/.magisk/block/system->/sbin/.magisk/mirror/system failed with 16: Device or resource busy
06-24 04:04:27.454  5042  5070 I : mount: /sbin/.magisk/mirror/system
06-24 04:04:27.455  5042  5070 E : symlink /cache->/sbin/.magisk/mirror/cache failed with 17: File exists
06-24 04:04:27.455  5042  5070 I : link: /sbin/.magisk/mirror/cache
06-24 04:04:27.455  5042  5070 E : mount /sbin/.magisk/block/data->/sbin/.magisk/mirror/data failed with 16: Device or resource busy
06-24 04:04:27.455  5042  5070 I : mount: /sbin/.magisk/mirror/data
06-24 04:04:27.459  5042  5070 I : * Initializing Magisk environment
06-24 04:04:27.849  5042  5070 I : * Running post-fs-data.d scripts
06-24 04:04:27.851  5042  5070 I : * Running module post-fs-data scripts
06-24 04:04:27.852  5080  5080 I : riru-core: exec [post-fs-data.sh]
06-24 04:04:27.869  5080  5080 I : riru-core: exec [post-fs-data.sh]
06-24 04:04:27.887  5042  5070 I : * Loading modules
06-24 04:04:27.887  5042  5070 I : riru-core: loading [system.prop]
06-24 04:04:27.887  5042  5070 I : riru-core: loading mount files
06-24 04:04:27.887  5042  5070 E : lstat /sbin/.magisk/mirror/system/lib/libriruloader.so failed with 2: No such file or directory
06-24 04:04:27.887  5042  5070 E : lstat /sbin/.magisk/mirror/system/lib64/libriruloader.so failed with 2: No such file or directory
06-24 13:04:28.014  5042  5129 I : ** late_start service mode running
06-24 13:04:28.015  5042  5129 I : * Running service.d scripts
06-24 13:04:28.021  5042  5129 I : * Running module service scripts
06-24 13:04:28.021  5042  5129 I : riru-core: exec [service.sh]
06-24 13:05:11.414  5042  5941 I : ** boot_complete triggered

Describe the bug:

Riru doesn't seem to be working, even though it installed fine.

Additional context: Downloaded the debug zip from releases. Installed with Magisk, rebooted. Created a blank allow_install_app file in /data/adb/modules/riru-core/ Installed the Riru app from the archive. Here's what the Riru app says:

SELinux is enforcing and there are no incorrect rules related to Riru.

Riru not installed or not enabled.

Am I missing something? Please help. Attached a logcat reader log (for when I launched the app). logcat_06-24-2021_13-23-15.txt

RikkaW commented 3 years ago
06-24 04:04:27.454  5042  5070 E : mount /sbin/.magisk/block/system->/sbin/.magisk/mirror/system failed with 16: Device or resource busy
06-24 04:04:27.454  5042  5070 I : mount: /sbin/.magisk/mirror/system
06-24 04:04:27.455  5042  5070 E : symlink /cache->/sbin/.magisk/mirror/cache failed with 17: File exists
06-24 04:04:27.455  5042  5070 I : link: /sbin/.magisk/mirror/cache
06-24 04:04:27.455  5042  5070 E : mount /sbin/.magisk/block/data->/sbin/.magisk/mirror/data failed with 16: Device or resource busy

These logs show that Magisk mount is not working properly. You will find that any other modules which need to mount files will not work as well.