RikkaApps / Riru

Inject into zygote process
4.9k stars 567 forks source link

[Bug] Updated Magisk, now I get this error. #295

Closed QuartzWarrior closed 3 years ago

QuartzWarrior commented 3 years ago

This is a bug of Riru itself

Other modules are disabled

Riru version

v25.4.4.r426.05efc94

Android version

11

Device

Oneplus 7 Pro

Describe the bug

Riru just doesn't work.

Relevant logs

Riru not installed or not enabled.

Property "ro.dalvik.vm.native.bridge" is not "libriruloader.so".

Make sure you are not using other module which changes this property.

A typical example is, some "optimize" modules changes this property. Since changing this property is meaningless for "optimization", their quality is very questionable. In fact, changing properties for optimization is a joke.

File contents:
/data/adb/riru/dev_random: uOfOD6P
/dev/riru_uOfOD6P not exist
ro.dalvik.vm.native.bridge=0
RikkaW commented 3 years ago

If Zygisk is enabled, Riru will be disabled.

Evengard commented 2 years ago

Won't there be some kind of "Riru compat layer" for such cases, to allow run existing Riru modules on top of Zygisk? Eg loading Riru not directly, but through Zygisk, or just shiming the modules to Zygisk somehow?