github RikkaApps/Riru v7

latest releases: v26.1.7, v26.1.6, v26.1.5...
pre-release5 years ago
  • hook jniRegisterNativeMethods rather than search memory
  • hook SystemProperties_set to prevent a critical problem on Android 9+ (see https://github.com/RikkaApps/Riru/blob/v7/riru-core/jni/main/jni_native_method.cpp#L162-L176)
  • try to solve a magic problem (see
    /*
    * Magic problem:
    * There is very low change that zygote process stop working and some processes forked from zygote
    * become zombie process.
    * When the problem happens:
    * The following log (%s: forkAndSpecializePost) is not printed
    * strace zygote: futex(0x6265a70698, FUTEX_WAIT_BITSET_PRIVATE, 2, NULL, 0xffffffff
    * zygote maps: 6265a70000-6265a71000 rw-p 00020000 103:04 1160 /system/lib64/liblog.so
    * 6265a70698-6265a70000+20000 is nothing in liblog
    *
    * Don't known why, so we just don't print log in zygote and see what will happen
    */
    )

Don't miss a new Riru release

NewReleases is sending notifications on new releases.