Related
So... Has anyone figured out if there is a way to change the text bubble color on GB roms? I don't have any experience with xml, so I haven't the slightest where to start going about doing that? Thanks in advance...
Text bubble? Like toast or something?
sent from my bolt of thunder
Haha. No. The sms bubbles in a conversation. I want to know if there is a way to change the colors.
Check in mms.apk
sent from my bolt of thunder
They are located in the mms.apk. There is two .9.png files that you could edit in order to change the colors. There is a thread here on xda that explains how to edit .9.pngs if you need help.
Where can I find that thread? And I'm guessing that's going to require a bit of adb and xml knowledge?
bking_soda said:
Where can I find that thread? And I'm guessing that's going to require a bit of adb and xml knowledge?
Click to expand...
Click to collapse
Here is the link: http://forum.xda-developers.com/showthread.php?p=5206698
I am not sure about needing any knowledge in adb or xml editing as I have not tried editing the bubbles the RIGHT way yet. I did manage to change color though.
How did you change the colors? I usually just roll with whatever the theme I'm running does, but my girl is nagging me about changing the colors.
bking_soda said:
How did you change the colors? I usually just roll with whatever the theme I'm running does, but my girl is nagging me about changing the colors.
Click to expand...
Click to collapse
Decompile the apk. Find the two 9.pngs. open them in your image editor. Select the whole image then move each side of your selected box in one pixel so that the black lines are on the outside of the selected area. Don't change any pixels in the outer edge of a 9.png at all. Change the color of your selected area to whatever you want. Save it. Run it through the x9patcher ( I think that's what it is called) and then get your patched 9.pngs from the done folder and drag and drop them into your apk that should already be in a flashable zip file. Flash in clock work and your done.
Sent from my ADR6400L using XDA Premium App
If only changing the color, and its a solid color, I generally just load the .9 images in paint.net and use the simple hue/saturation adjuster. This saves the pain of having to patch it and no worries about affecting the outer pixel layer that controls the sizing. Have not had a problem with this method yet.
Sent from my ADR6400L using XDA App
Okay... I know realize I know absolutely nothing about this at all. Mcluvn... My head almost exploded reading that post. Haha. I would really like different colors but I am fairly sure I would break something. Actually... I don't think I could even get far enough into this process to break something since I have no clue what you're talking about. Thanks for the try though. :/
mms 3.0 bubble colors
bking_soda said:
Okay... I know realize I know absolutely nothing about this at all. Mcluvn... My head almost exploded reading that post. Haha. I would really like different colors but I am fairly sure I would break something. Actually... I don't think I could even get far enough into this process to break something since I have no clue what you're talking about. Thanks for the try though. :/
Click to expand...
Click to collapse
It might sound hard but its actually pretty easy.
What rom are you using?
What colors do you want them to be?
I can wip up a few different colored bubble mods this weekend for you.
Tried looking for a way to change those green highlights that are everywhere in a sense based ROM. For example, when you are in a text message, the message body is highlighted in green and the send button turns green when you hit it. Is there any way to change these?
I'm running Mik Shifted-G v1.5, I have modified my task bar and notifications screen via UOT Kitchen. I'm looking for red if there's already a post somewhere, or a DIY tutorial. Thanks in advance
Some of these are application specific and others (the bulk I would say) are located in framework.res and com.htc.resources. In the two framework files, you are looking for .9 pngs in the res/drawable-hdpi folders. If you already have red png's to replace the green, you can just copy them over in 7zip. To change the existing green to red using the original files is a bit more complex and a lot more time consuming, but pm me if you need to go that route, and I can help you out.
I would suggest editing all framework files first and then look for any stray green bits that may be application specific.
Rynomite said:
Some of these are application specific and others (the bulk I would say) are located in framework.res and com.htc.resources. In the two framework files, you are looking for .9 pngs in the res/drawable-hdpi folders. If you already have red png's to replace the green, you can just copy them over in 7zip. To change the existing green to red using the original files is a bit more complex and a lot more time consuming, but pm me if you need to go that route, and I can help you out.
I would suggest editing all framework files first and then look for any stray green bits that may be application specific.
Click to expand...
Click to collapse
Thanks for the reply, I will check the framework files and go from there. Any specific program that you would recommend for editing the pngs?
It also depends on what Rosie.apk you use as well, like my rosie is Rosie 3 so the button presses for some of the dock are in fusion and some are in Rosie.apk its weird i guess its more or less finding the images you need edited for your version of sense, because now we have Sense 1-3 on the shifty
Sent from a Hybrid Supreme Shift
strapped365 said:
It also depends on what Rosie.apk you use as well, like my rosie is Rosie 3 so the button presses for some of the dock are in fusion and some are in Rosie.apk its weird i guess its more or less finding the images you need edited for your version of sense, because now we have Sense 1-3 on the shifty
Sent from a Hybrid Supreme Shift
Click to expand...
Click to collapse
This is true, I'm not sure I'm going to have fun with this
Sent from your Mom's Jitterbug
There are only a couple png's in Rosie that you need to change out. Like strapped365 was saying, there are variations among the different versions of Rosie, but you should be able to locate the files to edit fairly easily.
When editing .9 pngs, you must decompile them (not just extract and decompress). This can be done with apk manager. I use pixlr online to do the actual editing. Pixlr is free and it has a color change tool that works ok. Just be sure to use the selection tool to select only the colored area of the image you will change (I always select all but the 1px outer border). If you don't exclude the outer perimeter of the .9 in Pixlr, it won't recompile correctly.
Hope this helps. It took me a long time to learn how to this, but it's the best way I know to get purely custom colors.
Rynomite said:
There are only a couple png's in Rosie that you need to change out. Like strapped365 was saying, there are variations among the different versions of Rosie, but you should be able to locate the files to edit fairly easily.
When editing .9 pngs, you must decompile them (not just extract and decompress). This can be done with apk manager. I use pixlr online to do the actual editing. Pixlr is free and it has a color change tool that works ok. Just be sure to use the selection tool to select only the colored area of the image you will change (I always select all but the 1px outer border). If you don't exclude the outer perimeter of the .9 in Pixlr, it won't recompile correctly.
Hope this helps. It took me a long time to learn how to this, but it's the best way I know to get purely custom colors.
Click to expand...
Click to collapse
Thanks for your help. All of you, I will hit the thanks button when I get on my computer again. I want to customize my phone to my liking and this will definitely help a bunch
Sent from your Mom's Jitterbug
hey please let me know if you figured out how to do orange/red
Just modded my soft keys to light up red, attempting to get the theme on Virus's Eternity ROM to match. Could anyone change all the green to red, or point me to some tools to help me edit the framework? I'm new to the theming, but I have a decent understanding of ADB and Android file structure.
Sent from my PG86100 using xda premium
spenceizzle said:
Just modded my soft keys to light up red, attempting to get the theme on Virus's Eternity ROM to match. Could anyone change all the green to red, or point me to some tools to help me edit the framework? I'm new to the theming, but I have a decent understanding of ADB and Android file structure.
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
M10 tools and eclipse for Modding .9 pngs. And gimp for adding colors and a ton of experimentation
Sent from my PG86100 using xda premium
That looks... daunting, so lets start small. Now lets say I just wanted to mod the notification bar icons for now, I think that would fall under the .9 png modding portion. What files exactly would I be modifying? Is it some sort of jar file I would be ripping the pngs out of, modifying, and replacing? I am quite new to this, so please don't flame me too much
spenceizzle said:
That looks... daunting, so lets start small. Now lets say I just wanted to mod the notification bar icons for now, I think that would fall under the .9 png modding portion. What files exactly would I be modifying? Is it some sort of jar file I would be ripping the pngs out of, modifying, and replacing? I am quite new to this, so please don't flame me too much
Click to expand...
Click to collapse
notification bar icons are mainly in systemui.apk and are standard .pngs.
Theirs alot of guys willing to help those who help them selves. from what your asking i'de suggest doing a ton of reading. their are a ton of theming modding how tos. but if you wanna jump in grab 7zip,gimp(or a similar graphics editor) and android signer, and start experimenting, If you wanna edit .9.pngs your gonna have to learn how to use apktool and a .9 compiler. But just do a search theirs alot of great how tos and tools all over the forum.
I found the systemUI.apk from reading the beats headphone icon thread. So I'm assuming that the .pngs found in the systemUI.apk are normal .pngs that don't need any kind of special encoding or transparency values. If I were going to change some sense 3.0 assets, I would need to use this guide posted here: http://forum.xda-developers.com/showthread.php?p=5206698, correct?
Edit: Also, is the SystemUI.odex file anything I have to worry about?
spenceizzle said:
I found the systemUI.apk from reading the beats headphone icon thread. So I'm assuming that the .pngs found in the systemUI.apk are normal .pngs that don't need any kind of special encoding or transparency values. If I were going to change some sense 3.0 assets, I would need to use this guide posted here: http://forum.xda-developers.com/showthread.php?p=5206698, correct?
Edit: Also, is the SystemUI.odex file anything I have to worry about?
Click to expand...
Click to collapse
if your just looking to change images the .odex isn't something you need to worry about, the link you posted refers to .9.pngs, when you say assets if your refering to the images that are in assets folders tose are .m10 files and for those you need the .m10 tools that can also be found here on xda.
Well, I got the drawable-hdpi finished, I may have to tweek the 4g icon, the signal bars look a little pink. Tomorrow I'll see if I can find the syncing icon, battery percentage, and other little odds and ends that I can easily edit. I'm attaching the SystemUI.apk for anyone who wants to try it.
I want some mew backgrounds for the S memo app but have had no luck searching for any. A transparent background would be ideal. Any idea of how to implement this or a note app that supports transparent PNG files?
Over pulled the S memo app and will decompile it shortly to find the backgrounds. It doesn't seem to save them elsewhere on the SD card. However I'm unsure how to go about making a transparent image.
A white image with an opacity too it, then saved as a .png.. Give me some dimensions when you pull the backgrounds and I'll throw a few different variations your way.
Truaim said:
A white image with an opacity too it, then saved as a .png.. Give me some dimensions when you pull the backgrounds and I'll throw a few different variations your way.
Click to expand...
Click to collapse
Ok, it looks like they have the background as 3 or 4 parts. I'm not certain but I think that is how it'll have to be changed.
dropbox
edit. I could post the entire drawables folder if you'd like instead.
Got em, curious as to why there's multiple of the same image though. Will you be on for awhile? Would love to have this myself.
Truaim said:
Got em, curious as to why there's multiple of the same image though. Will you be on for awhile? Would love to have this myself.
Click to expand...
Click to collapse
Yeah, I'll be up for a bit. I'll upload the drawable folders now
Edit. They're up. http://db.tt/PcqSPqgq
Here's the 4 you dropboxed, Solid white for the toolbar and opacity through the body (75%, might need to be adjusted).
If the drawables doesn't need work and that works correctly, screenshot please
What about this one..
Truaim said:
What about this one..
Click to expand...
Click to collapse
that one is cool. I'm planning on using a completely transparent background so I can mod a FancyWidgets clock skin with the numbers will be in my handwriting. I'll recompile and install once I get done with this nandroid
Wow, that's personalization to the max. Are you compiling a truetype of 1-9 or what? However you do it, please share. That'd be an awesome guide.
I intend on just replacing the 0-9.png files in the skin I'm using. If it works out I'll post it here with some screenies. Can you go ahead and make one with 100% transparency?
It's not working. I'll try using the other one you made with Andy and see if I can see the difference then.
edit. Nothing. I'm thinking that the images are used in a different way to make the backgrounds. I'll look into it more and see if I can come up with the answer.
The android one won't work. I believe uploading a png as an attachment on XDA will automatically render it as a jpg. If you figure out which files to revise let me know.
S Memo Background
Regarding color schemes, i believe dark colored notes like the one used in S Planner in handwriting mode will be energy efficient for amoled screen devices and will also look great and elegant on any screen (like when you put it as a widget in the homescreen). I think the handwriting screen in s memo uses a dark gray background with light gray gridlines and an aqua blue font/handwriting lines. This makes it look great and unobstrusive.
Just a suggestion.
Not sure if you guys are already doing this, but you have edit the .9.png files in the drawable landscape and portrait xhdpi folders You cannot just overwrite a .9 png with a standard png or it will not work. I suggest googling how to edit .9 png files as I'm sure someone out there can explain it better than I can.
http://www.droidforums.net/forum/droid-themes/123430-tutorial-drawpatch9.html
http://forum.xda-developers.com/showthread.php?t=605662
did some searching hope these help
https://www.google.com/search?sourceid=chrome&ie=UTF-8&q=edit+the+.9.png
Truaim said:
Here's the 4 you dropboxed, Solid white for the toolbar and opacity through the body (75%, might need to be adjusted).
Click to expand...
Click to collapse
You HAVE to be rooted to use it?
Send from the Noteorious BIG 5.3" Bell Canada
I have been theming apps on my phone to give them black backgrounds. The white backgrounds bother my eyes. I'm doing pretty well but I am having a big problem with the LGSettings.apk. I have decompiled the apk and edited the colors.xml, styles.xml and parts of the manifest that i thought might change the theme. I then recompile and run the settings app but I never see any changes. I am trying to figure out what I need to edit to achieve white text on a black background. Any help would be greatly appreciated.
I don't have the apks in front of me, but you may need to theme more than that one. I think you'll need:
LGSettings (which you currently themed)
Possibly: LGSettingsAccessibility/LGSettingsProvider
These two may or may not have anything to theme in them, so you may need to decompile to take a look.
Ok. I'm getting there. The background item and textcolor item were lurking in the lge-res.apk. I am still having trouble finding a way to change the blue action bar color (1) and the color of the white section headers (2). Anybody know what these might be called and what apk I need to look in? Thanks a lot!
skyman88882002 said:
Ok. I'm getting there. The background item and textcolor item were lurking in the lge-res.apk. I am still having trouble finding a way to change the blue action bar color (1) and the color of the white section headers (2). Anybody know what these might be called and what apk I need to look in? Thanks a lot!
Click to expand...
Click to collapse
Ok. I found the action bar - I used 'Widget.Material.ActionBar.Solid' to hard code the background color. Now I just need somebody to help me find those white section headers. Anybody? Thanks so much!
Well after two hours of poking around the apks I finally figured it out. Pretty easy to make all the changes in lge-res.apk. pm me if interested in doing this kind of theming
skyman88882002 said:
Well after two hours of poking around the apks I finally figured it out. Pretty easy to make all the changes in lge-res.apk. pm me if interested in doing this kind of theming
Click to expand...
Click to collapse
Awesome, great work!
I remember doing something similar when I was doing this to my Galaxy S3, trying to find the various apk's where Sammy had changed things. It was a great feeling to find and change things.
skyman88882002 said:
Well after two hours of poking around the apks I finally figured it out. Pretty easy to make all the changes in lge-res.apk. pm me if interested in doing this kind of theming
Click to expand...
Click to collapse
HI THERE, I WAS WONDERING IF YOU CAN SHARE THOSE APS's, COUULD YOU MAKE IT POSSIBLE?
elmanolette said:
HI THERE, I WAS WONDERING IF YOU CAN SHARE THOSE APS's, COUULD YOU MAKE IT POSSIBLE?
Click to expand...
Click to collapse
Hi. Please in the future don't use all capital letters. I know you didn't mean this in this case, but it's generally considered "shouting", and for longer strings it makes it harder to read. Thanks for understanding.
roirraW "edor" ehT said:
Hi. Please in the future don't use all capital letters. I know you didn't mean this in this case, but it's generally considered "shouting", and for longer strings it makes it harder to read. Thanks for understanding.
Click to expand...
Click to collapse
sorry man, i'm understand!
I definitely intend to share my findings. However right now i am redoing the theming trying to push all the edits into LGsettings. Since I did the editing in the lge-res.apk it has a lot of unintended consequences on other parts of the system
subscribed.
i despise white backgrounds.
Brian
i cant find any color.xml in any stock apps?
skyman88882002 said:
I have been theming apps on my phone to give them black backgrounds. The white backgrounds bother my eyes. I'm doing pretty well but I am having a big problem with the LGSettings.apk. I have decompiled the apk and edited the colors.xml, styles.xml and parts of the manifest that i thought might change the theme. I then recompile and run the settings app but I never see any changes. I am trying to figure out what I need to edit to achieve white text on a black background. Any help would be greatly appreciated.
Click to expand...
Click to collapse
how do you theme? i can never find the color.xml file in any stock app?
Glitch15 said:
how do you theme? i can never find the color.xml file in any stock app?
Click to expand...
Click to collapse
You need a deodexed ROM/apk file to decompile to find those resources.
RMarkwald said:
You need a deodexed ROM/apk file to decompile to find those resources.
Click to expand...
Click to collapse
my Rom is deodex, can you pm me a step by step guide to get to the color.xml?
it would be nice if you can post a brief guide about theming it.. so people can have benefit.
knowledge is meant to share after all
minhas729 said:
it would be nice if you can post a brief guide about theming it.. so people can have benefit.
knowledge is meant to share after all
Click to expand...
Click to collapse
Hey there! Good to see you on this thread Minhas729. I'm really sorry for the delay, I have just been slammed on the home front and haven't had time to play around with this stuff.
I'm still not happy with the theming I'm doing but I plan on posting my work in process files in the next 5 or 6 days.
In the meantime, let me share my knowledge (it isn't much!)
I think I am going to change the thread title to Theming for Dummies (Like Me) (anybody know how to change a thread title?). so step one will be in the next post.....
OVERVIEW
(Ok - so here is a quick overview of the theming process as I do it. Again, I am just a novice and I just stumble around so if I get the terms incorrect forgive me.
1) The first step in theming an apk is to decompile the apk. Unzipping the apk is not going to work. This is because there are special files like styles.xml and colors.xml that are hidden in a 'values' folder in the res directory. As far as I know, you cannot access these special files by simply unzipping the apk.
2) To decompile you need an apk tool - I use 'Tickle My Android' (I'm going to call it TMA going forward) - it has a great developer with excellent instructions. The way decompiling works is you first have to create a mini-work area on your computer. You do this by decompiling and installing the framework-res and lge-res apks from your phone to your computer. TMA needs these files to decompile other apps because most apps reference a bunch of things in the framework-res and lge-res files Installing TMA is pretty easy and the instructions on the thread are excellent. The only issue I had was finding a good version of apktool.jar to use in conjunction with TMA - one that worked well with marshmallow apks. The apktool is the actual tool that does all the work - TMA (in my understanding) is simply a very well designed user interface to use the apktool. So you need an apktool that will recognize marshmallow files and be able to decompile them. I use "apktool_2.1.0-a64a03-SNAPSHOT"" as my apktool.jar file.
3) Once an apk is decompiled, all the apk components will be saved in a 'working' folder. You can then go in and edit colors and and styles using an xml editor.
4) Once you have made your edits you use TMA to recompile and sign the apk. Then you move the file back to your phone, place it in the proper device directory, fix permissions, reboot and cross your fingers.
Ok - that is the overview - go off and start trying it. One suggestion - dont try to push files from the phone to the pc with TMA - just use your usb cable.
more to come...
skyman88882002 said:
I think I am going to change the thread title to Theming for Dummies (Like Me) (anybody know how to change a thread title?). so step one will be in the next post.....
Click to expand...
Click to collapse
Edit your first post in a web browser. Choose Advanced mode and there'll be a field to edit the title.
Below are links to download the themed lge-res.apk and lgsettings.apk. MAKE A BACKUP FIRST (I'm not responsible for anything that goes wrong if you try these files). Once downloaded you will need to use a root browser to copy the files to the appropriate system directory and to change the permissions. Keep in mind, this is a work in process, if you enter settings and click on the bluetooth or wifi sections you will notice that the background is not themed yet. I'll repost when these are fixed.
lge-res.apk download link
LGSettings.apk download link
Keep in mind that you have to install both files if you want the full black background.
Ok. I think I worked out most of the bugs. The files are now set up in a flashable zip. Test it out and let me know if you see any issues. If it is working well I will start a new thread in the Themes section and work on the systemui as well. Thanks. Download link below:
download