[mod / theme] [cm6 / 2.2] [20-05-2011] WORKING Transparent contacts/phone/mms apks - XPERIA X10 Themes and Apps

UPDATE - So i finaly figured it out, feel like a absolute NOOB atm. but these things happen.
Basicaly i edited the "Styles.XML" to make the backgrounds tranperant.
i looked for the style that the android manifest referenced and changed the parent to "@android:style/Theme.Wallpaper"
changed the background image to just a black transplucent image
rebuilt the app, copied the resources.arsc and the moded image,
pushed it to my phone, and BOOM! it worked a treat.
this should work in any app i think.
sometimes the hardest problems are solved so easliy.....
once i have tested it a bit i'll wrap the phone / contacts / mms apps into a update zip hopefully tonight or tomorro.
also i'll put a quick tut together if ppl are interested.
PVY
I am trying to make a fully transparent theme. Got all the framework-res stuff downpat. But I can't for the life of me get the other apps to go transperant.
I tried just changing the background image to semi transparent in the contacts app, then I went fishing around in the xml files but can't find any thing that relates to the background.
then in the mms app I found all the colours in the res/values
Changed the alpha but it didn't work.
Been searching around and can't find out how to make it work.
Thanks in advance.
Pvy
Sent from my X10i using XDA App
Click to expand...
Click to collapse

FINALY!!!
So i fgured this out. thought i'd share
only took a few weeks of googling. (and finding the correct thing to google)
lol...
i had to add the style to the AndroidManifest.xml
i used
Code:
android:theme="@android:style/Theme.Wallpaper"
and i put it in the application brackets. so it looked like this
Code:
<application android:label="@string/app_label" android:icon="@drawable/ic_launcher_smsmms" android:name="MmsApp" android:taskAffinity="android.task.mms" android:allowTaskReparenting="true" android:theme="@android:style/Theme.Wallpaper">
then the usual stuff with making stuff Transparent.
attached is a screeny or 2 the funny lines is my wallpaper. (fireflies Live wallpaper)
next im going to do the Phone and contacts apps, then move my way through the rest of the phone
Pvy.

are you still working on this? i think it would be cool to have all menus transparent

Yeah mate, been having mega issues with my new laptop. it wont decompile/recompile apks properly... i think it is a win 7, 64 bit issue...
so i hit a bit of a snag. was thinking of releasing a theme if ppl were interested. (gotta figure out the whole recovery zip thing tho)
Pvy
alamatnitotoy said:
are you still working on this? i think it would be cool to have all menus transparent
Click to expand...
Click to collapse

I have tried what you said in the code but didn't get the same result.
What do you mean here by the usual stuff?
pvyParts said:
then the usual stuff with making stuff Transparent.
Click to expand...
Click to collapse

modifying the alpha/transperancy of the images and the alpha in the xml files.
ie int the color.xml it has the background colors,
so #ff000000 is fully opaque black,
and #99000000 is like 60% Transperant Black
i'll post the MMS.APK if thats what you are after. and you can see all the changes i made. it was rather rushed after i had my epipheny
EDIT- I attached the MMS.apk that i was working on recently, it runs on the emulator, and the transperancy works for both black and white backgrounds. the apk is signed so it should run on a phone. but normal stuff aplies,
Make sure you have a backup of the original, and i'm not responsible for any damage, ect ect ect.
alot of the XML files have small changes.
let me kno if ya want any more info
Thanks PVY.
gil2004xp said:
I have tried what you said in the code but didn't get the same result.
What do you mean here by the usual stuff?
Click to expand...
Click to collapse

How is the work coming along? I'm gonna try the messaging app, I'd love to try anymore that you have finished

slow atm , i am having issues getting the moded apps to work on the phone... FCs.... lots and lots of fcs...
i should prob update the first post... maybe later.
the mms.apk above will work i am running it on my phone (using wolfs CM6 v006). i used x10 mod tool ( by mr rush i think) to push it to the /system/app folder ont the phone, take a backup first tho to be sure.
vpllover said:
How is the work coming along? I'm gonna try the messaging app, I'd love to try anymore that you have finished
Click to expand...
Click to collapse

So i figured it out see the first post!
Pvy

