Hi all xda-dev experts
I have two questions regarding odexed and deodexed roms and apps;
1. If I have deodexed rom installed on my phone, and I want to replace one default deodexed apk with one odexed from an odexed rom, can I simply copying the .apk and the corresponding .odex files into /system/app/ ?
2. If I have odexed rom installed on my phone, and I want to replace one default odexed apk with one deodexed from an deodexed rom, can I simply copying the .apk into /system/app/ and then deleting or leaving the corresponding .odex files?
I'm no expert though, but I don't think you can.
There is an app call "OdexMy" that convert all apps in system/app to odex, but for one application ? i'm not sure.
dohab said:
I'm no expert though, but I don't think you can.
There is an app call "OdexMy" that convert all apps in system/app to odex, but for one application ? i'm not sure.
Click to expand...
Click to collapse
How about Xperia S ICS rom? there are some apks that are odexed while the other apks aren't, the files inside framework folder too; some are odexed and the others aren't.
P.S.
I'm not asking about deodexing some odexed apks or vice versa.
Related
What's the difference between an odexed rom and a deodexed rom???
And how do I find out whether my rom is deodexed or not??
Using stock gingerbread 2.3.4 ddkq5...
Sent from my GT-S5670 using XDA App
a.cid said:
What's the difference between an odexed rom and a deodexed rom???
And how do I find out whether my rom is deodexed or not??
Using stock gingerbread 2.3.4 ddkq5...
Sent from my GT-S5670 using XDA App
Click to expand...
Click to collapse
There is more technical explanation to this, but the easiest way to find out is to use root and root explorer and in your phone's /system/app normally you have the .apk and coresponding .odex to every application inside your phone. Deodexed rom (mostly Custom Rom) don't have .odex files.
Deodexed is like decompiling the application (java..etc.) and recompiling it at the same time so that the apps will work even without the .odex file. Once your rom is deodexed you can modify the look of your phone, like adding custom theme for example. this is AFAIK.
If you have a stock rom (original or update), it's not deodexed, unless it is indicated when you downloaded it.
What is the purpose of the .odex files?
porcupineli said:
What is the purpose of the .odex files?
Click to expand...
Click to collapse
I know very little but .odex files have something to do with dalvic cache.
This is the reason deoxed roms takes longer time to boot for the first time than odexed rom because they need to create dalvic cache for each app however odexed rom don't.
My knowledge is very little so I might be wrong.
Sent from my HTC Vision using Tapatalk
a.cid said:
What's the difference between an odexed rom and a deodexed rom???
And how do I find out whether my rom is deodexed or not??
Using stock gingerbread 2.3.4 ddkq5...
Sent from my GT-S5670 using XDA App
Click to expand...
Click to collapse
Odex ROMs have their main files moved to another area for faster booting while when you deodex the ROM these files are compiled back inside the APK....
To know weather your phone is Deodexed or Odex, just open Root Explorer app and navigate to "/system/app" and check if there files with ".odex" extension....
If yes then your ROM is Odex
Otherwise, your ROM is Deodexed....
The benefits of having a Odex ROM :
1. More space in "/data" partition.
2. First boot is faster.
The benefits of having a Deodex ROM :
1. You can customize the ROM the way you want without worrying about odexes....
thanks mate nice info
Thanks a Bunch!!
helpppp
[email protected] said:
Odex ROMs have their main files moved to another area for faster booting while when you deodex the ROM these files are compiled back inside the APK....
To know weather your phone is Deodexed or Odex, just open Root Explorer app and navigate to "/system/app" and check if there files with ".odex" extension....
If yes then your ROM is Odex
Otherwise, your ROM is Deodexed....
The benefits of having a Odex ROM :
1. More space in "/data" partition.
2. First boot is faster.
The benefits of having a Deodex ROM :
1. You can customize the ROM the way you want without worrying about odexes....
Click to expand...
Click to collapse
but how to customize ??
i've installed FITDROID 3.1 by Vish Patil.. der i dnt find option to remove number of HOMESCREENS???
plz helpp.... sorry for this NOOOOOB qustn.. "
Thanks alot!!
Sent from my GT-S5670 using XDA App
[email protected] said:
Odex ROMs have their main files moved to another area for faster booting while when you deodex the ROM these files are compiled back inside the APK....
To know weather your phone is Deodexed or Odex, just open Root Explorer app and navigate to "/system/app" and check if there files with ".odex" extension....
If yes then your ROM is Odex
Otherwise, your ROM is Deodexed....
The benefits of having a Odex ROM :
1. More space in "/data" partition.
2. First boot is faster.
The benefits of having a Deodex ROM :
1. You can customize the ROM the way you want without worrying about odexes....
Click to expand...
Click to collapse
For your point of view, which one is better odex or deodex? Thanks for the reply
mohanass said:
For your point of view, which one is better odex or deodex? Thanks for the reply
Click to expand...
Click to collapse
Deodexed roms are better...
But what if we flashed a odexed only zip file with CWM on a deodexed rom, will it harm the phone or it's ok?!
midi_1996 said:
But what if we flashed a odexed only zip file with CWM on a deodexed rom, will it harm the phone or it's ok?!
Click to expand...
Click to collapse
Depends upon what file it is.....
Mostly it may get stuck at boot animation.....
midi_1996 said:
But what if we flashed a odexed only zip file with CWM on a deodexed rom, will it harm the phone or it's ok?!
Click to expand...
Click to collapse
worst case scenario, you may have to reflash your rom...
75% of the time, stuff for odexed roms won't work on deodexed roms and vice-versa...
and most of the cwm flashable zips are for deodexed roms, where did you find one for odexed one??
a.cid said:
worst case scenario, you may have to reflash your rom...
75% of the time, stuff for odexed roms won't work on deodexed roms and vice-versa...
and most of the cwm flashable zips are for deodexed roms, where did you find one for odexed one??
Click to expand...
Click to collapse
I think he meant the other way around....
Flashing deodexed ZIP on a odex ROM....
a.cid said:
worst case scenario, you may have to reflash your rom...
75% of the time, stuff for odexed roms won't work on deodexed roms and vice-versa...
and most of the cwm flashable zips are for deodexed roms, where did you find one for odexed one??
Click to expand...
Click to collapse
I was searching for crt effect to jvu deodexed value pack and I found (odexed jvu ONLY) and it was a flashable CWM zip file.
midi_1996 said:
I was searching for crt effect to jvu deodexed value pack and I found (odexed jvu ONLY) and it was a flashable CWM zip file.
Click to expand...
Click to collapse
link please...
which phone, btw...haven't heard this jvu for our phone...
thanks! was looking for this
Galaxy S GT-I9000 XXJVU 2.3.6 Deodexed (Also known as Value Pack)
[email protected] said:
Odex ROMs have their main files moved to another area for faster booting while when you deodex the ROM these files are compiled back inside the APK....
To know weather your phone is Deodexed or Odex, just open Root Explorer app and navigate to "/system/app" and check if there files with ".odex" extension....
If yes then your ROM is Odex
Otherwise, your ROM is Deodexed....
The benefits of having a Odex ROM :
1. More space in "/data" partition.
2. First boot is faster.
The benefits of having a Deodex ROM :
1. You can customize the ROM the way you want without worrying about odexes....
Click to expand...
Click to collapse
Great information, especially for a noob like myself. Thanks a lot!!
Ok, I am running cr2.5 (which is odex) and all the themes I see for it including kinda crap mods seem to be deodexed... so if I want to make my own theme I can just deodex some apks to theme them and then just leave them deodexed and just delete the .odex file when I replace them?
Wouldn't it be better to re-odex them (but if so why don't all the themes already out there have them re-odexed)?
Sent from my SCH-I535 using xda app-developers app
so nobody knows?
Yes. You have to deodex to easily mod APKs. Yes you can odex after mods. Do you need to? Not necessarily. Do you have to remove old odex file? yes. Does it matter? Not really. Will only notice on first boot and and a few deodexed files will not make a noticeable difference. Total odex verses deodex will be a few/several seconds on boot. Odex these days considering the speed of these devices is basically to slow down kang if dev knows how to encrypt it or the dev can't get all the files to successfully deodex.
[MOD] Ported "Note 2 Camera" 22.10. 30Mbit/192kbit/Hardkey-Vol.UP/SLOW/FAST MOTION
Hi Guys I have decided to port this mod from a great dev in the I9300 forum called HyperX (Thank you)
This is VERSION 1.52 for DEODEXED ROMS
Extra options compared to the stock Sg3 Cam
also
Dont worry if you dont see the pause button when recording, I was told note 2 took out the soft button, So to pause Press Vol down, Resume Vol UP.
Good thing about this is it uses hard keys for different things Eg; the volume up key also acts like the optional camera clicker. Like a real camera There are more visit the original thread for more details
Here is the details in the original thread: http://forum.xda-developers.com/showthread.php?t=1691145
Again thanks HyperX
Instructions very simple:
Simply copy the zip to your phone
Reboot into recovery
choose the zip file & flash
Reboot & DONE
whats the difference from his to yours? does HyperX version does not work on I9305 and yours does?
Its not mine its his i just made it flashable simply changing partition location
Sent from my GT-I9305 using xda app-developers app
Hey guys, thanks for the app, but for me the camera now forces closes, am on stock odexed rom just rooted.Does anyone have the stock camera.apk
cheers
You need to be deodexed, just go the the thread and download the deodexed xxali5 rom and it has all tha apks in system/app & framework
Sent from my GT-I9305 using xda app-developers app
btemtd said:
You need to be deodexed, just go the the thread and download the deodexed xxali5 rom and it has all tha apks in system/app & framework
Sent from my GT-I9305 using xda app-developers app
Click to expand...
Click to collapse
Thanks, but i really like my stock rom as it has great battery life and supports Telstra HD voice, which is awesome. I just need the stock camera.apk back (i dont really want to do a restore as i have too much progress on one of my games) lol.
stevejau said:
Thanks, but i really like my stock rom as it has great battery life and supports Telstra HD voice, which is awesome. I just need the stock camera.apk back (i dont really want to do a restore as i have too much progress on one of my games) lol.
Click to expand...
Click to collapse
No imeant to download it so you can extract the camera apk from it and use it. Its also good to have that bckup incase you have another problem like this, all the stock apks are in that
btemtd said:
No imeant to download it so you can extract the camera apk from it and use it. Its also good to have that bckup incase you have another problem like this, all the stock apks are in that
Click to expand...
Click to collapse
gotcha..cheers :good:
If you are on a stock odexed rom then you will need to delete the .odex file for what is being replaced in both system/app and framework.
So looking in the zip you will need to delete samsungcamera.odex from system/app and seccamera.odex from system/framework.
If you don't want to remove those two files then you will need the samsungcamera.apk and seccamera.jar from a stock odexed rom not a deodexed rom because that is not going to make any difference because when the rom is deodexed it combines the .apk or .jar together with the .odex where as an odexed system has the .odex and .apk or .jar seperate.
txr33 said:
If you are on a stock odexed rom then you will need to delete the .odex file for what is being replaced in both system/app and framework.
So looking in the zip you will need to delete samsungcamera.odex from system/app and seccamera.odex from system/framework.
If you don't want to remove those two files then you will need the samsungcamera.apk and seccamera.jar from a stock odexed rom not a deodexed rom because that is not going to make any difference because when the rom is deodexed it combines the .apk or .jar together with the .odex where as an odexed system has the .odex and .apk or .jar seperate.
Click to expand...
Click to collapse
Thanks for info, much appreciated.
Cheers
Please also edit your post and include the information; "Only for deodexed rom's".!!
Sent from my GT-I9305
hi
Just to check, is there no way to install this hacked camera on an odexed rom? I tried what i thought i needed to do to install it on odexed rom, delete the apk and odex files and put on the new apk but when i rebooted my phone it was stuck at the samsung screen. Had to put all the old files back from recovery with adb.
Any help apprechiated
Thanks worked nice with Ripper 19.5 ROM
Hi,
Can I flash it on cm10.2 m snapshot ?
Does it work on cyanogen mod?
Sent from my Nexus 7 using Tapatalk
beppemila said:
Does it work on cyanogen mod?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
a bit of a old thread to be posting in.... and no, only on stock based roms. probably 4.1.2 based on thread age.
chongc1996 said:
a bit of a old thread to be posting in.... and no, only on stock based roms. probably 4.1.2 based on thread age.
Click to expand...
Click to collapse
Yeap. Doesn't work on 4.3. Phone doesn't boot..
Worked on i9305 4.4.4 odexed rom
sorry if this is in the wrong section
The question is: how to find which framework files are required by an app?
well i am building a rom and i am adding a few apps from stock rom (eg touchwiz Gallery chat on etc)
so i want to know which framework file are utilised by these and oter few apps.
iamashwin said:
sorry if this is in the wrong section
The question is: how to find which framework files are required by an app?
well i am building a rom and i am adding a few apps from stock rom (eg touchwiz Gallery chat on etc)
so i want to know which framework file are utilised by these and oter few apps.
Click to expand...
Click to collapse
First off using those fonts sizes are pointless.
You will need all framework from the rom you are porting them from. In you example you will have to have all of touchwiz framework files. there are 3 TWframeworks-res, framework-res and lidroid-res apks as well as other lib files needed.
Hi guys.
I was wondering what's the difference between stock deodexed rom and just a stock rom?
Is it better and with what?
Thanks!
celticbg said:
Hi guys.
I was wondering what's the difference between stock deodexed rom and just a stock rom?
Is it better and with what?
Thanks!
Click to expand...
Click to collapse
Before explaining, I must state I'm no pro but can explain on this briefly.
Every stock app in a stock ROM comes in .apk and .odex files, for example SMS.apk and SMS.odex. The .odex acts like a backup of the app.
While deodexed ROM is a ROM which the stock apps' .odex files are 'removed' safely without affecting the system.
Once the .odex file is removed, you can make modification to certain .apk, either to make dark theme or customise things inside.