Questions tagged [dalvik]

The virtual machine (VM) in Google's Android operating system. Unlike Java VMs, which are stack machines, the Dalvik VM is register-based.

Filter by
Sorted by
Tagged with
3 votes
0 answers
169 views

What is the best emulator/environment for android debugging?

I know the question smells like I want a ready solution but I have been trying many things and after a lot of headaches, still I can't do what I want. There are fast emulators but they don't provide ...
3 votes
0 answers
260 views

How do i set these tricky boolean values to true in Smali-Dalvik?

These would allow me to make the input text field clickable and editable but the thing is how to do this. Instance field .field private g:Z 1 - invoke-virtual {p1, p2, v0}, Landroid/content/res/...
1 vote
1 answer
188 views

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

I'm debugging an obfuscated android application. I use Android Studio's debugger. I attach it remotely to my physical device via adb. I can set a breakpoint in the app smali code, but when I try to ...
0 votes
0 answers
219 views

How can i inject xamarin smali code into another apk?

I tried to make a simple foreground service android application using xamarin... then decompile and inject it into another apk...but it always crashes. here is adb logcat : 05-31 23:57:34.158 7680 ...
0 votes
2 answers
83 views

why does dalvik remove invocations during optimisation?

This is original smali code of a classes.dex method before installation .method public static createAutoMatchCriteria(IIJ)Landroid/os/Bundle; .registers 6 new-instance v0, Landroid/os/Bundle; ...
7 votes
2 answers
2k views

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

I have an android app that reads/writes a data file which seems to be encrypted, and i want to make a tool to read/write that file, so i need to reverse the encryption. The app in question consists ...
3 votes
1 answer
2k views

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

Some Android Apks contain multiple classes.dex files which are numbered like this: classes1.dex, classes2.dex ... and when i try to decompile them it would result into multiple source codes. Is there ...
3 votes
1 answer
527 views

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

I have separately decompiled apk to smali/dalvik and to java classes. As apk is not obfuscated java code is pretty good to read and I can pretty easily see corresponding smali code. So far I was able ...
1 vote
1 answer
1k views

How to reverse engineering a proguarded .apk? [closed]

Lets say you have android1.apk file coded with proguard enable. I want to reverse engineer it in such a way that it shows the original methods names instead letters of alphabets, example bellow ...
4 votes
2 answers
1k views

Dalvik dex file version 036

I came upon a sample that indirectly contains classes.dex with the magic "Dalvik dex file version 036". If not for the version, the file seems to be normal and JEB loads it without any problem. But ...
1 vote
1 answer
4k views

Anti-tampering techniques in Android APK's

I'm reverse engineering an Android app, and it has some kind of anti-tamper protection. The problem is that I can't find it anywhere in the smali files. Even if I just re-sign the official APK that I ...
1 vote
2 answers
2k views

IDA Dalvik Debugger doesn't work with official Android emulator

I try to use IDA to debug application with official Android ARM emulator. I set up debugger, installed APK and run application, it starts, writes "waiting for debugger", and debugger writes that "...
0 votes
1 answer
2k views

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

I had some fun using IDA Pro Dalvik Debugger in the past using AVD emulator. However I stumbled upon a APK that somehow does not run well inside AVD. APK runs fine on a real device so I am trying to ...
1 vote
1 answer
297 views

cost, time and tools had Google reverse-engineered Java packages? [closed]

In the context of Oracle vs. Google: This is not a case where Google reverse-engineered Oracle’s Java packages to gain access to unprotected functional elements contained therein. page 48 ...
0 votes
1 answer
407 views

native function naming convention in Qt for Android

In a project, I cannot find the names of native functions in the .so libraries. That is, a native function must be called something like Java_com_package_ClassName_functionName(). I do find ...