Yuki Hook API

Yuki Hook API

An efficient Hook API and Xposed Module solution built in Kotlin

Get Started Changelog

Xposed Module Develop

The automatic builder can help you quickly create an Xposed Module, automatic configure the entry class and xposed_init file.

Light and Elegant

A powerful, elegant, beautiful API built with Kotlin lambda can help you quickly implement members search and methods hooks.

Debugging Efficient

A rich debug log function, detailing the name of each hooked method, time-consuming to find the class can quickly debug and find errors.

Easy to Transplant

Native support for Xposed API usage, in any case, the supported Hook Framework with Xposed API can be quickly spliced with it.

Obfuscate Support

The built Xposed Module simply supports R8, obfuscate will not destroy the hook entry point, and no other configuration is required under R8.

Quickly Started

Simple and easy to use it now! Do not need complex configuration and full development experience, Integrate dependencies and enjoy yourself.

All Hook process in one step, everything is simplified

loadApp(name = "com.android.browser") {
    ActivityClass.hook {
        injectMember {
            method {
                name = "onCreate"
                param(BundleClass)
            }
            beforeHook {
                // Your code here.
            }
            afterHook {
                // Your code here.
            }
        }
    }
    resources().hook {
        injectResource {
            conditions {
                name = "ic_launcher"
                mipmap()
            }
            replaceToModuleResource(R.mipmap.ic_launcher)
        }
    }
}