What's the difference between odex and deodex - Sprint HTC One (M7)

What is the main difference?
Sent from my HTCONE using xda premium

In short the odexed firmware is faster and supposedly more secure (usually a stock build). A deodexed one gives more modification, themeable, and found in most custom roms.
In terms of user experience deodexed ROMs are only slower on first boot, after which they are or seem the same speed as the former odexed version/source.
Sent from my HTCONE using Tapatalk 2

Thank you for the explanation
Sent from my HTCONE using xda premium

justin24 said:
What is the main difference?
Sent from my HTCONE using xda premium
Click to expand...
Click to collapse
It means that any apps in /system have an accompanying .odex file which includes integrity information about its corresponding package. This prevents these packages from being modified, which theoretically means that a factory reset/uninstallation of updates should always yield a known working app. Since themes and many customizations work by modifying the apks in /system, they'll fail the check against the corresponding .odex file and cause problems.

Related

[HOW TO][Windows] Manually Deodex For Holiday ICS

This is mod for ODEXED ICS based ROMs. When using the Dsxida's kitchen, there was a slight problem. so I made some modifications to AutoDEOTool
Manually Deodexing :
to decompil an odex file you needs the BOOTCLASSPATH..
It is a list in specific order of some framework .jar files..
It is different in function of the APKs
Click to expand...
Click to collapse
Run AutoDEOToolMain.bat
1.Place the JARs and corresponding ODEX files in the directory "_framework".
Otherwise, place deodexed framework JARs into the directory "deodexed_JAR".
2.Place the APKs and corresponding ODEX files in the directory "_app".
3. To deodex framework files
-For non standard odex however a specific bootclass path must be defined..
-select to 6
place the bootclass path for framework
Code:
core.jar:core-junit.jar:bouncycastle.jar:ext.jar:framework.jar:widget.jar:android.policy.jar:services.jar:apache-xml.jar:HTCDev.jar:HTCExtension.jar:com.htc.framework.jar:filterfw.jar:com.htc.android.bluetooth.jar:com.htc.fusion.fx.jar:wimax.jar:com.orange.authentication.simcard.jar:com.htc.android.rosie.jar
4.To deodex APKs files for at&t vivid
-select to 4
place the bootclass path for APKs files
Code:
am.jar:android.policy.jar:android.test.runner.jar:apache-xml.jar:bmgr.jar:bouncycastle.jar:bu.jar:com.android.future.usb.accessory.jar:com.android.location.provider.jar:com.cequint.platform.jar:com.discretix.drm.api.jar:com.google.android.maps.jar:com.google.android.media.effects.jar:com.google.widevine.software.drm.jar:com.htc.android.bluetooth.jar:com.htc.android.rosie.jar:com.htc.framework.jar:com.htc.fusion.fx.jar:com.htc.htcSceneManager.jar:com.htc.lockscreen.fusion.jar:com.htc.sunny2.jar:com.orange.authentication.simcard.jar:com.qik.enabler.jar:com.scalado.caps.jar:com.scalado.util.ScaladoUtil.jar:core.jar:core-junit.jar:ext.jar:filterfw.jar:framework.jar:HTCDev.jar:HTCExtension.jar:ime.jar:input.jar:javax.obex.jar:modemwarmup.jar:monkey.jar:pm.jar:services.jar:svc.jar:widget.jar:wimax.jar
4.To deodex APKs files for velocity
-select to 4
place the bootclass path for APKs files
Code:
am.jar:android.policy.jar:android.test.runner.jar:apache-xml.jar:bmgr.jar:bouncycastle.jar:bu.jar:com.android.future.usb.accessory.jar:com.android.location.provider.jar:com.discretix.drm.api.jar:com.google.android.maps.jar:com.google.android.media.effects.jar:com.google.widevine.software.drm.jar:com.htc.android.bluetooth.jar:com.htc.android.rosie.jar:com.htc.framework.jar:com.htc.fusion.fx.jar:com.htc.htcSceneManager.jar:com.htc.lockscreen.fusion.jar:com.htc.sunny2.jar:com.orange.authentication.simcard.jar:com.scalado.caps.jar:com.scalado.util.ScaladoUtil.jar:core.jar:core-junit.jar:ext.jar:filterfw.jar:framework.jar:HTCDev.jar:HTCExtension.jar:ime.jar:input.jar:javax.obex.jar:modemwarmup.jar:monkey.jar:pm.jar:services.jar:svc.jar:widget.jar:wimax.jar
Credits and thanks goes to:
xavierjohn22 auto DEODEXTOOL
XDA-Developers
Football
Too many people
The 'No Idea' Blog
Thank you for your work
Sorry if this posted in the wrong place but whats the process for getting the deodexed apks back onto the phone? I'm running the stock ICS OTA rooted.
lmftmf said:
Sorry if this posted in the wrong place but whats the process for getting the deodexed apks back onto the phone? I'm running the stock ICS OTA rooted.
Click to expand...
Click to collapse
This manual was written in order to develop more easy deodexed rom..
if you want to getting the pure deodexed ROM, You need to have a separate build process..
So i would need to re build my entire rom?
lmftmf said:
So i would need to re build my entire rom?
Click to expand...
Click to collapse
Maybe It will be.. This manual is written for people who want to build custom Rom..
I tried pushing the files back to the phone and it caused alot of problems so im guessing that i would have to learn how to build roms then. lol
I wish someone would just deodex the stock ics. I know wildchild has a deo version but its also stripped of a lot of the stock goodies the Rom comes with
Sent from my HTC PH39100 using xda premium
valve timing said:
I wish someone would just deodex the stock ics. I know wildchild has a deo version but its also stripped of a lot of the stock goodies the Rom comes with
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
I can try and put one up tonight.
That would be great
Sent from my HTC PH39100 using xda premium
valve timing said:
I wish someone would just deodex the stock ics. I know wildchild has a deo version but its also stripped of a lot of the stock goodies the Rom comes with
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
You have a tut right here!! Lol
Sent from my HTC PH39100 using xda premium
thats a bit above my skill level i dont wanna risk effing something up im not a dev in any way shape or form
I'm working on getting a stock, rooted de-odexed ROM up tonight if I can.
EDIT: Uploading now. I'll be starting a new thread. Also, I don't want to take anything away from bananacakes here. His tutorial is very good and if you plan on building anything ROM-related, you should get familiar with the process.
Sent from my Transformer Prime TF201 using XDA Premium HD app
Thank you for your work!
Can't wait for it
Sent from my HTC PH39100 using xda premium
You sir are amazing. Not only did this work like a charm but also pointing to the autodeo tool and the other tools in that thread. Thank you for your continued effort
added a method for Telstra velocity ics

