[Themes] Battery icons (Inc) (updated 1/6/11)

what rom would you like these for next ?

  • Skyraider vanilla

    Votes: 14 10.4%
  • virtuous

    Votes: 39 29.1%
  • Redemption Rom

    Votes: 14 10.4%
  • Redemptive rEVOlution

    Votes: 23 17.2%
  • Sense(less) rEVOlution

    Votes: 14 10.4%
  • Uncommon sense

    Votes: 1 0.7%
  • Ruby

    Votes: 3 2.2%
  • Lithium NG

    Votes: 0 0.0%
  • business sense - desire-z

    Votes: 9 6.7%
  • inc rom

    Votes: 17 12.7%

  • Total voters
    134

Trident

Senior Member
Sep 1, 2005
1,418
145
0
Disney World
I've been trying to get one of the circle battery mods to work on Calk's new EViO2 ROM [1.7 w/3.70 base] on my EVO. A few people said they got it to work, but I haven't had any luck.
Any help or suggestions?
 

atpa8a

Senior Member
Sep 10, 2007
84
0
0
Using MM classic circle I noticed that it turns green at 80% but at 79% down to 75% back to blue.
Seems like one image is off.

Great job nonetheless! Love it.

--
AT
 

gohamstergo

Senior Member
Mar 6, 2010
1,225
353
0
on CM6.1

installed these manually by inserting them into framework-res and pushing it. CM only seems to change the icon every 10% though. any idea what i have to do to use every percent's icon?
 

gohamstergo

Senior Member
Mar 6, 2010
1,225
353
0
did you try flashing the ones made for CM 6.1
yes, flashing it causes boot loop. what files within framework-res did you change other than the pngs?

well here's one problem:

Ya there's a typo but i dont feel like making the image again XD

tried a simple rename for the heck of it and that didn't work. so something else is going wrong.
 
Last edited:

wes342

Retired Recognized Developer
Aug 10, 2010
1,278
645
0
california
www.forum.easydevstudio.com
so wes, any ideas on getting this working on CM6.1 as stated in my post on the previous page?
I put up links for cm 6.1 in op a few weeks ago.
But its only for the stable release.
I have tested these on CM6.1 stable release.

If you want to do it for the version of cyanogen that your using.
If you pull out battery.xml and battery_charge.xml.
Then you need to take all the battery pngs.


Sent from my Incredible using XDA App
 

gohamstergo

Senior Member
Mar 6, 2010
1,225
353
0
ya im on 6.1 stable but as the screenshots show, there seems to be some differences for whatever reason. but the XMLs are what i need i think. so ill push those and report back, thanks :)
 

gohamstergo

Senior Member
Mar 6, 2010
1,225
353
0
no go. inserted the files manually and now there is just a blank space in the status bar where the battery icon should be.
the problem might be that the XML is linking to the "drawable-hdpi-v4" folder name whereas mine are just "drawable-hdpi." (installed CM6.1 stable as soon as i got my inc a few days ago, so dunno why my folder names dont match yours)... think you could quickly alter the XML to just be "drawable-hdpi" ? 0:)
 
Last edited:

wes342

Retired Recognized Developer
Aug 10, 2010
1,278
645
0
california
www.forum.easydevstudio.com
no go. inserted the files manually and now there is just a blank space in the status bar where the battery icon should be.
the problem might be that the XML is linking to the "drawable-hdpi-v4" folder name whereas mine are just "drawable-hdpi." (installed CM6.1 stable as soon as i got my inc a few days ago, so dunno why my folder names dont match yours)... think you could quickly alter the XML to just be "drawable-hdpi" ? 0:)
Email me your framework.apk
And ill make it work for you
I'll have to decompile the framework.apk and edit the xml files.

You could try making a copy of the drawable-hdpi folder and rename it drawable-hdpi-v4 and add it to the framework.apk
So you will have both.

[email protected]

Sent from my Incredible using XDA App
 

gohamstergo

Senior Member
Mar 6, 2010
1,225
353
0
You could try making a copy of the drawable-hdpi folder and rename it drawable-hdpi-v4 and add it to the framework.apk
So you will have both.
hmm yes that is a smart idea, i could do that.

Emailed apk

i was able to decompile your XMLs and saw it was linking with resource_ids. could you also directly link to the png such as:
Code:
<item android:maxLevel="100" android:drawable="@android:drawable-hdpi/stat_sys_battery_100" />
learned about that by googling the past few minutes.. i would try it myself, but i only know how to decompile, not compile :(