I've decompiled the Phone.apk from system/app/ and modified some images to change the dialer theme but I tried to replace the apk using cwm and it showed the same Phone interface and if I look at the file with the file explorer it has the modified Phone.apk in the system/app/ folder, I've also tried to replace it with the explorer with no results.
I'm using a deodexed LPQ rom.
Can you please make a phone.apk without increasing ring........thank you..
Sent from my GT-I9100 using xda premium
You need to modify Contacts.apk as well.. and maybe framework-res.apk (depending on what you're modifying)
EDIT: also, you don't need to decompile if you're only swapping out the PNG's.. unless you make XML changes as well, just drag the PNG's to the APK with 7zip.
Related
Hi there.
Is there any chance to replace stock dialerpad icons on gingerbread with others of mine? I mean,is there a specific directory where I can have a go at replacing them with root explorer or am I supposed to mess up it all???
thanks in advance
If you have deodexed rom, just drop attached png to System/app/ DialerTabActivity.apk / drawable-hdpi folder.
nedooo said:
If you have deodexed rom, just drop attached png to System/app/ DialerTabActivity.apk / drawable-hdpi folder.
Click to expand...
Click to collapse
thanks a lot nedoo,but maybe I just couldn't explain myself very well
I mean,since I fancy "buuf theme" more than any other theme and since adw.buuf.theme can't buuf system icons,I'd like to change dialerpad icons just to pop up somethin' like this:
is that possible to do all by myself???
I'd like to change icons in system/app/DialerTabActivity.apk/res/drawable.hdpi can I simply replacle icons or I gotta modify xml file too??????
Sent from my GT-I9000 using XDA Premium App
nemello said:
I'd like to change icons in system/app/DialerTabActivity.apk/res/drawable.hdpi can I simply replacle icons or I gotta modify xml file too??????
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
You can drop in different images, yes... but don't expect it to decompile or recompile properly if you modify or replace the ".9" PNG's. To edit the ".9" PNG's properly, you have to decompile the normal framework/app, change the PNG and XML, then recompile.
XGX5309 said:
You can drop in different images, yes... but don't expect it to decompile or recompile properly if you modify or replace the ".9" PNG's. To edit the ".9" PNG's properly, you have to decompile the normal framework/app, change the PNG and XML, then recompile.
Click to expand...
Click to collapse
.9 png's??
for example,in drawable.hdpi folder I can see call_contacts_icon_normal.png,I'd like to change it with another one,can I do that???
nemello said:
.9 png's??
for example,in drawable.hdpi folder I can see call_contacts_icon_normal.png,I'd like to change it with another one,can I do that???
Click to expand...
Click to collapse
Yes if you are on deodexed ROM. .9.png is not normal png it is compiled png with dots (invisible when compiled, visible when decompiled)wich are used as guides for streaching graphics.
T gain all the elements you showed on that photo you need to modify Phone.apk,
framework-res.apk, SystemUI.apk.
So do a beckup and experiment
That's not easy at all, more to say it's rather hard, but...
Can anyone please point me to a tutorial (or write one) on how I can "inject" the 9-lockscreen-mod into the theme I'm currently running?
I have both the CWM-zip for the theme, as well as the source for the 9-lock-mod.
As I understand it there are 3 files that needs modification:
- framework-res.apk
- framework.jar
- android.policy.jar
I have modded the framework-res.apk using APK Manager (although I haven't tested it). But I'm unsure as to what I'm supposed to do with the .jar-files.
whaave said:
Can anyone please point me to a tutorial (or write one) on how I can "inject" the 9-lockscreen-mod into the theme I'm currently running?
I have both the CWM-zip for the theme, as well as the source for the 9-lock-mod.
As I understand it there are 3 files that needs modification:
- framework-res.apk
- framework.jar
- android.policy.jar
I have modded the framework-res.apk using APK Manager (although I haven't tested it). But I'm unsure as to what I'm supposed to do with the .jar-files.
Click to expand...
Click to collapse
You should be able to decompile them like .apk files. Try renaming their extensions to apk.
Thanks, man!
And it's actually your theme I want to keep (with LockeOn' mod), but I also want the 9-lock. (Specifically the MIUI).
I'll try to rename and decompile. Should I decompile any of the above mentioned files with dependancies?
Sent from my GT-I9000 using XDA App
Well... Im using a galaxy 3 but i believe the method must be somewhat same for all phones... So indirectly... SAME QUESTION HERE...
[Q] Is there a way to edit "styles.xml" in the values folder and recompile it?
Hello all.
Im trying to recompile the Settings.apk and I have made edits to the styles.xml file. Only problem is in the "keep" folder there is no "values" folder, and the recompiled app does not have the edits I made in stlyes.xml
Anyone know how to recompile the Settings.apk and have the "values" folder show up in the recompile "keep" folder?
Delete resources.arsc or something in the keep folder ; if your using apk manager it should tell you this already
Nabeel_Nabs said:
Delete resources.arsc or something in the keep folder ; if your using apk manager it should tell you this already
Click to expand...
Click to collapse
Thanks a lot for that. It worked and I now have timescape settings background look on stock Verizon rom!
Sent from my R800x using xda premium
Pleas Help..
When I work Combile and Decombile APKTOOL for File framwork-res.apk
Of Version Jelly Bean 4.1.2 XXLSJ All OK
But When Add My Rom BootLoop
Are you signing the apk after you recompile it??
Sent from my GT-I9300 using Tapatalk 2
AuSSiELaMbChOpS said:
Are you signing the apk after you recompile it??
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
no signing apk
whats this broplem
help
heeeeeeeeeeeeeeeeeeeeeeelp
amro habib said:
help
heeeeeeeeeeeeeeeeeeeeeeelp
Click to expand...
Click to collapse
The problem is with the signing. (The framework-res.apk has to be signed with the platform key)
Try to sign the apk (use apkmultitool), but I think it won't work, because you wont have the platform key.
I suggest you to do the following:
If you use apktool or apk-multi-tool apkmultitool.com:
1) if you want to change drawables, just push the new png-s into the original framework-res.apk (open the original framework-res.apk with 7zip, and drag and drop the new png in the corresponding drawable folder).
2) if you want to change xml-s, decompile framework-res.apk, change xml-s, recompile framework-res.apk, then extract the "resources.arsc" from the new apk, and push it to the original framework-res.apk (again with 7zip or any compatible file manager)
3) if you change some smali code, then you need to the same as in step 2, but with the classes.dex file.
Basically you should use the original framework-res.apk as a starting point, and (without extracting it) push all your mods into it!
OR try the UOT kitchen: http://uot.dakra.lt/
Cheers!
Gyebro said:
The problem is with the signing. (The framework-res.apk has to be signed with the platform key)
Try to sign the apk (use apkmultitool), but I think it won't work, because you wont have the platform key.
I suggest you to do the following:
If you use apktool or apk-multi-tool apkmultitool.com:
1) if you want to change drawables, just push the new png-s into the original framework-res.apk (open the original framework-res.apk with 7zip, and drag and drop the new png in the corresponding drawable folder).
2) if you want to change xml-s, decompile framework-res.apk, change xml-s, recompile framework-res.apk, then extract the "resources.arsc" from the new apk, and push it to the original framework-res.apk (again with 7zip or any compatible file manager)
3) if you change some smali code, then you need to the same as in step 2, but with the classes.dex file.
Basically you should use the original framework-res.apk as a starting point, and (without extracting it) push all your mods into it!
OR try the UOT kitchen: http://uot.dakra.lt/
Cheers!
Click to expand...
Click to collapse
all this work bootloop..
Hi!I'm trying to theme my rom but I can't fine some png's.
Can someone tell me where are located this png's and in what .apk.
Thanks.
Screenshot in attachments
as far as i know they are on dialertabactivity.apk or framework-res.apk
muzaffarhassan64 said:
as far as i know they are on dialertabactivity.apk
Click to expand...
Click to collapse
I've tried changing the color in DialerTabActivity.apk of the png dialer_tab_button_bg_focus.9.png and dialer_tab_button_bg_press.9.png to another color, recompiled apk and tried it to see if there's any change but no change at all, i've also tried modifiyng those png's from framework-res but no change.
make sure you change the mdpi ones, some roms have multiple sorts of pngs inside
Sent from my GT-S5660 using xda app-developers app
Changed the mpdi ones still no effect
Did you restart the phone? After the new installation.
Yes of course
Of course.
Well, all I can think to tell you is to modify all pngs in both the dialer.apk and framework-res, make sure you edit them correctly since they are .9 patch pngs.
Clear apk cache, reinstall, reboot. If that doesn't work, then idk.
Those are inside TWframework res.apk
Tw tab
Sent from my ST25i using xda app-developers app