[Q] Can't change Phone and MMS default icons? - Sprint HTC EVO 4G LTE

Using Deck's CM10, modifying the apk files and am able to flash them properly (although sometimes Phone.apk decides it doesn't want to work anymore after modifications...)
I modified both Phone.apk and MMS.apk to change the default icons, but they don't seem to be taking after I flash them to my phone. I still see the default icon for both (blue phone for Phone and green message for MMS) I did get the notification bar to change for MMS, which is some progress.
I check contacts.apk, but didn't see any relevant image files in there. Where should I look to modify these images?

Why modify the apks? Make a theme that changes them, that is the best way to change them and doesn't mess with the actual apks. But which images are you changing. Our phones are xhdpi
Sent from my EVO using Tapatalk 2

I changed ic_launcher_phone.png in the xhdpi folder in Phone.apk and ic_launcher_smsmms in xhdpi in MMS.apk
Here is what it looks like so far: http://imgur.com/a/TTmJF#9
How would I make a theme over the stock launcher? Would I still be able to theme the status bar icons?

http://forum.xda-developers.com/showthread.php?p=11545308
There is a pretty good guide to help get you started. But another way to help you out is to find a theme chooser theme and start by changing out the images in that. There is many theme chooser themes available, look thru xda and the market. Goto the android software section/android themes.
Theme chooser themes can change almost everything except /layout things. And for cmx making a theme chooser theme instead of apk hacking is the very best way to theme. A lot less things can go wrong.
Sent from my EVO using Tapatalk 2

Thanks a ton One_Love! I've been wondering how this works for a while now but couldn't seem to find an actual guide for theme chooser.
Edit: I don't see how to change the Phone and MMS icons in the apk? Is it something that should be possible or do I still need to figure out why Phone.apk and MMS.apk aren't changing the app icon?

Always a good idea to check the AndroidManifest.xml to see where the launcher icons are. For most of the stock apps are in the /mipmap-xhdpi folder
Sent from my EVO using Tapatalk 2

I figured it out after awhile haha, now I'm having an issue of not getting the compiled apk to install. It compiles without issue with apktool, but once it's on the phone...nothing.
I did go through and change the names in AndroidManifest, strings and styles.xml to personalize the install to my name for the author and a custom theme name to identify it. Any ideas as to where I may have screwed up? (I started with a theme template)

After installing the apk did you go into settings and apply it. If not please explain what is happening.
Sent from my EVO using Tapatalk 2

Sorry to keep bothering you one_love_420, here is what's happening. I edited the file, compiled using apktool 1.4.3 and didn't have any errors. Copied the apk file to my sd card and tried to install it, and it simply tells me "App not installed."
I'm lost, not sure where I've screwed it up :/
Here is the file (hopefully): https://www.dropbox.com/sh/emctx52xy3h3tyu/THNAohi4x3/Attempt theming

I use Quickshortcutmaker to change the default icons on the desktop. It basically creates a new app link which you can then modify with any icon or image you want. The alternative would be to use nova launcher which already has a built in option to change any icon.
Sent from my EVO using xda premium

Well I figured out your problem. You are forgetting to sign the apk after you compiled it. I also changed the Smali folders for you since you changed the package name in the AndroidManifest.xml now they match. Here is the link for your theme signed and cleaned up a bit.
http://db.tt/NB6Zpo1d
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my EVO using Tapatalk 2

Has anyone called you a god lately? Thanks a ton one_love! If you don't mind ... one more question, where in the smali files do I need to make the edits to match the theme name?

No edits to the smali files just the folders. You have the package named in the manifest com.gdrocks.theme.BatmanV1 so I made sure the folders matched. It now looks like /smali/com/gdrocks/theme/BatmanV1instead of the default /smali/com/tmobile/theme/templatebread or whatever it was, Dont remember
Sent from my EVO using Tapatalk 2

Related

[METAMORPH] Settings Icons

