Skip to content

hook surfaceflinger进程的eglSwapBuffers方式实现绘制,适用arm64 root下的安卓真机

Notifications You must be signed in to change notification settings

PShocker/Android_hook_sf_draw_arm64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Android_hook_sf_draw_arm64

hook surfaceflinger进程的eglSwapBuffers方式实现绘制,适用arm64 root下的安卓真机

该版本仅适用于arm64版本.

使用方法

cd jni
ndk-build
cd libs/arm64-v8a
adb push inject /data/local/tmp
adb push libhello.so /data/local/tmp
adb shell
cd /data/local/tmp
chmod 777 inject
./inject

参考了这篇文章

https://github.com/MelonWXD/ELFHooker

https://github.com/android/ndk-samples/tree/main/hello-gl2

image

Android 12

该方法并不适用高版本安卓, 高版本请参考: Magisk注入app并嵌入imgui.

About

hook surfaceflinger进程的eglSwapBuffers方式实现绘制,适用arm64 root下的安卓真机

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published