Battery Percentage on Original iPhone and 3G

Discussion in 'Jailbreaks and iOS Hacks' started by fleshman03, Jun 24, 2009.

  1. macrumors 68000

    fleshman03

    Joined:
    May 27, 2008
    Location:
    Sioux City, IA
    #1
  2. macrumors regular

    jck1634

    Joined:
    Mar 16, 2009
    #2
    SBsettings does this with just a flick of a toggle switch. Also a new tweak showed up today on Cydia called ThreeG S which does the same thing, although I haven't tried it.
     
  3. macrumors regular

    Joined:
    May 2, 2005
    #3
  4. macrumors regular

    jck1634

    Joined:
    Mar 16, 2009
    #4
    Thats why my battery wasn't lasting as long as it did before!!! Thanks for the info. I've uninstalled SBsettings (I was only ever using it for the battery percentage) and tried this hack and it DOES work.
     
  5. macrumors 604

    TheSpaz

    Joined:
    Jun 20, 2005
    #5
    Thank you! This worked flawlessly. Question is... will the toggle switch stay after a restore (like emoji did)?

    I'm hoping to have this option without jailbreaking. If I can restore and keep the setting. I think I can.
     
  6. macrumors newbie

    Scott4551

    Joined:
    Jan 12, 2008
    Location:
    Cleveland, OH
    #6
    Where do I actually type the new script...That file has alot of weird writing and last time I tried I ****ed things up pretty good...
     
  7. macrumors 65816

    Joined:
    Oct 1, 2007
    #7
  8. macrumors member

    Joined:
    Jun 17, 2009
    #8
    I installed the ThreeG S in to my 3G iPhone but seem does not work with my iPhone. Do I need to install the SBS and SSH to make it work?

    Thanks in advance.
     
  9. macrumors member

    Joined:
    Feb 8, 2009
    #9
    you already have it on 3GS just go setting click on gerneral and clicl on usage to turn on battery %
     
  10. macrumors 601

    Vegastouch

    Joined:
    Jul 12, 2008
    Location:
    Las Vegas, NV
    #10
    Can you do this on a PC since you have to SSH into it?
     
  11. macrumors regular

    Joined:
    Jan 24, 2007
    #11
    My solution was to simply add the source iphone.org.hk/apt into cydia and there is a percentage add on from their repo that works flawlessly for me and doesn't eat the battery like sbsettings does.
     
  12. macrumors 601

    Vegastouch

    Joined:
    Jul 12, 2008
    Location:
    Las Vegas, NV
    #12
    That worked great for me but some dont want to jailbreak their phones for some reason. Cant imagine why. Ive had many of these apps for months that those people are just getting and having to buy a new phone for it.

    I hope the battery is better in this one than in SBSettings.
     
  13. macrumors 68020

    Joined:
    Mar 28, 2009
    #13
    Yes, you need iphonebrowser to copy the com.apple.springboard.plist to your c: drive. You then need to download plist editor for windows to edit the file.

    (make backup of com.apple.springboard.plist to your local drive and rename to "copy of com.apple.springboard.plist" incase you want to reverse)

    iphone browser
    http://code.google.com/p/iphonebrowser/downloads/list

    plist editor
    http://www.softpedia.com/get/Programming/File-Editors/plist-Editor-for-Windows.shtml

    It took less than five minutes. When you copy the file back, turn off the phone with slide to turn off function. then start the phone back up.
     
  14. TSX
    macrumors 68030

    TSX

    Joined:
    Oct 1, 2008
    Location:
    Texas
    #14
    Install SBS, turn Battery % on, and uninstall SBS and it will still be there.
     
  15. macrumors 68020

    Joined:
    Mar 28, 2009
    #15
    Just wondering, do you know what other remnants of SBS remain beside battery percentage?
     
  16. macrumors 601

    Vegastouch

    Joined:
    Jul 12, 2008
    Location:
    Las Vegas, NV
    #16
    Or, just do what it says in post #11. That was simple. Now, since 2:06PM when i posted my post that i did that to right now at 4:45pm, i have went from 87% to 65% while messing with Cydia some, uploading a few pis to photobucket and looking at some emails and one 15 min phone call.

    Not sure how fast SBSettings drained the battery.
     
  17. macrumors G4

    dhlizard

    Joined:
    Mar 16, 2009
    Location:
    The Jailbreak Community
    #17
    I have SBSettings & Winterboard running and have no battery problems. (Both have been accussed of draining the battery)

    I really think there is another issue causing this and for those affected phones, JB apps just speed up the battery loss.

    Otherwise, why are many of us not seeing the battery drain.

    Hopefully, someone will figure it out.
     
  18. macrumors member

    Joined:
    Jun 17, 2009
    #18
    Hi guys which sbsettings need to install to activate the battery %?
     
  19. macrumors 6502

    foob

    Joined:
    Feb 17, 2009
    #19
    The easiest way to do this trick is to install iFile from Cydia (not to be confused with iFile in the app store), open it, browse to the directory, tap the plist, tap edit, type in the string and tap save.
     
  20. macrumors member

    Joined:
    Jun 17, 2009
    #20
    I am very confused :confused: . I installed the iFile from the cydia and followed your instruction but there is no DIRECTORY in my ifile.

    What I have in my ifile is.

    backup
    cache
    commcentre
    db
    ea
    empty
    folder
    keychains
    lib
    local
    lock
    log
    logs
    manage preferences
    mobile
    mobiledevice
    msgs
    preferences
    root
    run
    spool
    stash
    tmp
    vm
     
  21. macrumors 6502

    foob

    Joined:
    Feb 17, 2009
    #21
    That's in the /var directory, you need to start in the root directory, or "/". Tap the button on the upper left in ifile until it just says "/" at the top middle of the screen. Then tap System > Library > CoreServices > Springboard.app > M68AP.plist. Then tap edit, edit it and save.
     
  22. macrumors 65816

    fsck-y dingo

    Joined:
    Jun 14, 2009
    #22
    This worked well for me. Once installed through cydia go to Settings>General>Usage. You'll see "Battery Percentage" and a switch to turn it on/off. Simple and effective. :)
     
  23. macrumors 68020

    Joined:
    Mar 28, 2009
    #23
    I guess it boils down to what your comfort level is. If I didn't want slingbox over 3g I would never have considered a JB. Now that I did I want to limit my exposure to unknown sources. If I can do this manually and see what's being done, I'll do it, plus its a learning experience. If people feel OK installing repos from Hong Kong, more power to them.
     
  24. macrumors 601

    Vegastouch

    Joined:
    Jul 12, 2008
    Location:
    Las Vegas, NV
    #24
    The entire phone was built in China so whats the difference? If it wasnt a good working app, im sure Cydia wouldnt allow it their database. It sure beats the one in SBSettings that drains your battery.

    Really what it boils down to is what you want.
    I dont want to keep buying a new phone every year and ive been using many of these apps for months that new phone buyers are excited about to be getting now. I havent had any big problems with Cydia apps at all so im good with using them. Some people are just wusses when it comes to their phone. I have seen some say they have to scrub their hands after they eat before they touch their iphone...LOL

    It is a phone. Use it to it's capability.
     
  25. macrumors 68020

    Joined:
    Mar 28, 2009
    #25
    I'm not sure what making the phone in China and adding other repos have in common other than it appears the one mentioned above may be from HK. Be that as it may, there are a few suspect repos included in Cydia. However that is the risk I decided to take to have Slingbox on 3g. Besides the standard stuff needed for the JB, I only added tricker3G which added mobile substrate. Beyond that if I can do a hack thats worth it without using Cydia, I'm up for finding the tools and giving it a try. I once tricked a phone out so much, I realized that the primary purpose, making and receiving phone calls no longer worked, but I could browse the internet LOL
     

Share This Page