I haven't found any useful methods to odex a rom while it is not already flashed on the phone. I was hoping that somebody could help or link me to a guide.
I don't want a flashable zip to odex, I want to release a seperate odexed version of my rom.
I remember back on EC05, tanimn created a script to do re-odex. Don't remember how it works, I'll try and find a link
Sent from my SPH-D700 using xda premium
http://forum.xda-developers.com/showthread.php?t=927742
This one?
Can I ask why? The only difference I've seen between Odexed and Deodexed ROMs is initial startup time. And there might be a reason most ROM cooks don't provide Odexed versions.
notriddle said:
Can I ask why? The only difference I've seen between Odexed and Deodexed ROMs is initial startup time. And there might be a reason most ROM cooks don't provide Odexed versions.
Click to expand...
Click to collapse
See here: http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/. Most roms are made deodexed since they can be themed and the apk's can be modified.
I should read more *embarrassed*.
Related
I just updated my firmware to STOCK 2.2 (KA6) which I downloaded from CHAINFIRE's thread. Now I rooted my phone and its working fine for me.
Than I see another post for Deodexed KA6 from Whitehawkx. what is that. that also says original stock. am confused now.
can any one please explain me difference between both stock & Odex & deodex things.
Also how to flash this Deodexed KA6 (same as ODIn or any other method).
I was wondering the same thing....so i googled it...
Sent from my SGH-T959 using XDA App
This maybe inaccurate but I have a reasonable idea of what it is... it's just hard to explain.
If you look in the system/app and system/framework you will see the filename.apk along with it's counterpart filename.odex. With a deodexed rom it places the filename.odex and converts it to filename.dex (not odex) and places it within filename.apk. But most importantly the framework MUST support the deodexed files! If the framework is looking for filename.odex files that aren't there you will end up in a bootloop. It just won't work. But the benifits of having deodexed files is that it's easier to theme and replace. In some cases you can take a app.apk and replace it with differentappfromdifferentrom.apk. When you have a odexed rom you just can't do that.
You will notice that many themes and modifcations will not include support for odex roms so having a deodexed rom is definitly the way to go!
Some people have argued that having an odexed rom causes your device to perform better! But I have never noticed any difference personally and frankly I'm skeptical. Tasters choice.
I googled it as well. Here was one of the better hits....
http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
Binary100100 said:
This maybe inaccurate but I have a reasonable idea of what it is... it's just hard to explain.
If you look in the system/app and system/framework you will see the filename.apk along with it's counterpart filename.odex. With a deodexed rom it places the filename.odex and converts it to filename.dex (not odex) and places it within filename.apk. But most importantly the framework MUST support the deodexed files! If the framework is looking for filename.odex files that aren't there you will end up in a bootloop. It just won't work. But the benifits of having deodexed files is that it's easier to theme and replace. In some cases you can take a app.apk and replace it with differentappfromdifferentrom.apk. When you have a odexed rom you just can't do that.
You will notice that many themes and modifcations will not include support for odex roms so having a deodexed rom is definitly the way to go!
Some people have argued that having an odexed rom causes your device to perform better! But I have never noticed any difference personally and frankly I'm skeptical. Tasters choice.
Click to expand...
Click to collapse
Good explanation, thanks.
shrapnelx said:
I googled it as well. Here was one of the better hits....
http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
Click to expand...
Click to collapse
oooohhhhhhhhhhhh! thx now I know and knowing is half the battle GI JOE... GO COBRA!
I've read into the subject of Deodex vs Odex many times before, so I know general differences as well as supposed advantages/disadvantages to both. So my question is this, besides the general ability to theme every aspect of a ROM, what other major uses are there for Deodexing a touchwiz based ROM? I know that some mods require you to be deodexed, which isn't a big deal to me because all of the mods I flash regularly do not require that. Hopefully someone knowledgeable in this area can clarify for me:good:
There aren't any besides modding.
Sent from my SGH-I717R using xda premium
like agoattamer said only use for a deodex rom is to theme it. if you like the themeing of deodex but want speed and smaller file size of odex you can set up your deodexed rom with all changes you want made to it and then run the script found here( http://forum.xda-developers.com/showthread.php?p=44228706 ) to reodex the rom. you can also odex apks in data/app. just keep in mind that not all downloaded apps like to be odexed but most will not give issue. i think only apps i had to reinstall to get back to deodex was amazon app store and a game downloaded from amazon
Agoattamer said:
There aren't any besides modding.
Sent from my SGH-I717R using xda premium
Click to expand...
Click to collapse
s89281b said:
like agoattamer said only use for a deodex rom is to theme it. if you like the themeing of deodex but want speed and smaller file size of odex you can set up your deodexed rom with all changes you want made to it and then run the script found here( http://forum.xda-developers.com/showthread.php?p=44228706 ) to reodex the rom. you can also odex apks in data/app. just keep in mind that not all downloaded apps like to be odexed but most will not give issue. i think only apps i had to reinstall to get back to deodex was amazon app store and a game downloaded from amazon
Click to expand...
Click to collapse
Thanks to both of you. You confirmed what I thought originally. And thanks s89281b, I actually have that script already and use it on all of my ROMS except the touchwiz ones. So now that my question is confirmed, I'll use this on touchwiz ROMS as well. I have tried digging into theming a little, but I'm putting that on pause so no need for deodex atm
Sent from my SAMSUNG-SGH-I717 using Tapatalk HD
Hi,
This is not my work but I want to share it, the original thread is here:
[SCRIPT TO ODEX] Universal Odex Script Version 6.3 (10-09-2013)(MM-dd-yyyy)
I was on stock rom so Odexed and I flashed a custom Deoxeded rom (for some features and mods)... But I loose the smoothess of my stock rom..., some kind of lags and stutters scrolling in settings, openning an app the transition animation is not smooth, etc... And by searching on the Android Development and Hacking forum I found this thread above...
I had a doubt about the real improvement... But who knows? Nandroid backup, I follow the guide and... My phone is smooth as before, apps open faster, like on stock! All the mods flashed before works, no bootloop, no force closes, all is fine
BUT there is always a but, you're custom Deodexed rom is now Odexed, nothing dramatic but good bye the mods for Deodexed rom (bootloop) so before flashing a mode make sure it's for Odexed rom...
You can flash your favorite Deoxeded rom, flash some mods and then Odex your rom, you'll keep your mods (at least for me).
For Deoxeded... Reflash your rom or a backup (Deoxeded).
Download the attached file.
Place it on your sdcard.
Reboot in recovery and in the first place make a Nandroid backup then flash the zip in recovery and reboot.
You'll see that the app Script Manager was installed, open it then type (press enter after each line):
su
dexo -all
Click to expand...
Click to collapse
A line will appear then type "Yes" and press enter, the procedure will start, maybe you'll have some Force Closes, it's normal then the phone will reboot... and enjoy!
For more details about what exactly does the script, a better explanation, etc... Take a look to the original thread.
Don't odex the Data app or you'll need to reinstall your paid apps (and before delete the .dex files), you'll encouter a lot of force closes, etc...
I tested on LG rom only...
I hope this will help
Credits to MatrixDJ96
@viking37 Thanks for sharing
MatrixDJ96 said:
@viking37 Thanks for sharing
Click to expand...
Click to collapse
Hi MatrixDJ96,
You're welcome
Thanks to you for your work, there is really an improvement
viking37 said:
Hi MatrixDJ96,
You're welcome
Thanks to you for your work, there is really an improvement
Click to expand...
Click to collapse
Sir update v6.3.1
Sorry but I there is something I couldn't understand
If I want some MODs
can I use this script to Odex after flashing my MODs on Deodexed ROM ??
will my MODs work ??:highfive:
yousefageaz said:
Sorry but I there is something I couldn't understand
If I want some MODs
can I use this script to Odex after flashing my MODs on Deodexed ROM ??
will my MODs work ??:highfive:
Click to expand...
Click to collapse
Hi,
It depends of the mods?
Generally, use your mods then Odex your rom, there is a chance that after Odexed your rom you can't properly apply other mods...
I think the OP is clear...:
Hammer_Of_The_Gods said:
BUT there is always a but, you're custom Deodexed rom is now Odexed, nothing dramatic but good bye the mods for Deodexed rom (bootloop) so before flashing a mode make sure it's for Odexed rom...
You can flash your favorite Deoxeded rom, flash some mods and then Odex your rom, you'll keep your mods (at least for me).
For Deoxeded... Reflash your rom or a backup (Deoxeded).
Click to expand...
Click to collapse
For the last version of the script, see the original thread (link in OP).
Sent from my LG-D802 using xda premium
I figured I would convert this mod to our device using code in the unified thread. (Props to original author and Rompnit).
It took a bit of tweaking to get it to work on the Sprint variant but it seems to be functioning as intended.
This is for Odexed stock(ish) roms only!
It replaces services.jar and build.prop. If you have tweaks to your build prop that you don't want set to defaults then I recommend you install the jar and odex file manually and edit your build.prop with whatever tool you see fit
A lot of mods affect the services.jar as well, noteably the unlock hotspot mod. That's why it's included FREE with this mod.
What a deal!
The changes I made to the build.prop are simply these additions. The rest is stock
#CRT Mod
persist.sys.screen_on=fade
persist.sys.screen_off=crt
These can be changed to set your on/off animation type. Options are CRT/FADE/NONE
Standard Use at Your Own Risk stuff Blah Blah
Enjoy
It's usually better to provide a deodexed copy as odexed relies on the same exact framework that it was odexed with to be present for the files to function at all
On the other hand, deodexed will function on any rom including odexed roms (when yup delete/move the odex files affected)
CNexus said:
It's usually better to provide a deodexed copy as odexed relies on the same exact framework that it was odexed with to be present for the files to function at all
On the other hand, deodexed will function on any rom including odexed roms (when yup delete/move the odex files affected)
Click to expand...
Click to collapse
I provide Odexed mods mainly because nobody else is doing it. And because odexed versions are usually the first thing people ask for, and because deodexing seems to break too many functions I use like private mode and S-Health issues.
I'll post the edited smali if anyone wants to use it for anything.
townsenk said:
I provide Odexed mods mainly because nobody else is doing it. And because odexed versions are usually the first thing people ask for, and because deodexing seems to break too many functions I use like private mode and S-Health issues.
I'll post the edited smali if anyone wants to use it for anything.
Click to expand...
Click to collapse
I wasn't criticizing, merely commenting
CNexus said:
I wasn't criticizing, merely commenting
Click to expand...
Click to collapse
np, It's all good.
Return to Stock
How can I go back to stock? remove the CRT animation and changes you made to Services
ramik911 said:
How can I go back to stock? remove the CRT animation and changes you made to Services
Click to expand...
Click to collapse
Replace the services.jar and services.odex with a stock version and remove the added entry in build.prop
thnx
Is this only for root devices? Are there any CRT mods for none roots? I did a search and so far this is the only thread with CRT.
dwss said:
Is this only for root devices? Are there any CRT mods for none roots? I did a search and so far this is the only thread with CRT.
Click to expand...
Click to collapse
You would need root access to flash the completed product to your device.
What would it take to port the crt mod to moar 7 rom.i had it on stock rom with xposed. I want to get it back without xposed.
hi all
is there nobody out ( @Rajeev, @Pandemic, @niaboc79 ...) for cooking a simple non-customized Stock D6503 23.4.A.1.232 flashable ROM
which is deodexed, pre-rooted and with Super User Mod (patched services.jar) inside???
All stock ROMs 232 are modified the more the less by its builder.
But i just want a clean one with the things mentioned above.
Creating a flashable ROM with PRFcreator will do the trick, but these ROMs aren´t deodexed and have no Super User Mod inside.
So come on guys...
moonryder said:
hi all
is there nobody out ( @Rajeev, @Pandemic, @niaboc79 ...) for cooking a simple non-customized Stock D6503 23.4.A.1.232 flashable ROM
which is deodexed, pre-rooted and with Super User Mod (patched services.jar) inside???
All stock ROMs 232 are modified the more the less by its builder.
But i just want a clean one with the things mentioned above.
Creating a flashable ROM with PRFcreator will do the trick, but these ROMs aren´t deodexed and have no Super User Mod inside.
So come on guys...
Click to expand...
Click to collapse
deodexing your rom is pretty easy, I wrote a short guide here : http://forum.xda-developers.com/showpost.php?p=63302497&postcount=2
as for patching system.jar , if you use xposed it can be done easily using one of the adds
this way you can stay up to date with a deodexed rom
ticktock666 said:
deodexing your rom is pretty easy, I wrote a short guide here : http://forum.xda-developers.com/showpost.php?p=63302497&postcount=2
as for patching system.jar , if you use xposed it can be done easily using one of the adds
this way you can stay up to date with a deodexed rom
Click to expand...
Click to collapse
i will try it, thx for that
one questions: before this procedure i need an installed pre-rooted stock rom created with PRF-creator. Right?
moonryder said:
hi all
is there nobody out ( @Rajeev, @Pandemic, @niaboc79 ...) for cooking a simple non-customized Stock D6503 23.4.A.1.232 flashable ROM
which is deodexed, pre-rooted and with Super User Mod (patched services.jar) inside???
All stock ROMs 232 are modified the more the less by its builder.
But i just want a clean one with the things mentioned above.
Creating a flashable ROM with PRFcreator will do the trick, but these ROMs aren´t deodexed and have no Super User Mod inside.
So come on guys...
Click to expand...
Click to collapse
If there's such a demand for it perhaps you could make this for others?
Cluey said:
If there's such a demand for it perhaps you could make this for others?
Click to expand...
Click to collapse
i tried it but i have no success in deodexing (tried it about 1 day with different methods) - after flashing the deodex_patch.zip with the deodexed files inside i always stuck in bootloop.
I'd love to do this, but I have a super ****ty connection and it would take me forever to upload, not to mention connection dropping completely.
Any suggestions for and app that will allow me to upload somewhere and resume on connection drop ? will dropbox work, or the mega app ?