Interested in Theme Chooser theming. - Nexus S Q&A, Help & Troubleshooting

One of my biggest *****es about the themes available in theme chooser is no, matter what, MOST (not all) leave the 4G icon on the status bar that lime ass green. Is there a step by step guide on how to make a custom theme for the NS4G? I am pretty pro at CS5 and have DW as well to exit the XML files, this is something I would be pretty confident in doing. Any advice would be greatly appreciated. Thanks in advance guys (and gals).

Here's a guide for the Theme Engine
http://forum.xda-developers.com/showthread.php?t=964391
I think, but am not certain, that if you wanted to make a flashable zip, you can grab SystemUI.apk and framework-res.apk from you ROM and use apktool to decompile SystemUI
In cmd:
apktool if framework-res.apk
apktool d SystemUI.apk
Then you look for the Wimax images, should be something like
stat_sys_data_wimax_signal_0.png
Of course there will be different values representing the different states of connection.
Sent from my Nexus S 4G using Tapatalk

I ran into a major issue last night.
This was REALLY pissing me off, you know one of those things that SHOULD be working but isn't. Whenever I view the decompiled apk (framework-res, and systemUI)
The files are decompiled everything looks correct, but when I open the image files in cs5 they look all blurry as hell. I have attached some screenshots. Make any sense to anyone?

blueluck77 said:
One of my biggest *****es about the themes available in theme chooser is no, matter what, MOST (not all) leave the 4G icon on the status bar that lime ass green. Is there a step by step guide on how to make a custom theme for the NS4G? I am pretty pro at CS5 and have DW as well to exit the XML files, this is something I would be pretty confident in doing. Any advice would be greatly appreciated. Thanks in advance guys (and gals).
Click to expand...
Click to collapse
Themes have just began fixing the 4g icon. I know for cm7 androidian and cyanbread were fixed.
Sent from my Nexus S 4G using xda premium

Rem3Dy said:
Themes have just began fixing the 4g icon. I know for cm7 androidian and cyanbread were fixed.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
Understandable. New things take time, but I have time to do it and start making all kinds of crazy themes, but just curious why the images would show up that way once they were pulled into PS. Its not just that image, its all the images. Does anyone know how I can resolve this or even prevent it from happening?

