miui v4 battery icons - Android Themes

Does anyone know how to change the notification bar battery icons in a theme file??
I've seen a couple themes, like buuf that have different icons for it but i cannot find the actual png files anywhere to change them.
Is this possible??
thanks.

foxrivertrekker said:
Does anyone know how to change the notification bar battery icons in a theme file??
I've seen a couple themes, like buuf that have different icons for it but i cannot find the actual png files anywhere to change them.
Is this possible??
thanks.
Click to expand...
Click to collapse
SystemUI.apk & framework-res.apk
Look there, should find them

punkmonkey1984 said:
SystemUI.apk & framework-res.apk
Look there, should find them
Click to expand...
Click to collapse
i have looked in com.android.systemui framework-miui-res and framework-res in the themes themselves and there are only standard icons in there, i see no themed icons.
There are stat_sys_battery png files but they are just the stock ones.
For example, buuf theme has a circular battery icon that shows on the not bar but that png file is in none of those places.
Do you know what the files should be named??
thanks.

foxrivertrekker said:
i have looked in com.android.systemui framework-miui-res and framework-res in the themes themselves and there are only standard icons in there, i see no themed icons.
There are stat_sys_battery png files but they are just the stock ones.
For example, buuf theme has a circular battery icon that shows on the not bar but that png file is in none of those places.
Do you know what the files should be named??
thanks.
Click to expand...
Click to collapse
Iv downloaded the file, im checking it now.
EDIT
Could be here:
com.android.systemui\res\raw

punkmonkey1984 said:
Iv downloaded the file, im checking it now.
EDIT
Could be here:
com.android.systemui\res\raw
Click to expand...
Click to collapse
oh no! youre right its in there, but there on a sheet of all the icons together, what am i gonna do with that?? :/
I see, i've found a lot of battery icons here http://forum.xda-developers.com/showthread.php?t=1042490
I didnt realize that these were theme files, should be no problem now, atleast i know where they go now!!
Thanks!

Related

Where are these images? APKs broken down!

