1. Download our Official Android App: Forums for Android!

Root Fix for status bar battery indicator

Discussion in 'Android Devices' started by bluemax, Mar 3, 2010.

  1. maurinet

    maurinet Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    122
    Joined:
    Jun 22, 2010

    Jun 22, 2010
    122
    10
    38
    Israel
    Can this method (or something similar) be used to have the Battery Indicator display more intervals with the Super Circle battery indicator??? (perhaps in increments of 5% or 10%, instead of just 0%, 20%, 40%, 60%, 80%, 100%)
     

    Advertisement

  2. inFECT

    inFECT Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    256
    Joined:
    Feb 22, 2010

    No. to both of you ;-)
     
  3. MichaelW

    MichaelW Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    364
    Joined:
    Oct 6, 2009

    Oct 6, 2009
    364
    26
    43
    The super circle battery with galaxo 1.6.3.4 is displaying 0%, 10%, 20%, 40%, 60%, 80%, 100%.

    I don't quite understand how it can display in increments of 10% for the lowest three, but then 20% for the rest. It also doesn't display the value to the nearest "20%" anyway, so in my opinion it's even worse than before.
     
  4. sgx100

    sgx100 Android Enthusiast
    Rank:
    None
    Points:
    38
    Posts:
    262
    Joined:
    Mar 18, 2010

    Mar 18, 2010
    262
    14
    38
    Jobless
    New Delhi, India
    Is this implemented in galaxo 1.6.3/3-4 or Dark Sense themes by inFECT
    Also is this goin to be implemented on Froyo GAOSP

    Any idea folks ?
     
  5. Lelouch

    Lelouch Android Enthusiast
    Rank:
    None
    Points:
    98
    Posts:
    655
    Joined:
    Aug 6, 2010

    Aug 6, 2010
    655
    70
    98
    Kri
    In Froyo GAOSP (if you didn't try it), the bar indication (thanks to cyangenmod) is displayed 100, 99, 98,... You get the point I guess.
     
  6. inFECT

    inFECT Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    256
    Joined:
    Feb 22, 2010

    It is simply not supported by Samsungs Framework on Donut (according to drakaz)

    GAOSP is based on AOSP, thats why it is working there.
     
  7. Alonzzo2

    Alonzzo2 Well-Known Member
    Rank:
    None
    Points:
    36
    Posts:
    106
    Joined:
    Nov 23, 2009

    Nov 23, 2009
    106
    3
    36
    Is there anyway to revert the super circle battery back to the old one?
    Displaying the WRONG percentage is just useless, i prefer the green meter (the original one), especially since im using 'battery indicator' app.
     
  8. inFECT

    inFECT Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    256
    Joined:
    Feb 22, 2010

    just push the framework-res.apk from the old galaxo 1.6.3.2 on the phone.
     
  9. Alonzzo2

    Alonzzo2 Well-Known Member
    Rank:
    None
    Points:
    36
    Posts:
    106
    Joined:
    Nov 23, 2009

    Nov 23, 2009
    106
    3
    36
    OK, thanks, I took it from the 1.6.3.2 zip file (from /system/framework) and i copied it (using root explorer) to system/framework on the phone , BUT , now my phone doesn't boot (stuck at the animation).
    I guess i did something wrong, I just don't know what it is.
    Im gonna go back to my nandroid backup for now, inFECT, do you have any other suggestions?
     
  10. intouch

    intouch Newbie
    Rank:
    None
    Points:
    36
    Posts:
    12
    Joined:
    Oct 24, 2009

    Oct 24, 2009
    12
    3
    36
    Hi,
    I have modded the framework-res.apk from the Galaxo, in order to have a more detailed battery indicator.
    Stock battery icon pack has 7 steps. My icon pack has 18 steps.
    [​IMG]
    [​IMG][​IMG]

    Download

    This patch works with Galaxo 1.6.3.4.
    I think it should works on every Galaxo 1.6.3.x but I didn't test it.

    Installation:
    - Copy zip file on sdcard
    - Boot in recovery mode
    - Fix Packages Permission
    - Apply any zip from sd
     
  11. MichaelW

    MichaelW Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    364
    Joined:
    Oct 6, 2009

    Oct 6, 2009
    364
    26
    43
    But does it display all 18 states? Drakaz added the Super Circle battery meter in 1.6.3.4 but it also only displays 7 states (0, 10, 20, 40, 60, 80,100).

    He stated it was a limitation with Samsung's donut implementation.
     
  12. intouch

    intouch Newbie
    Rank:
    None
    Points:
    36
    Posts:
    12
    Joined:
    Oct 24, 2009

    Oct 24, 2009
    12
    3
    36
    Yes, it displays all the 18 states.
    At least it seems so to my eyes :D

    The trick is to modify the file "stat_sys_battery.xml", adding the new levels.
     
  13. informale

    informale Android Enthusiast
    Rank:
    None
    Points:
    68
    Posts:
    704
    Joined:
    Oct 25, 2009

    Oct 25, 2009
    704
    33
    68
    Scotland
    you might want to tell that to Drakaz, perhaps he missed that tiny little thing with all the other hard work.
     
  14. Frojd

    Frojd Member
    Rank:
    None
    Points:
    18
    Posts:
    97
    Joined:
    Nov 9, 2009

    Nov 9, 2009
    97
    10
    18
    Tried it but couldn't flash due to bad .zip according to recovery.
     
  15. Alonzzo2

    Alonzzo2 Well-Known Member
    Rank:
    None
    Points:
    36
    Posts:
    106
    Joined:
    Nov 23, 2009

    Nov 23, 2009
    106
    3
    36
    "Opening update package...
    E:Can't open /sdcard/batteria_galaxo_1634__senza_nu.zip
    (bad)
    installation failed"

    I tried several times, after fixing permissions, and i've download the file 3 times:)
    Any idea why it doesn't work?
     
  16. Alonzzo2

    Alonzzo2 Well-Known Member
    Rank:
    None
    Points:
    36
    Posts:
    106
    Joined:
    Nov 23, 2009

    Nov 23, 2009
    106
    3
    36
    she? or a typo?
     
  17. sgx100

    sgx100 Android Enthusiast
    Rank:
    None
    Points:
    38
    Posts:
    262
    Joined:
    Mar 18, 2010

    Mar 18, 2010
    262
    14
    38
    Jobless
    New Delhi, India
    Is Drakaz a She :thinking:
     
  18. zstef

    zstef Newbie
    Rank:
    None
    Points:
    16
    Posts:
    37
    Joined:
    Mar 1, 2010

    Mar 1, 2010
    37
    4
    16
    Croatia
  19. drakaz

    drakaz Newbie
    Rank:
    None
    Points:
    18
    Posts:
    23
    Joined:
    Oct 17, 2009

    Oct 17, 2009
    23
    21
    18
    I just missed the time to do it..i thought it will not be a problem to have 7 level, but seems it is. Will post a new frameworks-res with circle and whole level..
     
    Alonzzo2, sgx100, velnaykkar and 2 others like this.
  20. informale

    informale Android Enthusiast
    Rank:
    None
    Points:
    68
    Posts:
    704
    Joined:
    Oct 25, 2009

    Oct 25, 2009
    704
    33
    68
    Scotland
    TYPO! Sorry, LOL! ) Corrected it was an 's' leftover from 'perhaps' ) although perhaps was not missing that 's' )))
     
  21. inFECT

    inFECT Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    256
    Joined:
    Feb 22, 2010

    Made my Day :)

    I just found a proof ;-)

    [​IMG]
     
  22. weasel

    weasel Android Enthusiast
    Rank:
    None
    Points:
    38
    Posts:
    401
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    401
    23
    38
    Nuclear Operator (no shit !!)
    Renfrew, ON
    Now that's funny. Someone has to send this to Drakaz ...
     
  23. maurinet

    maurinet Well-Known Member
    Rank:
    None
    Points:
    38
    Posts:
    122
    Joined:
    Jun 22, 2010

    Jun 22, 2010
    122
    10
    38
    Israel
    lol :d
     
  24. Aglar

    Aglar Lurker
    Rank:
    None
    Points:
    26
    Posts:
    9
    Joined:
    Feb 4, 2010

    Feb 4, 2010
    9
    5
    26
    informale, Alonzzo2, sgx100 and 2 others like this.
  25. inFECT

    inFECT Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    256
    Joined:
    Feb 22, 2010

    Awesome. Thank you.
     
    Aglar likes this.

Share This Page

Loading...