odex files - G1 Android Development

How do you create the .odex files for the market apps after you edited it to add to the theme...?

Related

Odex and repacking

Hi there,
I has disassembled an odex file and changed something. As I understand I can't make it an odex again but I must make a dex file and put this with the filename classes.dex in the apk file.
Can I just put it in the apk file and just sign the package again or do I need first to convert the binary xml files from the apk to normal files and then pack the apk file back?
Thanks

[Q] Manually Deodex Apps And Framework

Can i manually deodex the framework and apps by deleting each individual .odex file?
Smonic said:
Can i manually deodex the framework and apps by deleting each individual .odex file?
Click to expand...
Click to collapse
No, u need some soft to do so. Deodexing add the .odex content files into your compressed .apk (correct me if i'm wrong ^^)
Zipalign deodex files make them reading faster by your OS
All of your apps on your device are packaged as .apk files; these files are compiled from google source code and can interchangeably be viewed/thought of as a compressed folder (like a .zip or a .rar); and all of your framework components (well most…) are packaged as .jar files which literally stands for Java Archive (so again this can be compared to a .zip or a .rar).
When the android OS want’s to run your apps or utilize its framework components, it has to parse (read/interpret) the compressed data held within your .apk and/or.jar files. What the odex file structure aims to do, is to expedited this process by utilizing another file (.odex file) to compliment every.apk file (and .jar file); the odex file, includes the most critical data in an uncompressed format so the android os can quickly interpret that important information before parsing through the rest of the data held within the compressed .apk files (and .jar files). So subsequently, in an .odex file structure the .apk & .jar files don’t include all of the applications/framework-components data; Essentially, two files are acting as one; for your apps there are .apk files + their corresponding .odex file and for your framework components there are .jar files + their corresponding .odex file. This works nicely as an optimized file structure, except in the circumstance when the user want’s to theme; theming requires a modification to your .apks; the image files (.pngs) held within the pngs are replaced with different ones. However it is impossible to theme an application if it exists as two files. So that is why it is said you need to be DeOdexed in order to theme; DeOdexing is the process of re-bundling that uncompressed critical data (.odex files) back into your compressed .apk (& .jar) files, so that now all of the data is included in the .apk files necessary to run your applications without the presence of .odex files; in addition all the data is now included within the .jar files necessary to utilize your framework components without .odex files. In a DeOdexed file structure, there are no odex files present.
Click to expand...
Click to collapse
Source : http://www.wugfresh.com/guides/deodex/
I don't think so.... but if yes, then it'll be very hard!

Odex files.

I have a question...
Can i delete odex files manually in /system/app and /system/framework without consequencies ?
Enzo.
No you can't, they form part of the app. You'd have to deodex the ROM or replace the apps with their deodexed versions to remove the odex files without issues
Thanks !
Deodexed rom stock founded, i replace the odex files by the deodex versions.

I Need Couple of System apps with odex files

Hi Guys i just downloaded the latest 33 OTA but i deleted some system apps from my phone and without them i'm getting patching errors.. i don't want to edit update script because i'll have to edit it again and again at every update.
please someone share these apps with .odex files of these apps,i will really appreciate it.
Holospiral.apk with odex
Galaxy4.apk with odex
MagicSmokeWallpapers.apk with odex
NoiseField.apk with odex
PhaseBeam.apk with odex
thanx in advance..
I need the Email.odex file from XNPH30O.
I will upload the files you need when I found them.
*first post* \(*-*)/
-edit-
Found them.
I hope the .tar file helps (open it with the integrated file manager)
-2. edit-
In the .zip file are the same files

[Help]Deodexing system/framework

I am using
Android lolipop 5.1
I am new to deodexing .and i have successfully have deodexer my system/app and system/priv-app
But when I tried to deodex my framework
I could only deodex some jar files because only some of them have odes in framework/arm
From my research I found out that test of odex are located in framework/arm/boot.oat
My question is then how will I extract these odex
And even if I extract and recompile these odex
The system will still contain boot.oat so it would neglect
The jars and still will use the odex files contained in boot.oat
So what I want
I want to deodex my framework
I want system to use classes.Dec from jar and not fromboot.oat
I want to modify android.policy.jar but the classes.dex of android.policy.jar is struct I. Boot.oat
Sory for long post
Thanks in advance! !

Categories

Resources