Update: Changed a couple of icons to make them clearer.
EDIT: New screen shots added. Fixed the folder structure issue.
So, I was getting tired of looking at the off-white icons in the Settings, and I like how some of the Droids (and possibly others) have colored icons in the Settings menu. I whipped this up quickly this afternoon and liked the way it turned out.
No known issues, but you still apply this at your own risk. I am not responsible if it breaks your phone, your home, or your back.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Link for XDA App users
Link for restore original for App users
by any chance did this break your wifi/gps settings? I made a sense settings morph but trying to open the gps or wifi setting results in a fc... just wondering if maybe it was just mine...
Nope. Wireless and GPS are both working fine. This morph was strictly just image replacements for the icons.
same thing I did... hmm i wonder what I did wrong?
edit: Just built a whole new settings morph from scratch and the same thing happened
Settings/wireless and networks/ wifi settings and I get a FC...
Invalid Attachment specified. If you followed a valid link, please notify the administrator.
Just tried from my phone and got this... Worked from the comp earlier..
junkdruggler said:
Invalid Attachment specified. If you followed a valid link, please notify the administrator.
Just tried from my phone and got this... Worked from the comp earlier..
Click to expand...
Click to collapse
Not sure what happened but redid the links and tested them as working on my PC and through XDA app.
I can say that this works and so do the links now...
btw I flashed my morph on top of yours and mine works now... idk what happened but thanks...
works great. thanks!
Updated OP with new version.
Flak_Munky said:
Updated OP with new version.
Click to expand...
Click to collapse
I'm getting an invalid theme prompt. Not sure what i'm doing wrong. Any tips?
bdveteran18 said:
I'm getting an invalid theme prompt. Not sure what i'm doing wrong. Any tips?
Click to expand...
Click to collapse
File structure from the unzip looks wrong. If you go back into metamorph and pick existing themes -> settingsiconmod and go down an extra folder, the XML file is there. Select that and apply.
I will fix the zip later tonight.
Sent from my SGH-T959 using XDA App
Flak_Munky said:
File structure from the unzip looks wrong. If you go back into metamorph and pick existing themes -> settingsiconmod and go down an extra folder, the XML file is there. Select that and apply.
I will fix the zip later tonight.
Ok thank you very much for the quick response.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Sent from my awesome Vibrant using XDA App
Fixed the folder structure and updated OP with new screen shots.
^ I didnt catch there was an issue... what exactly changed? Thank you for doing this man!
s15274n said:
^ I didnt catch there was an issue... what exactly changed? Thank you for doing this man!
Click to expand...
Click to collapse
There was an extra subfolder that you had to go into to get to the theme control file (the xml). It caused an error in Metamorph (invalid theme control file) when you were unzipping it. It would still work, but you had to go back into Metamorph after it errored out and select it manually. I removed the extra subfolder so it should be in the right spot and Metamorph should not give the error.
I am going to be working on a Morph for the Dialer too soon. I am not a fan of the blue that Samsung chose for everything. Too pale. I am not sure what color(s) to go with yet, but I am going to play around a bit with it.
Flak_Munky said:
There was an extra subfolder that you had to go into to get to the theme control file (the xml). It caused an error in Metamorph (invalid theme control file) when you were unzipping it. It would still work, but you had to go back into Metamorph after it errored out and select it manually. I removed the extra subfolder so it should be in the right spot and Metamorph should not give the error.
I am going to be working on a Morph for the Dialer too soon. I am not a fan of the blue that Samsung chose for everything. Too pale. I am not sure what color(s) to go with yet, but I am going to play around a bit with it.
Click to expand...
Click to collapse
That would be awesome. Thank you for all your work and effort.
Sent from my awesome Vibrant using XDA App
nice works great............thanks
Was this supposed to include that nifty font that you used?
Everything works fine, but i was hoping the font would change as well.
but thank you!

Sharing Ideas/Themes/Icons

