Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

3
votes
1answer
46 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/...
0
votes
1answer
343 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 ...
1
vote
0answers
50 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 ...
1
vote
1answer
2k 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
2answers
217 views

does ART use dalvik bytecode?

I know dalvik vm use dalvik bytecode. does ART use dalvik bytecode or something else ?
0
votes
0answers
1k 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 ...
1
vote
0answers
303 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 ...
3
votes
2answers
497 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
1answer
89 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 ...
2
votes
1answer
433 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
1answer
260 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 ...
0
votes
2answers
999 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 ...
1
vote
2answers
1k 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 ...
6
votes
3answers
11k 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 ...
0
votes
2answers
492 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 ...
9
votes
2answers
60k 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.
0
votes
2answers
3k 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
2answers
994 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
0answers
358 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
1answer
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 ...
0
votes
1answer
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
1answer
111 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 ...
0
votes
1answer
878 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 ...
4
votes
1answer
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 ...
0
votes
1answer
495 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
2answers
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
2answers
7k 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 ...
11
votes
1answer
12k 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 ...
4
votes
5answers
7k 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 ...
-1
votes
1answer
721 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
2answers
1k 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 ...
0
votes
2answers
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 ...
20
votes
1answer
21k 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 ...
0
votes
1answer
538 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 ...
2
votes
1answer
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 ...
3
votes
2answers
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 ...
0
votes
2answers
560 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 ...
0
votes
6answers
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 ...
0
votes
1answer
68 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 ...
1
vote
1answer
545 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 ...
1
vote
1answer
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 ...
22
votes
1answer
14k views

Dalvik VM vs. ART (Android Runtime): Impact for end-users?

With Nexus 5 (Android 4.4 KitKat), Google has shipped two runtimes to run apps. What are the differences between Dalvik & ART for endusers? How can endusers be affected by this? Is there any ...
1
vote
1answer
3k views

Why is the ART VM slower than the Dalvik VM, at sorting an array when the array size is 62000?

Look at row 62 of this graph. It is the time taken for a quick sort integer array, on a VM for android 4.4 (KitKat). How come that ART is faster except at an array size of 62000? In fact, it is ...
1
vote
1answer
496 views

What is the dalvik speed patch?

Lately I've been hearing about a dalvik speed patch to supposedly increase the interpreting speed of apps through the dalvik JVM. The only mention on Google is Facebook's "hack" of the dalvik JVM to ...
1
vote
1answer
122 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 ...
0
votes
0answers
65 views

Why does TI backup say there's still unnecessary cache?

I noticed that the newer version of Titanium Backup says I still have unneeded Dalvik Cache to clean up, even after I reboot and wipe dalvik cache in Clockworkmod. Where are these extra cache files, ...
4
votes
4answers
86k 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 ...
9
votes
3answers
5k views

Why each android application runs on a different Dalvik VM process?

I have read that each android applications runs on a different Dalvik VM process (all forked from zygote). I also read that these VMs are really lightweight and use copy on write buffers and all that,...
2
votes
2answers
7k views

What to do when the Dalvik cache is full but the operating system does not recognize it?

I have a strange scenario - my dalvik cache is full of dex files - around 150MB of space, but it appears that the operating system does not recognize these files as related to any application. I ...
1
vote
0answers
30 views

How can I move dalvik cache to a custom location(permanently)? [duplicate]

Possible Duplicate: Can I change the dalvik cache location e.g. with a symbolic link? I have Huawei u8160 running Cyanogenmod 7.2. I have activated sd-ext partition using Link2SD, so it's ...