Questions tagged [odex]

An "odexed" app is an Android application that has the compiled byte-code (dex) for the classes bundled with it.

Filter by
Sorted by
Tagged with
1 vote
0 answers
29 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 ...
user avatar
0 votes
0 answers
44 views

Update odex/vdex files

I had a strange problem which I resolved with uninstall/install the app. I write this question for understand. Why? I have an app which comunicate with external usb device. App always works. The app ...
user avatar
1 vote
0 answers
98 views

How does deodexing work?

As far as I understand, odexed apps come in two: the "apk" and the "odex" files, both containing different information. And I understand that the odex file has crucial information ...
user avatar
2 votes
1 answer
453 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 ...
user avatar
  • 21
1 vote
0 answers
2k views

How to combine ODEX and VDEX files with an APK file?

I have an .apk file, also comes with it two files, one .odex files, another .vdex file. The files were pulled from the /system/app folder of another phone. The files hierarchy on the original system ...
user avatar
  • 11
3 votes
1 answer
3k views

What is the proper method to manually odex an apk?

I am looking for a proper and simple method to odex an apk file. I have an upgraded apk file from a ROM with which I want to replace an older one, and it is located in the /system-priv directory. The ...
user avatar
5 votes
2 answers
2k views

Weird package "com.google.ccc.abuse.droidguard.droidguasso"

Recently my phone shows "Android is starting Optimizing App 1 of 1" at every boot. I intercepted this and found it running dex2oat in this way /system/bin/dex2oat --runtime-arg -classpath --runtime-...
user avatar
  • 7,274
0 votes
0 answers
790 views

Lollipop/ART - how do I manually optimize APK files?

I've asked this question before. After checking out logcat, it seems that the OS is looking for the odex files. I've checked the odex files of other system apps on my ROM, and it turns out they're ELF ...
user avatar
  • 325
0 votes
1 answer
3k views

How to re-run the "app optimization" process after upgrading to a higher version of Android?

After each OTA Android upgrade, I get a message saying "Optimizing app x of xxx" that takes a while. The last time I upgraded, the battery ran out during the optimization process (not during the ...
user avatar
  • 343
0 votes
1 answer
168 views

Why Does ART Compile Apps After Upgrade?

I have a Google Nexus 5. Every time I do a system update, I see this message: Android is upgrading... Optimizing app [x] of [y] I understand that ART is compiling my apps. What I don't ...
user avatar
  • 165
0 votes
1 answer
884 views

SH Script to Rename .apk.odex files

I have written a script to utilize dexopt-wrapper to odex a folder of .apk's #!/bin/sh SYSAPP=/mnt/extSdCard/FilesToOdex/system/app/ SYSPRIVAPP=/mnt/extSdCard/FilesToOdex/system/priv-app/ for i1 in ...
user avatar
  • 209
1 vote
1 answer
585 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 ...
user avatar
0 votes
0 answers
3k views

When extactly does the hangouts_video_call.ogg extracted from hangout.apk?

Two ringtones are extracted from Hangout.apk to /storage/ringtones folder during some system setup phase. To analyze that, I manually deleted the ringtone files from my_files >> Ringtone. Now, no ...
user avatar
  • 123
1 vote
2 answers
4k views

Android and DEX files handling at runtime

I'm trying to understand a few things around how dex files are handled by android. What I do know is that an APK ships a dex file, the system gets it, optimises it at install time, and stores the ...
user avatar
1 vote
0 answers
2k views

How to make a normal apk with .dex inside it from an apk which is odexed?

I had a file manager provided by my manufacturer as a system app. it was odexed. i have its apk and odex file both. I installed a custom rom now and want to install that filemanager. how do i do ...
user avatar
  • 511
0 votes
1 answer
756 views

Should I backup .odex files too?

I have recently got an app that permits me to view the contents of my phone memory on my rooted Samsung Galaxy Y mobile phone. In /system/app folder, I see all the system apps that came pre-installed ...
user avatar
4 votes
4 answers
24k views

ODEX file: Does every app has one and if yes where are they stored?

I know that .odex files are optimized .dex files. I have seen a lot of .odex files below the path /system on my phone. I am just curious if there are also .odex files for my installed apps. I ...
user avatar
  • 15.5k
3 votes
1 answer
8k views

What is an "odex" app?

I saw an application (forgot the name) on my cousin's Galaxy Mini while inside Link2SD app. It has the -Odex- text beside its name. It was the only application like that on Link2SD. I got curious so I ...
user avatar
  • 2,436
8 votes
1 answer
7k views

Are ROMs with deodexed programs faster or slower than odexed?

I am a bit confused by the effect of deodexing (or even by terminology). Based on answers to "What is the difference between odexed and deodexed roms?": A "deodexed" ROM is one where the .odex ...
user avatar
  • 2,029
46 votes
3 answers
90k views

What is the difference between odexed and deodexed ROMs?

What is the difference between odexed and deodexed ROMs? Which is the standard (stock) ROMs that ship use?
user avatar