Hi everyone,
I just recently learned how to theme and create icons for your status bar, so I feel the need to expand on that and help others and create good looking things for them. I'm posting a screen shot of what I have done with my phone and would like to get ideas and/or things that you have done. I know there is a screenshot thread, but this isn't the same. This is coming together to make the best looking icons or best looking color scheme for our phones.
I am using JBoogies Orange deblur Froyo rom and I flashed his red ginger theme for a base to start. A lot of what he did is no longer there, but it was very helpful since I am just starting because it gave me a good idea of what needed to be done.
I don't know how to create a flashable zip, so if I provide you anything it will be an apk that you will overwrite your apk with, unless someone can explain to me how to create the zip.
Anyways, share your ideas.. Here is a few pics of my work so far.
Widgetlcker modded, changed battery icon to draining android, changed wifi icon, themed signal bars, themed dial pad, with the help of JBoogie created a black swype keyboard, themed the smaler icons like vibrate, alarm etc. (I have also had the circle battery icon and the regular one of course just colored. )
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I really thing something in Yelow would look good, hopefully someone or someones will have good ideas!
How can I change the Dial Pad-Number-Background?
What file do I have to change in the BlurDialer.apk?
When I put a background in the dial_num_x_... file it doesn´t work!
hanbam said:
How can I change the Dial Pad-Number-Background?
What file do I have to change in the BlurDialer.apk?
When I put a background in the dial_num_x_... file it doesn´t work!
Click to expand...
Click to collapse
Yes, blurdialer.apk, you need to go into res>drawable-hdpi
You can modify the colors in there, but do not mees with any file ending in .9
then you need to change the permissions before you overwrite the existing app.
should look like this
read write execute
x x x
x
x
jjp84 said:
Yes, blurdialer.apk, you need to go into res>drawable-hdpi
You can modify the colors in there, but do not mees with any file ending in .9
then you need to change the permissions before you overwrite the existing app.
should look like this
read write execute
x x x
x
x
Click to expand...
Click to collapse
I know but what file exactly do I have to change?
I mean the background of the Dial Numbers!
Ahh, As far as I know the only way to do it is to theme the .9 files. Here is how you can do it http://developer.android.com/guide/developing/tools/draw9patch.html
I have not tried, if you do let me know how it works out
Have you done the Theme above?
There the Dial-Numbers have a square around them. How do you do that? Which file did you changed?
hanbam said:
Have you done the Theme above?
There the Dial-Numbers have a square around them. How do you do that? Which file did you changed?
Click to expand...
Click to collapse
It's the dial text field, I guess I have messed with the .9. I know usually those aren't editable, but apparently they are, I just hadn't noticed that is what I was editing. Just made those straight lines rather than the round look
that android battery icon is 2big imo
what i do like is the slidebars on widgetlocker... do u know how I could do that on default lockscreen that comes with jboogies rom?
Peglezn said:
that android battery icon is 2big imo
what i do like is the slidebars on widgetlocker... do u know how I could do that on default lockscreen that comes with jboogies rom?
Click to expand...
Click to collapse
If i make that Android icon any smaller then you cant really see how much jusice is left or you wont see what the icon is...
Yes, you can do it in the framework.res apk. Let me know if you need any help
This is a Dialer themed for someone based off of JBoogies Honeycomb theme. Only tested on JBoogies roms.
Looking good! I like changing the icons. Battery looks good to me.
Sent from my MB525 using XDA App
Just themed the stock contact icon and the add contact button, just touching up little things
Sent from my MB525 using XDA App
EDIT: nevermind ...allready figured it out

gingerbread keyboard how to get orange bounding arrows?

Hi guys,
I installed the gingerbread keyboard running
the gb debloat.
I still have the green bounding arrows, is it
possible to get the 3 orange bounding arrows
like in the picture below?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That usually depends on your roms theme I think
Sent from my TBolt using my f**king thumbs...
Yep, part of the theme. If you open up a Tmo theme engine apk you'll notice "frameworks_res_text_select..." pngs which are the bounding arrows then there should be an xml indicating the highlight color.
If you just want to swap out the ones you currently have instead of applying a theme, they're located in /system/framework/framework-res.apk named "text_select_handle...". Find a theme with the color you want and swap away.
Absolute_Zero said:
Yep, part of the theme. If you open up a Tmo theme engine apk you'll notice "frameworks_res_text_select..." pngs which are the bounding arrows then there should be an xml indicating the highlight color.
If you just want to swap out the ones you currently have instead of applying a theme, they're located in /system/framework/framework-res.apk named "text_select_handle...". Find a theme with the color you want and swap away.
Click to expand...
Click to collapse
thanks for the info.
I'm currently running the basic GB debloat. I've looked in the
framework-res.apk but I didn't see the stock icons. So I then
looked in the htc.resources.apk and I found them:
- text_anchor_bar.png
- text_anchor_bar_top.png
So i used ninjamorph to replace those 2 pngs but it still shows
the stock icons :/
any idea where else those icons could be?
I just downloaded the GB debloat from here to check (i assume that's the one you're on).
As I mentioned, they're in /system/framework/framework-res.apk/res/drawable-hdpi and they're named "text_select_handle...".
Also, remember to reboot after changing to see the effects.
Absolute_Zero said:
I just downloaded the GB debloat from here to check (i assume that's the one you're on).
As I mentioned, they're in /system/framework/framework-res.apk/res/drawable-hdpi and they're named "text_select_handle...".
Also, remember to reboot after changing to see the effects.
Click to expand...
Click to collapse
yup that is the one
Yes i did look I did find that folder earlier:
/system/framework/framework-res.apk/res/drawable-hdpi
the thing is it already has those orange icons in there below
however it still continues to show the top green/black ones.
ah, I get what you're saying now. Yea, sense uses those custom ones from htc.resources. I don't mess with sense roms any but I'm pretty sure replacing the green ones like you did with ninjamorph then finishing the project and rebooting should have worked.
You might also want to try deleting those files and see if it falls back to the ones in framework (not sure if that will work but easy to try). As I said, I don't mess with sense roms so I'm not completely sure. Maybe someone that themes sense roms can help you more.
Absolute_Zero said:
ah, I get what you're saying now. Yea, sense uses those custom ones from htc.resources. I don't mess with sense roms any but I'm pretty sure replacing the green ones like you did with ninjamorph then finishing the project and rebooting should have worked.
You might also want to try deleting those files and see if it falls back to the ones in framework (not sure if that will work but easy to try). As I said, I don't mess with sense roms so I'm not completely sure. Maybe someone that themes sense roms can help you more.
Click to expand...
Click to collapse
cool thanks for confirming for me. obviously we were on the same
page lol because I just did both of the above before i read this
- deleting the stock green icons, ended up crashing the mail/msg apps.
I was unable to even open either of the 2.
- i then used ninjamorph to replace the stock green ones
in htc.resources. even resized them to match.
but they reverted back to the original ones after reboot lol.
thanks again for your help @absolute

