If you deodexed your stock rom for applying various framework mods and want to Reodex and remove mods then flash the zip given and avoid reflashing your ROM. Factory resetting deodexed stock isc cause bootloop.
After reodexing you can format your phone..
http://www.mediafire.com/?2j7sbs5b668g2ce
Hey is there any way to deodexed ur rom just like this?
Sent from my WT19i using xda premium
Somyab said:
Hey is there any way to deodexed ur rom just like this?
Sent from my WT19i using xda premium
Click to expand...
Click to collapse
Flash this zip from Pranav pandey to deodex your stock rom
Anyway,,,, what are the function of odex or deodex rom?
I still dont understand about this
sent from my Black Mango
dhallbhoo said:
Anyway,,,, what are the function of odex or deodex rom?
I still dont understand about this
sent from my Black Mango
Click to expand...
Click to collapse
hmm, DEX means Dalvik executable. ODEX means Optimised DEX.
stock sony rom is odexed, it has faster app loading while booting. In "/system/framework/" there are some .odex files, when we use any tool to deodex any ROM, these .odex files are combined in the file belonging to that .odex file as for example in framework folder there are files core.jar and core.odex, when you deodex, the core.odex file is combined with the core.jar and the output is single file that is core.jar.
The benefit of deodexing is that if we want to do some changes to those framework files, we only have to make changes to one file. the drawback is that your phone will boot little bit slow.
Related
Question, If i want to just replace the icons from the system.apk's in an odex rom, do I first need to deodex the rom or can i just do the quick (and sometimes messy) route of using 7zip to replace the res folder inside the system apk's with my modified res folder?
If I need to deodex the rom first, I'm guessing it's the same procedure to deodex an i9100 rom as it is for the i9000 rom?
Thanks!
So no-one knows if the icons can be themed without deodexing it first? I'm not asking how to do it, just if it's necessary.
Sent from my GT-I9100
Hi,
Would asomeone of you guys be so kind to tell me how to odex FRAMEWORK files (jars) and system apps. Especialy, do it in batch - once for all files.
Maybe some script, a working one, becouse I unsuccessfuly tried the scripts on xda for odex ICS, and i used SGS3's BOOTCLASSPATH
from init.rc
BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/sec_edm.jar:/system/framework/seccamera.jar
Click to expand...
Click to collapse
And you maybe know if it is possible to odex custom rom files where you don't have the original odex files...
so using the odex files from stock rom (the same the custom rom is based on).
I tried it with some script and bootlooped...
What I would like to do, is to take a custom rom and odex it. As quickly as possible.
I would love using a custom rom but not losing the advantages of ODEXed rom...
I would appreciete your help.
Rgds,
Hi, i need reboot button for my sxs using ics with root. it is so boring to I've to do it manually on&off.
thax.
As soon as the deodexing problem with our ICS firmware is fixed, we will be able to do that.
I also want this, but...
Felimenta97 said:
As soon as the deodexing problem with our ICS firmware is fixed, we will be able to do that.
I also want this, but...
Click to expand...
Click to collapse
Try this deodexed files from Chxrlyglez.?
http://forum.xda-developers.com/showpost.php?p=30665354&postcount=75
neectron said:
Try this deodexed files from Chxrlyglez.?
http://forum.xda-developers.com/showpost.php?p=30665354&postcount=75
Click to expand...
Click to collapse
You framework folder needs to be entirely deodexed or odexed. It can't have some files odexed and other not, like Apps folder. the phone won't boot. Krabappel words And if that is from the SSPeed ROM, the system is really unstable, so the phone won't stay up too much... I could try, but I would need to have the entire framework folder so i could test on my phone.
Hope his files are from the 1.58 fw. Don't know if there is any incompatibility with an older ICS fw.
Felimenta97 said:
You framework folder needs to be entirely deodexed or odexed. It can't have some files odexed and other not, like Apps folder. the phone won't boot. Krabappel words And if that is from the SSPeed ROM, the system is really unstable, so the phone won't stay up too much... I could try, but I would need to have the entire framework folder so i could test on my phone.
Hope his files are from the 1.58 fw. Don't know if there is any incompatibility with an older ICS fw.
Click to expand...
Click to collapse
How about this?
Edit those deodexed files.Then odex them again then put them in on XS.
I dont which rom they are from.Ask him.I dont own XS.He asked to port my reboot mod for Sola to XS.So I asked for deodexed files.
neectron said:
How about this?
Edit those deodexed files.Then odex them again then put them in on XS.
I dont which rom they are from.Ask him.I dont own XS.He asked to port my reboot mod for Sola to XS.So I asked for deodexed files.
Click to expand...
Click to collapse
OK. I will see what I can do. I'm not modder or anything, I just can follow some tutorials.
Felimenta97 said:
You framework folder needs to be entirely deodexed or odexed. It can't have some files odexed and other not, like Apps folder. the phone won't boot. Krabappel words And if that is from the SSPeed ROM, the system is really unstable, so the phone won't stay up too much... I could try, but I would need to have the entire framework folder so i could test on my phone.
Hope his files are from the 1.58 fw. Don't know if there is any incompatibility with an older ICS fw.
Click to expand...
Click to collapse
Fw 6.1.A.0.453 ICS, I dont know, but some apps in stock firmware from /system/app have .odex and others dont .... i dont know if its the same with framework
Hope files can help you
Chxrlyglez said:
Fw 6.1.A.0.453 ICS, I dont know, but some apps in stock firmware from /system/app have .odex and others dont .... i dont know if its the same with framework
Hope files can help you
Click to expand...
Click to collapse
Oh god... I found both tutorials once (Re-odex and add reboot to power menu) but now I can't find any of them
Could you share your entire Framework folder, I want to see if it could work on my 1.58 fw... I'm not sure, but, still. Maybe with it fully deodexed I can try, and it will make it easier. I also could do the 30 volume step mod
I think Sony should create a "Expert Mode" on their JB firmware, where experienced users could activate some nice features, such as enable Reboot in power menu.
Felimenta97 said:
Oh god... I found both tutorials once (Re-odex and add reboot to power menu) but now I can't find any of them
Could you share your entire Framework folder, I want to see if it could work on my 1.58 fw... I'm not sure, but, still. Maybe with it fully deodexed I can try, and it will make it easier. I also could do the 30 volume step mod
I think Sony should create a "Expert Mode" on their JB firmware, where experienced users could activate some nice features, such as enable Reboot in power menu.
Click to expand...
Click to collapse
With "entire Framework folder" do you mean ICS .453 Framework folder deodexed ?? If that is right, give me some time, when i get back to my house i´ll can upload it to you
Chxrlyglez said:
With "entire Framework folder" do you mean ICS .453 Framework folder deodexed ?? If that is right, give me some time, when i get back to my house i´ll can upload it to you
Click to expand...
Click to collapse
Yes. No hurry
Felimenta97 said:
Yes. No hurry
Click to expand...
Click to collapse
Sorry for delay!
Here is the link for entire Framework folder from Fw.45 deodexed
http://minus.com/lbvmFwkPwUg3qz
Hope it help you
So I was tinkering around on the KA12 SSpeed rom and created the reboot button for the power menu. So I'm not entirely sure if it will work on the stock rom since it's not deodexed.
But attached is the modified android.policy.jar. I had reused an existing icon as I couldn't recompile framework-res.apk.
krazyazy said:
So I was tinkering around on the KA12 SSpeed rom and created the reboot button for the power menu. So I'm not entirely sure if it will work on the stock rom since it's not deodexed.
But attached is the modified android.policy.jar. I had reused an existing icon as I couldn't recompile framework-res.apk.
Click to expand...
Click to collapse
it doesn`t work at all!nothing has changed after using your androidpolicy.jar!
aresbv2000 said:
it doesn`t work at all!nothing has changed after using your androidpolicy.jar!
Click to expand...
Click to collapse
Do you have an android.policy.odex file there as well? If so, that means you can't use this, since it was created on a deodexed rom.
But, like I said, I have it working krab's KA rom so I can't really tell if it will work anywhere else.
krazyazy said:
Do you have an android.policy.odex file there as well? If so, you prolly have to delete it.
But, like I said, I have it working krab's KA rom so I can't really tell if it will work anywhere else.
Click to expand...
Click to collapse
Sure if you did delete the file, the users phone would not start.
Sent from my LT26i using xda premium
For a quick fix while you wait...try the quick reboot app from the market - tiny little app, reboot, reboot into recovery etc - works well :good:
Do you know how many times you could have just turned your fone off and on normally by the time you've done all this?
Sent from my LT26i using Tapatalk 2
Use notification toggle from market to add toggles and reboot from notification bar, its free and customizable
Hit thanks if it helps
Sent from my LT26i using xda premium
krazyazy said:
So I was tinkering around on the KA12 SSpeed rom and created the reboot button for the power menu. So I'm not entirely sure if it will work on the stock rom since it's not deodexed.
But attached is the modified android.policy.jar. I had reused an existing icon as I couldn't recompile framework-res.apk.
Click to expand...
Click to collapse
Where is the attached file i will try it.
General ODEX Script
By Various Devs
-----------------------------------------------------------------------------------------
Seeing other devs recently ODEX-ing their roms in order to decrease boot and app load time I fought of those roms that may not be ODEX.
Therefore I want to share this zip that will ODEX any GB rom out here.
This is the general script those ODEX-ed roms we have use.
Download:
http://www.mediafire.com/?l4aau7pmmgtid
-----------------------------------------------------------------------------------------
Credits
I don't really know lol
(Not Tested on CM7)
why should anyone want to increase their boot and app loading times? lol
alex.mircea0509 said:
why should anyone want to increase their boot and app loading times? lol
Click to expand...
Click to collapse
Sorry I miswrote lol.
Increasing The Decreasement of Loading Times which is what I meant. (Yeah it kinda does not make sense.)
and how do you use this? you just simply flash it? was it tested? of what improving are we talking about? is it noticeable?
i'm on NXT 1.3 (I guess it's based on 58 or 64 GB... donno anymore.. i'm stable for almost 6 months now).. will it work on this?
thx
alex.mircea0509 said:
and how do you use this? you just simply flash it? was it tested? of what improving are we talking about? is it noticeable?
i'm on NXT 1.3 (I guess it's based on 58 or 64 GB... donno anymore.. i'm stable for almost 6 months now).. will it work on this?
thx
Click to expand...
Click to collapse
Flash It Like A Rom/Zip
It works on all slots (Multiboot) if using Turbo Kernel
Boot Time Change is noticeable.
why is this script deleting all files in /data/dalvik-cach/ ? wouldn't making sense to just delete dex files of the newly odexed system apps or framework ?
sheraro said:
why is this script deleting all files in /data/dalvik-cach/ ? wouldn't making sense to just delete dex files of the newly odexed system apps or framework ?
Click to expand...
Click to collapse
A mixture of ODEXed and Deodexed files can cause problems.
Some apps have different dalvik when ODEX.
It is a stability measure.
Sent from my GT-I9300 using xda app-developers app
Any assurance of this mod to work?? Just curious.
Regards,
Sdojoin
sdojoin said:
Any assurance of this mod to work?? Just curious.
Regards,
Sdojoin
Click to expand...
Click to collapse
Tested on DEODEXED Aurora and My Rom
Something like this is possible on ics or jb roms?
farenheith said:
Something like this is possible on ics or jb roms?
Click to expand...
Click to collapse
There are a lot of ODEX methods and scripts out there.
I just uploaded the CWM Method used in the ODEX Roms we currently have.
This could work on JB/ICS but not guaranteed (Phone/Contacts apks may FC)
i flashed tihs on dixperia2 rom and it dosen't boot anymore it freezes on boot logo
funnies7 said:
i flashed tihs on dixperia2 rom and it dosen't boot anymore it freezes on boot logo
Click to expand...
Click to collapse
Clean install?
Sent from my GT-I9300 using xda app-developers app
funnies7 said:
i flashed tihs on dixperia2 rom and it dosen't boot anymore it freezes on boot logo
Click to expand...
Click to collapse
It's usually because of your android.policy.jar.
Either that or you have jar's that contain no 'meta-data'.
Open up all your Jar's in /System/Framework and see what's missing.
half of my system apps don't have their odex files even after fllashing the zip multiple times ! i don't know what's keeping them from odexing
also if i transfer any new app to system/app , its odex file can't be generated ...
sheraro said:
half of my system apps don't have their odex files even after fllashing the zip multiple times ! i don't know what's keeping them from odexing
also if i transfer any new app to system/app , its odex file can't be generated ...
Click to expand...
Click to collapse
It is a small script that does not ODEX everything but only small amount of files.
Full ODEXing is reccomended through ADB and not CWM.
Some things can't be ODEXed in CWM
Also this only ODEXes apps used by system, your own apps will not be ODEXed even if you move to system and re-run script
Sent from my GT-I9300 using xda app-developers app
Dude, how come the statusbar disappear after odexing?? Its like there's no systemui present. Not even an fc popup. Just no statusbar. I've tried several times still got the same result. Any clue what might be the prob??
Regards,
Sdojoin
sdojoin said:
Dude, how come the statusbar disappear after odexing?? Its like there's no systemui present. Not even an fc popup. Just no statusbar. I've tried several times still got the same result. Any clue what might be the prob??
Regards,
Sdojoin
Click to expand...
Click to collapse
I have no idea, I just decided to share the script other devs use for those who are unaware/want to ODEX their roms, I can't tell you exactly.
Cache and Dalvik clean are recommended though.
Noted.
Regards,
Sdojoin
Does this work on Xperia NXT 2 r1 by krisdee?
Thought to share this mod from http://forum.xda-developers.com/showthread.php?t=2667925 for our Z Ultra.All credits goes to the dev,i just share it here.
Edit :For deodexed ROM only.Tested on Monx ROM.
Sent from my C6802 Monxdified ROM
how bout the settings?
did you have seetings.apk for z ultra?
U just need to flash the zip file from inside the link provided
Sent from my C6802 Monxdified ROM
Not working for me. Have monx installed
before i get your thread, i was already flashing from that thread before, copying their setting mess up mine, need to restore system
I read the thread and decide to just flash the zip file, for stock rom
and it shows up, smart call handling, in settings
thanks dude ^^
Justin^Tan said:
before i get your thread, i was already flashing from that thread before, copying their setting mess up mine, need to restore system
I read the thread and decide to just flash the zip file, for stock rom
and it shows up, smart call handling, in settings
thanks dude ^^
Click to expand...
Click to collapse
Glad that's help u dude
Sent from my C6802 Monxdified ROM
-delete
I flaahed it twice again. Now it works finally, thanks for.the mod ?
skylinestan said:
Thought to share this mod from http://forum.xda-developers.com/showthread.php?t=2667925 for our Z Ultra.All credits goes to the dev,i just share it here.
Edit :For deodexed ROM only.Tested on Monx ROM.
Sent from my C6802 Monxdified ROM
Click to expand...
Click to collapse
It will work on ODEXED stock rom?
Feodorus 4PDA said:
It will work on ODEXED stock rom?
Click to expand...
Click to collapse
I'm not sure if it's works for odexed ROM..u can try but make sure to backup 1st before flashing this mod
Sent from my C6802 Monxdified ROM
skylinestan said:
I'm not sure if it's works for odexed ROM..u can try but make sure to backup 1st before flashing this mod
Sent from my C6802 Monxdified ROM
Click to expand...
Click to collapse
At Odexed Rom doesn't work. When deleting SemcSettting.odex the "SETTING" icon in applications disappears.
All files in system/framework need to be either odexed or deodexed (unlike system/app which can have a mix). If you haven't deodexed all files in framework then you must have an odex version for this, which we don't, so deodexed only (deleting odex files doesn't work as deodexing is merging the two files not just deleting one of them)
Sent from my C6833 using Tapatalk