Theming help - Samsung Galaxy Gio GT-S5660

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

Related

[Q] adding battery % mod to existing theme

I've been reading the theme guides and, time permitting, would like to start playing around. I've been comparing files from the stock theme template to crakes battery percent mod found here: http://forum.xda-developers.com/showthread.php?t=793805&highlight=battery+mod and have been trying to figure out how to use it in another theme. Is it as simple as adding the extra stat_sys_battery_#.png's or does something else have to be done to the framework-res.apk to get the phone to point to the added pngs? I hope thats understandable, thanks in advance for your help all!
amosher13 said:
I've been reading the theme guides and, time permitting, would like to start playing around. I've been comparing files from the stock theme template to crakes battery percent mod found here: http://forum.xda-developers.com/showthread.php?t=793805&highlight=battery+mod and have been trying to figure out how to use it in another theme. Is it as simple as adding the extra stat_sys_battery_#.png's or does something else have to be done to the framework-res.apk to get the phone to point to the added pngs? I hope thats understandable, thanks in advance for your help all!
Click to expand...
Click to collapse
If your theme has 1% intervals already its just a matter of swapping the png files. If the theme don't your gonna have to devompile the apk and edit 3 xml files then recompile
Sent from my SPH-D700 using XDA App
okay, ya thats what i was wondering. any help on the xml files to edit and how? i've got apk manager and have it decompiled, i dont see anything that jumps out.
EDIT: okay i've got in the drawable folder stat_sys_battery, stat_sys_battery_charge, stat_sys_battery_charge_err_vinsq, stat_sys_battery_charge_vinsq, stat_sys_battery_vinsq. my guess is its 3 of those, i guess i can just compare the stock theme with the stock battery mod to see what to do.
amosher13 said:
okay, ya thats what i was wondering. any help on the xml files to edit and how? i've got apk manager and have it decompiled, i dont see anything that jumps out.
EDIT: okay i've got in the drawable folder stat_sys_battery, stat_sys_battery_charge, stat_sys_battery_charge_err_vinsq, stat_sys_battery_charge_vinsq, stat_sys_battery_vinsq. my guess is its 3 of those, i guess i can just compare the stock theme with the stock battery mod to see what to do.
Click to expand...
Click to collapse
You can do that but do you know how to add a line to an xml file
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
You can do that but do you know how to add a line to an xml file
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
in general, yes, but i may not know how for these purposes. what might i be missing?
There's an even easier way.
start adb
and type adb pull /system/framework/framework-res.apk framework-res.apk
(grab frameworkTW-res.apk*i think* if you want it for touchwiz instead)
Next
go here UOT Kitchen
select flashable .zip
go through the stuff
upload the framework-res.apk you just pulled.
wait a bit download package and move to sd card then browse and install it and reboot.
TADA!
art3mis-nyc said:
There's an even easier way.
start adb
and type adb pull /system/framework/framework-res.apk framework-res.apk
(grab frameworkTW-res.apk*i think* if you want it for touchwiz instead)
Next
go here UOT Kitchen
select flashable .zip
go through the stuff
upload the framework-res.apk you just pulled.
wait a bit download package and move to sd card then browse and install it and reboot.
TADA!
Click to expand...
Click to collapse
very interesting, i'll certainly check that out. though i am interested also in learning how to do it myself, but that looks pretty cool!
art3mis-nyc said:
There's an even easier way.
start adb
and type adb pull /system/framework/framework-res.apk framework-res.apk
(grab frameworkTW-res.apk*i think* if you want it for touchwiz instead)
Next
go here UOT Kitchen
select flashable .zip
go through the stuff
upload the framework-res.apk you just pulled.
wait a bit download package and move to sd card then browse and install it and reboot.
TADA!
Click to expand...
Click to collapse
Thee problem with this is if there's any edited .9 pngs in the theme the out come is ****
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
Thee problem with this is if there's any edited .9 pngs in the theme the out come is ****
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
so how about this: i pull the xmls from crakes framework-res.apk (do i need anything from twframework-res.apk?), recompile into the framework-res.apk from the theme i'm hacking, then dump the pngs into drawable-hdpi from the % mod i want to include and just make sure theres an image for each line in the xmls. sound good?
amosher13 said:
so how about this: i pull the xmls from crakes framework-res.apk (do i need anything from twframework-res.apk?), recompile into the framework-res.apk from the theme i'm hacking, then dump the pngs into drawable-hdpi from the % mod i want to include and just make sure theres an image for each line in the xmls. sound good?
Click to expand...
Click to collapse
Sounds great but just remember if your theme has any edited .9.pngs you will get errors with the framework.
What there are you trying to edit?
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
Sounds great but just remember if your theme has any edited .9.pngs you will get errors with the framework.
What there are you trying to edit?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
basically i want to work in a battery % mod into the theme from AOSP Magic (partially just to see if i can do it ). when you say "has any edited .9.pngs" do you mean if i edit any? or if the theme contains any that are already edited.
amosher13 said:
basically i want to work in a battery % mod into the theme from AOSP Magic (partially just to see if i can do it ). when you say "has any edited .9.pngs" do you mean if i edit any? or if the theme contains any that are already edited.
Click to expand...
Click to collapse
If the theme has any edited already out if you edited any
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
If the theme has any edited already out if you edited any
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
ya i'm a little confused at that point on how i'd handle that. anywhere i can read up on that?
so basically if the theme i want to mod has .9.pngs that were edited from stock, when i decompile and recompile with the new xmls its going to break something? if so, what would i do? use the battery % mod theme and dump the drawable-hdpi folder into the apk after?
amosher13 said:
ya i'm a little confused at that point on how i'd handle that. anywhere i can read up on that?
so basically if the theme i want to mod has .9.pngs that were edited from stock, when i decompile and recompile with the new xmls its going to break something? if so, what would i do? use the battery % mod theme and dump the drawable-hdpi folder into the apk after?
Click to expand...
Click to collapse
What I do is modify the xml files ona stock framework. Make all the changes I need then recompile. Once compiled its a matter of dragging and dropping the pngs
Sent from my SPH-D700 using XDA App
mysteryemotionz said:
What I do is modify the xml files ona stock framework. Make all the changes I need then recompile. Once compiled its a matter of dragging and dropping the pngs
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
gotcha, perfect thanks!

