Png's, pro's, and framework files - Android Themes

Question about png's vs pro's... And resource s for applications
Can/will an application pull icons from the framework? Eg mms.apk has an sms icon which overides the framework icons... I'm wondering if this is right, or something lg changed to be different?
Also is lge-res.apk really necessary?
Will applications pick up png's instead of pro's?
Trying to figure out what can be changed without hosing up my phone.
Sent from my LS670 using Tapatalk

Related

[Help] Editing APK icons

I currently have the Droid X at 2.1 and i am editing the theme/layout whatever, lol
kindad new to this stuff but seems pretty easy. im using mainly Ninjamorph from Stericson to edit my stuff but my question is...
how can i access the default APK's and even the ones dat i installed so dat i can edit the icons to match my theme?
im not looking to distribute but i will show progress of my work if requested.

[Q] Changing the icons/framework for Sense UI

Is there any way to change the icons for the apps and actions in the framework for a Sense rom? Im a rom that is based on the 2.1 Rogers RUU, and I detest the icons that Sense comes with. So I was wondering if there is any way I can change them permanently. So, none of that bettercut stuff.
Thanks!!
Hieber said:
Is there any way to change the icons for the apps and actions in the framework for a Sense rom? Im a rom that is based on the 2.1 Rogers RUU, and I detest the icons that Sense comes with. So I was wondering if there is any way I can change them permanently. So, none of that bettercut stuff.
Thanks!!
Click to expand...
Click to collapse
I'm not totally sure where you're going with this. In order to change the status-bar icons you need to edit the framework-res.apk. In order to change the icons you need to pull system/framework/framework-res.apk from your phone, decompile the apk and overwrite the icons you want. Compile the .apk, sign it and push it back to your phone.
Since you're mentioning Bettercut I'm not completely sure what you're aiming for, though. If you're talking about the icons linked to the application on the other hand this is what I've got. I'm sure there are alternate ways to do it:
Pull the desired application from your phone and change the icon directly in the res folder.
zHk3R said:
I'm not totally sure where you're going with this. In order to change the status-bar icons you need to edit the framework-res.apk. In order to change the icons you need to pull system/framework/framework-res.apk from your phone, decompile the apk and overwrite the icons you want. Compile the .apk, sign it and push it back to your phone.
Since you're mentioning Bettercut I'm not completely sure what you're aiming for, though. If you're talking about the icons linked to the application on the other hand this is what I've got. I'm sure there are alternate ways to do it:
Pull the desired application from your phone and change the icon directly in the res folder.
Click to expand...
Click to collapse
Sorry, I know I wasn't being completely clear. I wanna change the icons for the applications in the app drawer.
So I have to pull the system/framework/framework-res.apk. Then replace the icons (assuming they have to be the same resolution?). Compile the apk (how would I do this?) and then push it back to system/framework/ ?
Hieber said:
Sorry, I know I wasn't being completely clear. I wanna change the icons for the applications in the app drawer.
So I have to pull the system/framework/framework-res.apk. Then replace the icons (assuming they have to be the same resolution?). Compile the apk (how would I do this?) and then push it back to system/framework/ ?
Click to expand...
Click to collapse
No, the framework is not linked to the icons in your app-drawer
I'm not 100 % on this, but you're gonna have to pull the applications you want to edit one by one.

[Q] Can't Find 3G/Reception Bar Icons In Drawable Folder To Replace

I'm trying to replace the 3g and reception bars icons in the taskbar but I can't seem to locate the .pngs in framework-res.apk. I thought they were in the drawable-hdpi-v4 folder but no dice. Can someone point me to where they are? I can change them myself once I find them. If anyone's interested, it's a VaelPak 2.3 framework-res with MattedBlues icons replacing most of those in the framework-res, I'll upload it when done. Thanks.
Look in drawable-mdpi, the names should be something like stat_sys_data
C0dy said:
Look in drawable-mdpi, the names should be something like stat_sys_data
Click to expand...
Click to collapse
The taskbar icons are in the drawable-hdpi-v4 on my ROM, which I'm pretty sure is the same as the mdpi folder. I saw the 3G icons (not the reception bar ones) but when I replaced them then pushed the new framework-res, they don't change. I'm using ClockWorkMod Recovery so I can mount the system partition and push the file but it has an issue with clearing dalvik. Could this be the problem? Also, do I have to replace the Gmail icon in the gmail.apk? That is still the old style also. Thanks for the help.
I found what I was looking for: the icons are in the com.htc.resources.apk in /system/res folder. Switched 'em out, all good. The taskbar isn't finished 'cause I gotta get into some individual app .apk but when I'm finished doing that and probably making a whole theme, I'm gonna post it on VaelPak forum: http://vaelek.com/. Thanks.

