Changing the notification bar?

Discussion in 'Android Hacks and Help' started by budmonster, Apr 1, 2010.

DroidForums.net is the premier Android Forum - Registered Users do not see these ads. Please Register - It's Free!
  1. budmonster
    Online

    budmonster Guest

    Top Poster Of Month

    Ratings:
    +0
    I'm curious on how you change the notification bar? I want to change the notification icons (replace the gmail notification icon w/ my own) and change the bar and drop down window..

    do i have to go into the framework.apk and edit files to do this or where do i have to go to begin this?
  2. cupfulloflol
    Offline

    cupfulloflol Senior Member

    Joined:
    Dec 5, 2009
    Messages:
    1,898
    Likes Received:
    22
    Trophy Points:
    68
    Ratings:
    +22
    The /system/framework/framework-res.apk is for most of the notification bar things. Some apps, mainly third party apps will need to be edited themselves. I actually think Gmail has to be edited itself, as I don't recall ever seeing it in framework. /system/app/Gmail.apk for gmail's specific app.

    They should be in the res/drawable-hdpi/ folder in both cases. The icons should start with stat_ but I am sure there are exclusions to that logic. The bar I believe starts with status_bar_ and possibly title_bar_ They are usually pretty easy to tell what is what.
  3. icculusX
    Offline

    icculusX Premium Member Theme Developer Premium Member

    Joined:
    Feb 10, 2010
    Messages:
    2,539
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    The Moon
    Ratings:
    +0
    I just did this between last night and today, changed all the icons, status bar, and everyhting to a blue look... took time! Made an update.zip and it works great on UD9. Fun stuff.
  4. mwhartman
    Offline

    mwhartman Super Moderator/RS Premium Member

    Joined:
    Jan 15, 2010
    Messages:
    10,739
    Likes Received:
    12
    Trophy Points:
    153
    Location:
    South FL
    Ratings:
    +12
    I used the framework file when I replaced the Verizon Wireless
  5. budmonster
    Online

    budmonster Guest

    Top Poster Of Month

    Ratings:
    +0
    so i just pull the framework.apk to my computer and replaced the image i want with mine? do i have to auto sign it or something or is their no need?

    and once im done adding my images is their anything i have to do with the xml files? then how do i get the update framework back on my phone, what commands do i use?

    thanks for the help and sorry about all the questions...
    Last edited by a moderator: Apr 2, 2010
  6. nphil
    Offline

    nphil Member

    Joined:
    Feb 16, 2010
    Messages:
    349
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    Ratings:
    +0
    anything inside /system does not need to be signed. So just pull your framework and replace pngs. You only have to edit xml files if you want to change the text layout/color. For instance if you want white clock text/notifications, you have to do some xml editing. Use a hex editor for this.

    Once you're done editing the framework-res.apk file to your liking, push it back to /system/framework/ by typing in a terminal:

    adb push framework-res.apk /system/framework/

    That's assuming you have the edited framework in your tools folder, and system partition mounted. Or you can just use root explorer.

    Don't forget to chmod 644 /system/framework/framework-res.apk
    sync
    reboot

    Always reboot after editing the framework.

    btw are you good with photoshop? Would you be willing to help me modify some pngs?
    Last edited: Apr 2, 2010
  7. budmonster
    Online

    budmonster Guest

    Top Poster Of Month

    Ratings:
    +0
    Yeah I'm excellent w/ photoshop, got my associates degree in graphic design. I'm just horrible with coding LOL. I want to theme my phone, but I'm having some problems. I'm trying to figure out how to theme my notification bar and change the notification icons, for example, instead of just a white Gmail image, I want to replace it with my own graphic...

    But ya I could do some some design stuff for ya, maybe you could code for me?
  8. Jim 777
    Offline

    Jim 777 Silver Member

    Joined:
    Dec 26, 2009
    Messages:
    2,274
    Likes Received:
    2
    Trophy Points:
    103
    Ratings:
    +2
    Please elaborate! So if I swap out images in my framework-res.apk, are you saying I just need to rename the apk to update.zip and apply it through nandroid?

    I'm having problems getting icons of my choice to be used in the notification bar.
  9. budmonster
    Online

    budmonster Guest

    Top Poster Of Month

    Ratings:
    +0
    ya would like to know
  10. Jim 777
    Offline

    Jim 777 Silver Member

    Joined:
    Dec 26, 2009
    Messages:
    2,274
    Likes Received:
    2
    Trophy Points:
    103
    Ratings:
    +2
    [​IMG]
    Last edited: Apr 3, 2010
  11. Jim 777
    Offline

    Jim 777 Silver Member

    Joined:
    Dec 26, 2009
    Messages:
    2,274
    Likes Received:
    2
    Trophy Points:
    103
    Ratings:
    +2
    Using root explorer, this didn't work for me. Any ideas? I did it just like the other APKs that took the edits fine. I'm thinking that because it's the framework-res, that there's something a bit different that needs to be done.

    Any ideas?
  12. Jim 777
    Offline

    Jim 777 Silver Member

    Joined:
    Dec 26, 2009
    Messages:
    2,274
    Likes Received:
    2
    Trophy Points:
    103
    Ratings:
    +2
    Finally came across this... and it worked like a charm.

  13. icculusX
    Offline

    icculusX Premium Member Theme Developer Premium Member

    Joined:
    Feb 10, 2010
    Messages:
    2,539
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    The Moon
    Ratings:
    +0
    Anyone have any issues with editing something badly in the framework or something? I have been slowly changing things here and there in photoshop and all has been great until my last group of edits. Now it all applies fine, and when I restart it looks great... but then all my apps start force-closing. I mean like market, rom manager, calendar, all of them just FC right when I click them... Trying to figure out what PNG I altered bad.

    Any ideas?
  14. Jim 777
    Offline

    Jim 777 Silver Member

    Joined:
    Dec 26, 2009
    Messages:
    2,274
    Likes Received:
    2
    Trophy Points:
    103
    Ratings:
    +2
    Size maybe? Did you "add" any png files or are you strictly replacing existing and not adding any new file names? I also believe based on what I've seen, that you don't want any spaces in the file names.
  15. dirtleg
    Offline

    dirtleg Member

    Joined:
    Nov 16, 2009
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brandon, Fl
    Ratings:
    +0
    Is it possible to copy the .png file that I want and replace the current one in RootExplorer?
Search tags for this page
android change notification bar
,
change android notification bar
,

change notification bar android

,
change notification bar icons android
,
how to change notification bar on android
,
how to change notification icons on android
,
how to change process bar in android
,
how to change the notification bar android
,
how to change the notification bar on android
,
how to edit notification bar