[Q] Simple icon theming of odex'd rom - Galaxy S II Q&A, Help & Troubleshooting

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

Related

[Q] UOT Kitchen & CM7

I'm trying to change the status/top bar of a CM7 theme using UOT Kitchen. The first time I ever attempted this was last night. Followed the instructions step by step; everything was good. But when I flashed it, nothing changed.
My question is, when uploading files to UOT it says for GB Rom's upload the framework and system apk. For CM7 Roms just upload the theme apk i.e. Cyanbread. Seeing how CM7 is GB thats where I'm confused. Should I upload just the theme apk or the framework and system apks? Or should I upload them all?
TreyDaPrince said:
I'm trying to change the status/top bar of a CM7 theme using UOT Kitchen. The first time I ever attempted this was last night. Followed the instructions step by step; everything was good. But when I flashed it, nothing changed.
My question is, when uploading files to UOT it says for GB Rom's upload the framework and system apk. For CM7 Roms just upload the theme apk i.e. Cyanbread. Seeing how CM7 is GB thats where I'm confused. Should I upload just the theme apk or the framework and system apks? Or should I upload them all?
Click to expand...
Click to collapse
I read somewhere else that UOT might not be updated yet for 2.3.5 Gingerbread like the latest AOSP roms are running.
Sent courtesy of SID6.7 and Tapatalk
TreyDaPrince said:
I'm trying to change the status/top bar of a CM7 theme using UOT Kitchen. The first time I ever attempted this was last night. Followed the instructions step by step; everything was good. But when I flashed it, nothing changed.
My question is, when uploading files to UOT it says for GB Rom's upload the framework and system apk. For CM7 Roms just upload the theme apk i.e. Cyanbread. Seeing how CM7 is GB thats where I'm confused. Should I upload just the theme apk or the framework and system apks? Or should I upload them all?
Click to expand...
Click to collapse
I only theme out my framework-res.apk and my SystemUI.apk. The SystemUI.apk is the stock look that you get on Gingerbread without any modifications. If you unzip if with 7zip you'll see what I mean. I've never flashed it into a live/booted rom. I modify my files pngs mostly and let the kitchen do the hard work (the files I still don't understand), then replace the SystemUI.apk and the framework-res.apk into the CMupdate.zip file. There is probably a more preferable way to do it, but I don't switch themes a lot (and the theme chooser doesn't theme everything I need anyway)
I know this way will work as I've gotten my edits into these today/yesterday
http://forum.xda-developers.com/showthread.php?t=1115904
lmt1979 said:
I only theme out my framework-res.apk and my SystemUI.apk. The SystemUI.apk is the stock look that you get on Gingerbread without any modifications. If you unzip if with 7zip you'll see what I mean. I've never flashed it into a live/booted rom. I modify my files pngs mostly and let the kitchen do the hard work (the files I still don't understand), then replace the SystemUI.apk and the framework-res.apk into the CMupdate.zip file. There is probably a more preferable way to do it, but I don't switch themes a lot (and the theme chooser doesn't theme everything I need anyway)
I know this way will work as I've gotten my edits into these today/yesterday
http://forum.xda-developers.com/showthread.php?t=1115904
Click to expand...
Click to collapse
Thanks for the input.

[Q] Deodexing and .smali files

I'm looking to edit a single .smali file in the stock ROM and have a couple of questions.
- Do I have to deodex the whole OS just to do that?
- Can I replace a single deodexed .apk file with an odexed one?
- What's the best way/tool to deodex an OS?
That's all.
bazzag said:
I'm looking to edit a single .smali file in the stock ROM and have a couple of questions.
- Do I have to deodex the whole OS just to do that?
- Can I replace a single deodexed .apk file with an odexed one?
- What's the best way/tool to deodex an OS?
That's all.
Click to expand...
Click to collapse
You have do reodex it with dexopt wrapper and sign it, see this thread there is all
http://forum.xda-developers.com/showthread.php?t=1208320

A way to batch odex a custom rom

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,

[Modding ODEXED SecMms.apk] Help? :/

So i lost about 2 days untill I found out that the problem wasn't on Virtuos Ten Studio or any decompiler. On some random thread i actually found out that u cant mod the SecMms.apk only by the XML files, cause it won't work, you need to edit them in smali folder. So Here comes the question, how can I, make the odex version of SecMms.apk in a function deodexed one to run on my ODEXED stock JB Rom 4.1.2?
Im using Virtuous Studio, since its really clean interface helps alot, but cat find any smali folder when decompiling. I tried to deodex option but it has some weird problem.
Can any1 provide me a full guide pls?
TOO LONG TO READ:
1) I have ODEXED ROM(Stock JB 4.1.2)
2) I want to DEODEX the .ODEX and SecMms.apk so I can edit the smali and import it to my phone.
NunoPitbull said:
So i lost about 2 days untill I found out that the problem wasn't on Virtuos Ten Studio or any decompiler. On some random thread i actually found out that u cant mod the SecMms.apk only by the XML files, cause it won't work, you need to edit them in smali folder. So Here comes the question, how can I, make the odex version of SecMms.apk in a function deodexed one to run on my ODEXED stock JB Rom 4.1.2?
Im using Virtuous Studio, since its really clean interface helps alot, but cat find any smali folder when decompiling. I tried to deodex option but it has some weird problem.
Can any1 provide me a full guide pls?
TOO LONG TO READ:
1) I have ODEXED ROM(Stock JB 4.1.2)
2) I want to DEODEX the .ODEX and SecMms.apk so I can edit the smali and import it to my phone.
Click to expand...
Click to collapse
BUMP.

Reodex

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.

Categories

Resources