RikkaApps / Riru

Inject into zygote process
4.9k stars 567 forks source link

Riru未被載入,原因未知 #290

Closed kwaiching closed 3 years ago

kwaiching commented 3 years ago

Please report bugs of Riru itself. Always use the latest debug version of Riru, and make sure any other modules are disabled.

Reports not meet the requirements will be immediately closed.

Information:

Logs:

2021-10-07 14:10:43.376 681-687/? I/Magisk: Upgrade / New module: riru-core 2021-10-07 14:10:43.380 728-728/? I/Magisk: riru-core: exec [post-fs-data.sh] 2021-10-07 14:10:43.432 681-687/? I/Magisk: riru-core: loading [system.prop] 2021-10-07 14:10:43.433 681-687/? I/Magisk: riru-core: loading mount files 2021-10-07 14:10:43.692 767-767/? I/zygote64: option[46]=-XX:NativeBridge=libriruloader.so 2021-10-07 14:10:43.883 681-894/? I/Magisk: riru-core: exec [service.sh] 2021-10-07 14:10:43.912 767-767/? I/Riru64: Riru v26.1.2 (505) in zygote64 2021-10-07 14:10:43.912 767-767/? I/Riru64: Android 8.1.0 (api 27, preview_api 0) 2021-10-07 14:10:43.912 767-767/? W/Riru64: retrying to connect rirud in 1s 2021-10-07 14:10:44.169 737-737/? I/rirud: The ClassLoaderContext is a special shared library. 2021-10-07 14:10:44.169 737-737/? W/rirud: Failed to find OatDexFile for DexFile /data/adb/modules/riru-core/rirud.apk (canonical path /data/adb/modules/riru-core/rirud.apk) in OatFile /data/adb/modules/riru-core/oat/arm64/rirud.odex 2021-10-07 14:10:44.175 768-768/? I/zygote: option[46]=-XX:NativeBridge=libriruloader.so 2021-10-07 14:10:44.290 737-737/? D/AndroidRuntime: Calling main entry riru.Daemon 2021-10-07 14:10:44.299 737-1096/? I/RiruDaemon: Set socket context to u:r:zygote:s0 2021-10-07 14:10:44.299 737-1096/? D/RiruDaemon: Start server 2021-10-07 14:10:44.299 737-1096/? D/RiruDaemon: Accept 2021-10-07 14:10:44.365 768-768/? I/Riru: Riru v26.1.2 (505) in zygote 2021-10-07 14:10:44.365 768-768/? I/Riru: Android 8.1.0 (api 27, preview_api 0) 2021-10-07 14:10:44.365 737-1096/? D/RiruDaemon: Accepted uid=0, pid=768, context=u:r:zygote:s0 2021-10-07 14:10:44.366 737-1096/? D/RiruDaemon: Accept 2021-10-07 14:10:44.367 737-1103/? I/RiruDaemon: Action 6 2021-10-07 14:10:44.367 737-1103/? I/RiruDaemon: Action: read Magisk tmpfs path 2021-10-07 14:10:44.367 737-1103/? I/RiruDaemon: Handle action 6 finished 2021-10-07 14:10:44.367 768-768/? E/linker: library "/sbin/.magisk/modules/riru-core/lib/libriru.so" ("/sbin/.magisk/modules/riru-core/lib/libriru.so") needed or dlopened by "/system/lib/libriruloader.so" is not accessible for the namespace: [name="(default)", ld_library_paths="", default_library_paths="/system/lib", permitted_paths="/system/lib/drm:/system/lib/hw:/system/framework:/system/app:/system/priv-app:/vendor/app:/vendor/framework:/oem/app:/data:/mnt/expand"] 2021-10-07 14:10:44.367 768-768/? E/Riru: dlopen /sbin/.magisk/modules/riru-core/lib/libriru.so: dlopen failed: library "/sbin/.magisk/modules/riru-core/lib/libriru.so" needed or dlopened by "/system/lib/libriruloader.so" is not accessible for the namespace "(default)" 2021-10-07 14:10:44.367 768-768/? E/Riru: dlopen riru.so (null) 2021-10-07 14:10:44.367 737-1103/? I/RiruDaemon: No next action, exiting... 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core/lib64/libriruhide.so 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core/lib64/libriru.so 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core/lib64 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core/system/lib64/libriruloader.so 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core/system/lib64 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core/system 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core/lib/libriru.so 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core/lib/libriruhide.so 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core/lib 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core/system/lib/libriruloader.so 2021-10-07 14:10:44.392 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core/system/lib 2021-10-07 14:10:44.393 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core/system 2021-10-07 14:10:44.393 737-737/? D/RiruDaemon: u:object_r:system_file:s0 /sbin/.magisk/modules/riru-core 2021-10-07 14:10:44.443 737-737/? I/RiruDaemon: Magisk version is 23000 2021-10-07 14:10:44.443 737-737/? I/RiruDaemon: Magisk tmpfs path is /sbin 2021-10-07 14:10:44.443 737-737/? I/RiruDaemon: Original native bridge is 0 2021-10-07 14:10:44.447 737-737/? I/RiruDaemon: Generated dev random zc2Z7qd 2021-10-07 14:10:44.448 737-737/? I/RiruDaemon: Dev random is zc2Z7qd 2021-10-07 14:10:44.451 737-737/? I/RiruDaemon: clear ServiceManager 2021-10-07 14:10:44.452 737-737/? I/RiruDaemon: Service activity not found, wait 1s... 2021-10-07 14:10:44.912 737-1096/? D/RiruDaemon: Accepted uid=0, pid=767, context=u:r:zygote:s0 2021-10-07 14:10:44.913 737-1096/? D/RiruDaemon: Accept 2021-10-07 14:10:44.913 737-1174/? I/RiruDaemon: Action 6 2021-10-07 14:10:44.913 737-1174/? I/RiruDaemon: Action: read Magisk tmpfs path 2021-10-07 14:10:44.913 737-1174/? I/RiruDaemon: Handle action 6 finished 2021-10-07 14:10:44.915 767-767/? E/linker: library "/sbin/.magisk/modules/riru-core/lib64/libriru.so" ("/sbin/.magisk/modules/riru-core/lib64/libriru.so") needed or dlopened by "/system/lib64/libriruloader.so" is not accessible for the namespace: [name="(default)", ld_library_paths="", default_library_paths="/system/lib64", permitted_paths="/system/lib64/drm:/system/lib64/hw:/system/framework:/system/app:/system/priv-app:/vendor/app:/vendor/framework:/oem/app:/data:/mnt/expand"] 2021-10-07 14:10:44.915 767-767/? E/Riru64: dlopen /sbin/.magisk/modules/riru-core/lib64/libriru.so: dlopen failed: library "/sbin/.magisk/modules/riru-core/lib64/libriru.so" needed or dlopened by "/system/lib64/libriruloader.so" is not accessible for the namespace "(default)" 2021-10-07 14:10:44.915 767-767/? E/Riru64: dlopen riru.so (null) 2021-10-07 14:10:44.915 737-1174/? I/RiruDaemon: No next action, exiting... 2021-10-07 14:10:45.452 737-737/? I/RiruDaemon: Service activity not found, wait 1s... 2021-10-07 14:10:46.470 737-737/? W/RiruDaemon: Process 767 has zygote context but did not load riru 2021-10-07 14:10:46.470 737-737/? W/RiruDaemon: Riru is not loaded. 2021-10-07 14:10:46.470 737-737/? W/RiruDaemon: Restarting zygote... 2021-10-07 14:10:46.512 737-1098/? I/RiruDaemon: Zygote is probably dead, restart rirud socket... 2021-10-07 14:10:46.512 737-1098/? I/RiruDaemon: Zygote is probably dead, reset native bridge to libriruloader.so... 2021-10-07 14:10:46.562 737-1098/? I/RiruDaemon: Exec resetprop exited with 0 2021-10-07 14:10:46.562 737-1098/? I/RiruDaemon: Zygote is probably dead, delete existing /dev/riru folders... 2021-10-07 14:10:46.563 737-1098/? I/RiruDaemon: Attempt to delete /dev/riru_zc2Z7qd... 2021-10-07 14:10:46.563 737-1098/? I/RiruDaemon: Attempt to delete /dev/riru64_zc2Z7qd... 2021-10-07 14:10:46.563 737-1098/? I/RiruDaemon: Restart server 2021-10-07 14:10:46.563 737-1098/? W/RiruDaemon: Socket is not null while restarting server 2021-10-07 14:10:46.563 737-737/? I/RiruDaemon: clear ServiceManager 2021-10-07 14:10:46.563 737-737/? I/RiruDaemon: Service activity not found, wait 1s... 2021-10-07 14:10:47.564 737-737/? I/RiruDaemon: Service activity not found, wait 1s... 2021-10-07 14:10:48.565 737-737/? I/RiruDaemon: Service activity not found, wait 1s... 2021-10-07 14:10:48.687 1678-1678/? I/zygote64: option[46]=-XX:NativeBridge=libriruloader.so 2021-10-07 14:10:48.709 1679-1679/? I/zygote: option[46]=-XX:NativeBridge=libriruloader.so 2021-10-07 14:10:48.729 1678-1678/? I/Riru64: Riru v26.1.2 (505) in zygote64 2021-10-07 14:10:48.729 1678-1678/? I/Riru64: Android 8.1.0 (api 27, preview_api 0) 2021-10-07 14:10:48.729 737-1096/? D/RiruDaemon: Accepted uid=0, pid=1678, context=u:r:zygote:s0 2021-10-07 14:10:48.730 737-1096/? D/RiruDaemon: Accept 2021-10-07 14:10:48.730 737-1690/? I/RiruDaemon: Action 6 2021-10-07 14:10:48.730 737-1690/? I/RiruDaemon: Action: read Magisk tmpfs path 2021-10-07 14:10:48.731 737-1690/? I/RiruDaemon: Handle action 6 finished 2021-10-07 14:10:48.731 1678-1678/? E/linker: library "/sbin/.magisk/modules/riru-core/lib64/libriru.so" ("/sbin/.magisk/modules/riru-core/lib64/libriru.so") needed or dlopened by "/system/lib64/libriruloader.so" is not accessible for the namespace: [name="(default)", ld_library_paths="", default_library_paths="/system/lib64", permitted_paths="/system/lib64/drm:/system/lib64/hw:/system/framework:/system/app:/system/priv-app:/vendor/app:/vendor/framework:/oem/app:/data:/mnt/expand"] 2021-10-07 14:10:48.731 1678-1678/? E/Riru64: dlopen /sbin/.magisk/modules/riru-core/lib64/libriru.so: dlopen failed: library "/sbin/.magisk/modules/riru-core/lib64/libriru.so" needed or dlopened by "/system/lib64/libriruloader.so" is not accessible for the namespace "(default)" 2021-10-07 14:10:48.731 1678-1678/? E/Riru64: dlopen riru.so (null) 2021-10-07 14:10:48.731 737-1690/? I/RiruDaemon: No next action, exiting... 2021-10-07 14:10:48.747 1679-1679/? I/Riru: Riru v26.1.2 (505) in zygote 2021-10-07 14:10:48.747 1679-1679/? I/Riru: Android 8.1.0 (api 27, preview_api 0) 2021-10-07 14:10:48.747 737-1096/? D/RiruDaemon: Accepted uid=0, pid=1679, context=u:r:zygote:s0 2021-10-07 14:10:48.747 737-1096/? D/RiruDaemon: Accept 2021-10-07 14:10:48.747 737-1103/? I/RiruDaemon: Action 6 2021-10-07 14:10:48.748 737-1103/? I/RiruDaemon: Action: read Magisk tmpfs path 2021-10-07 14:10:48.748 737-1103/? I/RiruDaemon: Handle action 6 finished 2021-10-07 14:10:48.748 1679-1679/? E/linker: library "/sbin/.magisk/modules/riru-core/lib/libriru.so" ("/sbin/.magisk/modules/riru-core/lib/libriru.so") needed or dlopened by "/system/lib/libriruloader.so" is not accessible for the namespace: [name="(default)", ld_library_paths="", default_library_paths="/system/lib", permitted_paths="/system/lib/drm:/system/lib/hw:/system/framework:/system/app:/system/priv-app:/vendor/app:/vendor/framework:/oem/app:/data:/mnt/expand"] 2021-10-07 14:10:48.748 1679-1679/? E/Riru: dlopen /sbin/.magisk/modules/riru-core/lib/libriru.so: dlopen failed: library "/sbin/.magisk/modules/riru-core/lib/libriru.so" needed or dlopened by "/system/lib/libriruloader.so" is not accessible for the namespace "(default)" 2021-10-07 14:10:48.748 1679-1679/? E/Riru: dlopen riru.so (null) 2021-10-07 14:10:48.748 737-1103/? I/RiruDaemon: No next action, exiting... 2021-10-07 14:10:49.565 737-737/? I/RiruDaemon: Service activity not found, wait 1s... 2021-10-07 14:10:50.625 737-737/? W/RiruDaemon: Process 1678 has zygote context but did not load riru 2021-10-07 14:10:50.625 737-737/? W/RiruDaemon: Riru is not loaded. 2021-10-07 14:10:50.625 737-737/? W/RiruDaemon: Restarting zygote does not help 2021-10-07 14:10:51.920 2002-2002/? I//system/bin/webview_zygote32: option[46]=-XX:NativeBridge=libriruloader.so 2021-10-07 14:17:47.468 5285-5285/? W/Riru64: not zygote (cmdline=/system/bin/app_process)

Describe the bug:

Riru未被載入,原因未知

RikkaW commented 3 years ago

试试 https://github.com/RikkaApps/Riru/actions/runs/1317099807