Android has been around for quite some time, what started as a quite immature operating system ended up being one of the most used and most diverse mobile OS to date. Thanks to the open source nature, it gives us the ability and freedom that isn’t available in other operating systems. Android is really a blessing for both normal users or the power users. If you have been an Android users for the most part of its inception, then it’s safe to say that you have, at least once, come across the terms odexed/deodexed.
Now to a normal user, it won’t matter much. But if you are a power users, it’s not surprising to get curious about what these terms mean. We are taking a step to explain what is the difference between odexed and deodexed firmwares/ROMs as well as the conclusion, advantages and disadvantages of both file systems. So without further ado, let’s take a look.
What Does Odex Mean?
Odex is basically a file extension and it stands for Optimized Dalvik Executable File. The main purpose of an odex file is make sure that the system structure that contains all the necessary application information like the start up of an application or the usage is properly organised. This allows the operating system to search the applications it wants to execute any hassle, since the OS finds the file quickly, it executes it without any additional work. The odexed files are directly loaded into the dalvik cache.
Advantages of Odexed ROMS/Firmwares
- Odexed ROMs or firmwares have the ability to load faster, this is mainly because all the necessary information that is required to boot up an OS has already been loaded.
- The APK files are smaller in size as compared to the files that are in deodexed firmwares.
Disadvantages of Odexed ROMS/Firmwares
- For users who are into modding apps or theming them, odexed ROMS/firmwares prove to be a lot difficult since the required information is stored in 2 different locations.
- In case you need to delete some of the app data, you must also delete the .odex file if you don’t want to run into any errors.
What Does Deodex Mean?
Where the odex file contains the data at 2 separate places, the deodexed file has all the data at one place and that is the .apk file of an app. This is one of the reason why deodexed apks are a bit bigger in size because all the data is being stored in one place. For those who don’t know, deodexed files are a bit slower because when you boot up the OS, they can’t be loaded along with the system. But then again, they do come with their own set of advantages that are dear to people who are into theming or modifying.
Advantages of Deodexed ROMS/Firmwares
- Deodexed ROMS/Firmwares are easier to modify or theme, since all the data is stored at one primary location.
- Users can easily delete system apps as compared to deleting them in odexed systems where you have to delete the data as well.
Disadvantages of Deodexed ROMS/Firmwares
- Deodexed apps can’t be loaded before hand, this slows down the overall process of booting up.
- The apk files are larger as compared to the odexed systems because all the information is stored at one place instead of 2 separated places.
- Bootloading takes a toll as well because the content of apk is first extracted from the system since there is no direct access present anymore.
Most OEMs ship their phones with odex file system, but when it comes to custom ROMs, most ROMs have a deodexed system, mainly for the purpose of limitless theming and modding. The difference between odexed and deodexed isn’t that big, and declaring a winner isn’t possible at all. But to make things simple, do keep in mind that if you are using an odexed system, you are going to have better overall speed, however, if you are using a dedoexed system, you are going to have better grip at all the wonderful modding that Android is prone to.