Dialerpad icons

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...

[Q] Modifying xmls

I am interested in changing the color of the text of the status bar. I have already modified all the images I need, now just need to modify the xml.
I am modifying the framework-res.apk colors xml. After I have made the change I recompile the apk. Switch out the Meta-INF and AndroidManifest.xml with the ones from the original apk but when I push to my phone the color of the status bar text isn't changing. These are the lines I have changed:
<color name="status_bar_text">#ff73cd68</color>
<color name="status_bar_clock_text">#ff73cd68</color>
You might find better luck actually pming a themer or posting it in the theme section. Not much Turner's drop by here
Sent from my SPH-D710 using XDA App
davidc23 said:
You might find better luck actually pming a themer or posting it in the theme section. Not much Turner's drop by here
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
yeah I was thinking that, I might just check on the irc channel. Thanks for looking out.
Hmmm did you reboot the phone?
Sent from my Epicâ„¢ 4G Touch
globalninja said:
Hmmm did you reboot the phone?
Sent from my Epicâ„¢ 4G Touch
Click to expand...
Click to collapse
Yeah, I didn't actually push the framework. I created a flashable zip.
dtm_stretch said:
Yeah, I didn't actually push the framework. I created a flashable zip.
Click to expand...
Click to collapse
If you got the framework-res.apk to recompile without errors then the changes you made should definitely work. There is no need to sawp anything owhen recompiling, just edit the xml, recompile it as a system app and push it to system/app via root explorer or any equivalent.
Which ROM framework are you trying to modify?
fnut6969 said:
If you got the framework-res.apk to recompile without errors then the changes you made should definitely work. There is no need to sawp anything owhen recompiling, just edit the xml, recompile it as a system app and push it to system/app via root explorer or any equivalent.
Which ROM framework are you trying to modify?
Click to expand...
Click to collapse
Thanks ill give that I try.
I am actually modifying the ICS theme for Cakulin's rom.
**Doesn't seem to work either. I should be changing the colors.xml in the framework-res.apk right?
Got it: Make sure to delete the stupid resources.arsc!
dtm_stretch said:
Thanks ill give that I try.
I am actually modifying the ICS theme for Cakulin's rom.
**Doesn't seem to work either. I should be changing the colors.xml in the framework-res.apk right?
Click to expand...
Click to collapse
Yes, and although you won't find the values folder when you recompile you'll still need to delete the resources.arsc when recompiling, if you'd like, you can attach the framework-res.apk you're trying to modify and I can change it for you.
I also, stated inadvertently, to place it in system/app that is incorrect it goes in system/framework which may actually be part of the problem.
fnut6969 said:
Yes, and although you won't find the values folder when you recompile you'll still need to delete the resources.arsc when recompiling, if you'd like, you can attach the framework-res.apk you're trying to modify and I can change it for you.
I also, stated inadvertently, to place it in system/app that is incorrect it goes in system/framework which may actually be part of the problem.
Click to expand...
Click to collapse
I got it figured out, just before you posted about the resources. Now I just got to figure out why my launcher keeps restarting.

Modding Phone.apk

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.

[Request] Cyan Stock Battery & Cyan Internet Traffic Arrows

Can anyone make this mod? Or help me how to make this mode.
Im using MC3 and I love the Cyan colour on my phone than this stock green.
I want ro Stock batter and Stock Internet & Wifi Arrows but just in Cyan Colur.
Like This pic.
Can anyone Help me about it please?
I decompiled the framework-res.apk but couldnt find anyting to change colour
Joy` said:
I decompiled the framework-res.apk but couldnt find anyting to change colour
Click to expand...
Click to collapse
Look into SystemUI.apk, not in framework
I decompiled SystemUi.apk
Its about 2.4 Mb. change my battery colours (you can see on the attach)
But when i compile again it was 1.7 Mb. Unsigned
I signed Apk and still same 1.7 Mb.
Its my first time to decompile any apk.
I think i made something wrong
Any idea for this Noob User? :angel:
Size is not important. Often a compile of something you decompile will come out smaller. This shouldn't be used as an indicator of anything
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
Size is not important. Often a compile of something you decompile will come out smaller. This shouldn't be used as an indicator of anything
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I replaced the new systemUI.apk to system/app give permission rw-r--r-- but. Status bar dont shown and systemUI force close
Sent from my GT-I9300 using xda premium
In that case you have done something wrong
You don't even need to decompile to swap images anyway. Just open the zip (NOT extract) with winrar, 7zip or linux archive manager, delete the images you want and drag the new images (which must have the exact same name - case sensitive) in. If it asks for compression,.choose "store" or "no compression"
You only need to decompile and recompile if you're changing resources and xml files
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
In that case you have done something wrong
You don't even need to decompile to swap images anyway. Just open the zip (NOT extract) with winrar, 7zip or linux archive manager, delete the images you want and drag the new images (which must have the exact same name - case sensitive) in. If it asks for compression,.choose "store" or "no compression"
You only need to decompile and recompile if you're changing resources and xml files
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Hahaha. IT work Lol. I did not thinks thats easy like this.
You are Parfect Mate.! Very Thanks :good:
yep, very easy if only images.
And Ta taa!!
Sent from my GT-I9300 using xda premium

Categories

Resources