Skip to main content

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
350 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. ...
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.
2 votes
1 answer
906 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 ...
1 vote
0 answers
232 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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
1 vote
1 answer
424 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 ...
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 ...
0 votes
1 answer
945 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 ...
6 votes
5 answers
107k views

Clearing Dalvik Cache without root?

I recently tried updating my Motorola Atrix 4g. It downloaded, and then it booted down to try to update. However, instead of updating, it ends up booting to a screen that just says Failed to boot 2 ...
17 votes
1 answer
10k views

How to keep the size of the Dalvik cache small?

I have an issue with the Dalvik cache getting huge and occupying almost all of the space on my phone. I'm running Cyanogenmod 7.X. For the record, I have about 5-6 small applications on my phone (...
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 ...
1 vote
0 answers
176 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. ...
2 votes
0 answers
150 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 ...
5 votes
1 answer
280 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/...
1 vote
0 answers
134 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 ...
0 votes
1 answer
157 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 ...
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 ...
0 votes
2 answers
674 views

does ART use dalvik bytecode?

I know dalvik vm use dalvik bytecode. does ART use dalvik bytecode or something else ?
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 ...
9 votes
2 answers
4k views

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

I currently use Link2SD since my phone's onboard storage is insufficient for more than a few essential apps. It is very effective but limited to when the phone is on. While changing ROMs, the dalvik ...
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 ...
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 ...
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 ...
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 ...
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 ...
1 vote
1 answer
131 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 ...
1 vote
1 answer
134 views

Why does the number of apps "optimized" not reflect removed apps?

I've read the details on what optimizing does here: What kind of app optimizations do newer Android versions do at the first reboot? And my question is slightly followup. I run CM nightlies on my ...
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 ...
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 ...
28 votes
2 answers
5k views

What is Dalvik cache?

When installing custom ROMs most recommend clearing the Dalvik cache. What exactly is Dalvik cache?
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 ...
28 votes
1 answer
4k views

What kind of app optimizations do newer Android versions do at the first reboot?

I received from my phone carrier, Vodafone IT, the official OTA Google update to Android Ice Cream Sandwich 4.0.4 on my Nexus S. When automatically rebooting for the first time after the update, the ...
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 ...
2 votes
1 answer
692 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?
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 ...
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 ...
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 ...
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 (...
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 ...
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 ...
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 ...
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.
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 ...
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. ...
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 ...