Odex files. - Nexus 5 Q&A, Help & Troubleshooting

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.

Related

[Q] Is a partially deodexed phone okay?

I'm using xUltimate to deodex the files on my rooted Motorola I1 but I'm getting errors with a few of the system apps(Phone, CameraMoto, etc.). Is it safe to copy to my phone just the successfully deodexed apks and let be the few odexed apps? Or does everything on my phone need to be either odexed or deodexed for the phone to run?
I'm also very interested to the answer to this...
Well, it took a few failed reboots, but as of now my phone seems to be working while only partially deodexed. It's fully booted and I can make a phone call - haven't tested anything else. Everything in /system/framework is deodexed, but there are still a few apks in /system/apps that are not.
The output from the failed reboots seemed to indicate that at least one of the still-odexed apk files needed particular odex files in /system/framework and couldn't find them, raising an unhandled exception(I'd deleted all the .odex files from /system/framework once I'd copied over the deodexed versions). I copied back the odex files the apk needed(just the .odex files, not the originial .jar or .apk files) to /system/framework and the phone booted successfully.
So right now my /system/app has a mixture of odexed and deodexed files; my /system/framework has only deodexed jars but also has a few of the original odex files. Not sure if the phone would be okay with a mixture of odexed and deodexed files in /system/framework, especially with regard to certain critical jars. I seem to recall, however, attempting to put a single deodexed file(services.jar) onto a different phone(HTC Incredible) and not getting good results.
As long as the framework files are odexed, both deodexed and odexed apps in /system/app will work.
If the framework is deodexed, all /system/apps has to be deodexed, if not, the apps will be disabled on boot and won't show up in launcher (they won't get deleted). The device won't boot if for example the settings app gets disabled..
The framework cannot be deodexed partially.
Thanks Fr4gg0r, that makes sense and jibes with what I found. So far I've been able to manually deodex some of the /system/apps that xUltimate couldn't deodex itself, so I may not need to run with a partially deodexed phone, anyways.

how to move deodexed files into system...

guys
i used universal deodexer tool to deodex all my system file...
now i want to move those deodexed files into system....
how can i move them?????

Odexed or deodexed?

How do I know if I am odexed or deodexed? I have a sprint note 3 4. 4. 2
Get Root Browser and look in /system/app. If you see any .odex files then you are odexed. If not you are deodexed.
what is the difference?
Odexed is a little faster. The data for the app is stored in a .odex file. You cannot modify the system though. Deodexed is where the odex file is translated in a file called classes.dex and that is stored within the apk. Deodexed roms are fully customizable and you can mod the system much easier.
Nick_73 said:
Odexed is a little faster. The data for the app is stored in a .odex file. You cannot modify the system though. Deodexed is where the odex file is translated in a file called classes.dex and that is stored within the apk. Deodexed roms are fully customizable and you can mod the system much easier.
Click to expand...
Click to collapse
That's one clear explanation! Thanks didn't exactly know that :good:

[Q] stock deodexed help

can somebody point me into the right direction on how I can deodexed stock 4.4.4 on x1039.
thank you.
try Android Kitchen 0.224 - by dsixda (xda-developers.com)
When installed, update baksmali and smali to latest versions. Also priv-app will not be expected. After deodexgin /system/app rename folder to apps2 and rename priv-app to app - then run deodexing again. Afterwards rename folders back to original.

[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