Hot answers tagged

5 votes

How to reverse engineering a proguarded .apk?

Without the proguard mapping, this is not possible. That information is simply no longer contained in the dex file. The best you could do would be to manually rename the methods, etc. with your own ...
JesusFreke's user avatar
3 votes

how to decompile or unite multipart dex class in an android apk file?

Dex files have a maximum amount of methods which they can contain, specifically 64k methods. Jar files are just zip files containing class files. Knowing both of these, all you need to do is dex2jar (...
diff's user avatar
  • 358
2 votes
Accepted

Anti-tampering techniques in Android APK's

Your best bet is to just start reading through the code and see everything it does. It almost certainly is checking signatures, just in a way that your search missed. That could be because it is using ...
Antimony's user avatar
  • 2,012
2 votes

Dalvik dex file version 036

I believe most versions of dalvik and art will reject the dex file and refuse to load it.
JesusFreke's user avatar
2 votes

why does dalvik remove invocations during optimisation?

As far as I know the Dalvik cache does not contain plain dex files, but instead contains optimized (odex) files. Odex files use an extended op code set and I would assume the dex-to-smali decompiler ...
Robert's user avatar
  • 1,032
2 votes
Accepted

Modifying (adding new logic) decompiled apk to log different kind of data causing problems (crash/bluetooth connection)

I think your approach is generally correct. You probably can't connect to the Bluetooth because your additional code throws an exception somewhere. The best idea would be to check it during dynamic ...
morsisko's user avatar
  • 696
1 vote
Accepted

How to set a breakpoint in android's openssl library in running android application?

Do you mean JNI / native libraries? Android app cannot view into native libraries, but you can use frida-trace to get in between the call and return. readelf -a -W library.so | grep ...
Cagri's user avatar
  • 176
1 vote
Accepted

IDA Dalvik Debugger doesn't work with official Android emulator

I found solution myself. The thing is easy. It is one more Android Studio bug. I found that when IDA tries to connect to Dalvik debugger, I see following message in log: Ignoring second debugger -- ...
Vitalii's user avatar
  • 395
1 vote
Accepted

Howto setup IDA Pro Dalvik Debugger Process Options to debug APK on a real device

Setting the target app to debuggable in the android manifest and repackaging the apk has done the job. I didn't know that AVD automatically sets the APK to debuggable.
Jaewon Min's user avatar
1 vote

Trace system calls, including stack (and java stack if possible), on android?

you can get system call stack with strace too. you just need to compile strace with libunwind. After that you just need to use -k to get system call stack for each system call.
Rasoul's user avatar
  • 11
1 vote

Trace system calls, including stack (and java stack if possible), on android?

JavaJournal, which was built on top of the pyspresso framework, was designed specifically for tracing method calls in Java.
Jason Geffner's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible