Hello, I want to edit the SystemUI.apk from GamersROM v6.3 (Odexed rom) and so far I managed to decompile the apk with apktool, edit it and rebuild it
I haven't touched the odex file
If I just replace the apk I lose my topbar entirely.
What can I do now, can anyone help me?
Nevermind, Fond a way to do it
For the last 12 hours I have been trying to decompile and edit the strings of this equalizer app (attached) to suit my theme. I have tried apkedit and apk manager but ended up with errors and only half the smali files have been extracted. Somebody tell me what I'm doing wrong and if you're feeling extra generous, decompile and send the files.
Sorry if I'm asking too much
Thank in advance
I am trying to modify XMLs of Jelly Bean Contacts.apk. Using apktool that has been used for ICS and other Jelly Bean apks, I can decompile and then recomplie it without any error. However, the recompiled Contacts.apk would not work in cell phone, showing a message "Unfortunately, Contacts has stopped!".
To simplify the problem, I simply do decompiling and then recompiling without any modifications. I found that the size of resources.arsc has been changed from 1480 KB to 1525 KB. The new Contacts.apk causes FC!
Note: Files in smali folder can still be modified. After editing, use apktool to recompile and create a new apk. Then use WinRAR or 7zp to drag the newly created classes.dex into the original Contacts.apk. Such a "modified" Contacts.apk works properly. Note here that we did not modify resources.arsc.
This problem is only related to resources.arsc!! XMLs cannot be recompiled!!
Does anybody have the same problem? Do you know how to solve this problem? Any solutions or suggestions are appreciated.
Did anybody try this?
Are you all ok with modifying Contacts.apk?
With the current apktool jar file you can not edit any XML in the contacts apk. It has to be done in source code
Sent from the BatCave
zelendel said:
With the current apktool jar file you can not edit any XML in the contacts apk. It has to be done in source code
Sent from the BatCave
Click to expand...
Click to collapse
Thank you for your reply. The question is why we can edit XML in other apks except Contacts.apk.
Is there any magic?
framework-res.apk, Settings.apk, SystemUI.apk, Phone.apk are all ok without any problem.
iBotPeaches, the author of apktool, wrote: "Looks like we have new resource type. T9Map. Will have to code support for it. Its just loosing it on rebuild."
See discussions at: https://github.com/iBotPeaches/brut.apktool/issues/11
hi, i've already searched a lot for this and i've tried many tools but i have a problem with modding cm9 Contacts.apk. if i only change images it's ok, decompiling,compiling and singing work well and the apk works. if i edit xml files, the apk compile and decompile correctly but when i flash the file throughh recovery at the boot it FC. what is the problem? what tool i can use for correctly decompiling and compiling Contacts.apk of cm9? thanks in advance
anyone knows what can be the problem? thanks in advance
hello i am trying to edit my SystemUI.apk and when i decompile it i keep getting an errors when i come to re compile it :/
anyone have a good tutorial/program to decompile and recompile apk's
Thanks
MRL3GS