Well i am working in my own rom build based on v 20e gingerbread licked by Erestor..
.the problem is that i can't modify the phone.apk....i decompile without any problem....change the xml and the png's and recompile again without any errors...i install the apk and the dialer it is the same like the stock one.....
Somebody can help me....how can change the dialer changing some png and some xml...
All clear....the png and xml are in contacts.apk....not in the phone.apk
Related
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
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
please how to resize framework-res and SistemUI????
I want to move out of rom PARANOIDANDROID sga in sgm and can not change framework and sistemUI
please help me with the transfer rom
decompile both the apk with apk tool
go to /res/drawable-mdpi
resize every png
go to /res/values change every value according to galaxy mini
recompile them
but do not sign them as they are system apps
thanks but can you on the details?
you can help me?
1) Open Framework-res.apk with WINRar.
2) Go to drawable-mdpi
3) Resize every single Png in this Folder
@above: seems like you forgot about *.9.png... those won't work just by resizing... you'll have to add markers at edge and convert them. Google it.
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
i have to make change in gdx31b framework to have kitkat style in this rom
but i am not professional in this side or other of develop for android
all i do i replaced images with other
but i have faced some problems
and i can not deal with it
can any one help me
the latest framework res apk at attachment
pls help
and the images of problems at attachment
i want to make progress line like kitkat and the problem of some fonts color
for changing font colors you need to decompile framework-res file and edit some values
search changing fonts cm 7 and you will find more
for decompiling you can use apk multi tool