REVOlution theme Circle Battery Mod (10%)


Last Updated:

  1. yawdapaah

    yawdapaah Well-Known Member This Topic's Starter

    Joined:
    Aug 20, 2009
    Messages:
    900
    Likes Received:
    288
    Hi Guys,

    I've modified Fab's REVOlution theme for ApeX 1.0 and stock froyo. The stock froyo version's untested but the ApeX version is pretty solid.
    Detailed instructions and all my xml files are up for anyone who wants to do this on their own.

    It is advisable to install these mods after REINISTALLING Fab's original REVO (ApeX or STOCK) themes.

    Thanks

    Green battery framework-res.apk (use adb)

    White battery framework-res.apk (use adb)

    Fab_REVO_ApeX_10%_MOD_G.zip

    Fab_REVO_ApeX_10%_MOD_W.zip

    CAP201010291158.jpg

    CAP201010300116.jpg

    -----------------------------------------------
    FOR STOCK FROYO WITH REVOLUTION R2 ONLY
    Only use the stock version if you're on Stock froyo with Revo R2 installed.

    Green battery framework-res.apk (For those on stock Froyo with Revo theme) - use adb

    Fab_REVO_10%_MOD_G.zip (For those on stock Froyo with Revo theme)

    Decompiled XML files

    Grab the NexTheme version here!.

    DISCLAIMER: I am not responsible for anything that may go wrong with your phone. If you don't know how to restore your phone, don't try this...yet :D.

    Requirements: Rooted, Koush's Droid X Bootstrapper, Fab's Revo for Stock or ApeX rom.

    Instructions

    1. Download the .zip file to your sd card
    2. Reboot into Clockwork recovery
    3. Go to system and mount and mount system (should read unmount if done correctly)
    4. Go back to the main menu and Install .zip from sd card

    Thanks to:
    Fabolous - for a great ROM and several great themes.
    aflat - partner in crime; helped me figure this stuff out.
    Fightspit - for the great icons
    Qliratu - for the online cooking tool. Use it to generate your battery pngs. UOT Kitchen
     

    Advertisement
    Aypse, mission214, DRLyman and 3 others like this.
  2. mxsjw

    mxsjw Well-Known Member

    Joined:
    Jul 7, 2010
    Messages:
    1,311
    Likes Received:
    171
    Awesome...Do NexTheme for ApeX next...Do NexTheme for ApeX next (if it's cool with Fab)

    It changes color when it discharges, right?
    I may push your's to NexTheme and see what happens, I's got the nandroids :D

    I got NexTheme to do 20s last night with a circle battery, but I think I like your Batt Icon better.
    [​IMG]
     
  3. ThatOneDude05

    ThatOneDude05 Well-Known Member

    Joined:
    Aug 17, 2010
    Messages:
    202
    Likes Received:
    22
    Look awesome. I may have to give this a go at some point. It seems i change themes every few days. Damn android :)
     
  4. mazz0310

    mazz0310 Well-Known Member

    Joined:
    Nov 4, 2009
    Messages:
    587
    Likes Received:
    38
    I've been wanting to put the circle battery mod on my phone but ive been too busy and lazy. I'm thinking about giving this a shot.
     
  5. yawdapaah

    yawdapaah Well-Known Member This Topic's Starter

    Joined:
    Aug 20, 2009
    Messages:
    900
    Likes Received:
    288
    Sure, I can do Nextheme as well.
    I wanted to find a method to get the 10% increments on any themes. The method will be universal for every DX theme and battery style as well (not only circular). I'm hoping the themers can incorporate this into new themes as well.

    Thanks
     
    mxsjw likes this.
  6. mxsjw

    mxsjw Well-Known Member

    Joined:
    Jul 7, 2010
    Messages:
    1,311
    Likes Received:
    171
    The method will be or is the above method already universal...meaning, does it only change the battery Icon / reporting and nothing else?
    It would be great to flash with clockwork and change only the battery icon in the status bar like Fab has done with the clock removal.

    I think Fab's got 2 versions of NexTheme going, one for ApeX and the Original.
     
  7. Fabolous

    Fabolous Superuser VIP Member

    Joined:
    Nov 7, 2009
    Messages:
    3,635
    Likes Received:
    2,126
    Patiently awaiting your xml files ;)
     
  8. yawdapaah

    yawdapaah Well-Known Member This Topic's Starter

    Joined:
    Aug 20, 2009
    Messages:
    900
    Likes Received:
    288
    You cannot flash and replace the battery icon only if you want 10% increments. You have to actually mod the xml files and recompile the framework-res.apk. Decompiling and recompiling themed framework-res.apk was the issue. But there is a work around for that. Just need to streamline the process.
     
  9. mxsjw

    mxsjw Well-Known Member

    Joined:
    Jul 7, 2010
    Messages:
    1,311
    Likes Received:
    171
    Flashed the Clockwork version. Running fine, just have a hybrid Rev/Nex thing going now :D
    I leave this mod for a bit, see if anything goes sideways, and let you know.

    I really want NexTheme with a circle battery Icon at 10% increments, just not smart enough to do it myself...yet.
     
  10. Steven58

    Steven58 Reformed PH VIP Member

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271
    cool.. will try it out. I'm a faithful Fab disciple. I'll let you know.


    Edit: I installed it from Rom Mgr. Installed fine. I like it .....................


    ..........................but............................

    It's very green. It is the only green thing on my desktop. Any chance of a different color or white? TIA. :D
     
  11. yawdapaah

    yawdapaah Well-Known Member This Topic's Starter

    Joined:
    Aug 20, 2009
    Messages:
    900
    Likes Received:
    288
    @steven:
    The icons can be changed to whatever you like. If you like another icon set, please link it and I'll take care replace them for you :D.
    Also, you can open the .apk in 7zip and replace the .pngs. My modded framework-res has 5,10,15,20,30,40,50,60,70,80,90,100 as well as 20 charging pngs. You can change those pngs but if you add any more, they won't be recognized until you recompile the apk.
     
  12. Steven58

    Steven58 Reformed PH VIP Member

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271

    Thank you. What I would love would be white, since I have a dark screen. I don't know where the XDA thread is on all this, but there were a million different icons. I didn't bookmark it.

    PS: You'd change it for me? :eek: Steven blushes. TIA!:p
     
  13. mxsjw

    mxsjw Well-Known Member

    Joined:
    Jul 7, 2010
    Messages:
    1,311
    Likes Received:
    171
    OK, ran it for over 2 hours...works fine as far as I can tell, Nice work!

    Can't wait for a 10% Circle Battery version of NexTheme for ApeX :D
     
  14. Airmaxx23

    Airmaxx23 Well-Known Member

    Joined:
    Jun 21, 2010
    Messages:
    3,142
    Likes Received:
    1,039
    I'd be interested in using the white setup also.

    HERE is the circle battery thread from xda.
     
  15. hyperlite

    hyperlite Well-Known Member

    Joined:
    Sep 8, 2010
    Messages:
    100
    Likes Received:
    5
    thanks for this!
     
  16. Fabolous

    Fabolous Superuser VIP Member

    Joined:
    Nov 7, 2009
    Messages:
    3,635
    Likes Received:
    2,126
    Cool, I see what you did with those .xmls

    I'll play around with this when I get off work tonight. I'm gonna try to get those white battery icons from XDA working.
     
  17. aflat

    aflat Active Member

    Joined:
    Aug 16, 2010
    Messages:
    32
    Likes Received:
    6
    Cool, grats on getting this working in a more universal manner. I could only get it working on my framework-res. I got it to work on the vanilla Apex rom too, so I know the same method works there as well.

    Also, I haven't looked into it, probably will this weekend, but I think since the xml's are changed, the lockscreen battery icons can be changed as well to show 10% increments.
     
  18. Steven58

    Steven58 Reformed PH VIP Member

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271
    YES! YES! YOU DO THE FIX. See here for the reason why I want you to do it -------->
    Because I already paid you!!!! hahaha! I crack myself up! :D
     
  19. yawdapaah

    yawdapaah Well-Known Member This Topic's Starter

    Joined:
    Aug 20, 2009
    Messages:
    900
    Likes Received:
    288
    Here is the modded framework-res in white. Changing the colors is just a matter of replacing the .pngs if you are on ApeX.

    I'll write up the full method tonight for any theme (when I get home).

    The white icon version is in the OP. Enjoy :D

    @aflat: thanks for all the help man. And yeah modding the stock apk is straight forward but getting modding themed apks is a little convoluted.
     
  20. pinhead875

    pinhead875 Well-Known Member

    Joined:
    Jul 7, 2010
    Messages:
    76
    Likes Received:
    1
    Installed via rom manager. Button fonts are now white (on light gray buttons), and a little hard to see. Screen caps:
     

    Attached Files:

    • 1.JPG
      1.JPG
      File size:
      53.1 KB
      Views:
      77
    • 2.JPG
      2.JPG
      File size:
      24.4 KB
      Views:
      59
    • 3.JPG
      3.JPG
      File size:
      32.6 KB
      Views:
      52
  21. shrink57

    shrink57 Well-Known Member

    Joined:
    Dec 19, 2009
    Messages:
    1,529
    Likes Received:
    149
    Looks great! Can't wait for a Nextheme version :D
     
  22. Steven58

    Steven58 Reformed PH VIP Member

    Joined:
    Feb 19, 2010
    Messages:
    32,920
    Likes Received:
    25,271

    I noticed tht too
     
  23. yawdapaah

    yawdapaah Well-Known Member This Topic's Starter

    Joined:
    Aug 20, 2009
    Messages:
    900
    Likes Received:
    288
    Did anyone NOT have this problem? I'm looking it up now.
     
  24. Fabolous

    Fabolous Superuser VIP Member

    Joined:
    Nov 7, 2009
    Messages:
    3,635
    Likes Received:
    2,126
    To fix the white text, extract the resources.arsc from ApeX's framework and replace the one in yours ;)
     
  25. yawdapaah

    yawdapaah Well-Known Member This Topic's Starter

    Joined:
    Aug 20, 2009
    Messages:
    900
    Likes Received:
    288
    That will break the 10% mod no? The ApeX resources.arsc won't identify the new .pngs but I'll try it out anyway.
     

Share This Page

Loading...