Skip to content
Android ART Hook
Branch: master
Clone or download
unknown unknown
unknown and unknown solve compatibility problem
Latest commit 1d1a2a4 Mar 24, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
app disable hidden api check for 9.0 Mar 18, 2019
fasthook solve compatibility problem Mar 24, 2019
LICENSE Update Mar 21, 2019 Update Mar 22, 2019
build.gradle add fasthook Mar 9, 2019 add fasthook Mar 9, 2019
gradlew add fasthook Mar 9, 2019
gradlew.bat add fasthook Mar 9, 2019
settings.gradle add fasthook Mar 9, 2019



Android ART Hook


  • Android 9.0(API 28)
  • Android 8.1 (API 27)
  • Android 8.0 (API 26)
  • Android 7.1 (API 25)
  • Android 7.0 (API 24)
  • Android 6.0 (API 23)
  • Android 5.1 (API 22)
  • Android 5.0 (API 21)


  • Thumb2
  • Arm64


 *@param hookInfoClassName class name of HookInfo
 *@param hookInfoClassLoader class loader of HookInfo,if null,that is FastHook class loader
 *@param targetClassLoader class loader of TargetMethod,if null,that is FastHook class loader
 *@param hookClassLoader class loader of HookMethod,if null,that is FastHook class loader
 *@param forwardClassLoader class loader of ForwardMethod,if null,that is FastHook class loader
 *@param jitInline if false, diable jit inline, otherwise allow jit inline
public static void doHook(String hookInfoClassName, ClassLoader hookInfoClassLoader, ClassLoader targetClassLoader, ClassLoader hookClassLoader, ClassLoader forwardClassLoader, boolean jitInline)

call dohook to hook,for example

//hook and target at different classloader

//hook and target at the same classloader
You can’t perform that action at this time.