android破解

1.
adb shell dumpsys activity top


能够获取到当前程序的Activity信息

2.
1、在invoke-static/invoke-virtual指令他的返回类型是V之后可以加入
2、在invoke-static/invoke-virtual指令返回类型不是V,之后的move-result-object命令之后可以加入

3.
#log
invoke-static {}, LMyLog;->print()V
#打印参数
invoke-static {v1}, LMyLog;->log(Ljava/lang/Object;)V

注释代码#
#invoke-static {p0}, Lvr;->h(Landroid/content/Context;)V


4.调试
invoke-static {}, Landroid/os/Debug;->waitForDebugger()V
对应的Java代码就是:android.os.Debug.waitForDebugger();


5.签名
java -jar .\sign\signapk.jar .\sign\testkey.x509.pem .\sign\testkey.pk8 debug.apk debug.sig.apk

6.IDA
按y JNIEnv *

posted @ 2016-06-03 13:42  ahuo  阅读(348)  评论(0编辑  收藏  举报