nice..you did it..ill try it maybe later cause im on miui now

yeah i was prety happy hey
heres some screenies!
http://s789.photobucket.com/albums/yy180/aaronkable/Transperant%20Theme/?albumview=slideshow
Pvy

sure it will all work good

Related

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

[MOD] MAKE YOUR OWN THEME!! Ultimate Online Theme Kitchen

let me start of by saying I TAKE NO CREDIT for any of this... only think i did was discover this amazing thread.. (i've know about it for a quite a while now, but don't know why i hadn't decided on posting this here)
im only posting this thread here because not a lot of people in the cdma hero community know about this... and yes this should work with YOUR ROM, whatever that is you have.. seems to be pretty universal now...
here is the link to the main thread, with all credits going to the guys in the desire forum:
~~avreen~~Dr.DroidQliratu~~Mendozinas~~FightSpit~~nRosier~~trinityEon~~
CLICK HERE for Ultimate Online Theme Kitchen
I tried it, but all my gapps were continuously FCing so I had to nandroid back. I might try it again without notification settings (I only did part of those, so maybe that screwed it up).
Fyoolie said:
I tried it, but all my gapps were continuously FCing so I had to nandroid back. I might try it again without notification settings (I only did part of those, so maybe that screwed it up).
Click to expand...
Click to collapse
are u installing this over a current theme?? are u adding any transparencies in the notification bar? what rom are u using? i've had the gapps FC before with this, but got everything worked out to where everything works perfect now..
I'm guessing CM 6 comes with a theme.. so I'm gonna say yes. I didn't make anything transparent, but I only did settings for part of the notification window.
What sucks now is that I nandroided back to a backup I made earlier today and it made everything like I just flashed CM 6 but LauncherPro kept FCing.. trying to nandroid again. :\
Edit: Can I choose sense icons without having a sense rom? If not, that's probably my problem.
Fyoolie said:
I'm guessing CM 6 comes with a theme.. so I'm gonna say yes. I didn't make anything transparent, but I only did settings for part of the notification window.
What sucks now is that I nandroided back to a backup I made earlier today and it made everything like I just flashed CM 6 but LauncherPro kept FCing.. trying to nandroid again. :\
Edit: Can I choose sense icons without having a sense rom? If not, that's probably my problem.
Click to expand...
Click to collapse
sense icons are fine... i've used them before..
try this, flash cm6 again (do not wipe) just flash the same one ur using again.. then flash ur theme u made.. (do not flash gapps again).. then reboot
If I remember that kitchen gave me issues a whole back with the rs folders... open your apk and look in the res folder check to see if v4 was appended to any of the drawable folders, if so delete the v4 part in the name and resign it.
Sent from my PC36100 using XDA App
Confirmed working on CM6RC1... Although not much in the way of theaming very limited but cool non the same. Very easy to use even for the beginner. What it changes should be pretty universal as long as you pay attention and choose the correct android version.
bk718 said:
sense icons are fine... i've used them before..
try this, flash cm6 again (do not wipe) just flash the same one ur using again.. then flash ur theme u made.. (do not flash gapps again).. then reboot
Click to expand...
Click to collapse
I'll try this when I get my new sdcard in the mail. Not much room to work with right now and I don't need my apps all messed up again if it doesn't work. Just gotta remember to take my WoW Authenticator off my account before messing with it, two hours on hold was not fun this morning!
ASimmons said:
If I remember that kitchen gave me issues a whole back with the rs folders... open your apk and look in the res folder check to see if v4 was appended to any of the drawable folders, if so delete the v4 part in the name and resign it.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I don't even know how to open an apk..
Used this to get the circle battery with CM 6.1 RC1, my only issue is that now it displays a big "Roaming Indicator On" on my lockscreen (where the "Sprint" would usually be), and the roaming triangle is showing up in the taskbar (even though I'm like 98% sure I'm NOT roaming). Anyone have a suggestion of how to get rid of this? Maybe something I did in the process of cooking up the zip? All I want is the stock CM6 pulldown/notification bar with the circle battery, and also have the option to turn off the power control widget in the pulldown.
SirRipo said:
Used this to get the circle battery with CM 6.1 RC1, my only issue is that now it displays a big "Roaming Indicator On" on my lockscreen (where the "Sprint" would usually be), and the roaming triangle is showing up in the taskbar (even though I'm like 98% sure I'm NOT roaming). Anyone have a suggestion of how to get rid of this? Maybe something I did in the process of cooking up the zip? All I want is the stock CM6 pulldown/notification bar with the circle battery, and also have the option to turn off the power control widget in the pulldown.
Click to expand...
Click to collapse
have you posted a comment about this in the thread in the desire forum? they seem to be really good with clearing up any issues quickly..
Searched that thread, found an answer. Working on it now.
SirRipo said:
Searched that thread, found an answer. Working on it now.
Click to expand...
Click to collapse
It worked. If anyone has the same issue, make sure you pull the framework-res.apk from your ROM and upload it when it asks you to.
Sprint said no Froyo for Hero, I said eff that.
SirRipo said:
It worked. If anyone has the same issue, make sure you pull the framework-res.apk from your ROM and upload it when it asks you to.
Sprint said no Froyo for Hero, I said eff that.
Click to expand...
Click to collapse
I've been toying around with it today, trying to do a couple header and footer tweaks the easy way! But everytime I've gotten to the end I choose my file to upload. It just sits there, won't let me hit next, and don't see an actual upload button. Oh well, I'll find another way to tweak up aospMOD.
EDIT: Firefox issues.
SirRipo said:
It worked. If anyone has the same issue, make sure you pull the framework-res.apk from your ROM and upload it when it asks you to.
Click to expand...
Click to collapse
The issue comes from, I believe the ROM loaded on the site is actually from a GSM, so yeah, uploading the one right from your ROM works wonders.
So finally after reading page 2 of this I got it to work, lol. I was using the framework from the site, once I uploaded mine it worked! Although I chose to change my icons and that didnt happen, anyone else get this problem? Not to big of deal, the main thing I wanted was circle battery
cordell12 said:
So finally after reading page 2 of this I got it to work, lol. I was using the framework from the site, once I uploaded mine it worked! Although I chose to change my icons and that didnt happen, anyone else get this problem? Not to big of deal, the main thing I wanted was circle battery
Click to expand...
Click to collapse
sometimes its easy to overlook a unticked box... once you've generated the icons you need to make sure that you have checked off that section.. its easy to forget to tick a box that you already generated, i've done it numerous times
bk718 said:
sometimes its easy to overlook a unticked box... once you've generated the icons you need to make sure that you have checked off that section.. its easy to forget to tick a box that you already generated, i've done it numerous times
Click to expand...
Click to collapse
I did it again and this time I checked the "include icons" and chose G4 blue sense 3D. Again they didnt show up This time what happened was my icons that were blue tinted (running Extremely Blue) turned white. Same stock icons, just white instead of the blue tinted ones. Can I use the sense icons?
Thanks
If it makes a difference I also selected the white notification bar icons as well, H1 DeFrost.
That was it, only chose the G4 blue sense 3D this time and it worked perfect! Now I need to do it again as there are a few I dont care for and would rather have my blue tinted ones, like signal bars
Now I got it looking BAD-A$$!!
Question,
When attempting to modify the Status bar notification I dont get to see the progress I am making. It looks like the Kitchen is supposed to let me see what each mod will look like as I change things, shouldnt that checkered area to the right of status bar mod settings show a preview of what I a doing, while I do it?
EDIT>>>>> Nevermind, I found to click generate at the bottom of page
Thanks
Alright so I redid my phone last night (starting from scratch when I know a little more about this stuff is good ) and tried this again, got the circle battery mod and the status bar icons and it works great!
If it helps anyone, I uploaded my framework this time instead of choosing from the list.

[PORT][THEME]5/7/11 Heinz_57_Splash_of_Color [Mesmerize & Showcase]

well again, first things first, the CREDITS!!!
Credit goes to rel500 for making this theme...it kicks ass and looks good doing it,
also wanna give credit to anyone who may have helped in making this theme and if im forgetting someone and they see this, tell me so i can add you please...dont like forgetting people!!!
and i would also like to thank bde for teaching me how to do this well...if it wasnt for him, i would not have ported anything...hes the man!!!!
OP : http://forum.xda-developers.com/showthread.php?t=938317
I am in no was responsible for what you do to your phone...be an adult and own up to it if you screw something up!!! you have been warned!!!
=========Must be on Heinz_57 ROM to enjoy this!!!==========
This uses edify scripting so it will flash in CWM 3
Pic Section : Coming Soon!!! im lazy as you all know...take screen shot, be in the credits...you know the drill!!!
Instructions :
Disable Lag-Fix (Safety Measure)
Move file to the root of your SDcard
Wipe Dalvik Cache
Flash in CWM 3
Reboot...
Keep waiting....
FINALLY...Enjoy!!!
Download Link : http://www.megaupload.com/?d=9TREE4D9
5/7/11 Download Link : http://www.megaupload.com/?d=OR78XGT0​
Is CWM 3 red ? Sorry about the dumb question. The glossary doesn't mention version numbers with color of cwm. Maybe they're independent of each other, I don't know.
Sc0tt777 said:
Is CWM 3 red ? Sorry about the dumb question. The glossary doesn't mention version numbers with color of cwm. Maybe they're independent of each other, I don't know.
Click to expand...
Click to collapse
You can use any of our working versions of CWM to flash this.
akellar said:
You can use any of our working versions of CWM to flash this.
Click to expand...
Click to collapse
Sc0tt777 said:
Is CWM 3 red ? Sorry about the dumb question. The glossary doesn't mention version numbers with color of cwm. Maybe they're independent of each other, I don't know.
Click to expand...
Click to collapse
Yup, what Akellar said.
FYI - all of our CWM recoveries have ended up with red text, there have been 3 versions total (2.5, 2.5.x, now 3.0) any of which work with edify scripts. JT and other individuals have had to take the one released by koush and hack in edits to work with our phones, because the official versions are "broken" in that aspect - so only the ones posted here will work.
What does not work is trying to use CWM 3.0 to flash some of our theme/rom .zips (the ones that didn't already have edify scripts in them) that's where the incompatibility comes into play.
The text is black on a dark blue background making it hard to read. I read somewhere on the forums how to invert that. I 'll have to look that up. Just thought I'd let you know if you want to tweak the rom.
Sent from my SCH-I500 using XDA Premium App
Sc0tt777 said:
The text is black on a dark blue background making it hard to read. I read somewhere on the forums how to invert that. I 'll have to look that up. Just thought I'd let you know if you want to tweak the rom.
Sent from my SCH-I500 using XDA Premium App
Click to expand...
Click to collapse
The text where? There's a lot of text in a lot of different places
The messaging, SMS app, has dark text.The clock on the status bar on top is missing also. When I enable and disable it in TSM parts they shift over a little but the clock remains invisible.
Time go visit that donate button now.
Sc0tt777 said:
The messaging, SMS app, has dark text.The clock on the status bar on top is missing also. When I enable and disable it in TSM parts they shift over a little but the clock remains invisible.
Time go visit that donate button now.
Click to expand...
Click to collapse
The clock issue is a known issue with the ROM - it defaults to the same color as the status bar so if you don't set it to a different color - or use a different status bar - you won't see it. Setting the clock color requires a reboot after btw.
Sc0tt777 said:
The messaging, SMS app, has dark text.The clock on the status bar on top is missing also. When I enable and disable it in TSM parts they shift over a little but the clock remains invisible.
Time go visit that donate button now.
Click to expand...
Click to collapse
ill get this fixed asap homie...not a problem...btw ty for the donation homie
bdemartino got me straighten around on the clock issue, and my cwm question for that matter. thanx bdemartino & akeller.
On bdemartino's port on the 2.1 version the indicators (wifi & cell strength) on the top notification bar were colored. Is that changeable or is that part of the TSM settings?
Sc0tt777 said:
bdemartino got me straighten around on the clock issue, and my cwm question for that matter. thanx bdemartino & akeller.
On bdemartino's port on the 2.1 version the indicators (wifi & cell strength) on the top notification bar were colored. Is that changeable or is that part of the TSM settings?
Click to expand...
Click to collapse
i believe that its changeable, but this is how the maker of the theme has it now...or so im guessing cause i didnt change anything form what he did
If u ported from vibrant ull have to check to see that the names match, I've had to rename them to get them to port correctly. That goes for 3g and service bar icons at least. I think I noticed that earlier when I threw in that data icon
Sent from my SCH-I500 using XDA Premium App
bdemartino said:
If u ported from vibrant ull have to check to see that the names match, I've had to rename them to get them to port correctly. That goes for 3g and service bar icons at least. I think I noticed that earlier when I threw in that data icon
Sent from my SCH-I500 using XDA Premium App
Click to expand...
Click to collapse
ill have a look at that tomorrow...kinda taking it easy tonight to celebrate my final day of the spring semester!!! yay me for getting good grades...lol
I was able to fix the mms dark text on dark background issue.
I 7zipped the mms.apk out of the H57 Andromedena Tek and 7zip it back into H57 SoC.
Looks pretty cool! I had to go through and test a few once I proved it would work to find one I liked.
Are we having fun or what? I'm close to digging into bdemartino's guide on porting
themes, to figure out this stuff for myself.
______________________
I dived into the porting guide and figured out the basics. I decompiled the latest SoC from tator and bdemartino's 2.1 version. I picked the colored pngs I wanted out of the original and replaced the monochrome ones.
I found a better colored mms.apk from the crysis pack but didn't care much for the mms icon, to dark, and 7zipped a different one back into the res folder of the mms.apk.
Everything is about where I want it accept for the gps navigation icon is always there in the notification bar even if gps is turn off. I'm going to look at the png names again and see if i missed a blank gps png or something. Any ideas would be appreciated.
***I just 7zipped the 3 pngs from the original back into the drawable-hdpi-v4 folder. Not sure why this fixed it they are smaller tho.***
Thanks so much to the original creators, rel500 & Crysis21 and these guys who did the ports thefunkbot, phillup & BakedTator. A special thanks to bdemartino for the porting guide, his work on the orig SoC and all he does, and all the devs who make this possible. I think thats enough a$$ ki$$ing for now.
UPDATE : Look at OP, works with newest Heinz_57 ROM release!!!
Sc0tt777 said:
I was able to fix the mms dark text on dark background issue.
I 7zipped the mms.apk out of the H57 Andromedena Tek and 7zip it back into H57 SoC.
Looks pretty cool! I had to go through and test a few once I proved it would work to find one I liked.
Are we having fun or what? I'm close to digging into bdemartino's guide on porting
themes, to figure out this stuff for myself.
______________________
I dived into the porting guide and figured out the basics. I decompiled the latest SoC from tator and bdemartino's 2.1 version. I picked the colored pngs I wanted out of the original and replaced the monochrome ones.
I found a better colored mms.apk from the crysis pack but didn't care much for the mms icon, to dark, and 7zipped a different one back into the res folder of the mms.apk.
Everything is about where I want it accept for the gps navigation icon is always there in the notification bar even if gps is turn off. I'm going to look at the png names again and see if i missed a blank gps png or something. Any ideas would be appreciated.
***I just 7zipped the 3 pngs from the original back into the drawable-hdpi-v4 folder. Not sure why this fixed it they are smaller tho.***
Thanks so much to the original creators, rel500 & Crysis21 and these guys who did the ports thefunkbot, phillup & BakedTator. A special thanks to bdemartino for the porting guide, his work on the orig SoC and all he does, and all the devs who make this possible. I think thats enough a$$ ki$$ing for now.
Click to expand...
Click to collapse
grats on learning the basics homie...if you start doing this, it turns out to be alot of fun...i love it!!
I still get black text on dark background on the balloon thread of the mms app, with the updates. No biggie I just went backed to my hacked mms.apk. Just thought I'd let you know for others trying this theme.
Sc0tt777 said:
I still get black text on dark background on the balloon thread of the mms app, with the updates. No biggie I just went backed to my hacked mms.apk. Just thought I'd let you know for others trying this theme.
Click to expand...
Click to collapse
hmmmmmm...upload the mms.apk your using id you dont mind sir
thanks a boatload for porting this to the mez looks awesome
puk3n said:
thanks a boatload for porting this to the mez looks awesome
Click to expand...
Click to collapse
not a problem...let me know if it gives you any bugs....it shouldnt

[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