[SOLVED]]Need help editing SystemUI.apk

Ok, so I've used the UOT to change my notification bar and pulldown menu. Everything looks great, except for the quick settings. I changed the background to black, but now I can't read the text because the UOT can't change the quick settings text color.
I've tried changing the values in the xml files of the apk.
I went to res/values/colors.xml
I changed <color name="primary_text_color"> to #FF0000 (red, the color I want it to be)
Also changed <color name="secondary_text_color"> to the same color.
I save the xml file. I recompile the app, push it to /system/app, and the status bar disappears, obviously meaning those 2 tiny edits broke the app.
I have no idea what else to do.
Thanks in advance for any help!
*EDIT* new question on post #8
orkillakilla said:
Ok, so I've used the UOT to change my notification bar and pulldown menu. Everything looks great, except for the quick settings. I changed the background to black, but now I can't read the text because the UOT can't change the quick settings text color.
I've tried changing the values in the xml files of the apk.
I went to res/values/colors.xml
I changed <color name="primary_text_color"> to #FF0000 (red, the color I want it to be)
Also changed <color name="secondary_text_color"> to the same color.
I save the xml file. I recompile the app, push it to /system/app, and the status bar disappears, obviously meaning those 2 tiny edits broke the app.
I have no idea what else to do.
Thanks in advance for any help!
Click to expand...
Click to collapse
You have to add the original META-INF and AndroidManifest.xml from the stock systemUI.
dmeadows013 said:
You have to add the original META-INF and AndroidManifest.xml from the stock systemUI.
Click to expand...
Click to collapse
God I hope your right. I'm trying right now. Thanks!
your wrong about it not being able to change the text color Uot kitchen can change the txt color and its not located in any of the regular color.xmls I cant seem to find it for the life of me Im literally about to build a uotk theme and add everything I have to it b/c this is really pissing me off... I cant find it at all Ive searched through dozens of .xml's for hours and changed a ton of them and it changed all the txt colors except the (notifications/quick-settings) tabs txt color.
I don't know where it is either. I'll take a look at uot kitchen again.
Sent from my ADR6400L using XDA App
I cannot change the primary and secondary text colors of quick settings in SystemUI.apk with UOT kitchen. There is simply no option for it.
Further more, I also tried changing <color name="primary_text_color"> and <color name="secondary_text_color"> to the colors I want, and still the apk breaks when pushed to the phone.
I am completely at a loss. I added the AndroidManifest.xml and META-INF from the stock SystemUI.apk to the new one, as recommended before. This does not help.
Please if anyone is good at theming, shoot me a pm.
I FINALLY figured it out. I did need to add the META-INF and AndroidManifest.xml from the original to the edited one, I just wasn't doing it the right way.
Ok, so now that I've figured out how to properly compile SystemUI.apk after editing it, I'm running into another problem. Hours of googling hasn't helped.
The secondary text color under the notifications tab has stayed black, and is therefore unreadable. The secondary text color under the quick settings tab is fine, but I can't find where to change it for the notifications tab. Here are some screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(Sorry for the odd sizes, photobuck is sucking right now...)
If someone could tell me what xml file I need to edit to change this, it would be awesome.
That can be changed with UOT, not sure which xml or line to change for it though
eraursls1984 said:
That can be changed with UOT, not sure which xml or line to change for it though
Click to expand...
Click to collapse
It might be an issue that can be resolved with a wipe. I thought it was weird. When I first did the theme, the notification secondary text color was red like I wanted it, but the quick settings secondary text color was black. I made an edit in xml, and it switched....
Figured it out.
I ended up editing EVERY text color in every xml file in /res/color

