[Q] How to deodex? - Galaxy 3 General

Hi!
I have android.policy.odex for xxjpm with stock android lock. How can I make android.policy.jar from it for a deodexed xxjpm?
Thanks

bende.laszlo said:
Hi!
I have android.policy.odex for xxjpm with stock android lock. How can I make android.policy.jar from it for a deodexed xxjpm?
Thanks
Click to expand...
Click to collapse
If you are on an odexed ROM, DO NOT deodex just that one file.
What ROM?

Previously I used odexed xxjpm I replaced android.policy.odex for stock android lock. Now I have deodexed xxjpm without original lock. I think I can't use android.policy.odex now.

bende.laszlo said:
Previously I used odexed xxjpm I replaced android.policy.odex for stock android lock. Now I have deodexed xxjpm without original lock. I think I can't use android.policy.odex now.
Click to expand...
Click to collapse
Just:
Decompile the .jar file with apktool (change the extension to .apk)
Make the same changes
Recompile

Thanks!
I'll try it.

bende.laszlo said:
Thanks!
I'll try it.
Click to expand...
Click to collapse
Welcome.
Ask more questions if needed.

Related

[REQ] 2.3.2 STOCK Full deodexed

Hey folks,
i need a STOCK full deodexed ROM, in the latest version for SNS, rooted & with busybox
Could anyone Provide pls?
THX in advance!
Fastboot this http://forum.xda-developers.com/showthread.php?t=884093, update to 2.3.2, root it and ./adb pull /
Is this fully deodexed then?
RinTinTigger said:
Is this fully deodexed then?
Click to expand...
Click to collapse
Then use bali/baksmali and deodex all
Okay. Will try. Thanks for your advice!
Guys,
Is there an address for the .zip file?
I am looking for beginner user advice.

Deodexed vs odex ROM

I know that deodexed rom can easyly be themed; But is that the only benefit of them? Is there any difference in performance betwen odex and dexodexed Rom?
lascoul said:
I know that deodexed rom can easyly be themed; But is that the only benefit of them?
Click to expand...
Click to collapse
Yes.
Is there any difference in performance betwen odex and dexodexed Rom?
Click to expand...
Click to collapse
Yes. Odexed is faster. I've always had two SGS at my disposal. One with stock odexed ROM and stock kernel, and one which I have modified with all the latest "speed improvements". At one time, though, the deodexed "improved" one was almost as fast as the stock one.
Thank for your reply. I will go back to stock odexed rom with a costum kernel
There are also custom odexed now.. Simplicity, Milky's Mod ...
nice and faster than stock, Simplicity is using TW4, Milky's on modded TW3 if i'm not mistaken
moegrave said:
There are also custom odexed now.. Simplicity, Milky's Mod ...
nice and faster than stock, Simplicity is using TW4, Milky's on modded TW3 if i'm not mistaken
Click to expand...
Click to collapse
You can thank brotuck when you see him.
Sent from my GT-I9000 using XDA Premium App
You can look at my mods/explanations about ODEXED JVR ROM!
http://forum.xda-developers.com/showthread.php?t=1196391
The .odex files are precompiled .dex files which must not be compiled by the dalvik-machine so they are faster. But if you want to modify anything its easier to to it on deodexed files!
But as you can see you can make also mods for ODEXED ROMs so if this MODs are enough for you, you run faster with odexed rom
yup some guys are just to lazy to make odex versions =)
$omator said:
yup some guys are just to lazy to make odex versions =)
Click to expand...
Click to collapse
Or they have got better at it and have moved to the next level. Either way, it's more choice for us.
Sent from my GT-I9000 using XDA Premium App
better on what
$omator said:
yup some guys are just to lazy to make odex versions =)
Click to expand...
Click to collapse
i am now on stock JVR using your Mod. Big thank somator. Is it possible to enable overglow on odex Rom?
idk maybe, will try for next firmware release
$omator said:
idk maybe, will try for next firmware release
Click to expand...
Click to collapse
it will be great!
I saw under SGS2 threads that there is an utility that can ODEX your DeODEXed ROM (you need a rooted terminal of course).
Is something like this that can be done for SGS1 as well?
Or in other words: is there a straight-foward (easy) way of odexing a rom.
I'm thinking that I can take my whole /system folder (or only /system/app and /system/framework) and odex them and create a CWM package to replace the existing deodexed files. The only issue is that I did not studied enough the odexing system. I have no idea what utilities will such action require.
Any help from the experienced users around here?
To convert back from deodexed to odexed is not so easy to do.
Some have done it with scripts, some do it in ADB or use programs to do it.
Android has a basic tool called dexopt-wrapper that can create a odex file from a apk or jar file. You still need the classes.dex to be deleted from the apk or jar file when returning to odex.
My experience with it is that it sometimes converts perfectly, but sometimes it does not. Especially converting themed framework files is very hard to convert back.
never had such problems =)
$omator said:
never had such problems =)
Click to expand...
Click to collapse
Try to make a 100% working overglow mod in odex and i believe you
Hell i will even donate !