[Q] Help needed: How to change highlighting color in SMS application

Hello,
I would like to change color of highlighting numbers in SMS messages but I'm lost and not able to find a right place where to change it. I looked at framework-res.apk and also com.htc.resources.apk but no luck. See attached image, if not clear what I was talking about. Does anybody know where I can change such color, please?
Thanks for any help.
I am asking a similar question about theming and how to change the selected / highlighted "text color" when "cutting and pasting", searching or selecting a link in my browser.
Specifically for Sense ROMS 2.1 or 3.0 with GB 2.3.3 or 2.3.4. The T-Mobile HTC MyTouch theme called "Safari" has everything blue for the text selections and highlights, and want to have this same feature on a standard HTC ROM. Not a green color fan.
Looking for what *.xml file controls this in the framework files?
Is this XML in the
com.htc.resources.apk
framework-res.apk
files?
Again, trying to do the same thing, to learn which xml file controls this.
TIA
danielo said:
Hello,
I would like to change color of highlighting numbers in SMS messages but I'm lost and not able to find a right place where to change it. I looked at framework-res.apk and also com.htc.resources.apk but no luck. See attached image, if not clear what I was talking about. Does anybody know where I can change such color, please?
Thanks for any help.
Click to expand...
Click to collapse
malloy0 said:
I am asking a similar question about theming and how to change the selected / highlighted "text color" when "cutting and pasting", searching or selecting a link in my browser.
Specifically for Sense ROMS 2.1 or 3.0 with GB 2.3.3 or 2.3.4. The T-Mobile HTC MyTouch theme called "Safari" has everything blue for the text selections and highlights, and want to have this same feature on a standard HTC ROM. Not a green color fan.
Looking for what *.xml file controls this in the framework files?
Is this XML in the
com.htc.resources.apk
framework-res.apk
files?
Again, trying to do the same thing, to learn which xml file controls this.
TIA
Click to expand...
Click to collapse
Those color codes will be in the messaging apk not the the framework or the resources. HTC has many color codes over writting each other. I would start in the messaging app.
These color codes are MOSTLY in the framework files, otherwise when you change skins they would always be the same green. This is not the case. Try it yourself with a different skin other the the HTC default.
zelendel said:
Those color codes will be in the messaging apk not the the framework or the resources. HTC has many color codes over writting each other. I would start in the messaging app.
Click to expand...
Click to collapse
I know about themes more then you think. I don't use the stock SMS app so not so sure about that one but before you say I should try it have a look at the SS. I know my way around the framework enough to change everything.

Changing statusbar background image

