-
-
Notifications
You must be signed in to change notification settings - Fork 28
support dalvik runtime #2
base: master
Are you sure you want to change the base?
Conversation
First, Thanks for your work.
Want to join the #microg channel on freenode? I guess we would be able to better coordinate the work there. Again, thanks for investing your time for contributing! |
Yes, you can use my code.
The dalvikhook library is not really stable for now. I disabled this two hooks, because droidguard helper crashes, if they are enabled. I will join irc now |
Once there is a compiled version you can expect I will report back on the same day :) |
Ok, i can upload a test build once i'm home in 4 hours |
Build is uploaded here: http://julianwi.square7.ch/files/remotedroidguard/remote-droid-guard-debug.apk |
Thanks for the build but apparently it doesn't work on my phone: Logcat: DroidGuard-log.txt |
I changed something. On my device I now have a success rate nearly 100% and all hooks can be enabled. |
@julianwi: Thanks but unfortunately it still doesn't work. Logcat: DroidGuard-log2.txt |
I wrote a little library to hook methods in dalvik.
I didn't got gradle to build my native code. So I added a Makefile for it. just run
make TOOL_CHAIN=/home/user/path/to/android-toolchain/bin/arm-linux-androideabi-
in the jni folder.Maybe you know how to add it to the main build.
By the way: I managed to hook native methods. With this native hooks, I got a list of files which got accessed by droidguard's so library. I will send you a pull request soon.