Skip to main content
7 votes
Accepted

Do calls to Java native interface in android apps run within Dalvik VM?

I think I see the source of your confusion. Dalvik VM isn't a virtual machine the same way as VMware or Virtualbox. In that kind of VM, VMware (or whatever) is pretending to be the whole computer. ...
Dan Hulme's user avatar
  • 35k
6 votes
Accepted

Is there any benefit to wiping Dalvik Cache after rooting my phone?

As you mentioned you're using Magisk for root, I'm assuming you're running on Android 5 or up. The answer would be no. You can safely ignore the "Wipe Dalvik Cache" after OTA updating and re-rooting. ...
iBug's user avatar
  • 7,887
3 votes

How is the Android System running Java jars?

You can run the Jar files using app_process, which replaces the java executable on Android. Looking at /system/bin/am for example, we see it's really running exec app_process $base/bin com.android....
Roy Falk's user avatar
  • 131
3 votes
Accepted

Dalvik/2.1.0 in Android's version more than 5

I wouldn't worry about the Dalvik version number Searching on Dalvik/2.1.0 leads to http://www.webapps-online.com/online-tools/user-agent-strings/dv/plugin294709/dalvik which lists the user agent ...
Morrison Chang's user avatar
2 votes

Can I change the dalvik cache location e.g. with a symbolic link?

Of course you can. Although it seems like there's no problem to migrate dalvik-cache to a normal SD card filesystem (the most common, vfat), it still is highly recommended that you format your SD card ...
iBug's user avatar
  • 7,887
2 votes
Accepted

What does int, jit, fast, and portable mean in build.prop's dalvik.vm.execution-mode?

Summary These are the values for Dalvik VM runtime: fast: optimized for the current platform, and might consist of hand-optimized assembly routines (default) portable: written in C and expected to ...
Andrew T.'s user avatar
  • 16.5k
1 vote

Which Virtual machine is used in Android 11?

Android 11 uses ART. Android 4.x KitKat were the last Android releases to use Dalvik.
Amazon Dies In Darkness's user avatar
1 vote
Accepted

does ART use dalvik bytecode?

ART is simply just Dalvik 2.x (and up) if you check the Dalvik version. It has to be able to run any valid *.apk files so obviously it must support all Dalvik VM's instructions. The instruction format ...
phuclv's user avatar
  • 356
1 vote

does ART use dalvik bytecode?

ART uses Dalvik bytecode but unlike Dalvik which would only create an optimized version of its bytecode before all of it is interpreted by the VM, ART can compile some Dalvik bytecode to native code ...
jdwolf's user avatar
  • 161
1 vote

How is the Android System running Java jars?

That's a pretty big question; it's a very complicated and large system. If you can't narrow your question any more, then the short answer is from Android's docs: the Dalvik VM is an interpreter-...
Mufasa's user avatar
  • 429
1 vote

Install/Run Android Skype on ARM LInux?

One way to install Linux apps on Ubuntu is through Anbox. It's very resource efficient, using your Ubuntu kernel to run Android apps without emulating the Android kernel or running Android in a VM. ...
Tin Man's user avatar
  • 308
1 vote

How to clear caches in LG G2 running Lollipop 5.0.2?

If you have root or a custom recovery, you can do this using a terminal emulator or adb. BusyBox required. shell@android:/ $ su root@android:/ # cd /data/dalvik-cache root@android:/data/dalvik-...
iBug's user avatar
  • 7,887

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