Help with theming

K I'm working on a theme but I'm having trouble locating the rosie files ...I was told to look in the fusion apk but I also read that they are in the rosie apk . I'm using m10 editor and I do have image decompiling on I just can't seem to find the png's to edit ...I have already made some clocks
Sent from my HTC EVO 3D X515m using XDA App
Bump I can't find the pngs in the texture folder
Sent from my HTC EVO 3D X515m using XDA App
I'll try to guide you through it step by step, feel free to ask if something doesn't make sense.
1. Open m10 editor, click "load file"
2. choose your fusion.apk and let it load
3. Switch to the "m10 Files" tab at the top
4. Choose the ...\Default\drawable\shared.m10
5. Check the box by "decode images", then click "Decompile/Show" at the bottom
6. (now in the "Editor" tab) Open the first three trees of the .m10.
7. You will be in "Textures". Click on the first texture, but not to open it's tree.
8. Over on the right side you will see the image. Right click-->Show in explorer.
9. The folder with all the .png images will open. edit any of them you want
I included a screenshot for steps 7-8ish to help you to see what to do there. Have fun Merry Christmas
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i have done exactly this ..but i do not see the pics when i select the texture . but when i open other apk's i can see the pngs .....the fusion apk i see nothing under textures ...
http://www.mediafire.com/?ke4nf7ehbrxc77a
on another note i edited the clock widget in the htc clock apk but when i save the apk and push through adb its shows no changes upon reboot ?
When I do the same process without checking the "decode images" box I can reproduce what you just showed.. But I'm sure you checked that since you did mention that. Maybe the problem is with the actual fusion.apk that you are using. Have you tried starting with a fresh fusion? Or make sure your hidden files are viewable in windows and go to [username]>AppData>Roaming>m10Editor and delete the fusion folder there and try again.
Which parts of the clock did you edit? I've never changed anything in HTCClock to change my clock. All (not sure, but at least most) of the clock pngs are also in fusion. I know the flip background and numbers are, and also the background.
Edit: the background might be in Rosie actually. I can't remember off the top of my head.
For some reason its the FUSION APKS I'm pulling from king cobra and newer leedroid Roms . They're not decompiling properly ,even the clocks that I did compile wouldn't push correctly ...I pulled all the apks from leedroid 2.0.0 now everything decompiles and pushes perfectly ....not sure what's up with these new roms and there fusion apks
Sent from my HTC EVO 3D X515m using XDA App
Since its solved where is the battery icon located
Sent from my HTC EVO 3D X515m using XDA App
maek_it_happen said:
i have done exactly this ..but i do not see the pics when i select the texture . but when i open other apk's i can see the pngs .....the fusion apk i see nothing under textures ...
http://www.mediafire.com/?ke4nf7ehbrxc77a
on another note i edited the clock widget in the htc clock apk but when i save the apk and push through adb its shows no changes upon reboot ?
Click to expand...
Click to collapse
because the clock images are all in fusion... it will be easier for you to start with a base skin apk and start editing stuff in there
check out the intro to themeing thread in the themes and apps section
thesparky007 said:
because the clock images are all in fusion... it will be easier for you to start with a base skin apk and start editing stuff in there
check out the intro to themeing thread in the themes and apps section
Click to expand...
Click to collapse
Read latest posts .....and clocks are in htcclockwidget app not fusion ...........
Sent from my HTC EVO 3D X515m using XDA App
theme help Q and A, go here >
http://forum.xda-developers.com/showthread.php?t=1320891&page=85
Oh word ?
Sent from my HTC EVO 3D X515a using XDA App

Categories

Resources