[REQUEST] LT30p build.prop from JB

I just screwed up whilst spoofing my device as a nexus 4, lost my backup. Can someone share? I'm not having any major issues just my 3G speed has dropped significantly
Sent from my LT26i using Tapatalk 4 Beta
Here you go non modified stock 4.1.2 build.prop for lt30p
ArmaNineTSeven said:
Here you go non modified stock 4.1.2 build.prop for lt30p
Click to expand...
Click to collapse
Thanks mate, could have restored /system in clockworkmod but it would remove some changes I made and restore a lot of bloatware is there anyway to extract individual items from those .tar.a files?
Sent from my LT26i using Tapatalk 4 Beta

Whats the diffrence!

Hi guys, Im not used to Xperia modding as it seems alot diffrent compared to other devices. Can someone explain to me whay odex and deodex is? ( if that how there spelt) also what are the bennifits compared to one another. Thanks
Sent from my C5303 using xda app-developers app
Odex is how stock firmware ships
Deodex is the same thing with no ".odex" files, this makes you able to use modified system files, so it allows you to use themes
Odex files are basically cache files that make your phone load faster for the first time, but if there are no odex files Android creates a replacement for them so there is no lost performance
This is not exclusive to Xperia, many devices have these files
ZakooZ said:
Odex is how stock firmware ships
Deodex is the same thing with no ".odex" files, this makes you able to use modified system files, so it allows you to use themes
Odex files are basically cache files that make your phone load faster for the first time, but if there are no odex files Android creates a replacement for them so there is no lost performance
This is not exclusive to Xperia, many devices have these files
Click to expand...
Click to collapse
Is it worth Deodox?
Sent from my C5303 using xda app-developers app
ykdr-scott said:
Is it worth Deodox?
Sent from my C5303 using xda app-developers app
Click to expand...
Click to collapse
If you want to use themes

status 0 error

I was trying to modify the stock 244 rom using kitchen.I built the zip successfully but when flashing i always get a status 0 error.I know that the error is because of the updater script but i dont know how to modify it for my xperia z.I am new to this so someone please help me to successfully build the rom.
anyone willing to help?
Download a Rom and have a look at their updater script. Then modify yours as required.
Sent from my C6603 using xda app-developers app
I tried that.It seems I have to add c6602 support in kitchen edify folder.Can you help me?I tried some links without success
Status 0 errors are usually caused by an incompatible update-binary.
Try replacing the update-binary in your zip with one from a zip you know works on your phone.
Sent from my SK17i using XDA Premium 4 mobile app
Ticklefish said:
Status 0 errors are usually caused by an incompatible update-binary.
Try replacing the update-binary in your zip with one from a zip you know works on your phone.
Sent from my SK17i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Well I have zips of a few cm based roms.But I dont think the updater scripts of those will work with my modified stock right?
I didnt do that because i fear i might brick my phone or something..
r1punjay said:
Well I have zips of a few cm based roms.But I dont think the updater scripts of those will work with my modified stock right?
I didnt do that because i fear i might brick my phone or something..
Click to expand...
Click to collapse
I don't mean the update-script, I mean the update-binary. All the script does is tell the recovery what files to replace.
Bricking your phone depends on what you're trying to change. Generally you can only do it by flashing a wrong kernel.
Sent from my SK17i using XDA Premium 4 mobile app
Ticklefish said:
I don't mean the update-script, I mean the update-binary. All the script does is tell the recovery what files to replace.
Bricking your phone depends on what you're trying to change. Generally you can only do it by flashing a wrong kernel.
Sent from my SK17i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
oh u mean i can use the update binary from the cm rom in my rom?
Yep. After you build with kitchen or whatever, simply substitute update binary from Meta Inf blah blah, from the Cm10 of your device to your own zip. :thumbup:
Sent from my C6603 using xda app-developers app

How to deodex?

Ive been looking for hours at a set of mods that require a de-odexed rom. My question is how to de-odex?
Sent from my SAMSUNG-SGH-I537 using XDA Free mobile app
sanscreech said:
Ive been looking for hours at a set of mods that require a de-odexed rom. My question is how to de-odex?
Sent from my SAMSUNG-SGH-I537 using XDA Free mobile app
Click to expand...
Click to collapse
I haven't tried it myself yet but it looks like many have had success with using a zip provided by @blaz1nr. He's got a whole mod setup here: http://forum.xda-developers.com/galaxy-s4-active/general/i537-s5-conversion-v1-t2825681
Looks like reset your phone, root, safestrap and flash....instant deodex
Good look!
I was able to flash the de-odex without formatting and it worked. So, you don't have to loose everything if you don't want to
sent from a location using a device

Categories

Resources