blueluck77 said:
I ran into a major issue last night.
This was REALLY pissing me off, you know one of those things that SHOULD be working but isn't. Whenever I view the decompiled apk (framework-res, and systemUI)
The files are decompiled everything looks correct, but when I open the image files in cs5 they look all blurry as hell. I have attached some screenshots. Make any sense to anyone?
Click to expand...
Click to collapse
I just answered u on G+ , but go grab Paint.NET http://paint.net/
With the pngs that are giving you problems (hopefully u haven't saved them in photoshop.. grab the originals), open them in Paint.NET first, save, then open them in photoshop. Almost always works for me.

Related

[REQ] Super Circle Battery with %

We need this.
http://forum.xda-developers.com/showthread.php?t=724778
That's really cool looking; I hope someone can figure out how to port it, but I imagine it shouldn't be too hard.
this kind of post belongs in apps and themes.....
i like it though just change the colors
and it would be very cool
I would like to see this too. It won't work as is?
Sent from my rooted Incredible w/ Flash
I installed the sense-eclair 2.1 "modaco" version, used clockwork to install zip, works fine for me.
Sent from my ADR6300 using XDA App
Ok after toying with my phone with the new battery Meter. I found that the search button reboots my phone.... don't know If its just mine.
Sent from my HTC Droid Incredible.
Be careful flashing these. They contain build.prop and wireless driver files that are not for your phone.
Thread moved to General.
egzthunder1 said:
Thread moved to General.
Click to expand...
Click to collapse
Actually, this needs to be in Development where I posted it due to the fact that it requires major editing of the stat_sys_battery.xml and stat_sys_battery_charge.xml files to allow it to display the actual battery percentage for each level, such as 99, 98, 97, etc.. Please put it back.
Agreed. I too would really like to see this develop into a reality for inc users. it would free up a spot on my notification bar.
I was able to edit the images and repack the latest nightly so now I have the circle battery meter. The 1% increment isn't working. I assume there must be an xml file to edit??? Can anyone shed some light on that?
Edit: This is on CM6 nightly
Wish this could be ported with the percentage over a battery icon. The circle icon reminds me too much of WinMo.
I'd love to get this on my phone along with something similar for wifi!
Can those of us using the SkyRaider (2.2) rom get a little love with this?
Sent from my ADR6300 using XDA App
I would love to get this..
how to modify xml files?
Hi all -- I would love to have this batt on my DI too...and honestly it doesn't look difficult from a theming perspective. But we need some way to extract the necessary XML files from framework-res.apk, modify them, then correctly re-encode them as binary and repackage into the apk.
If someone can point me to a tool, short of the using the full SDK to rebuild the apk from scratch, it should be a relatively quick mod...
*thread subscribed*
bcgaynor82 said:
Hi all -- I would love to have this batt on my DI too...and honestly it doesn't look difficult from a theming perspective. But we need some way to extract the necessary XML files from framework-res.apk, modify them, then correctly re-encode them as binary and repackage into the apk.
If someone can point me to a tool, short of the using the full SDK to rebuild the apk from scratch, it should be a relatively quick mod...
*thread subscribed*
Click to expand...
Click to collapse
You need to use AXMLPrinter2 to edit stat_sys_battery.xml and stat_sys_battery_charge.xml, which are located under /res/drawable/ in framework-res.apk. I just don't know what modifications to change.
this would be awesome!
xvenom89 said:
You need to use AXMLPrinter2 to edit stat_sys_battery.xml and stat_sys_battery_charge.xml, which are located under /res/drawable/ in framework-res.apk. I just don't know what modifications to change.
Click to expand...
Click to collapse
unfortunately AXMLPrinter2 only converts the XMLs from binary back into editable text -- it doesn't do the reverse. But if you use it and take a look at the XMLs, the modifications are actually pretty straightforward. In fact, the file is already set up to have an image for every 1% step, but images for 95 of those steps are undefined.
what we need is a tool that repackages the XMLs back into the APK appropriately -- i haven't found anything to do this, and i'm not skilled enough to use the SDK in full yet...
still would really love to see this...how can we get some love from the more experienced themers?
Madcaddie said:
I installed the sense-eclair 2.1 "modaco" version, used clockwork to install zip, works fine for me.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Madcaddie said:
Ok after toying with my phone with the new battery Meter. I found that the search button reboots my phone.... don't know If its just mine.
Sent from my HTC Droid Incredible.
Click to expand...
Click to collapse
i also just installed this. it also reboots my phone when quickly pressing the search button, but it does not reboot the phone when long pressing the search button. so far so good otherwise. i'm gonna try this for a day and see if any other problems arise, i have a nandroid backup i can go right back to at anytime, so no biggie.

[Q] Black Lockscreen Sliders

Just wondering if someone is already working on changing the lockscreen sliders to a glossy black, moto sliders are fugly. I have seen many posts for people requesting this in other threads and being a noob to theming I have no idea where to start.
What is the name of the file that needs to be modified and in which .apk is it located? I might make this my first "theme" project if I find the file and if this has not already been done.
The sliders are part of framework. Pull framework-res.apk from /system/framework and open the apk in any zip program like 7zip or WinRAR. Then look in the drawable-hdpi and drawable-land-hdpi folders and you should see the sliders. Then edit in Photoshop or something. Put back in framework-res.apk then push back to the phone and reboot.
Explodee said:
The sliders are part of framework. Pull framework-res.apk from /system/framework and open the apk in any zip program like 7zip or WinRAR. Then look in the drawable-hdpi and drawable-land-hdpi folders and you should see the sliders. Then edit in Photoshop or something. Put back in framework-res.apk then push back to the phone and reboot.
Click to expand...
Click to collapse
Not that simple...they're .9.png's. if you just edit them in photoshop they'll mess things up and not turn out right.
Even with just simply changing the color?
Sent from my DROIDX using XDA App
MXMike said:
Even with just simply changing the color?
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
nope.. when saved in photo editor it loses its .9 properties...
have to used draw9patch in android sdk to apply guides..
just decompile original apk with apktool or apkmanager to get the original showing you where the guides are located
I changed the colors of the sliders from the dark green whatever color to red using photoshop and they work fine.
Explodee said:
I changed the colors of the sliders from the dark green whatever color to red using photoshop and they work fine.
Click to expand...
Click to collapse
You got lucky somehow. All .9's have a 1 pixel border that exist as guides to the OS of where to stretch and where to anchor the image. Changing the color can remove/alter these guides. Rarely can you just change the color of a .9 and expect it to work/appear as it should. I would look at the thread with the how to video for draw9patch if you want to edit the lock sliders or any other .9 image.
Thanks for the info.
Sent from my DROIDX using XDA App
Something like this?
BTW this if fully functional, drop it in your framework (rename it!) and push it. If its what you need let me know, ill finish the rest.
Black sliders
If you see page four ... Clear / cant see sliders
you might be able to use ninja morph to apply these, or you need to know how to add files to an apk and push back. These go in framework-res.apk/res/drawable-hdpi
Dont add these to a decompiled apk! drop these straight into the apk with your perfered method.
Yeah that is what im looking for...if you wanna finish em that would be awesome!
Sent from my DROIDX using XDA App
MXMike said:
Yeah that is what im looking for...if you wanna finish em that would be awesome!
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
shoot me a pm with your email, wont have em to ya till 3-4. Unless someone beats me to em.
bad4u6669 said:
Something like this?
BTW this if fully functional, drop it in your framework (rename it!) and push it. If its what you need let me know, ill finish the rest.
Click to expand...
Click to collapse
I downloaded your theme and you successfully changed the color, but the slider doesnt slide. But it is still functional. Just doesnt actually show the bar sliding. This is where the .9.png comes into play
My current update.zip that's up right now? The sliders in that don't work? Every one else reports no problems. Could you be more specific.
Sent from my DROIDX using Tapatalk
I just decompiled my whole theme and checked the sliders. They are compiled and working correctly. Something might of went screwy on your install.
Sent from my DROIDX using Tapatalk
bad4u6669 said:
I just decompiled my whole theme and checked the sliders. They are compiled and working correctly. Something might of went screwy on your install.
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
lol, nevermind. I was thinkin you did Froyo Dynomite. The slider doesnt slide in that one.
You can easily changed the color of the sliders. But you have to decompile first. If you just unzip the apk it loses the 9 patch info(see below). If you have a theme and the slider does not slide then this is the reason.
Natemz said:
lol, nevermind. I was thinkin you did Froyo Dynomite. The slider doesnt slide in that one.
Click to expand...
Click to collapse
Ahh crap you're right. I never noticed because I always use WidgetLocker. I fixed the notification font and now I'll get going on fixing the sliders. Update will be tonight.
black sliders sent, post up a screen shot after you get them on your phone.
Any way I can get the black sliders from you as well?
phissionkorps said:
Any way I can get the black sliders from you as well?
Click to expand...
Click to collapse
As long as you can post a pic after you apply them. pm me with an email addres to send them too.

[request] Themed 3G icon

can anyone post up a themed version of the stock or new MIUI rom flashable 3G indicator, themed to match this (or both):
http://forum.xda-developers.com/showthread.php?t=788214
Thanks!
Do you mean you're after:
A theme for MIUI which has the 3G icons from that theme
or
That theme with the MIUI 3G icons?
Josh.
fllash said:
Do you mean you're after:
A theme for MIUI which has the 3G icons from that theme
or
That theme with the MIUI 3G icons?
Josh.
Click to expand...
Click to collapse
I would like the 3g icon from that rom to flash over SkyRaider 3.2
^Same^ but likt the one from the smooth blue theme that is a blue 3G indicator. Or JUST the stock HTC 3G indicator in blue if possible. Thanks
just pull it out of the framework and color it yourself, it's like 4 images
worm- said:
just pull it out of the framework and color it yourself, it's like 4 images
Click to expand...
Click to collapse
How do I do this?
Thanks
Funny. I was just going to post asking anyone if they had it in red. I would also like to know how to do it.
Contempt4You said:
Funny. I was just going to post asking anyone if they had it in red. I would also like to know how to do it.
Click to expand...
Click to collapse
I know. I really want it lol, because i kinda hate the 3G indicator in the theme i have currently, as it's hard to see the upload/download arrows, so i just wanted a flashable indicator so I dont lose the cool notification pulldown
I can edit it with photoshop if I can find it. Can anyone give me a hint to the file path?
EDIT: Hah...ok I suck and fail.
I found the apk and edited the images. Looked great. Put the apk back together. Unistalled the original apk and tried to install my modified apk. Would not install. I'm done with it for now. I guess I will read up on signing tomorrow although I thought I had read that system apps didn't need to be signed.
I'll play with it more tomorrow.
do adb pull /system/framework/framework-res.apk
And the images should n in the drawable-hdpi. Folder if not just look around until u find the images
Then pull the framework from your current Rom and replace your images with the images you want then repush your framework hack to the phone and reboot
Sent from my ADR6300 using Tapatalk
Contempt4You said:
I can edit it with photoshop if I can find it. Can anyone give me a hint to the file path?
EDIT: Hah...ok I suck and fail.
I found the apk and edited the images. Looked great. Put the apk back together. Unistalled the original apk and tried to install my modified apk. Would not install. I'm done with it for now. I guess I will read up on signing tomorrow although I thought I had read that system apps didn't need to be signed.
I'll play with it more tomorrow.
Click to expand...
Click to collapse
If you figure it out can you pack a zip of just the 3g icon in blue as well for me?
Thanks man
Thanks for the tips. With a little help from google, I was able to figure it out.
Which icon did you need exactly? The 3g toggle or the notification bar?
well, i did it and replaced some old icons with cooler looking ones, but the 3g icons (along with similar data icons) did not show up. all of the other ones showed up. also, i read a thread where this dude got 4g icons from another rom and installed them on his phone to make it look like he had 4g, but then hours later, he experienced loss of mobile data... and now i think i am too... any suggestions?
I'm sorry I can't help you. I am learning all this myself and wouldn't pretend to know where to start on that. All I can say is that if you are going to make any changes then backup early and often.
The 3g toggle icons I was looking for were in system/app. I merely reskinned them and dropped them back in.
Contempt4You said:
I'm sorry I can't help you. I am learning all this myself and wouldn't pretend to know where to start on that. All I can say is that if you are going to make any changes then backup early and often.
The 3g toggle icons I was looking for were in system/app. I merely reskinned them and dropped them back in.
Click to expand...
Click to collapse
i wanted notification bar icon
I'm running a theme and mine is already skinned. I think either way you would still have to adb push it onto your phone. I did some googling and took a crash course on changing system icons.
Once I figured it out, it made sense (i know that sounds stupid, but after i did it, I was like oh yeah I get it now). I know that's not a big help, but I'm new to this and wouldn't want to bork your phone. Maybe someone more knowledgable will come save the day.
Otherwise I would google in terms like editing apks and adb pull adb push etc. and maybe you will figure it out too.
Hell I can't wait to ruin my phone now that I am armed and dangerous =)
Contempt4You said:
I'm running a theme and mine is already skinned. I think either way you would still have to adb push it onto your phone. I did some googling and took a crash course on changing system icons.
Once I figured it out, it made sense (i know that sounds stupid, but after i did it, I was like oh yeah I get it now). I know that's not a big help, but I'm new to this and wouldn't want to bork your phone. Maybe someone more knowledgable will come save the day.
Otherwise I would google in terms like editing apks and adb pull adb push etc. and maybe you will figure it out too.
Hell I can't wait to ruin my phone now that I am armed and dangerous =)
Click to expand...
Click to collapse
Lol, i actuallly finally figured out how to extract the png's, so i am going to edit in photoshop, then replace the current images with the app ninjamorph.
*didnt work* left a huge blank space on noti. bar and when I rebooted to see if it would show, I bootlooped*
Well. I spent last night learning to resign edited apk files, so literally nothing on my phone is safe now.
Contempt4You said:
Well. I spent last night learning to resign edited apk files, so literally nothing on my phone is safe now.
Click to expand...
Click to collapse
Is there any way to pack the png's so that I can flash them or install as an apk?
Anyone know how I'd do this? I already have the edited png's.
Can I send any of you guys the folder with the icons and you can help me out with this?
Thanks again
It seems the easiest way to change or theme icons is to not unzip them. Just open them with 7zip and make your changes, then close it. They will stay compressed and all of the info and size will remain intact.
Once changed you will have to resign the apk or zip file.
I spent the better part of 2 hours reading up on it using these forums and google, but I do not in any way feel knowledgable enough to instruct you on the finer points. There are oodles of topics on editing apk's and signing them when you are finished.
The steps seem pretty clear:
1. download or pull apk
2. open with 7zip
3. make changes keeping sizes and file names the same
4. close
5. re-sign the apk or zip file (most likely have to delete the existing files to the original signing which will be replaced with your own)
6. push or install the zip or apk (make sure the original app is uninstalled prior to reinstalling the changed app)
There are various methods and tools. The most helpful thread I found on signing is here: http://forum.xda-developers.com/showthread.php?t=473580
I hope this covers it all and is helpful to you. I am new at it and can only tell you to backup everything and if you are unclear on any of it, then don't attempt it.
Read all the posts related to it. There is great info and plenty of feedback on known issues or mistakes others have had.

[HOW-TO]Successfully decompile and compile com.htc.resources.apk

This guide assumes you already know how to use apktool and use latest 1.52 version. If you don`t, there are plenty of guides already on XDA.
Latest Sense 5 com.htc.resources.apk and apktool are not great friends. Actually there is a long history of compile issues with this file, but also I managed to fix it usually in the past. I stumbled about some theme threads, who were correctly complaining, that they can`t fully finish their work, since many essentially stuff in HTC`s framework can`t be themed, since com.htc.resources.apk can`t be compiled and as a result many color themes remain incomplete.
So I had a quick look and here is the workaround, which is tested and works.
For those having other apktool issues, it also might pay off looking in my One S apktool issues thread, maybe you will find some ideas to solve other problems.
http://forum.xda-developers.com/showthread.php?t=1642224
Credits:
brut for his awesome apktool
hdneuling for being a great tester and guy
1. First thing you will recognize, when decompiling the "nice" way, apktool will miserably fail. So let`s be the bad guy and brute force decompile
2. Decompile com.htc.resources apk with the following:
PHP:
java -jar apktool.jar d --keep-broken-res com.htc.resources.apk com.htc.resources-decoded
This ignores all errors and decompiles the apk
3. Since the real issues here in reality are only very minor dimens decompile problems, you can now simply delete all unneeded folders with an ERR at the end.
4. Make all necessary edits
5. Now compile the apk as usual, there are different ways to do it - I compile with
PHP:
java -jar apktool.jar b com.htc.resources-decoded
6. Flash and enjoy your work
Good job
Had to look into it, Helmut was desperate
Great Job, and o.k., feeling guilty now :silly:
LG, Helmut
One thing we noticed when putting together our tranquility rom was that any com.htc.resources, sense 4 and after, was that even when it could be decompiled it was better to hex edit. It caused issues with the rom. The dialer and battery life were affected. There were other performance issues also.
Sent from my HTC6435LVW using xda premium
fernando sor said:
One thing we noticed when putting together our tranquility rom was that any com.htc.resources, sense 4 and after, was that even when it could be decompiled it was better to hex edit. It caused issues with the rom. The dialer and battery life were affected. There were other performance issues also.
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
Yep font size was stuck at medium aswell no matter what we set it to
i´m running a pretty heavy edited com.htc.resources.apk on my One since yesterday and didnt notice and afaik he_stheone did the same since yesterday.
Of course we have to have a look at "maybe problems", but it´s good to have a solution to de/compile it now i think
LG, Helmut
fernando sor said:
One thing we noticed when putting together our tranquility rom was that any com.htc.resources, sense 4 and after, was that even when it could be decompiled it was better to hex edit. It caused issues with the rom. The dialer and battery life were affected. There were other performance issues also.
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
Hi Fernando, we will watch behavior going forward on Sense 5. So far we still could not find negative side effects. But we surely keep an eye on it.
Sent from my HTC ONE - powered by TrickDroid
Nice work, thanks for sharing. Have to say, you and Helm are really blazing the way with One theming!
Did try this approach with the Sense4.5 resources, could never get the apk to compile after deleting the _ERR folders, but I'll definitely give it a try with Sense5
Fisha, where are you?
We need your skills on the One :fingers-crossed:
LG, Helmut
hd2neuling said:
Fisha, where are you?
We need your skills on the One :fingers-crossed:
LG, Helmut
Click to expand...
Click to collapse
Nah, you guys are doing a great job. I'm enjoying just being a user for now
he_stheone64 said:
Hi Fernando, we will watch behavior going forward on Sense 5. So far we still could not find negative side effects. But we surely keep an eye on it.
Sent from my HTC ONE - powered by TrickDroid
Click to expand...
Click to collapse
Haha yes those of you lucky enough to have the phone! 8 days for me.
Sent from my HTC6435LVW using xda premium
Small Update:
Was running 4 different edited versions com.htc.resouces.apk, until yet, and no problems noticed, of course i´m still watching on it :fingers-crossed:
LG, Helmut
hd2neuling said:
Small Update:
Was running 4 different edited versions com.htc.resouces.apk, until yet, and no problems noticed, of course i´m still watching on it :fingers-crossed:
LG, Helmut
Click to expand...
Click to collapse
That's awesome. Hex editing is not as fun.
Sent from my HTC6435LVW using xda premium
First off, Nice find!! So far the only ill effect I'm noticing is the fonts in settings/display, gestures and buttons doesn't function properly. it changes the font size in certain areas but not system wide like it should. this is the same error we had before, and maybe its because im using the port rom for Evo LTE. I'm looking into it but we couldn't find a resolve for this before.
double post.
steal25 said:
First off, Nice find!! So far the only ill effect I'm noticing is the fonts in settings/display, gestures and buttons doesn't function properly. it changes the font size in certain areas but not system wide like it should. this is the same error we had before, and maybe its because im using the port rom for Evo LTE. I'm looking into it but we couldn't find a resolve for this before.
Click to expand...
Click to collapse
Just to confirm, this is also the case on the One ROMs themselves as well, not just limited to ports.
To see it clearly, just go into Settings/Display, Gestures and Buttons, and try flicking between small and extra large fonts. When you go back out into the main Settings menu, the font size doesn't change as expected.
Did try to get around this by compiling the images, and dragging them into the stock resources apk. If you do this without renaming some of the 9.pngs back into r.9.pngs, you get SysUI FC, and a messed up lockscreen. With those corrections made, everything boots fine, but Dialer FCs and several Settings menu options also FC.
Next thing to try is using villaintheme to insert the altered pngs directly on-device....
Edit: yup, using villaintheme seems to give the best result. No app FCs and no text resizing issue. Just means we still need to hex edit to change any of the values xmls.
At least the recompile workaround gives us a way to easily test resource edits. Thanks again for the heads up!
fisha21 said:
Just to confirm, this is also the case on the One ROMs themselves as well, not just limited to ports.
To see it clearly, just go into Settings/Display, Gestures and Buttons, and try flicking between small and extra large fonts. When you go back out into the main Settings menu, the font size doesn't change as expected.
Did try to get around this by compiling the images, and dragging them into the stock resources apk. If you do this without renaming some of the 9.pngs back into r.9.pngs, you get SysUI FC, and a messed up lockscreen. With those corrections made, everything boots fine, but Dialer FCs and several Settings menu options also FC.
Next thing to try is using villaintheme to insert the altered pngs directly on-device....
Edit: yup, using villaintheme seems to give the best result. No app FCs and no text resizing issue. Just means we still need to hex edit to change any of the values xmls.
At least the recompile workaround gives us a way to easily test resource edits. Thanks again for the heads up!
Click to expand...
Click to collapse
no problem, Ive dug in settings and com.htc.resources and see no link in the two. Not arrays, dimens, nothing. all the arrays and sizes for the different fonts are in settings so i dont understand why that would be affected. If i find afix/workaraound ill post it here.
Noticed the fontsize-problem before de/compiling com.htc.resources.apk too, dont know if it works on Stock because i never booted Stock ^^
Besides this, my edited com.htc.resources.apks are still working without problems, even with ROMs based on 1.29.401.1/2
LG, Helmut
This will no doubt come in handy. Thanks
Sent from my HTC One using Tapatalk 2

How to theme Contacts and Clock VZW S5 PKM files

So I am sure many of you have noticed that when you decompile ClockPackage.apk or SecContacts_Phone_FLAGSHIP_USA.apk you see a bunch of PKM image files. I have managed to replace most of them with PNG files and sucessfully theme both APK's.
Here is a link to both of my ASU Sun Devil themed ClockPackage.apk and SecContacts_Phone_FLAGSHIP_USA.apk. http://d-h.st/q5D
You are welcome to theme them as you see fit. I spent over 100 hours on these. PS: the text color code I use is ffffb310 hex and -0x4cf0 smali. There are some smali edits in ClockPackage. None in Contacts.
Thanks for looking!!!
Enjoy!!!
Ok, I'm stumped. I took ALL the images from XXHDPI and vrthemed them into another SecContacts_Phone_FLAGSHIP_USA.apk file and it didn't appear to do anything except maybe change the statusbar.
I pulled the apk just to be certain and sure enough, the themed png files were there. Any ideas?
tdunham said:
Ok, I'm stumped. I took ALL the images from XXHDPI and vrthemed them into another SecContacts_Phone_FLAGSHIP_USA.apk file and it didn't appear to do anything except maybe change the statusbar.
I pulled the apk just to be certain and sure enough, the themed png files were there. Any ideas?
Click to expand...
Click to collapse
You can't do that. The PKM files will still exist. You must morph the whole folder if you are going to do that so it erases the stock one.
Best way is to just decompile and theme it. Use my APK's as a base.
EMSpilot said:
You can't do that. The PKM files will still exist. You must morph the whole folder if you are going to do that so it erases the stock one.
Best way is to just decompile and theme it. Use my APK's as a base.
Click to expand...
Click to collapse
Ahhh!!! Gotcha. Totally forgot about that. I don't do a lot of theming I work on other development stuff mainly but this particular release is going to keep us busy for a while I think. LOL
Dev Edition?
Ok figured out that your contacts apk flashes and works fine on the Sprint S5 variant btw (very nice, this could come in handy later).
However, it does not play nice with apktool 2.0x so I decompiled it with apktool 1.5.2 and it 'almost' recompiled fine except for an apktool dummy error that was being generated by res/drawable/select_all_item_bg.xml. The resource is definitely there but it gave it that value for this line anyway.
Code:
<item android:state_pressed="true" android:drawable="@*android:drawable/APKTOOL_DUMMY_0b03" />
To correct for that, I pulled the stock select_all_item_bg.xml, copied right over the decompiled one with the apktool dummy code (I know I could have just fixed the line but whatever ) and it now recompiles perfectly. I am attaching that file for anyone that may have issues. This xml file is ALREADY decompiled.
Edit: EMSPilot, I heard you got the original images from the S4. You don't still happen to have an stock/unthemed version of contacts we can work from do you ?
Dev Phone
Dennisg34 said:
Dev Edition?
Click to expand...
Click to collapse
Yes Dev Edition
Awesome mate, I was going crazy looking for ways to thematize these PKM files.
Tested and works perfect s5 International. :laugh::laugh:
Thanks and regards.:good:
Hello guys, someone can tell me how to change the log window colors? I can not find ?
Thanks
Spinner
BoBCatRoM said:
Hello guys, someone can tell me how to change the log window colors? I can not find ?
Thanks
Click to expand...
Click to collapse
That would be a tw_spinner in framework-res. Not sure which one as I always theme them all.
EMSpilot said:
That would be a tw_spinner in framework-res. Not sure which one as I always theme them all.
Click to expand...
Click to collapse
thanks, I try to see in the framework
This is awesome work. Would love to see someone develop a dark contacts and SMS stock app darkened too. If anyone can do sothat would be awesome. But not dark MMS like the old school stuff but dark MMS with ways to change the bubble colors too. Would love to see where this goes thanks again devs
Of course we can make dark contacts, lol. Working on some now
Sent from my SM-G900P using Tapatalk
EMSpilot said:
So I am sure many of you have noticed that when you decompile ClockPackage.apk or SecContacts_Phone_FLAGSHIP_USA.apk you see a bunch of PKM image files. I have managed to replace most of them with PNG files and sucessfully theme both APK's.
Here is a link to both of my ASU Sun Devil themed ClockPackage.apk and SecContacts_Phone_FLAGSHIP_USA.apk. http://d-h.st/q5D
You are welcome to theme them as you see fit. I spent over 100 hours on these. PS: the text color code I use is ffffb310 hex and -0x4cf0 smali. There are some smali edits in ClockPackage. None in Contacts.
Thanks for looking!!!
Enjoy!!!
Click to expand...
Click to collapse
Do you also theme /system/app/InCallUI.apk? That's the contacts screen during a phone call.
InCallUI
blulite said:
Do you also theme /system/app/InCallUI.apk? That's the contacts screen during a phone call.
Click to expand...
Click to collapse
Yes of course I theme InCallUI.apk.
i decided that i would try and make a theme for the tmo s5 varient even tho i do not have the device and boy i had no idea what i got myself into when it was time to theme contacts!!! i have never seen anything like this over my past years theming the s2-s4 and note 3! i was like a pkm what??? i was able to edit in my own images for dialer buttons and dialer bg but stopped there! lol. I was truly amazed when coming across this thread and just wanted to take my hat off to you! i have a question tho... sorry if you already answered for i attempted to search for the answer in this thread but am still a little confused.. so again how did you replace the pkm with a png? just by using another seccontacts image and replacing the pkm with the png?? i doubt thats how because you would have to change it in the values folder or something like that correct? kinda like i and i also saw you figured out how to edit our own dialer button image? ive just been so stumped with these pkms that i am like i need to know how you did it! lol.
@EMSpilot
Great work in here Sir..... made couples adjustment for AT&T S5 SM-G900A And everything look good....
EDIT: Sept 15
Hi Bill @EMSpilot
I really appreciated all your guide and pointers

Categories

Resources