The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-27-2009, 05:28 AM
reddawg's Avatar
iPhone? More like MyPhone
 
Join Date: Sep 2008
Device + Firmware: iPhone 3G 8GB 3.1.2 (4.26.08) Pwned & Ultrasn0w
Operating System: Windows 7 Pro, Windows XP, Mac OS X 10.5.2 Leopard (hackintosh)
Location: Massachusetts, USA
Posts: 222
Thanks: 9
Thanked 38 Times in 30 Posts
How to enable the numeric battery in firmware 3.0 for iPhone 3G

Enable Numeric Battery in firmware 3.0 Manually

Firmware 3.0 has a feature in it that allow you to enable/disable a numeric battery percentage on the status bar of the iPhone. Apple, decided to make this feature only available to the iPhone 3GS and not the 3G. Below is how to enable the numeric battery on the iPhone 3G and yes it works.
  1. Connect to your iphone 3G using WinSCP (SSH)
  2. Before doing anything, backup the file called com.apple.springboard.plist located in /var/mobile/Library/Preferences/ and then copy it to your computer.
  3. Download pledit.zip that is attached and extract it to the same folder as your file called com.apple.springboard.plist
  4. Run Pledit.exe and open com.apple.springboard.plist
  5. Find the following:

    Code:
      <key>SBReorderCount</key>
      <integer>2</integer>
  6. Add the following key under it

    Code:
      <key>SBShowBatteryLevel</key>
      <true/>
    if it already exists, then change <false/> to </true>
  7. Save the file com.apple.springboard.plist in PLedit.exe and exit.
  8. Using WinSCP or SSH, copy com.apple.springboard.plist from your computer to /var/mobile/Library/Preferences/ on your iPhone 3G and overwrite the original file.
  9. Execute the following command from WinSCP or from a SSH terminal window:
    Code:
    killall SpringBoard

That's it. You can't enable and disable the numeric battery indicator like you can on the the iPhone 3GS in the Settings->General->Usage menu, but it does displays a numeric battery indicator on the status bar of the iPhone 3G.

Note: If you don't want to go through this hassle, you can install SBSettings in Cydia and enable the numeric battery. SBSettings replaced BossPrefs. BossPrefs still installs in 3.0, but the numeric battery no longer works and it messes up the order of your application icons.
Attached Files
File Type: zip pledit.zip (21.7 KB, 259 views)

Last edited by reddawg; 06-27-2009 at 03:56 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to reddawg For This Useful Post:
Kiserai (07-07-2009)
  #2  
Old 06-27-2009, 05:34 AM
What's Jailbreak?
 
Join Date: Jun 2009
Device + Firmware: iPhone 3G 3.0
Operating System: Windows XP
Location: Italy
Posts: 2
Thanks: 3
Thanked 2 Times in 1 Post

I know an easier and faster way to enable that feature and even the switch in Settings->General->Usage
Just add

Code:
        <key>gas-gauge-battery</key>
        <true/>


to M68AP.plist in /System/Library/CoreServices/
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 2 Users Say Thank You to giabar For This Useful Post:
Kiserai (07-07-2009), reddawg (06-27-2009)
  #3  
Old 06-27-2009, 05:32 PM
reddawg's Avatar
iPhone? More like MyPhone
 
Join Date: Sep 2008
Device + Firmware: iPhone 3G 8GB 3.1.2 (4.26.08) Pwned & Ultrasn0w
Operating System: Windows 7 Pro, Windows XP, Mac OS X 10.5.2 Leopard (hackintosh)
Location: Massachusetts, USA
Posts: 222
Thanks: 9
Thanked 38 Times in 30 Posts

Giabar's mod allows you to enable or disable the numeric battery using the Settings-> General-> Usuage ->Battery Percentage [ON / OFF] menus on your iPhone 3G. Below are instructions that on how to do this:
______________________________________________

How to Enable the Numeric Battery in firmware 3.0
  1. Connect to your iphone 3G using WinSCP (SSH)
  2. Before doing anything, backup the file called M68AP.plist located in /System/Library/CoreServices/SpringBoard.app.
  3. Using WinSCP (ssh), copy M68AP.plist to your computer.
  4. Download the PLIST editor in pledit.zip that is attached to my previous post and extract it to the same folder on your computer as your file called M68AP.plist
  5. Run Pledit.exe and open M68AP.plist
  6. Add the following key to under <key>capabilities</key>
    Code:
    <key>gas-gauge-battery</key>
    <true/>
  7. Save the file M68AP.plist in PLedit.exe and exit.
  8. Using WinSCP or SSH, copy M68AP.plist from your computer to /System/Library/CoreServices/SpringBoard.app/ on your iPhone 3G and overwrite the original file.
  9. Execute the following command from WinSCP or from a SSH terminal window:
    Code:
    killall SpringBoard

Last edited by reddawg; 06-28-2009 at 12:03 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 2 Users Say Thank You to reddawg For This Useful Post:
giabar (06-27-2009), Kiserai (07-07-2009)
  #4  
Old 06-27-2009, 05:36 PM
StealthBravo's Avatar
Moderator
 
Join Date: Jan 2008
Device + Firmware: iPhone 3GS 3.1
Operating System: OS X
Location: TX
Posts: 10,426
Thanks: 23
Thanked 2,188 Times in 1,061 Posts
Send a message via AIM to StealthBravo Send a message via MSN to StealthBravo

lol
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 06-27-2009, 05:44 PM
southfrisco's Avatar
iPhone? More like MyPhone
 
