re-odex apk - Galaxy S I9000 Q&A, Help & Troubleshooting

i am currently using an odexex rom, i deodexed the mms.apk + mms.odex to make some changes, after deodexing iam left with mms.apk..i have made the changes to the apk now how can i create mms.odex from this apk?..i have tried just using the apk but messaging force closes, i also know that my changes are fine because if i just try to use the unedited apk it also force closes..any help

well got the problem fixed, tried the latest apktool and it works, previously was using apk manager 4.9, maybe it cannot handle gingerbread apk's properly

Related

[Q] Theming an Odexed ROM Possibilities

Before I get started, I understand the difference between an odexed rom and de-odexed rom. I understand what that means for themes.
But my question is, is there way to rebuild the odex file for an apk?
The story is, I'm on a Stock 2.1 Rom on my Samsung Captivate. I've changed fonts around already. But I want to add some framework animations, similar to the ones found in a few custom ROMs. I understand that with APK manager I can decompile an apk so that changes can be made. I also understand that because my ROM is odexed that I can't just put the apk back on the phone and everything will be fine.
Isn't there a way to take a de-odexed apk and make an odex file for it so that it can work again?
i really wish someone had answered this.. because i'm in the same boat. I'm using Gingeritis... an odexed rom for my tbolt. LOVE it. but i want to theme it. and its odexed and idk wtf to do
traumahawk said:
i really wish someone had answered this.. because i'm in the same boat. I'm using Gingeritis... an odexed rom for my tbolt. LOVE it. but i want to theme it. and its odexed and idk wtf to do
Click to expand...
Click to collapse
In a odexed ROM (not sure if using properly the word, I mean a ROM with apk and odex files) You can change the apk and odex files of the file (delete both) and put in a deodexed apk (framework-res.apk for example) of a deodexed ROM (not just deleting the odex. You need to fins a deodexed ROM, then pick the .apk
It will probably work (most devs do that and I have done that too with framework-res.apk and other system apk. Just change apk and odex for a "full" apk of another deodexed ROM

[Q] Decompiling and compiling system app

I want to translate AriesParts.apk system app (Galaxy S Settings), but I noticed that after decompiling and compiling it (even without any changes), app doesn't show in app drawer and I can't install it ('Application not installed"), tried copying to \system\app and changing permissions.
Also tried zipalign, signed, without signing...
I'm wondering if it's something related to deodex/odex.
How I can edit this app?
Code:
http://speedy.sh/9nwTW/AriesParts.apk
Extracted from Team ICSSGS RC4.2.
Your rom must be deoxed
So, what can I do now (if I have odexed ROM) with this APK?
If I understand you must to deodex the rom;I use for this xUltimate and here is the link where is show to made:http://forum.xda-developers.com/showthread.php?t=1113937
Is useful the next link;http://forum.xda-developers.com/showthread.php?t=695701
sorry for my bad english
But is there an option to make ODEX from DEODEX?
I don't want to deodex my ROM, it can cause issues.

How do i decompile/compile ics contacts.apk with no force closing

Hey what's up people. I have a question for who ever can help me. I am a themer. In currently working in my first ics theme and i am having problems with the contacts.apk. I decompile it with apk tool. Now if i am just making png's and drop them in, then flash to test, the dialer works fine. Now if i touch any of the xml, weather it by just changing a color code, or whatever. it will compile, but when i go to open the dialer it will open for like a couple seconds, then just force closes till i flash the zip that has no xml edits. I have tried with apk tool, virtuous ten studio. Question is how the hell do i compile this apk and get it to not force close. I know it's possible because i see themed and inverted dialer and contact apk's for ics. Someone please help me. I can not continue work on my theme till i figure this out.
-=[.stryker.originals.]=-

[solved] Apktool not working?

This Problem solved by downloading apkmanager.
Hi guys.
I just have to make a small change in the Settings App.
I have done that before on official cm7 and even on stock.
Problem is that if i just decompile the apk using apktool, then even compile it with no change at all. Then Sign It, and copy it to system /app with permissions..It just doesn't show up in the app drawer even after a reboot..
This is surely a problem with apktool, coz i'm not even changing anything, just decompiling and compiling.
The same for cm7 themes. i try to compile cm7 themes but they just don't work when i copy them to system /app.
I copied it to sd card and tried to install from sd card. And it works, but not when it's included in system /app.
Problem solved by downloading apkmanager.
masterex567 said:
Hi guys.
I just have to make a small change in the Settings App.
I have done that before on official cm7 and even on stock.
Problem is that if i just decompile the apk using apktool, then even compile it with no change at all. Then Sign It, and copy it to system /app with permissions..It just doesn't show up in the app drawer even after a reboot..
This is surely a problem with apktool, coz i'm not even changing anything, just decompiling and compiling.
The same for cm7 themes. i try to compile cm7 themes but they just don't work when i copy them to system /app.
I copied it to sd card and tried to install from sd card. And it works, but not when it's included in system /app.
How do i fix this?
Please Reply Soon, as this is urgent.
Click to expand...
Click to collapse
Reboot ?
Sent from my GT-S5830 using xda premium
Nope not working...
Trying to make Settings.apk ICS Style for unofficial cm7. Making it work on the official cm7 was a left hand game. But I don't know what's the issue wid this one.
I tried apk manager, and it's getting errors at decompiling it.
Lemme see what else i can dig up. :/
Why is this flagged as urgent?
On: Which version of apktool do you use? The newer versions may not be compatible!
___________XDA Premium__________
Don't be a noob. Be a newbie..!!
Details here.
____________________________________
Urgent because it's important and i need it for rom cooking.
Using 1.3.2.
Which version do you recommend?
masterex567 said:
Urgent because it's important and i need it for rom cooking.
Using 1.3.2.
Which version do you recommend?
Click to expand...
Click to collapse
Try apk multi-tools
http://apkmultitool.com/node/14
it works without problems for me
your problem is that you're signing the apk. Stock apps, like Settings and SystemUI, cannot be signed. You need to keep the original apk (the one you've decompiled) and change files inside it.
Take a look here: http://forum.xda-developers.com/showthread.php?t=1664292
Renan Lazarotto said:
your problem is that you're signing the apk. Stock apps, like Settings and SystemUI, cannot be signed. You need to keep the original apk (the one you've decompiled) and change files inside it.
Take a look here: http://forum.xda-developers.com/showthread.php?t=1664292
Click to expand...
Click to collapse
I tried.
Then just used apk manager.
Got errors on decompiling copied the apktool 1.4.3 files to the "other" folder.
Decompiled succesfully
followed instructions.
And it worked.
It's not urgent. I'm changing the title.
eagleeyetom said:
It's not urgent. I'm changing the title.
Click to expand...
Click to collapse
It was.
but now it's okk.
You can close this thread.

[Q] apk manager problem

i was tried to modify framework apk of gb i extracted , made modifications and then zipped but its size was too small as compared to original one almost half. also tried compression levels but no change. will the apk work if i push it in framwork
arpitkh96 said:
i was tried to modify framework apk of gb i extracted , made modifications and then zipped but its size was too small as compared to original one almost half. also tried compression levels but no change. will the apk work if i push it in framwork
Click to expand...
Click to collapse
yes.... the re compiled apk is always small is size wen compared to the original apk.... btw it would work if u had modded the files correctly
Sent from my GT-S5670 using XDA

Categories

Resources