Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [dalvik]

Dalvik is the process virtual machine (VM) in Google's Android operating system. It is the software that runs the apps on Android devices. For optimization, the apps' Java Bytecode is compiled to Dalvik-compatible `.dex` (Dalvik Executable) files before installation on a device, which are stored in the so-called Dalvik Cache.

Filter by
Sorted by
Tagged with
2 votes
1 answer
327 views

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

There are many build.prop tweaks on the internet, and some says dalvik.vm.execution-mode should be int:jit, and some says it should be fast:jit or even in a reversed order as jit:fast for performance. ...
Android 4.4 forever's user avatar
1 vote
0 answers
230 views

Can I run .odex file on dalvikvm?

As I can run a Dex file on dalvikvm through a terminal emulator (I'm using termux or adb shell /system/bin/dalvikvm -cp /path/to/classes.dex classname Which runs successfully and I noticed it ...
Anonymous27's user avatar
0 votes
0 answers
152 views

Why does Dalvik not support swap space?

I was asked this question and also explain why it is detrimental to the android system as a whole. I have not found a web page which refers to this specific question about Dalvik and swap space. Any ...
francisRH's user avatar
0 votes
0 answers
56 views

"cold Blooded" hotspot : frequent internet connection failures. ... why do they happen

Short Story shorter Hotspot denies internet access to Puppy Linux client only on a specific laptop while all other clients have no issue ( the same laptop with Windows partition can connect ...
user1874594's user avatar
1 vote
1 answer
421 views

Which Virtual machine is used in Android 11?

Every Android application runs in a virtual machine. We know that Dalvik virtual machine \was the one that is used by Android. Next, they changed to ART (Android Runtime machine). Just correct me if ...
Mdshammi111's user avatar
0 votes
0 answers
37 views

In TWRP Wipe button, the description in the slider say "factory reset" but its other description doesn't seem so. Which one is correct? [duplicate]

When I access to the TWRP (version 3.2.1-0) and select the Wipe button, the screen says: Wipes Data, Cache, and Dalvik (not including internal storage) Most of the time this is the only wipe that you ...
Ooker's user avatar
  • 516
2 votes
1 answer
891 views

Is deleting /system/bin/dex2oat file safe?

I was looking into a couple of Android tombstones files of an old Samsung phone running Marshmallow. Found a crash in every single one with the same culprit, dex2oat. From my limited understanding it ...
Ertox's user avatar
  • 21
1 vote
0 answers
175 views

Dalvik vm heap props resetting on reboot

I am running android 9 and I tried changing heapsize prop by the following command setprop dalvik.vm.heapsize 384m and then verifying by getprop | grep heapsize which returns 384m so it works. ...
brz_bro's user avatar
  • 11
2 votes
0 answers
147 views

Why is ART still needed on Android?

The reason Andy Rubin chose Java for Android Dev is not publicly known, only speculations, but it seems to me that the combination of being able to run a Java app everywhere (because the earliest ...
LekeOpe's user avatar
  • 121
5 votes
1 answer
275 views

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

I read that apps sometimes access the native libraries for optimization purposes via the Java native interface. As far as I understand, JNI just provides java wrappers around c/c++ libraries/...
Sumesh Kumar's user avatar
0 votes
1 answer
6k views

Dalvik/2.1.0 in Android's version more than 5

I installed Packet Capture on my android and did some scans because this topic. So, I saw Dalvik/2.1.0 in a log of WhatsApp on port 80. Since Dalvik/2.1.0 should be prior that Android 5, is it normal ...
Mycroft's user avatar
  • 143
1 vote
0 answers
133 views

How to clear dalvik cache if DDMS doesn't recognize device?

I have a Navon Platinum Explorer tablet (wich is not an original Navon tablet). Few years ago I was able to clear the dalvik cache, with DDMS in Eclipse (Mars) but it's full again and DDMS doesn't ...
Noel Nemeth's user avatar
3 votes
1 answer
13k views

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

Every time I do an OS update, it removes the root so I need to re-root my phone using TWRP. TWRP gives me the option to wipe the Dalvik Cache after flashing any sort of item. I understand that there ...
Jorge Luque's user avatar
0 votes
2 answers
670 views

does ART use dalvik bytecode?

I know dalvik vm use dalvik bytecode. does ART use dalvik bytecode or something else ?
utarid's user avatar
  • 103
0 votes
0 answers
2k views

Fully clear dalvik cache in Android 7

In past versions, I used to delete all files in /data/dalvik-cache to clear the dalvik cache, which is the only directory that shows up in TWRP log: Wiping /data/dalvik-cache In Lollipop and ...
iBug's user avatar
  • 7,767
1 vote
0 answers
1k views

Is it possible to remove OAT files for unwanted system apps? [rooted locked device]

I have not enough free space on my Moto X, so I want to free up some space in data partition used by system apps bloatware. For example, disabled Slides with uninstalled updates still consumes 31 MB ...
Velda's user avatar
  • 111
5 votes
2 answers
1k views

How is the Android System running Java jars?

There is a large amount of Java jars in /system/framework, for example, am.jar. I understand that Android uses Java in a very confusing way (at least for me). I do not completely understand the way ...
Tyler Richardson's user avatar
1 vote
1 answer
130 views

MOTO E 1st Gen From Dalvik to ART : com.android.systemui stop and loop

May I first apologize for my english : non-native speaker, some erratic grammar might happen. Si un francophone passe ici, ce sera bien plus facile pour moi ;) I'm NOT skilled in android fix, so be ...
Kaldui's user avatar
  • 111
2 votes
1 answer
689 views

Difference between Linux containers and Dalvik VM in Android

As far as I know, Linux containers are those that run on a shared OS kernel using a virtualization software. Is there any correlation to Dalvik VM which runs multiple apps on top it?
r2_d2's user avatar
  • 123
0 votes
1 answer
304 views

I accidentally deleted everything from Sony Xperia P

I has Sony Xperia P(Rooted and Bootloader Unlocked) and I followed this tutorial to install Android 5.0.2 lollipop on it: Installation Tutorial, everything was running well, but after one weak, I ...
Stackexchange User's user avatar
3 votes
2 answers
2k views

Removing dalvik from Android

I have no experience in that so please forgive me if it sounds a bit silly: Is it possible to remove all "user layer" application and DalvikVM from an Android, just to obtain plain linux-based ...
Maciej Bielski's user avatar
1 vote
2 answers
2k views

Install/Run Android Skype on ARM LInux?

I have a Chromebook with an ARM processor. I have installed Ubuntu on that Chromebook. However, since there is no Skype-binary for ARM Linux, is it possible to use the version of Skype of the ...
Quandary's user avatar
  • 615
6 votes
3 answers
12k views

Should Dalvik Cache be wiped in Android OS that supports ART?

When switching custom ROMs (in ART), is it necessary to wipe the Dalvik Cache? Wiping the Cache is necessary, but should wiping Dalvik (which doesn't exist in Android Lollipop and afterward) be ...
doylefermi's user avatar
0 votes
2 answers
569 views

How much time it usually takes to switch Android runtime in KitKat?

I have Dell Venue 3830 and I plan to change its runtime from Dalvik to ART. It has Android KitKat 4.4.2. I have 12 gigs of apps. I want to try ART so I want to know how much time it takes to switch ...
Siddhant's user avatar
20 votes
3 answers
118k views

Clear Caches from ADB?

How do I clear caches (app, individual apps, Dalvik, ART if possible) via ADB? Using apps, recovery, or doing it through Settings are not options for me. Also, my phone is not rooted.
LakeHMM's user avatar
  • 350
0 votes
2 answers
4k views

How to clear caches in LG G2 running Lollipop 5.0.2?

The Lollipop update for AT&T LG G2 has pretty much destroyed my phone. I'm hoping clearing out every sort of cache might help. But I can't clear the caches the usual ways because (1) the ...
LakeHMM's user avatar
  • 350
1 vote
2 answers
1k views

"Android is Updating" on every boot

On every bootup I get the "Android is updating" (Optimizing apps) screen. I've tried a few methods. I deleted all custom odex files in /data/app dictionary and deleted the dalvik cache but it's still ...
user avatar
0 votes
0 answers
360 views

Should Dalvik Cache be wiped in the case of switching Lollipop ROMs [duplicate]

I know what dalvik and ART is. But my question is, when switching custom ROMs (All anything above 5.0), is it necessary to wipe the dalvik cache? Wiping the Cache is necessary but wiping dalvik (...
doylefermi's user avatar
0 votes
1 answer
1k views

One Plus One CM12 update always reboots and starts the "Android is Upgrading..." process

About my Phone: It's a rooted One Plus One with twrp and CM12 installed. I updated CM12 with a Update zip which had to be flashed manually through twrp. When i now want to boot the Phone it always ...
Leon Mydla's user avatar
0 votes
1 answer
3k views

No option to switch dalvik to art on galaxy s5 android 5

I was looking for an option to switch from dalvik to art on my galaxy s5 g900f with Android 5,but it was not in the place it should be. Is it because of the Android version? Or maybe only one of them ...
Łukasz Motyczka's user avatar
0 votes
1 answer
156 views

Use of Dalvik VM in android

Can someone please explain why exactly Dalvik is used in android? Is it to provide portability and ability for the application developers to write hardware independent code? I dont think it is used ...
user1004985's user avatar
0 votes
1 answer
942 views

Samsung Galaxy S4 verizon stuck in bootloop

This is my device info: What forums refer to my phone as: JFLTEVZW Name that comes on box: Samsung Galaxy S4 Verizon SCH-I545 Carrier: Verizon Unlocked: Yes Root: When my phone was working, Yes I ...
Viraj Shah's user avatar
4 votes
1 answer
9k views

Nexus 5 has no settings to change runtime

I'm using Nexus 5. It was running on KitKat and I updated to Android L. I wanted to try and check out if it's running on Dalvik or ART, but the settings to change runtime in the Developer Option is ...
afwcxx's user avatar
  • 143
0 votes
1 answer
655 views

Phone borked after clearing dalvik cache

On my Huawei G300, I cleared the dalvik cache from CWM and on rebooting, Android recreated it as expected but once the OS finished loading, all the apps started throwing up "Unfortunately x has ...
user7008's user avatar
2 votes
2 answers
1k views

Is it safe to switch from dalvik to art runtime?

How can I tell if it would be safe? I am running ViperOne 7.0.1 on an HTC One m7.
Enigma's user avatar
  • 1,250
3 votes
2 answers
8k views

How can I identify if my device is using ART runtime or a Dalvik?

I have an app called Timberman. Under the description it gives an important note: Game is not compatible with ART devices at the moment. Please switch to Dalvik. I don't understand what/ how can ...
user285oo6's user avatar
  • 1,228
13 votes
1 answer
15k views

What is the zygote process still doing in Android L?

I am trying to figure out the specific differences in the Dalvik and ART runtimes. I realize that ART no longer uses the Dalvik VM, however, one of the first things I noticed after installing the ...
John's user avatar
  • 131
4 votes
5 answers
8k views

Moto E Not Starting Properly After Changing runtime to ART

I have recently bought a MOTO E and it's working cool. Then I have enabled Developer options and changed my runtime from Dalvik to ART. Afterwards I restarted my device. I got the message saying ...
Software Sainath's user avatar
0 votes
1 answer
764 views

ART Runtime vs Dalvik Runtime [duplicate]

Recently I was looking through developer options on my Moto X and I was interested by the option to do runtime in either dalvik or ART. After doing some research I decided to change my runtime to ART. ...
michaelpri's user avatar
1 vote
2 answers
2k views

Should I switch to ART? [closed]

ART has better performance and better battery life on paper at least. Should I consider switching to it on my moto g? What are the results I can expect? What precautions should I take? Is it easy to ...
kBisla's user avatar
  • 367
0 votes
2 answers
3k views

ART makes Facebook app non installable (Error: -24) [duplicate]

I have an Android 4.4.2 phone and I enabled ART instead of Dalvik. When I go to the Google Play Store and try to install Facebook, it can't install the app. I get two errors, sometimes I get ...
BackSlash's user avatar
  • 101
22 votes
1 answer
23k views

Manually switch from ART to Dalvik

I wanted to try out the new ART runtime, but didn't realize my custom ROM doesn't support it. So now I am getting recurring Force Closed messages after booting, and can't get through to the settings ...
David B.'s user avatar
  • 223
0 votes
1 answer
556 views

Scala and ART, android runtime

I understand that Dalvik has a just-in-time compiler. The android team is making ART, android runtime, which has an ahead-of-time compiler. Effectively using Scala can increase code execution time ...
ersin-ertan's user avatar
2 votes
1 answer
15k views

Xposed Framework with KitKat ART?

I have an SGS-I8190 with CM11 from http://maclaw.pl/ I explored the Xposed Framework, but it is not compatible with ART. It switches back to the old buggy and lame Dalvik. XDA says, that ART ...
m0ddixx's user avatar
  • 33
3 votes
2 answers
2k views

Flash the newer version of ROM over the old one on ART environment

I've flashed Carbon ROM on my LG G2 (D802) device and when e new Nightly release, I download it and put it on my SD Card and dirty flash it (Only clean Dalvik cache and cache partition). Now I've ...
bossModus's user avatar
0 votes
2 answers
584 views

Is it possible to run a PS2 emulator through Android's DVM?

I have heard some random posts from people on forums claiming that Android's Dalvik Virtual Machine can't handle something of the magnitude of a PS2 emulator, such as this one ported somewhat. Is ...
tom hardyboy's user avatar
0 votes
6 answers
8k views

Device stuck in bootloop after enabling ART

I activated the Android Runtime (ART) instead of Dalvik and after that my phone rebooted but it seems that it's stuck in a bootloop. Will the first bot after choosing ART take some extra time? How ...
user202476's user avatar
0 votes
1 answer
105 views

Is the Android desktop screen (on any version) a Dalvik executable?

I know that all Android apps, as far as I know, are compiled to Java bytecode, turned into dex code (for the Dalvik Virtual Machine), and then executed with respect to whatever ABI is compatible ...
Ponzi Questioner's user avatar
1 vote
1 answer
604 views

Is Odex really faster?

Is an odex file different from the dex file generated and stored in dalvik-cache? Is it faster? More optimized? Or just the same? Most people mention the benefit of improved boot speed after wiping ...
Waleed Hamra's user avatar
1 vote
1 answer
5k views

Wiping dalvik cache - Dalvik cache of uninstalled apps

I just came across the folder dalvik-cache having size of about 750MB. I searched for dalvik cache on google, and came to know that it is builded during boot up, and wiping this will make the next ...
Keshava GN's user avatar