Join Date: Jan 2009
Device + Firmware: iPhone 3G / OS 3.0.1
Operating System: Windows Vista (64 bit)
Location: West Coast
Posts: 103
Thanks: 12
Thanked 10 Times in 8 Posts

Yeah, you can do this through Cydia without SSH. Download and install asBattery (only tested on the iPhone 3G). This also gives you the ON and OFF switch within Settings.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 06-27-2009, 06:29 PM
reddawg's Avatar
iPhone? More like MyPhone
 
Join Date: Sep 2008
Device + Firmware: iPhone 3G 8GB 3.1.2 (4.26.08) Pwned & Ultrasn0w
Operating System: Windows 7 Pro, Windows XP, Mac OS X 10.5.2 Leopard (hackintosh)
Location: Massachusetts, USA
Posts: 222
Thanks: 9
Thanked 38 Times in 30 Posts

AsBattery is definately much easier to install and works as you described, but I found that it seemed to drain my battery faster than it should. After uninstalling it and using the above mod, my battery isn't draining as fast.

Last edited by reddawg; 06-28-2009 at 02:24 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 06-28-2009, 04:12 PM
What's Jailbreak?
 
Join Date: Sep 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

I can't find asbattery on cydia what source needs to be installed?

Thanks
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 06-28-2009, 04:15 PM
xjuliephanx's Avatar
Green Apple
 
Join Date: Jan 2008
Device + Firmware: 3G iPhone 3.0 PT & US
Operating System: Mac OS X 10.4.11
Posts: 91
Thanks: 5
Thanked 5 Times in 4 Posts

@vwcrzy http://apt.iphone-storage.de/

Last edited by xjuliephanx; 06-28-2009 at 04:18 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 06-29-2009, 05:19 AM
What's Jailbreak?
 
Join Date: Jun 2009
Device + Firmware: iPhone 3G Jailbroken 3.0
Operating System: Windows Vista Home Premium SP2
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Anyone know how to get old style display? Replace the whole battery with just number... 1~100. No % symbol. Touch to switch between battery and number.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 07-02-2009, 05:51 PM
noop's Avatar
Green Apple
 
Join Date: Jul 2007
Device + Firmware: iPhone 3G[S] Black 16GB 3.0 | iPhone 3G White 16GB 2.2.1
Operating System: Vista Ultimate - 13" MBP coming soon
Location: Detroit | Sterling Heights
Posts: 45
Thanks: 5
Thanked 5 Times in 4 Posts

I did the % battery for my iphone 3g, and it works, however after doing this my phone seems to drain a lot quicker. Is anyone else noticing this, or is it only me?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 07-02-2009, 10:54 PM
iAddict's Avatar
Green Apple
 
Join Date: Jul 2008
Device + Firmware: iPhone 3G 2.0 J.B.
Operating System: Windows Vista
Posts: 39
Thanks: 13
Thanked 20 Times in 8 Posts

Quote:
Originally Posted by Kcolraw View Post
Anyone know how to get old style display? Replace the whole battery with just number... 1~100. No % symbol. Touch to switch between battery and number.
The battery doesn't seem to drain faster with the numeric battery. I +1 to Kcolraw. I HATE THE % symbol and the battery icon! So much space taken up just to tell me the battery status!!! I want the old style numeric battery back!! Anyone? Please?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 07-03-2009, 05:29 AM
What's Jailbreak?
 
Join Date: Jun 2009
Device + Firmware: iPhone 3G 3.0
Operating System: Windows XP
Location: Italy
Posts: 2
Thanks: 3
Thanked 2 Times in 1 Post

To remove % I think we should look at PNGs in system>library>coreservices>springboard.app
Unfortunately I don't have the possibility to verify it by myself 'cause I cannot convert iPhone's PNG with my computer
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 07-03-2009, 08:05 AM
Oliver350Z's Avatar
iPhone? More like MyPhone
 
Join Date: Dec 2008
Device + Firmware: iPhone 2G 8gb / Jailbroken + Unlocked 3.0
Operating System: Win XP / Win Vista
Posts: 226
Thanks: 16
Thanked 22 Times in 17 Posts

Isn't it easier to just enable it through SBsettings?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 07-06-2009, 04:03 AM
iAddict's Avatar
Green Apple
 
Join Date: Jul 2008
Device + Firmware: iPhone 3G 2.0 J.B.
Operating System: Windows Vista
Posts: 39
Thanks: 13
Thanked 20 Times in 8 Posts

Quote:
Originally Posted by Oliver350Z View Post
Isn't it easier to just enable it through SBsettings?
definitely easier. Just a simple toggle in the Extra Options menu on SBSettings.

I am still looking for a way to either remove the battery icon or the "%" so i get the old clean look of numeric battery...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 07-10-2009, 08:19 AM
What's Jailbreak?
 
Join Date: Jul 2009
Device + Firmware: iPhone 3Gs running 3.0
Operating System: OS X
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
A step int he right direction...

Hey all, like you I've been pissed that I can't have the battery OR the percentage.

I SSHed into /System/Library/CoreServices/SpringBoard.app as per the suggestion of a previous poster. There I found numerous .png files which I wasn't able to view so I just started deleting them with a sort of educated randomness. I found that I could make the '%' symbol disappear if I deleted "Default_Percent_%.png" and "FSO_Percent_%.png".

At least it no longer has to take up as much space on the right hand side of the taskbar.

Hope that helps.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to twowaymonologue For This Useful Post:
giabar (07-10-2009)
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 12:41 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top