:::Mods please don't move this thread with the other theme tuts:::
Well i have pretty much finished FadetoBlue and now taking a small break before starting my next theme. I am banging my head trying to remember where the boot image is. I know i have seen them somewhere but can not remember where. So i figured why not ask the forums, but at the same time give info on where the images are located inside the apks. I know a lot of the images are easily figured out by the name, but i want to find and explain the tougher ones that the names don't make as much sense, also things like if you change the dialer in contacts.apk, you should also change the dialer in phone.apk.
Common Image names:
.9.png - These images are used for items that will stretch. These can be difficult to edit.
btn_ - Buttons, there are a lot of different buttons and they have different states. The most common are Normal, Longpress, Disabled(when it is linked to an editbox that has nothing in it yet, Selected(When highlighted and pressed with trackball) and Focused(When scrolling over with trackball)
pressed_application_background_static.png - This image has to do with pressing an app icon on the home screen or in the launcher
focused_application_background_static.png - This image has to do with using the trackball to scroll over app icons on the home screen or in the launcher.
ic_menu - these are all the files you seen when you hit Menu in various apps.
stat_notify - Notification alerts that are found on the top bar.
stat_sys - Icons for Battery, signal strength, wireless, connections. Also on the top bar.
status_bar - These all have to do with the images you see when you drag your finger down from the top of the screen.
title_bar - this is the bar where all of the Notifications pop up on.
Most common changes: Aside from icons.
Framework-res.apk -has the majority of UI images, Notification icons,
Contacts.apk - You see these images when you hit the green call button, press the contacts or phone icons, Has some of the same images as Phone.apk
Launcher.apk - Has the Clock, Folders, wallpapers and some Google Search widget images.
Phone.apk - You see these images, after you dial a number and call them. You should make the same changes here as in Contacts.apk
Icons:
AlarmClock.apk - res\drawable\ic_launcher_alarmclock.png
Browser.apk - res\drawable\ic_launcher_browser.png
Calculator.apk - res\drawable\icon.png
Calendar.apk - res\drawable\app_calendar.png
CalendarProvider.apk -res\drawable\app_icon.png
Camera.apk - res\drawable\ic_launcher_camera.png
com.amazon.mp3.apk - res\drawable\icon_application.png
com.android.term.apk - res\drawable\app_terminal.png
Contacts.apk -res\drawable\ic_launcher_contacts.png & ic_launcher_phone.png
Email.apk -res\drawable\icon.png
GDataFeedsProvider.apk -res\drawable\app_icon.png
Gmail.apk -res\drawable\ic_launcher_mail.png
GmailProvider.apk -res\drawable\ic_launcher_mail.png
GoogleSearch.apk - Has a drawable folder but no icon?
gtalkservice.apk -res\drawable\app_instant_message.png
IM.apk -res\drawable\ic_launcher_im.png
ImProvider.apk -res\drawable\ic_launcher_im.png
Launcher.apk -res\drawable\ic_launcher_alarmclock.png & ic_launcher_gallery.png & ic_launcher_home.png
Maps.apk -res\drawable\ic_launcher_maps.png
MediaProvider.apk -Has a drawable folder but no icon!
Mms.apk -res\drawable\ic_launcher_smsmms.png
Music.apk -res\drawable\app_music.png
MyFaves.apk -res\drawable\myfaves_app_icon.png
PackageInstaller.apk -res\drawable\icon.png
Phone.apk -res\drawable\app_voicemail.png & ic_launcher_phone.png
Settings.apk -res\drawable\ic_launcher_settings.png
SettingsProvider.apk -res\drawable\ic_launcher_settings.png
SetupWizard.apk -Has a drawable folder but no icons!
SoundRecorder.apk -res\drawable\ic_launcher_soundrecorder.png
Street.apk -Has a drawable folder but no icon!
Superuser.apk -res\drawable\icon.png
Sync.apk -res\drawable\app_icon.png
SystemUpdater.apk -Has a drawable folder but no icons!
Talk.apk -res\drawable\app_instant_message.png
TelephonyProvider.apk -res\drawable\ic_launcher_phone.png
TmoImPlugin.apk -res\drawable\ic_im_logo_* This has icons for AIM,Yahoo and MSN. They show in IM list.
Vending.apk -res\drawable\ic_launcher_androidmarket.png
VoiceDialer.apk -res\drawable\app_voicedialer.png
VoiceSearch.apk -res\drawable\app_voicesearch.png
YouTube.apk -res\drawable\ic_launcher_youtube.png
Reserved...
Just incase =)
cheers for this, very useful to budding theme developers
i think if you look in framework-res and go to assets then images for the boot images
Sorry about the delayed reply, i kind of lost the thread =) thanks Kron!
Woot!
Someone like a mod should sticky this thread.
Thanks for the list.
Great list, I basically found this out all through just going through and looking at the images, but a single post with all the images would be great for all the new theme makers who are starting to come in and contribute. Thanks for posting this!
I second for a sticky.
This would have saved me many many hours when I was just starting out with this theme business. Very useful post!
Thanks for the info.
I tried looking for the pictures icon location but can seem to find them... The one in the launcher.apk was for the wallpaper icon. Any clue?
yellow heel said:
Thanks for the info.
I tried looking for the pictures icon location but can seem to find them... The one in the launcher.apk was for the wallpaper icon. Any clue?
Click to expand...
Click to collapse
Sorry for the delayed reply, I didnt get the question at first so i didn't answer, then forgot about it.
But you will find the ic_launcher_gallery.png in Camera.apk and Launcher.apk. I believe by changing the one in the camera it will change it where you want.
damnitpud said:
Sorry for the delayed reply, I didnt get the question at first so i didn't answer, then forgot about it.
But you will find the ic_launcher_gallery.png in Camera.apk and Launcher.apk. I believe by changing the one in the camera it will change it where you want.
Click to expand...
Click to collapse
Thank you, I will give that a shot.
Quick Question...
After a long time searching,(i didn't want to make a new thread for this if there was one already opened) I have a question...
I want to be able to edit just the launcher.apk or the drawables in framework-res.apk to be able to hold all the default launcher-app icons.
Basically, is there a way to place all the icons for the stock apps in one of those 2 above mentioned files and when opening the app tray, those icons show up as opposed to the ones in the individual .apk's?
any help on this would be nice. i'm tired of searching. lol
temporizer said:
After a long time searching,(i didn't want to make a new thread for this if there was one already opened) I have a question...
I want to be able to edit just the launcher.apk or the drawables in framework-res.apk to be able to hold all the default launcher-app icons.
Basically, is there a way to place all the icons for the stock apps in one of those 2 above mentioned files and when opening the app tray, those icons show up as opposed to the ones in the individual .apk's?
any help on this would be nice. i'm tired of searching. lol
Click to expand...
Click to collapse
Currently, NO there is no way to do this on the way the android files are pulled to and from the system.
However, I believe Cyanogen has an idea to implement an easier way to skin the default system app's icons than the system we have now. This is one of the things he has on his list of 'to-do' for the Experimental builds if I remember correctly.
Until he's able to pull this off, we're stuck editing individual apk's. It sucks since there is a higher probability of something breaking doing this. Hopefully Cyanogen can get something working soon. It'd make my job a lot easier.
Gah again with the double post, mods please delete.
prash said:
Currently, NO there is no way to do this on the way the android files are pulled to and from the system.
However, I believe Cyanogen has an idea to implement an easier way to skin the default system app's icons than the system we have now. This is one of the things he has on his list of 'to-do' for the Experimental builds if I remember correctly.
Until he's able to pull this off, we're stuck editing individual apk's. It sucks since there is a higher probability of something breaking doing this. Hopefully Cyanogen can get something working soon. It'd make my job a lot easier.
Click to expand...
Click to collapse
Thank you Prash for the response.
That makes sense, and i know that cyanogen is working on implementing the standalone icon feature.
The ONLY reason I ask this is because of a post that stericson made a while ago:
Stericson said:
General Info:
Every .apk contains the images relating to itself. However, every apk has the ability to use the images in framework-res.apk. The images for every apk is located inside of itself. To find these images open up the apk, you can rename it to .zip or open it with an archiver of your choice, winrar, winace, etc. Then after opening the apk open the folder called res and inside of that there are folders that are named Drawable, drawable-land, drawable-port, etc. This is where the images are stored.
Click to expand...
Click to collapse
so, i thought that icons could be pulled from there as well...
thanks for this, i attempted to theme cyans theme template the other day and didn't know where to start. This is going to be very helpful!
DAKIDD236 said:
thanks for this, i attempted to theme cyans theme template the other day and didn't know where to start. This is going to be very helpful!
Click to expand...
Click to collapse
i am glad my old posts are still helping people, i just hope this old info is still good. I am tinkering with theme'n again so its possible that i will be updating any changed info, or using the second post of this thread for the new info.
got a question.
i have JACxROM v1.3r2. all i want to do is change the battery icon at the top. i found the image after i change it do i have to do anything else or can i just flash it to my phone
saprano614 said:
i have JACxROM v1.3r2. all i want to do is change the battery icon at the top. i found the image after i change it do i have to do anything else or can i just flash it to my phone
Click to expand...
Click to collapse
just resign and you're good to go
jonnybueno said:
just resign and you're good to go
Click to expand...
Click to collapse
how do i resign

[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] Changing icons in Notification bar (Miui)

Hi,
Can anyone explain how one changes the icons in the notification bar?
More specifically, the 3G icon, Signal Strength, and the notification for a new text message?
Also, I know you can change the carrier name to whatever you like with apps like "CCname" and etc. but I've also seen that people have changed it into actual pictures or .png. Any help?
Thanks
I'd like to know more about this too!
The icons are usually found in framework-res.apk/res/drawable*** and begin with "stat". The email notification depends on what app your using but is also found in res/drawable***. You can change them using metamorph.
Hope this helps.
So do you mean I should use a program like APK Manager, and open up the framework apk? What does metamorph have to do with it? Sorry, don't know anything about this.
Unzip the theme you're using, and navigate your way through the SystemUI folder.
If your theme doesn't come with custom icons, download a theme that does (I use Buuf as a base, because it effectively themes /everything/) and see what naming scheme you require for your custom icons.
Replace the icons in the theme you're using, in the correct folder, and rezip as an .mtz.
Not sure if it's the /best/ way to be doing things, but is working well enough for me. I'm finding it rather easy to create a whole custom theme by simply replacing elements from buuf, with my own, and removing those I want as default.
Edit: I too would like to know about carrier icons, however! haha.
Antennas said:
Unzip the theme you're using, and navigate your way through the SystemUI folder.
If your theme doesn't come with custom icons, download a theme that does (I use Buuf as a base, because it effectively themes /everything/) and see what naming scheme you require for your custom icons.
Replace the icons in the theme you're using, in the correct folder, and rezip as an .mtz.
Not sure if it's the /best/ way to be doing things, but is working well enough for me. I'm finding it rather easy to create a whole custom theme by simply replacing elements from buuf, with my own, and removing those I want as default.
Edit: I too would like to know about carrier icons, however! haha.
Click to expand...
Click to collapse
this is how i was told to do it by another extremely helpful gentleman, the carrier icon i would like to know as well
Does anyone know what a sms notification is called? Can't find it in any of the themes for miui. The closest I find is "chat" and i'm assuming thats for google chat
Easiest thing to do is get your rom zip and unpack all the frameworks and apks in apps using 7zip.
Then do a search for "stat" you'll be presented with the icons that appear in your status bar, then you can highlight them to see what apk they came from and edit as you please.
You don't need to use apk tool/manager as your only doing simple edits.
Metamorph will only replace the images you want so you dont need to flash/push a full apk.
Theres threads how to use metamorph, I think one might be a sticky at the top of this section. Its childs play to use it.
jeffng09 said:
Does anyone know what a sms notification is called? Can't find it in any of the themes for miui. The closest I find is "chat" and i'm assuming thats for google chat
Click to expand...
Click to collapse
It depends what app your using for SMS.
Sent from my GT-I9100 using XDA Premium App
the way i have done it today was to take the theme file and open it with 7zip(i just opened the archive, i didnt extract it) and go to folder systemui>res>drawable hdpi>stat_notify_sms.png or whatever file you want to change, then i would delete the file that i wanted to change and add the renamed file that i wanted to the archive. it has to match the stat_notify_sms.png name, or whatever the image is that your changing, or it will not work. then i just put it into dropbox and dl'd it to my phone and installed it
the only downside for me was that i couldnt change that image to the little ribbon that i wanted to. other than that i was able to change the signal bars, the wifi bars, and the 3g bars, but the sms wouldnt change for me, neither would the gmail.
I'm using the stock sms from miui.
bodybombs said:
the way i have done it today was to take the theme file and open it with 7zip(i just opened the archive, i didnt extract it) and go to folder systemui>res>drawable hdpi>stat_notify_sms.png or whatever file you want to change, then i would delete the file that i wanted to change and add the renamed file that i wanted to the archive. it has to match the stat_notify_sms.png name, or whatever the image is that your changing, or it will not work. then i just put it into dropbox and dl'd it to my phone and installed it
the only downside for me was that i couldnt change that image to the little ribbon that i wanted to. other than that i was able to change the signal bars, the wifi bars, and the 3g bars, but the sms wouldnt change for me, neither would the gmail.
Click to expand...
Click to collapse
For Gmail notification you will have to put
stat_notify_email.png here
com.google.android.gm->res->drawable-hdpi
if these folders do not exists create them.
For changing SMS notification icon changing stat_notify_sms.png under
com.android.mms->res->drawable-hdpi
will change SMS notification icon
Hope this helps.
Ok, Just to be clear.
First, I find a pre-made theme, and change the .mtz to .zip so I can open it.
Then I find the icon i want to replace and change it with the exact name.
Then I compress it back to a .zip.
Then I rename the .zip into a .mtz.
Should that work?
jeffng09 said:
Ok, Just to be clear.
First, I find a pre-made theme, and change the .mtz to .zip so I can open it.
Then I find the icon i want to replace and change it with the exact name.
Then I compress it back to a .zip.
Then I rename the .zip into a .mtz.
Should that work?
Click to expand...
Click to collapse
no,
find theme
right click>7zip>open archive
find the icon you want to replace and change it with the exact name
i have to delete the icon im replacing from the archive before i put the new icon in its place first
smokin901 said:
For Gmail notification you will have to put
stat_notify_email.png here
com.google.android.gm->res->drawable-hdpi
if these folders do not exists create them.
For changing SMS notification icon changing stat_notify_sms.png under
com.android.mms->res->drawable-hdpi
will change SMS notification icon
Hope this helps.
Click to expand...
Click to collapse
the gmail still didnt work for me
jeffng09 said:
I'm using the stock sms from miui.
Click to expand...
Click to collapse
If your on stock odds are its in the framework, never ran miui so I'm not too sure.
Where can I find the battery icons at? I like in the systemui and framework-res folders and I can't find anything
bodybombs said:
the gmail still didnt work for me
Click to expand...
Click to collapse
Have you tried "stat_notify_gmail.png" in the framework?
dully79 said:
Have you tried "stat_notify_gmail.png" in the framework?
Click to expand...
Click to collapse
yeah i themed everything i could find relating to gmail lol
SubyWill said:
Where can I find the battery icons at? I like in the systemui and framework-res folders and I can't find anything
Click to expand...
Click to collapse
systemui>res>raw should be it

[Q] Clock Color Change?

Has anyone figured out how to change the clock color in the notification bar yet? UOT doesn't work for this, so we'll have to manually change it in services.jar
I'm think its in systemui if you decompile it you should find it in drawables not 100% sure though.
Read This
Versatile1 said:
I'm think its in systemui if you decompile it you should find it in drawables not 100% sure though.
Read This
Click to expand...
Click to collapse
I'm pretty sure you have to edit XMLs in the SystemUI to change any kind of text color.
You would be right, I believe the xml is located in the location mentioned above
Versatile1 said:
You would be right, I believe the xml is located in the location mentioned above
Click to expand...
Click to collapse
Yeah I don't mess with any of that. I just edit PNGs to make my phone LOOK more custom (its fun to show off haha)
For some reason though, on the bionic, when I edit PNGs with something like NinjaMorph, SystemUI FCs on startup.
I'm currently working on editing a flashable theme zip to include my edits, then gonna flash that and see what happens.
Tivo7 said:
Yeah I don't mess with any of that. I just edit PNGs to make my phone LOOK more custom (its fun to show off haha)
Click to expand...
Click to collapse
That's pretty much what I do. I started to learn to edit .jar and .xml files when I had my X but then other people released themes with the files I needed and I just kanged them instead. Now there is no base that I can find for liberty with the edits I need so I'm trying to learn it myself which will serve me better in the long run. If anyone knows a good noob friendly tutorial I'd love a link, all the ones I've found are a little over my head.
Don't know how to edit much more than some status bar framework. But a color change for the clock would be nice
Sent from my DROID BIONIC
inkdaddy66 said:
Don't know how to edit much more than some status bar framework. But a color change for the clock would be nice
Sent from my DROID BIONIC
Click to expand...
Click to collapse
On the bionic, status bar framework is in SystemUI, most of the framework is in Framework-res.apk
Tivo7 said:
Yeah I don't mess with any of that. I just edit PNGs to make my phone LOOK more custom (its fun to show off haha)
For some reason though, on the bionic, when I edit PNGs with something like NinjaMorph, SystemUI FCs on startup.
I'm currently working on editing a flashable theme zip to include my edits, then gonna flash that and see what happens.
Click to expand...
Click to collapse
reboot after editing systemui and you should be fine
Versatile1 said:
reboot after editing systemui and you should be fine
Click to expand...
Click to collapse
"On startup"
I did reboot.
I also tried editing a theme download and flashing it.
Everything worked but the notification pulldown picture...
Everything in framework-res works and everything in systemUI works EXCEPT that blasted notification pulldown PNG (status_bar_background.9)
Tivo7 said:
Everything worked but the notification pulldown picture
Everything in framework-res works and everything in systemUI works EXCEPT that blasted notification pulldown PNG (status_bar_background.9)
Click to expand...
Click to collapse
That's what I've found as well, I also can't get the shadow under the notification bar to show up.
Does any one know what the pngs are titled that flash while on a call?
I believe those are in blur-res or in the phone/dialer apk's depending on which images you're talking about

can we show battery% on default?

just have a look the systemUI.apk and found out that there have 100 png with different percentage of battery icon, can we make the status bar battery icon shows percentages?
I have 7.0 plus. I used UOT Kitchen, which worked but images were too small. had to find a custom set with larger batteries and copy them over. It worked, now shows % in system panel pop up as well.
If you don't mind having an extra icon in your status bar, download Battery Circle from the Market. Of course once we have custom ROM's you won't need this anymore, but for the moment, it's the next best thing.
All battery PNGs are in "framework-res.apk\res\drawable-mdpi" and are named as "stat_sys_battery_XX.png" and "stat_sys_battery_charge_animXX.png"
from my previous experience in modding framework-res and systemUI the procedure will be like that:
- mod via UOTkitchen the 2 files (with 100 set of icons - incl. charging)
- edit resultant apk's by replacing PNGs with the new desired ones (check also attached zip) - must be 32X32 pixels (should be resized and orientated)
- make a flash-able zip.
- apply in CWM.
Could work, depends on UOT .
freaksamael said:
All battery PNGs are in "framework-res.apk\res\drawable-mdpi" and are named as "stat_sys_battery_XX.png" and "stat_sys_battery_charge_animXX.png"
from my previous experience in modding framework-res and systemUI the procedure will be like that:
- mod via UOTkitchen the 2 files (with 100 set of icons - incl. charging)
- edit resultant apk's by replacing PNGs with the new desired ones (check also attached zip) - must be 16X32 pixels (should be resized and orientated)
- make a flash-able zip.
- apply in CWM.
Could work, depends on UOT .
Click to expand...
Click to collapse
thx but lol, look at the percentages
emprize said:
thx but lol, look at the percentages
Click to expand...
Click to collapse
must be 32X32 pixels (should be resized and orientated)
freaksamael said:
must be 16X32 pixels (should be resized and orientated)
Click to expand...
Click to collapse
thx again, but i dont know, just.....weird, lol
emprize said:
thx again, but i dont know, just.....weird, lol
Click to expand...
Click to collapse
I'll try to find another icons set; pngs from attachment were used in HTC Desire S and are horizontally oriented (phone); maybe in other forums I'll find some tablet-specific icons.
freaksamael said:
I'll try to find another icons set; pngs from attachment were used in HTC Desire S and are horizontally oriented (phone); maybe in other forums I'll find some tablet-specific icons.
Click to expand...
Click to collapse
tablet icon would be great, seems all UOT battery icons are 38x38

Categories

Resources