I know the technical difference b/w ODex-ed and DeODex-ed
I have an odexed ROM
I simply want some applications (apks) from my Previous ROM, which was deodexed
When I PUT .apk files from My Previous ROMs ZIP to my Device's system/app - I get FC
When I restore apps like Go Launcher Ex, from Titanium Backup, I still get FC for that
Any Info...?
I want to use some apps from my Previous ROM
I want Rotary LockScreen
Also, a Professional Theme, Odexed
As I have seen that odexed ROM are so incredibly smooth in almost every aspect
(Not only 1st boot or initial days)
Help appreciated !!
the anserw is simle if your previous firmware was deodexed:
Youraplicationname.odex is missing
@$omator --
Deleting th old apk & dex file, bfore replacing, should work, then?
Sent from my GT-I9000 using xda premium
you must either have all files in pairs apk + odex (thats odex)
or apk only (thats deodexed)
when looking at /system/framework/
that would be jar + odex (odex) or jar only (deodexed)
@$omator
I am talking bout MyFiles.apk
I want new Samsung's MyFiles.apk
So I will delete old apk & dex files
Then put new apk file
Is tht wht u mean?
Sent from my GT-I9000 using xda premium
if you now have aapk+odex
you have to copy new apk and odex
om.thelostone said:
@$omator
I am talking bout MyFiles.apk
I want new Samsung's MyFiles.apk
So I will delete old apk & dex files
Then put new apk file
Is tht wht u mean?
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
I'm pretty sure I tried this some time ago and found it will not work. The MyFiles.apk is strictly linked to the ROM you are using, something to do with the framework, so you cannot use one on another ROM version.
As for other apk's, if the file you want to use is deodexed, you simply delete the new apk and odex file and put the old one in its place although be warned, it may cause instability on your ROM if you do this with system apk files
ok whatever if you know better
$omator said:
ok whatever if you know better
Click to expand...
Click to collapse
Woah chill on the attitude, I was only offering some help based on my experience with trying the same thing
bigdyl69 said:
I'm pretty sure I tried this some time ago and found it will not work. The MyFiles.apk is strictly linked to the ROM you are using, something to do with the framework, so you cannot use one on another ROM version.
As for other apk's, if the file you want to use is deodexed, you simply delete the new apk and odex file and put the old one in its place although be warned, it may cause instability on your ROM if you do this with system apk files
Click to expand...
Click to collapse
Yup
Thanks
U got my doubt clear
I was not replacing MyFiles actually
Was just giving an example so that $omator thinks I understood
Also
The irony is most of th times, its th system apks tht have dex files
If its not a system apk, I wud rather download th latest 4m market
Sent from my GT-I9000 using xda premium
Related
Hi all,
Wondering if anyone has made a stock theme template for the Shift? All I see are ROMs but I like to mess around with a clean stock deodexed system for a while before I flash a full ROM. I would make one myself but I'm still learning how the update-script/updater-script works. Is there one, or does everyone just flash ROMs around here? Closest I've found is the theme eraser, but that assumes you're already deodexed (no .odex removal script). Any help would be appreciated, links to guides, tutorials, how CWM works, a stock theme template, anything. And thanks in advance.
http://forum.xda-developers.com/showthread.php?t=948566
there ya go
Thank you, but this is a full ROM not a theme template.
Sent from my PG06100 using Tapatalk
Are you looking for the stock framework then?
Sent from my PG06100 using XDA App
Basically just the /system/app and /system/framework dirs deodexed. no other changes to the system folder. And a script that removes the odex files. Can that be run with just an update-script, or would it need other things?
Sent from my PG06100 using Tapatalk
Just unzip the zip file from the thread foxsdaddy67 linked & you have access to those two deodexed directories.
I guess I'm not being clear enough. I'm aware those files are there, what I don't understand is how cwm works. I'm coming from sdx where every rom, theme and mod had the same structure with only an update script in meta-inf. By testing I did find out that just having an update script works though I'm not sure if a script will run. Guess I'll have to test it.
Bottom line is that there is no flashable theme template zip, only roms, but I think I'll be fixing that shortly.
Sent from my PG06100 using Tapatalk
Tambourineman is developing for the Shift?!? THATS AWESOME!!
No, I'm not. Just an end user.
Hi all
I have a Samsung Galaxy mini (S5570L) and I'm trying to edit Phone.apk, I wanna replace the unknown caller picture for the stock android picture, I already managed to do that but I have 2 questions:
1) When I try to replace Phone.apk with the one I edited the phone starts vibrating uncontrollably and I can't seem to be able to do pretty much anything, is there any special treatment when editing system APKs??
2) The stock Samsung ROM is odexed so I know editing and replacing the APK isn't as simple as it sounds, what else do I need to do after zipping the APK in APK Manager??
Thanx for you help
P.S.: This is a wild idea but is there a way to change the TouchWiz Phone.apk for the stock Froyo Phone.apk??
Akath19 said:
Hi all
I have a Samsung Galaxy mini (S5570L) and I'm trying to edit Phone.apk, I wanna replace the unknown caller picture for the stock android picture, I already managed to do that but I have 2 questions:
1) When I try to replace Phone.apk with the one I edited the phone starts vibrating uncontrollably and I can't seem to be able to do pretty much anything, is there any special treatment when editing system APKs??
2) The stock Samsung ROM is odexed so I know editing and replacing the APK isn't as simple as it sounds, what else do I need to do after zipping the APK in APK Manager??
Thanx for you help
P.S.: This is a wild idea but is there a way to change the TouchWiz Phone.apk for the stock Froyo Phone.apk??
Click to expand...
Click to collapse
To 2.
It causes issues if u have some odexed and one deodexed apk so u should deodex all apks.
1. Do a logcat to find out what's wrong .
Did u push the file via adb?
And u should sign the apk ...
Sent from my HTC HD2 using XDA Premium App
Thanx man, turns out I needed to deodex the APK before editing (which I didn't know).
I've got another question, since I'm using a stock Samsung ROM should I deodex all the system and framework apps?? 'Cause that sounds like a huge amount of work
Sent from my GT-S5570L using XDA App
Akath19 said:
Thanx man, turns out I needed to deodex the APK before editing (which I didn't know).
I've got another question, since I'm using a stock Samsung ROM should I deodex all the system and framework apps?? 'Cause that sounds like a huge amount of work
Sent from my GT-S5570L using XDA App
Click to expand...
Click to collapse
You are welcome
Try dsixdas kitchen which can deodexe all apks of ur Rom.deodexing makes the Rom faster.
Sent from my HTC HD2 using XDA Premium App
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 !
i am having stock rom
i want to know how to change the stock phone.apk, contact.apk and mms.apk to new one
i had tried root explorer but was not able to change it :crying:
Before post try to using search feature
If you want change and customize file on your phone, have to Root and deodexed file system on your phone, search about deodexed on forum, someone have to share whats that
Sent Using My Hands with GT-S5360
K but i am using deodexed stock rom
Sent from my GT-S5360 using xda app-developers app
Push new ones with root explorer into system and set permissions to r-w-r-r , reboot !
Also there is an awesome thread by kurotsugi in this forum on how to customize a Rom - read it for more info
nikufellow said:
Push new ones with root explorer into system and set permissions to r-w-r-r , reboot !
Also there is an awesome thread by kurotsugi in this forum on how to customize a Rom - read it for more info
Click to expand...
Click to collapse
i did like that now am able to change mms.apk
but phone icon and contact icon is missing
and saying com.phone.... has stopped working
i changed permission as u said and thn rebooted still the same prblm
pramodmadhu007 said:
i did like that now am able to change mms.apk
but phone icon and contact icon is missing
and saying com.phone.... has stopped working
i changed permission as u said and thn rebooted still the same prblm
Click to expand...
Click to collapse
just keep practicing,
also use other references like google and searching because u can't really expect much help when modifying things because basic knowledge in theming is aquired and not taught,
backtrack on what you did maybe you did something wrong,
this post is approved by the national potato safety regulation
Hello, I'm an owner of XPERIA Z1, using the latest Customized Lollipop firmware (.242), struggling very much to deodex his device. I've tried 2 different methods, which both lead to problems:
1.) Using a flashable zip provided by venkat kamesh, in this thread: link. After flashing, I don't face any prominent problems, like FCs on system apps e.t.c. But whenever I'm trying to launch any app requiring OpenGL ES 2 , I get an error message/toast notification, about that, saying that my device is incompatible. And Google Play refuses to even show these apps in the search results, listing them as incompatible.
2.) Modifying the flashable zip to use my own /app, /priv-app, /framework, and even /vendor/apps fully deodexed folders, leading to a bootloop, and refusing to show more than 2 seconds of the bootanimation before rebooting. I thought that some package may be incompatible with my firmware, but this theory can't be proved yet.
*I've tried fixing permisions using both terminaland adb using this method: link. No result either.
Is there any other solution? Thank you!
NFS_FM said:
Hello, I'm an owner of XPERIA Z1, using the latest Customized Lollipop firmware (.242), struggling very much to deodex his device. I've tried 2 different methods, which both lead to problems:
1.) Using a flashable zip provided by venkat kamesh, in this thread: link. After flashing, I don't face any prominent problems, like FCs on system apps e.t.c. But whenever I'm trying to launch any app requiring OpenGL ES 2 , I get an error message/toast notification, about that, saying that my device is incompatible. And Google Play refuses to even show these apps in the search results, listing them as incompatible.
2.) Modifying the flashable zip to use my own /app, /priv-app, /framework, and even /vendor/apps fully deodexed folders, leading to a bootloop, and refusing to show more than 2 seconds of the bootanimation before rebooting. I thought that some package may be incompatible with my firmware, but this theory can't be proved yet.
*I've tried fixing permisions using both terminaland adb using this method: link. No result either.
Is there any other solution? Thank you!
Click to expand...
Click to collapse
Are you deodexing every odexed file? I normally only deodex those files whose smali I'm going to mod. There's not much point deodexing anything else..
Ticklefish said:
Are you deodexing every odexed file? I normally only deodex those files whose smali I'm going to mod. There's not much point deodexing anything else..
Click to expand...
Click to collapse
Well yes, I just suppose that a fully odexed or deodexed system is more stable than a mix of those two.
Is there any red-line that I must not pass? Like a paricular .apk or .jar file, for example. Also on KitKat, we had to have fully deodexed system for some mods to work (like the 4K Mod by Chocolatetrain). This restriction doesn't exist on Lollipop, which utilises ARM?
NFS_FM said:
Well yes, I just suppose that a fully odexed or deodexed system is more stable than a mix of those two.
Is there any red-line that I must not pass? Like a paricular .apk or .jar file, for example. Also on KitKat, we had to have fully deodexed system for some mods to work (like the 4K Mod by Chocolatetrain). This restriction doesn't exist on Lollipop, which utilises ARM?
Click to expand...
Click to collapse
No. You can, in theory, deodex as many or as few APK and JAR files as you like.
The whole point of deodexing is to make it easy to change smali files. It doesn't affect stability or performance, it's solely for modding. I normally deodex SystemUI.apk, framework.jar and android.policy.jar then leave the rest of the odexed files alone.
(Well, technically a deodexed ROM takes longer to boot if the Dalvik cache has been wiped but that's about it.)
The only reason I ask is that, if you only need to deodex a few files, there are various tools available for deodexing individual files instead of whole ROM's. I could mention that Tickle My Android can do it but that'd be a bit cheeky.
Oh, looking at that 4K mod you mentioned, it doesn't actually need the whole ROM to be deodexed. But there are so many files that are being replaced that do need to be deodexed that it's probably just simpler to say the entire ROM needs to be.
Ticklefish said:
No. You can, in theory, deodex as many or as few APK and JAR files as you like.
The only reason I ask is that, if you only need to deodex a few files, there are various tools available for deodexing individual files instead of whole ROM's. I could mention that Tickle My Android can do it but that'd be a bit cheeky.
Click to expand...
Click to collapse
OK, thank you for the answer, I will try then deodexing just the essentials: SystemUI.apk, framework.jar, framework-res.apk and SemcGenericUxpRes.apk
Final question, as I see in your program's thread, Lollipop editing/deodexing is not supported yet, so do you recommend an automate tool for the deodexing process (like JoelDroidLollipopBatchDeodexe or any other), or the manual method?
NFS_FM said:
OK, thank you for the answer, I will try then deodexing just the essentials: SystemUI.apk, framework.jar, framework-res.apk and SemcGenericUxpRes.apk
Final question, as I see in your program's thread, Lollipop editing/deodexing is not supported yet, so do you recommend an automate tool for the deodexing process (like JoelDroidLollipopBatchDeodexe or any other), or the manual method?
Click to expand...
Click to collapse
TMA does support deodexing of Lollipop APK files...I just can't guarantee that it'll be able to deodex everything. Guess I need to reword the OP....lol
NFS_FM said:
OK, thank you for the answer, I will try then deodexing just the essentials: SystemUI.apk, framework.jar, framework-res.apk and SemcGenericUxpRes.apk
Final question, as I see in your program's thread, Lollipop editing/deodexing is not supported yet, so do you recommend an automate tool for the deodexing process (like JoelDroidLollipopBatchDeodexe or any other), or the manual method?
Click to expand...
Click to collapse
you also can use advance apktool (nice tool) , but you will have to update the apktool to the last one i think its the 2.0.0because is not updated.. cheers
juanpirulo said:
you also can use advance apktool (nice tool) , but you will have to update the apktool to the last one i think its the 2.0.0because is not updated.. cheers
Click to expand...
Click to collapse
Hm... I will try that too if my (already) deodexed apks won't work, thank you.
Please ask in the Q&A section for your device.
Cross device section is for development only
Thread closed