Hello everybody
Im wondering how is a deodexed rom different from the stock room, I do know that deodexed Roms make the hacking part easier but i would like to know why; I'm curious and how is the process made?
thanks in advance
Zixx.
Google is your friend.
http://forum.xda-developers.com/showpost.php?p=6782283&postcount=2
====================
Odex vs Deodex
====================
Theres plenty of debate over what is faster/better to use, im not going to take sides in this one. This is just information about what the differences in the two are, try for yourself.
Deodex basically takes the odex file and stuffs it into the apk as a classes.dex. First boot it dissembles the file into /dalvik-cache (i believe). Now there is basically 2 copies of the odex, one in the apk one in cache. This makes it "portable". This allows modders to work on the apks & easily change stuff. If you want themes or stuff like lockscreen fixes you MUST use Deodex.
Odex is how things come stock. It takes up less room but making modifications or taking apks from other roms is hard. You cannot use themes with this version!!
thanks for the Info man
deodexed basically just makes adding modifications to your phone easier then odexed
Related
In no way do I take credit for this, just found this on another section of XDA and thought I'd share. All credit goes to Daneshm90. Start making themes people!!!!!
_________________________________________________________________________________________________
Heres a script that ports your themes from firmware to firmware, rom to rom.
How it works:
- Looks through app/framework folder for apks that exist in new/old rom
- Then extracts pngs from those apks
- Then deletes mismatching pngs
- Repacks old themes pngs into new rom
- Done
Note: Benefit of this method is that you could literally port a donut theme to a froyo rom because it only copies images that exist in the new rom, and none that don't.
Instructions:
- Download zip
- Extract zip
- Place old framework/app in old folder (Rom that has the theme)
- Place new framework/app in new folder (Rom u want to port it to)
- Run Script
- The new folder is now themed
Improvements:
- Dependant on demand for this script.
Download: http://forum.xda-developers.com/showthread.php?t=737526
I likey
Oooh... ,
sent with my evo from a secret place
Unless I am mistake about how this works, this would not work on my theme because of xml files I have edited. I would also advise caution when doing this, as some theme makers may not appreciate their work being modified without their knowledge.
Still a very nice tool to have in the box thank you
NICE!!
10 char
This sounds awesome! Link is broken though.
phinnaeus said:
Unless I am mistake about how this works, this would not work on my theme because of xml files I have edited. I would also advise caution when doing this, as some theme makers may not appreciate their work being modified without their knowledge.
Click to expand...
Click to collapse
Open source. My two cents. Maybe some would get mad, but you cant please everyone. I think the Majority of themers wouldnt mind. The ones here seem to be happy when others take their stuff and add to it. Give props if you can of course. But with this, you cant. Considering what Android and this community is all about, i think its a great little script..Good Job! (if it works )
here is originals
http://forum.xda-developers.com/showthread.php?t=737526
http://forum.xda-developers.com/showthread.php?t=540870
Post fixed
I don't understand the instructions, could anyone explain them clearly to me what to do? I downloaded the file and I see old and new but I want to make my CM6 Night Build 7/28 with cm6.snapv3 and I wanna put up a theme of my own, how do I do that?
Need to know how to make flashable zips for my rom releases without apks just framework images!
Any quidance would be of help!
Building a rom from the ground up is easier than this but i need to start making them for the build cause i have a crapload of images with no place to go thanks! just pm me or whatever! thanks
eVoKINGS said:
Need to know how to make flashable zips for my rom releases without apks just framework images!
Any quidance would be of help!
Building a rom from the ground up is easier than this but i need to start making them for the build cause i have a crapload of images with no place to go thanks! just pm me or whatever! thanks
Click to expand...
Click to collapse
If you are just using images I would say metamorph is the only option I know of that can replace files in .apk on the fly. Its not a flashable zip though.
Give this a try... this will port png's from one rom to another. you just need to pull the framwork-res.apk and resources.apk from framework from your rom and put it in the "new" folder. and put the same apk's from the theme you want to port in the "old" folder, both under the framework folder with in the "new" and "old" folders. and run the script.... there are also app folders for any themed apps that you want to port also.... same thing with those, yours in the new and the themed ones to port in the old.... Just remember, these are only png ports, you still need to do xml edits if there are any...
this is not my work, found it here on xda a very long time ago and don't remember from who but thanx to him or them......
View attachment Theme-Porter.zip
So I love my tweaked and modded ICS 4.0.4 rom. It's blazing fast, killer battery life and I couldn't be happier.. okay I lied. there's some framework-res.apk mods I would realllllly love to flash but I have not idea how to bundle/bake a flash package that includes the ones I want.
I would like to have;
1. Extended reboot menu
2. Either the WP7 or Sense 4.0 multitasking switcher
3. The full album art lockscreen mod
4. any others I don't know about?
But they are all separate framework-res.apk 's and flashing them over eachother either removes the previous mod all together or borks the system.
Any help would be greatly appreciated
delete
alexdemonumber3 said:
I remember when people on XDA were were helpful and nice..
Click to expand...
Click to collapse
It hasn't even been a day yet lol.
You'll need to find out how each tweak was implemented (you can do this by browsing individual decompiled frameworks), then use one of them as a base and implement the other tweaks. Decompile, tweak, recompile and sign/zipalign. For Odexed rooms like stock you'll also need to create a .odex file. Unsure how to do that myself.
Harbb said:
It hasn't even been a day yet lol.
You'll need to find out how each tweak was implemented (you can do this by browsing individual decompiled frameworks), then use one of them as a base and implement the other tweaks. Decompile, tweak, recompile and sign/zipalign. For Odexed rooms like stock you'll also need to create a .odex file. Unsure how to do that myself.
Click to expand...
Click to collapse
thanks for the reply! its the deodexed stock and that's why its so snappy. but I will see what I can do with it in the morning wth the info you gave me. muchos gracias!
Sent from my Nexus S using xda premium
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.
I've recently gotten into Android Development and I am thinking of getting into (or attempting to) ROM development. For starters, my main question here is:
What is the difference between the two in the modding sense? I understand Odex is harder to theme, but does this also cause problems in mods like the 5-reboot options mod or the surround sound mod?
If so, is this limited to all mods of any kind and why do these errors occur?
I am not asking for flamers or sarcastic responses. I need a serious answer as I am seriously hoping to start spending my free time with development wherever possible.
Thanks for your time!
I'm just a user and not a developer, but as far as the surround sound mod, I don't think those files are odexed even in the OEM stock ROM, so I don't think it matters. I believe odexed files are only in /system/app and /system/framework, so perhaps any mods to files in other places don't care if you're odexed or deodexed..
YrrchSebor said:
I'm just a user and not a developer, but as far as the surround sound mod, I don't think those files are odexed even in the OEM stock ROM, so I don't think it matters. I believe odexed files are only in /system/app and /system/framework, so perhaps any mods to files in other places don't care if you're odexed or deodexed..
Click to expand...
Click to collapse
Thanks for the response! I'm pretty sure you're right about that.
Numzi said:
Thanks for the response! I'm pretty sure you're right about that.
Click to expand...
Click to collapse
Also, it seems like sometimes you can use a deodexed file even if the rest are odexed...... as long as you remove all the pieces of the odex file and replace it with the deodexed one. I've done it in the past anyway, pre-lollipop.
Well for you and everyone else the roms are de odexed this way u can use tools to decompile the dex files. Anything java related is inside the dex files the rest for the most part is xml configuration and image . For themes you might get away with xml modifications but some tweaks even some colors are in Java.