Hi, i need help with changing statusbar background image.
I pulled SystemUI.apk, decompiled, changed images
\SystemUI\res\drawable-hdpi\status_bar_background.9.png
and
\SystemUI\res\drawable-hdpi\statusbar_background.9.png
but it wont let me compile it again, it gives some errors...am i doing this right?
kristjanp said:
Hi, i need help with changing statusbar background image.
I pulled SystemUI.apk, decompiled, changed images
\SystemUI\res\drawable-hdpi\status_bar_background.9.png
and
\SystemUI\res\drawable-hdpi\statusbar_background.9.png
but it wont let me compile it again, it gives some errors...am i doing this right?
Click to expand...
Click to collapse
The images are a .9 type. That means there is a black border around the images which you can't mess with. You need to get the original pictures, and do it again, but without touching the borders. So in gimp, that means you should use colorize, or colorfy.
Sent from my GT-I9100 using Tapatalk
Didn't quite understand that, can anyone do it for me?
I added the SystemUI file and the statusbar file.
Thanks
kristjanp said:
Didn't quite understand that, can anyone do it for me?
I added the SystemUI file and the statusbar file.
Thanks
Click to expand...
Click to collapse
use 7-zip for it
wil also work and never gives errors
Sent from my GT-S5830 using xda premium thank me if you think you can thank
I have also wondered about this. If I changed one of those statusbars in a theme that was a .9 png to a standard screen width statusbar image, and renamed the png to statusbar_background.png in the drawable folder and in the XML, would that work? Or would I need to make other changes?
Tapatalkin it from my IHO CM7.2'd, MIUI Themed Optimus V
So someone can do it for me ?
Didnt work will try again
kcls said:
I have also wondered about this. If I changed one of those statusbars in a theme that was a .9 png to a standard screen width statusbar image, and renamed the png to statusbar_background.png in the drawable folder and in the XML, would that work? Or would I need to make other changes?
Tapatalkin it from my IHO CM7.2'd, MIUI Themed Optimus V
Click to expand...
Click to collapse
No, I'm 99% sure that won't work. I say that because I've modified images and in renaming, I accidentally deleted the ".9" leaving just ".png". My tweaked image did not show up and instead, it still displayed the stock.9.png.
I'm gonna assume that you know how to modify .9's correctly. If not, here is a new tutorial I just saw without even searching. There are several others out there both here and on you tube. I could help as well if need be.
As long as you know how to modify and recompile .9.png's, here is a nice little shortcut for modding any system apk as the OP originally inquired about. Start by decompiling your apk. Modify whatever .9's you want and use one of the MANY tools (one is linked in the tutorial above) to recompile each individual .9.png. Once all of your .9.png's are recompiled, open the COMPILED apk you are modding using 7zip as someone mentioned above. (Left click, go to 7zip, open archive) Then navigate to res/drawable-hdpi/ and just drag your new, modified images in to the folder overwriting the old ones. Close the 7zip window and you are all done. Pretty simple. MAKE A BACK UP (just in case) and then adb push it to your system folder or use root explorer to copy and paste it.
I'd love to go into more detail, but I gotta run. I hope this helps a little. Trust me, I am no computer guy. A year ago, I didn't even know what "root" meant. I've learned everything from reading these forums and having some questions answered by other helpful users. Good luck
kcls said:
I have also wondered about this. If I changed one of those statusbars in a theme that was a .9 png to a standard screen width statusbar image, and renamed the png to statusbar_background.png in the drawable folder and in the XML, would that work? Or would I need to make other changes?
Tapatalkin it from my IHO CM7.2'd, MIUI Themed Optimus V
Click to expand...
Click to collapse
I usually just change the Status Bar backdrop in the Mdpi folder, then sign it.
Sent from my LG-VM670 using Tapatalk
Problem is, some statusbars can't use a .9, as they aren't a solid color the whole way through. Excellent writeup by the guy a couple posts above me by the way. But I just wonder what the best way to change the statusbar background from a .9 to a full 320xWhatever (for mdpi) png is. Can it be done? Am I being clear? Because sometimes I don't make much sense
Tapatalkin it from my IHO CM7.2'd, MIUI Themed Optimus V
kcls said:
Problem is, some statusbars can't use a .9, as they aren't a solid color the whole way through. Excellent writeup by the guy a couple posts above me by the way. But I just wonder what the best way to change the statusbar background from a .9 to a full 320xWhatever (for mdpi) png is. Can it be done? Am I being clear? Because sometimes I don't make much sense
Tapatalkin it from my IHO CM7.2'd, MIUI Themed Optimus V
Click to expand...
Click to collapse
I certainly can't speak for every rom or every phone, (and maybe this isn't exactly what you are referring to) but this is an old statusbar I made for a MIUI theme that worked just fine as a .9. If turned horizontal, the middle stayed the same size and both of the solid colored sides would stretch. Actually, the sides are a black to grey gradient.
Try this....
Draw9patch is the tool used for creating .9 images, it is included in the android sdk.
1 .Navigate to the tools folder at the dos prompt and type Draw9patch.
2 .Drag and drop the image to be edited into the window that opens up when you hit return.
3. Press press shift and select one pixel at two corners of the image (diagonally opposite)
Then simply save 9 patch image from file menu.
Make sure you name it as-- yourfilename.9.png
It works for me anyway
shanman-2 said:
Draw9patch is the tool used for creating .9 images, it is included in the android sdk.
1 .Navigate to the tools folder at the dos prompt and type Draw9patch.
2 .Drag and drop the image to be edited into the window that opens up when you hit return.
3. Press press shift and select one pixel at two corners of the image (diagonally opposite)
Then simply save 9 patch image from file menu.
Make sure you name it as-- yourfilename.9.png
It works for me anyway
Click to expand...
Click to collapse
So with this tool, you can take a full blown statusbar, say the one a few posts above, or one with gradients and such, and make it into a .9? I wish I'd known about that earlier!
Tapatalkin it from my IHO CM7.2'd, MIUI Themed Optimus V
If u use ninja morph it will work

Categories

Resources