[Q] [request] Need the original deodexed framework from DFP-231

I tried to deodex my Defy+ ROM (DFP-231) but I have problems with deodexing the framework.jar file. Always got an error.
Is there someone who managed to deodex the original files from system/framework without modding them?
vă rog
благодаря
Auris 1.6 vvt-i said:
Click to expand...
Click to collapse
LeopardSurd said:
I tried to deodex my Defy+ ROM (DFP-231) but I have problems with deodexing the framework.jar file. Always got an error.
Is there someone who managed to deodex the original files from system/framework without modding them?
Click to expand...
Click to collapse
Which ROM you deodexing, if "4.5.1-134 DFP-231 Retail.en.EU CEE Rooted SBF" can you upload your deodexed ROM? It would be awesome
This rom tried to deodex but there are some apks that doesn't allow this, some like DLNA.

How do i Deodex just one apk file?. And can i run a deodexed apk in odexed rom?

Hi all,
I have started porting my Semi-universal battery mods over to the nexus 4 ready for when I get mine. but I was wondering the two following things:
Firstly, to make the battery mods, I need the systemUI,apk to be deodexed, but if I am running a stock Odexed rom, will I still be able to place a deodexed systemUI.apk in the System/app folder and the phone still work?.
And is the a tool which lets me Deodex a single apk file, as all the ones I have found require you to deodex a whole rom.
Thanks in advance to anyone who can help
Cheers
Corey
fishingfon said:
Hi all,
I have started porting my Semi-universal battery mods over to the nexus 4 ready for when I get mine. but I was wondering the two following things:
Firstly, to make the battery mods, I need the systemUI,apk to be deodexed, but if I am running a stock Odexed rom, will I still be able to place a deodexed systemUI.apk in the System/app folder and the phone still work?.
And is the a tool which lets me Deodex a single apk file, as all the ones I have found require you to deodex a whole rom.
Thanks in advance to anyone who can help
Cheers
Corey
Click to expand...
Click to collapse
You DEODEX through JAVA, Smali and backsmali commands in Command Prompt.
I can answer the 2nd question. Not all deodexed apks can run on an odexed rom. Played around with them before and some do, some don't
Sent from my Nexus 7 using Tapatalk 2
I can confirm. Im running an Odexed rom and flashed 3 deodexed apk's today. An accuweather widget, voice mail and a transparent digital clock. All working fine
The OPs question has been misunderstood
The OP's question has been misunderstood. The question was not whether if you can run a deodexed .apk in an odexed ROM. On the contrary, the question was - can you run a odexed apk within a deodexed ROM. I stumbled onto this thread 'cuz I'm in a current situation where I'm asking the same question now.
Although I know the question the OP asks seems as if they're asking if you can place a deodexed apk within a odexed ROM, the overall question is how do you deodex a single apk to begin with?
I'm running a deodexed custom ROM on a Galaxy Note 2, however....virtually all the deodexed ROMs I've installed contain a flaw....the samsungcamera.apk is missing features. However, my default, stock ROM that I restored from my nandroid displays a complete camera full with the features I use regularly. So I was wondering....how do you deodex an apk? In other words, I have currently extracted from the stock ROM the samsungcamera.apk and its accompanying .odex file. Now I would like to join these and create a deodex version of this so I can import it into the custom ROM I'm using.
I believe the question was somewhat answered already on here. I will investigate a little further.
Thanks, guys.
[HOW TO][Windows] Manually Deodex and Odex back
As the thread is a bit "old", I suggest to update the tools in the zip, here you' cuold find the newest.
Hope this helps

Installing Aegis on RR ROM

Can anyone tell me how I can install Aegis from the Mokee MM ROM in Resurrection Remix MM ROM.
pull it from the system...
and throw it into your new ROM....
abhishek 9650 said:
pull it from the system...
and throw it into your new ROM....
Click to expand...
Click to collapse
It doesn't works maybe because the app is odexed.
SidOfficial said:
It doesn't works maybe because the app is odexed.
Click to expand...
Click to collapse
okay.. apk and odex file
repack them
install them as normal apk
abhishek 9650 said:
okay.. apk and odex file
repack them
install them as normal apk
Click to expand...
Click to collapse
I tried many deodexing tools including Ultimate Deodexer, XUltimate, Universal Deodexer but none of them work.

Categories

Resources