[NS4G] Location of 4G icons? - Nexus S Themes and Apps

Hi all,
I'm new to themes and am trying to figure out where the various 4G connection icons are located so I can change them from green to white.
Running the GreybreadX theme, which is great, but the 4G icon is still green.
I was able to locate the 3-bar and disconnected icons within framework-res.apk but not sure where to look for the 2-bar and 1-bar icons.
Any suggestions on where to check?

You should find them in /system/app/SystemUI.apk
inside there: SystemUI.apk/res/drawable-hdpi/
Then look for pngs beginning with stat_sys_data_wimax
..all sorts of notification bar (etc) goodies in there. If you're decompiling and/or modding xml/smali though, I'd read up on it first within these forums.

Ok so I finally got around to editing the 4G icons to be white/grey instead of green/grey, removed the originals from SystemUI.apk and placed mine in there, and placed the edited SystemUI.apk in /system/app/ (made backups of everything).
Rebooted and I still have green/grey 4G icons... what am I missing here?
Edited png files attached.

I don't have it in front of me, but check the framework-res.apk in the drawable hdpi folder. There are a couple sets of 4G icons- once its activated, and then to display your signal.
Also, btw, i usually just drag the edited icons over into the apk (in 7zip) and make sure it asks to replace the files... just to make sure the file names are the same.
. . NS4G . . CM7 . .

Ended up going back to the stock systemui.apk and using Ninjamorph to overwrite the original images. Worked perfectly!
https://market.android.com/details?id=stericson.ninjamorph.free

Related

Framework-res in Eclair roms??

My apologies if this is the wrong section/repost
There are no pngs in framework-res/drawable only xml files
Cant drag and drop my system pngs(battery,signal,wifi etc) of choice no more
I want my themed donut system images on my n1 simply put
Can someone recommend a xml editor/tutorial
Or Does metamorph do these edits (black status bar, battery) in eclair?...im still old school still into update zips/signing
take out the framework-res.apk/res/drawable and framework-res.apk/res/drawable-mdpi folders. There are like 3 or 4 images in the drawable folder. The rest of your images are in the drawable-mdpi folder. You will have to go through and look at certain images for the status bar and such because 2.0+ adds some new .9.png's where it used to be just a .png. statusbar_background.png becomes statusbar_background.9.png for example. just add the .9 to it and you should be good if your image isn't very "complex" looking.
some of the other ones that become .9.png's that i can recall off the top of my head are the title_bar images.
Appreciate that....
Was looking in the wrong drawables
Problem solved!

Location of files to change sense? [solved]

ok, so I want to create a theme with a few small changes to apply to my hero.
I know you have to edit the .png's inside any 'drawable' folders inside the .apk's in /system/app.
I think.
But I cannot seem to find the location of the .pngs I want to change, specifically the curved bar in the lockscreen, and the bar+icons that appear at the bottom of many of the htc apps (friendstream, clock ext.)
could anyone provide me with the paths/any help as to what I'm doing wrong?
Thanks in advance!
ok, I found them. There in /system/framework

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

[Theme][q]Miui - a black and green beta d1 theme

How does one go about changing the text of certain things like the area in the dropdown notification and incorporating it into the theme?
Taking an existing theme and editing the files was cake.
However...
I ran into issues when i tried to add png icons the theme did not come with.
saved as the official name of the apk's icon.... com.xxxx.xxxx-x.png and placed it in the icons folder of the zipped theme.
wouldn't even display the theme in theme manager until i deleted any extra files I tried to add.
I made a theme. Open for criticism. It's my first time though, be gentle ....
For D1
forums.miui-dev.com/showthread.php?1224-THEME-D1-Black-and-Green&p=12203#post12203
DixieNormus said:
How does one go about changing the text of certain things like the area in the dropdown notification and incorporating it into the theme?
Taking an existing theme and editing the files was cake.
However...
I ran into issues when i tried to add png icons the theme did not come with.
saved as the official name of the apk's icon.... com.xxxx.xxxx-x.png and placed it in the icons folder of the zipped theme.
wouldn't even display the theme in theme manager until i deleted any extra files I tried to add.
I made a theme. Open for criticism. It's my first time though, be gentle ....
For D1
forums.miui-dev.com/showthread.php?1224-THEME-D1-Black-and-Green&p=12203#post12203
Click to expand...
Click to collapse
You have to create a folder called icon. Your other icons for non stock programs go there.
your folders from (lets call it )the root of your zip file should read
com.android.launcher
com.android.mms (if you are changing the messaging theme)
framework
icon
preview
descriptions.xml
Also join miui-dev and click on themes, there is a guide there
woody_2k said:
You have to create a folder called icon. Your other icons for non stock programs go there.
your folders from (lets call it )the root of your zip file should read
com.android.launcher
com.android.mms (if you are changing the messaging theme)
framework
icon
preview
descriptions.xml
Also join miui-dev and click on themes, there is a guide there
Click to expand...
Click to collapse
The pre-existing theme already had an icon folder, to which i did place the files into, and labeled correctly. just wouldn't allow the theme to display afterwards

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