Trying to change the charging battery logo thru SSH

Discussion in 'Jailbreaks and iOS Hacks' started by Applejuiced, Aug 1, 2010.

  1. Applejuiced macrumors Westmere

    Applejuiced

    Joined:
    Apr 16, 2008
    Location:
    At the iPhone hacks section.
    #1
    Hey folks, I just JB my i4 and trying to manually change the battery logo when the iphone charges.
    I SSH into this location on the phone: /System/Library/CoreServices/SpringBoard.app/
    And then replace the icons BatteryBG_1.png up to BatteryBG_17.png but after its done copying and replacing its still displaying the old green battery pic.
    Any ideas whats up?
     
  2. GTghost macrumors regular

    Joined:
    Apr 5, 2010
    Location:
    California
  3. Applejuiced thread starter macrumors Westmere

    Applejuiced

    Joined:
    Apr 16, 2008
    Location:
    At the iPhone hacks section.
  4. moussekateer macrumors 6502a

    moussekateer

    Joined:
    May 12, 2009
    #4
    You have an iPhone 4. You need to replace the BatteryBG_xx@2x.png ones ;)
     
  5. Applejuiced thread starter macrumors Westmere

    Applejuiced

    Joined:
    Apr 16, 2008
    Location:
    At the iPhone hacks section.
    #5
    Thank you bro.
    I manually changed them all to include the @2x and it went thru.
    But now the duracell battery icon is like 1/4 of the size of the original green stock battery :D
    WTF?
     
  6. moussekateer macrumors 6502a

    moussekateer

    Joined:
    May 12, 2009
    #6
    I had a feeling that might happen. It is in fact exactly 1/4th of the size. The problem is the icon size is measured in pixels. The iPhone 4 contains twice as many pixels horizontally and twice as many vertically. Your battery icon there will therefore be 1/4 of the normal size. You're going to have to wait for theme updates
     
  7. Applejuiced thread starter macrumors Westmere

    Applejuiced

    Joined:
    Apr 16, 2008
    Location:
    At the iPhone hacks section.
    #7
    I see:D
    Now if I had made a backup of the stock battery icons...
     
  8. moussekateer macrumors 6502a

    moussekateer

    Joined:
    May 12, 2009
    #8
    I can pm them to you if you need them
     
  9. Applejuiced thread starter macrumors Westmere

    Applejuiced

    Joined:
    Apr 16, 2008
    Location:
    At the iPhone hacks section.
    #9
    Thank you.
    Hope Im not a pain :)
     

Share This Page