Possible to port "Super Circle Battery" ? - Hero, G2 Touch Q&A, Help & Troubleshooting

Hello.
Is it possible to port this Mod: http://forum.xda-developers.com/showthread.php?t=724778 to our Hero?
'Cause than there isnt a need to install 3rd party apps (akku or battery).
I hope u can help me.
Best regards.

Yes it is but I need to know what ROM your using

HTC Hero and ROM VillainRom 12.0.0, please

I am using Cronos 2.1.1
It would be really fantastic if u can port this.

C0mpu13rFr34k said:
Yes it is but I need to know what ROM your using
Click to expand...
Click to collapse
I'd like it for Villain 12 aswel.
Is it a big job to convert?... Do you swap out the images individually once found or is there a less time consuming method?
Can I get a list of which folders and filenames relate to which object. i.e...
Battery meter is located .....
Wifi notification .....
Or am I being too lazy and should just look myself and make a list?

It's simply just exctracting the icons and then replacing them Going to do it later but i'm off for a soccer match for now xD

i think it is a little bit more than that, i already replaced the icons, and they show up, but standard behaviour is that it shows 20,40,60,80 and 100% etc. so just replacing the icons will show you the circle style in 80% and 60% etc.. but there is no 65 or 41 or whatever view. i guess the xml file for the battery stats in the drawable folder also needs to be edited.
Only thing is i have no experience yet in editing these xml's.

Gh0stw4lk3r said:
i think it is a little bit more than that, i already replaced the icons, and they show up, but standard behaviour is that it shows 20,40,60,80 and 100% etc. so just replacing the icons will show you the circle style in 80% and 60% etc.. but there is no 65 or 41 or whatever view. i guess the xml file for the battery stats in the drawable folder also needs to be edited.
Only thing is i have no experience yet in editing these xml's.
Click to expand...
Click to collapse
Oh crap didn't think about that. I haven't done any XML file editing either sorry...

Related

Battery % in statusbar

Working on adding battery % to status bar. I got the drawings done, I am just unsure of how to repackage framework-res and load it onto my phone without damage.
Below is the apk with battery%. The edited files are in /res/drawable-hdpi with the name stat_sys_battery....
http://rapidshare.com/files/451781222/framework-res.apk
Does the apk have to be odex'ed to run on a non-deodexed system? I am new to this but want to start theming so hopefully someone can help me out.
The way it has worked formne in the past is to.open not extract the original apk using 7zip. Then delete the old images for thebattery that are in the original apk. Then paste the edited files into the original apk that is open in 7zip. Then close 7zip. 7zip will process the files then close. Now paste the edited apk to ur phone and reboot. That's all there is to it.
hmm interesting, is there any risk of bricking the phone in doing so? Thats my only concern. My phone is only rooted, not deodex'ed.
As long as u make a back up of ur original framework apk then the worst that sill happen is that it goes into a boot loop. This can then be undone. So no. No way of permanently bricking your phone.
ok thanks, I tried pushing from adb but got read-only failure. I can't figure out to adb in recovery to do push. That is if thats the right method.
U need to have root. That is why u can't write to the system partition. Once u have root u will b fine.
I do have root. I got it to work but I saved the backgrounds of the pictures as blank so there is just a black square filling up background! lol I can't figure out how to take a screenshot of it as when I have it connected to the comp the charging symbol is popping up.
Scared myself for a moment, soft bricked my phone trying to push back the original framework-res.apk and it dg's fix method didn't work the first 2 times. I'm done playing for the night. First self mod!
there is a gauge battery widget in the market place that i downloaded. it has the battery % in the status bar. and when you select your status bar it will also give you your temperature and voltage.
what's the app called?
veuro said:
what's the app called?
Click to expand...
Click to collapse
i use Battery Indicator Pro, they have the same feature and looks pretty good
Please make icons of the battery with percentages ranging from 1 to 100 percent. I will then use these icons to create a battery percentage mod that shows the percentages in 1% increments. Then post them to rapidshare. I would appreciate it greatly if you could do this. Tnx.
battery gauge widget is the one i use
ionstorm3 said:
Please make icons of the battery with percentages ranging from 1 to 100 percent. I will then use these icons to create a battery percentage mod that shows the percentages in 1% increments. Then post them to rapidshare. I would appreciate it greatly if you could do this. Tnx.
Click to expand...
Click to collapse
2 things:
I thought, though I haven't checked recently, that it was hardware problem that wouldn't allow for 1% increments. Though circle battery widget estimates that.
How do I make it so the battery icons have the same background as the taskbar?
riotburn said:
2 things:
I thought, though I haven't checked recently, that it was hardware problem that wouldn't allow for 1% increments. Though circle battery widget estimates that.
How do I make it so the battery icons have the same background as the taskbar?
Click to expand...
Click to collapse
The first thing, it's not hardware, it's software. Motorola uses the 10% increments to actually save battery life because it doesn't need to refresh as often to display the battery percentage.
The second thing, I don't know.
live4nyy said:
The first thing, it's not hardware, it's software. Motorola uses the 10% increments to actually save battery life because it doesn't need to refresh as often to display the battery percentage.
The second thing, I don't know.
Click to expand...
Click to collapse
hmmm I have to figure out the background then because when I compress it, it saves with a black background. But when I use the take the original image from the phone and pull it into gimp, its only icon and no background.
I think it mightve been because I didn't compress it save the alpha.
Question, Do you guys want the battery % in the battery icon itself or sitting above it?
Also the icon for the color indicator of the icon is only 50pixels long thus the actual bar itself will only go down by 2%, so would you want icons with a 2% increment or prefer 1%
riotburn said:
I think it mightve been because I didn't compress it save the alpha.
Question, Do you guys want the battery % in the battery icon itself or sitting above it?
Also the icon for the color indicator of the icon is only 50pixels long thus the actual bar itself will only go down by 2%, so would you want icons with a 2% increment or prefer 1%
Click to expand...
Click to collapse
I would be happy with 5% increments
Let us know how it goes, I would like to try it out.
Sent from my MB860 using XDA Premium App
Very interested in this as well - I want that stupid battery icon on the right side to go away because I'm stuck using Battery Indicator Pro to tell me what's going on and taking up even more space after the AT&T text on the notification bar! Even still, the thing only tells me in increments of 10 - how hard would it be to use the source code from the Circle Battery Widget to display the CORRECT percentages (yes yes, I know they are estimated, but that thing WORKS, let me tell you....) in the space where the stock battery icon is on the right side of the notification bar?

[Q] How do I change the battery percentages

Hi all,
I'm looking for any assistance to help me change the default battery percentages from 5% increments to 1%.
I've decompiled the framework-res.apk using apk tool and edited the xml file in the res/drawable folder, replaced the battery icons with my newer ones but don't know what to do next.
I've tried to recompile the apk but it give me errors relating to the battery alterations that I have made.
I've searched to see if there's a guide available but no joy...can anyone help please.
I was under the impression it was a hardware thing, but perhaps it's firmware that determines the increments.
For my Motorola Defy my app ( Awesome Widgets ) shows in increments of 10%, but for other phones it shows increments of 1%.
I'm pretty sure your phone works in increments of 1% as default though.
All the best,
Ash
You can use UOT kitchen set the modified
ifong said:
You can use UOT kitchen set the modified
Click to expand...
Click to collapse
Yes, have used the UOT kitchen in the past but would like to know how to do it manually if possible

UOT Kitchen works on the Amaze - for some things.

Observations:
I was skeptical at first because there are no QHD resolutions listed in UOT kitchen, but figured if I supplied the files, then it would maintain the resolutions in the files.
Must have all three files to upload for it to compile correctly...
1. SystemUI.apk
2. Framework-res.apk
3. com.htc.resources.apk
I've changed the battery indicatior, added statusbar icons successfully, and change the background to more transparent on the Notifications/Quick Setting pull-down. I've also successfully changed the lockscreen icons.
I'm having difficulties making the statusbar more transparent, however. They have a setting on the Status Bar tab, but it seems to have no effect.
I did try to manually adjust the transparency on status_bar_background.png in Framework-res.apk, but it didn't seem to do the trick. Is there another file that is used based on the Sense base?
Nope. Those are the files needed, one bit of advice though--triple check the operational file it uses.
I.E. For boot animation, use the CM file directory, not the suggested data/local. It may be something in the framework.res file that needs to be changed. UOT works for EVERYTHING, provided you make sure the operational file is correct upon submission.
jeepers007 said:
I'm having difficulties making the statusbar more transparent, however. They have a setting on the Status Bar tab, but it seems to have no effect.
I did try to manually adjust the transparency on status_bar_background.png in Framework-res.apk, but it didn't seem to do the trick. Is there another file that is used based on the Sense base?
Click to expand...
Click to collapse
Hmmm Sense(or any ginger for the matter) responds to the status bar B/G used in SystemUI.apk(drawable HDPI). And the images used on all the qHD phones from HTC use the same size for .pngs as their WVGA counterparts(some things are bigger, but not many), scaling seems pretty good AFAIK.
Ace42 said:
Hmmm Sense(or any ginger for the matter) responds to the status bar B/G used in SystemUI.apk(drawable HDPI). And the images used on all the qHD phones from HTC use the same size for .pngs as their WVGA counterparts(some things are bigger, but not many), scaling seems pretty good AFAIK.
Click to expand...
Click to collapse
Found it! Giving that a try.
Thanks!
Trust me, it works. I cannot remember off the top of my head (bit drunk) but UOT works on just about everything. You need to double check where each enabled visual/operational is WITHIN your choice of rom. Then, you can triple check UOT's placement of the modified file.
I'm trying to remove the clock, but I couldn't find where that was located anywhere in there. Anyone have any pointers?
I'm a kitchen noob so I just made a simple battery change that I'm going to put on when it's done cooking.
(BeastMOD 1.3.1)
Spovik said:
I'm trying to remove the clock, but I couldn't find where that was located anywhere in there. Anyone have any pointers?
I'm a kitchen noob so I just made a simple battery change that I'm going to put on when it's done cooking.
(BeastMOD 1.3.1)
Click to expand...
Click to collapse
Let me look into it when I get home...I might be able (time willing) download your current rom and cook it--or at least find where to zap the clock so you can do it to your liking.
My battery cooking turned out to cause a boot loop so no-go on that. I appreciate any help you can offer and let me know if there's anything I can do to make things easier.
Spovik said:
I'm trying to remove the clock, but I couldn't find where that was located anywhere in there. Anyone have any pointers?
I'm a kitchen noob so I just made a simple battery change that I'm going to put on when it's done cooking.
(BeastMOD 1.3.1)
Click to expand...
Click to collapse
The clock is in the service.jar.. The kitchen won't work for that mod.
okay, I think I'm starting to get more comfortable with this kitchen.
I've got transparent status bar, and modified status bar icons.
Now, I'm looking for some help with another graphic. I unlock my phone for use with a pin. I see lockscreen in UOT only seems to modify the icons and gesture styles.
Where can I look to change the color of the numeric pin keys?
Spovik said:
My battery cooking turned out to cause a boot loop so no-go on that. I appreciate any help you can offer and let me know if there's anything I can do to make things easier.
Click to expand...
Click to collapse
It is imperative that you open your rom .zip and extract:
com.htc.resources.apk
framework-res.apk
SystemUI.apk
All are found within your particular rom package. Upload via UOT's upload page. That is how their kitchen knows what to change and give you an individualized .zip to flash. If you want an in-depth explanation, PM me and I would be happy to go through the whole process step-by-step. Once you get the gist, it is easy as pie.
As for the clock, yea...it is under services.jar and UOT does not change that. There can be another way to delete it, if I have time today I will try to make a flashable .zip for just the clock delete--unless someone beats me to it.
Yeah, I went through the UOT guide and video tutorial before I started working with UOT (I really do RTFM) and it still crashed out on me. I'll give it another shot when I have time available and I can get in.
As for the flashable zip, I'd love you long-time.
Spovik said:
Yeah, I went through the UOT guide and video tutorial before I started working with UOT (I really do RTFM) and it still crashed out on me. I'll give it another shot when I have time available and I can get in.
As for the flashable zip, I'd love you long-time.
Click to expand...
Click to collapse
I'm not going to have the time to make a clock delete zip....work is busy and getting ready for the holiday. It's not too hard for someone familiar with the sdk to use smali/etc. To push the needed code.
Sent from my HTC Amaze 4G using xda premium
TheSneakerWhore said:
I'm not going to have the time to make a clock delete zip....work is busy and getting ready for the holiday. It's not too hard for someone familiar with the sdk to use smali/etc. To push the needed code.
Sent from my HTC Amaze 4G using xda premium
Click to expand...
Click to collapse
I've seen some code about it, but didn't know if it's exclusive to the device type, or if it's the same basic thing for gingerbread so I never jumped. I'll see if I can mess with it later this week.
Spovik said:
I've seen some code about it, but didn't know if it's exclusive to the device type, or if it's the same basic thing for gingerbread so I never jumped. I'll see if I can mess with it later this week.
Click to expand...
Click to collapse
As long as you pull the services.jar file out of the Rom you want to flash to, you are fine.
Sent from my HTC Amaze 4G using xda premium

[Q][ST15i/ICS]Status Bar: Battery/Transparency

Hi Guys,
Before I begin, I'd like to shoutout to all the great devs here in XDA who regularly updates us with their mods while living their own busy lives.
I'm using a ST15i on stock ICS and managed to customize it by reading around. I've rooted my phone from GB to ICS and flashed custom zips to add or modify certain functions and changed how it looks to give it a different feel and to better suit my taste. I've reached a point where I can't modify it anymore due to lack of knowledge and training. And now I'm here.
Can anyone point me on how to change the transparency of the status bar, change the battery icon of my choice on my ST15i running on stock ICS? Also, can you help me in reverting to the stock icon fron "No available network"? All the info I found didn't help me. Tried the kitched but that didn't work for me either. I'd rather learn how rather than be spoonfed.
This is my first time posting here, so go easy on me.
Thanks!
I don't think a transparent statusbar is possible in ICS. In earlier versions, it was just a case of making the statusbar background itself transparent.
But Google have made it harder to do with later versions.
To change the battery icon, you just need to change the png files in one of the drawable folders in either framework-res.apk or SystemUI.apk. With the Mini on ICS, it's most likely drawable-mdpi in SystemUI.apk.
If you want to change how the icon works, going from changing every 10% to every 1% for example, then you need to decompile the app and edit some xml.
It's a little long-winded, but it's simple enough and I'm always happy to help. The battery icon mod was the first one I found out how to do and I spent months trying to figure it out. Literally.
It's worth checking out Tickle My Android from the link in my signature. It can do the battery mod for you, if you want it to, and can handle all the decompiling and recompiling as well actually taking apps off your phone to begin with.
Not sure what you meant about reverting icons..is it possible you can provide a screenshot of what you want to change?
Ticklefish said:
I don't think a transparent statusbar is possible in ICS. In earlier versions, it was just a case of making the statusbar background itself transparent.
But Google have made it harder to do with later versions.
To change the battery icon, you just need to change the png files in one of the drawable folders in either framework-res.apk or SystemUI.apk. With the Mini on ICS, it's most likely drawable-mdpi in SystemUI.apk.
If you want to change how the icon works, going from changing every 10% to every 1% for example, then you need to decompile the app and edit some xml.
It's a little long-winded, but it's simple enough and I'm always happy to help. The battery icon mod was the first one I found out how to do and I spent months trying to figure it out. Literally.
It's worth checking out Tickle My Android from the link in my signature. It can do the battery mod for you, if you want it to, and can handle all the decompiling and recompiling as well actually taking apps off your phone to begin with.
Not sure what you meant about reverting icons..is it possible you can provide a screenshot of what you want to change?
Click to expand...
Click to collapse
Hey there, Ticklefish! Thank you for taking the time to reply. You're one of my favorite devs here in xda.
Could you take a quick peek at this? There's an update on his notification toggle for a transparent status bar so I got me thinking whether this was possible or not. As for the battery, I'll still have to search for the battery icon I'm fancying about or I might have to create it from scratch. Sorry, I forgot to mention this but I tried to use your tool. I just didn't know how the battery icons would look like that's why I chickened out at the last moment. Instead I used it to create a zip to flash a stock SystemUI.apk to remove the Notification Toggles which I had extracted from an earlier CWM backup (Can't find an uninstaller. I figured all I needed was stock to remove it). Great tool, by the way.
I can't post any screenshots at the moment since I haven't been able to add that feature to my Mini yet. So I'll try my best to explain what I meant about reverting the network icon. If you would notice whenever you lose the network signal an icon appears on the notification bar? Well mine used to be color grey and had a yellow exclamation point beside it. Now it's all red. This might not be an issue for some but it's pretty hard on the eyes. I'd like to have the old one back.
Just to give you an idea, I'd like to improve my Mini's functionality and aesthetics while keeping it as close to stock as possible. So far I've managed to:
-Insert Reboot/Reboot to Recovery
-Use Wavelock
-Use Xperia S apps (Alarm, Callscreen, Clock, Conversation, Contacts, Font, Home, Keyboard, Phonebook & Walkman)
-Supercharge
-Notification Toggles (which I removed)
Changing the status bar and reverting to stock icon for no network signal is next on my list.
messagemode said:
Hey there, Ticklefish! Thank you for taking the time to reply. You're one of my favorite devs here in xda.
Could you take a quick peek at this? There's an update on his notification toggle for a transparent status bar so I got me thinking whether this was possible or not. As for the battery, I'll still have to search for the battery icon I'm fancying about or I might have to create it from scratch. Sorry, I forgot to mention this but I tried to use your tool. I just didn't know how the battery icons would look like that's why I chickened out at the last moment. Instead I used it to create a zip to flash a stock SystemUI.apk to remove the Notification Toggles which I had extracted from an earlier CWM backup (can't find an uninstaller. I figured all I needed was stock to remove). Great tool, by the way.
I can't post any screenshots at the moment since I haven't been able to add that feature to my Mini yet. So I'll try my best to explain what I meant about reverting the network icon. If you would notice whenever you lose the network signal a icon appears on the notification bar, well mine used to be color grey and had a yellow exclamation point beside it. Now it's all red. This might not be an issue for some but it's pretty hard on the eyes. I'd like to have the old one back.
Just to give you an idea, I'd like to improve my Mini's functionality and aesthetics while keeping it as close to stock as possible. So far I've managed to:
-Insert Reboot/Reboot to Recovery
-Use Wavelock
-Use Xperia S apps (Alarm, Callscreen, Clock, Conversation, Contacts, Font, Home, Keyboard, Phonebook & Walkman)
-Supercharge
-Notification Toggles (which I removed)
Changing the status bar and reverting to stock icon for no network signal is next on my list.
Click to expand...
Click to collapse
Screenshot should already implimented just not in the power menu. All you have to do is hold power and vol down button.
evilbarcode said:
Screenshot should already implimented just not in the power menu. All you have to do is hold power and vol down button.
Click to expand...
Click to collapse
Wow! Didn't know that. Just tried it just now and it worked. Thanks! Will be posting/updating once I've recreated the situation.
messagemode said:
Hey there, Ticklefish! Thank you for taking the time to reply. You're one of my favorite devs here in xda.
Could you take a quick peek at this? There's an update on his notification toggle for a transparent status bar so I got me thinking whether this was possible or not. As for the battery, I'll still have to search for the battery icon I'm fancying about or I might have to create it from scratch. Sorry, I forgot to mention this but I tried to use your tool. I just didn't know how the battery icons would look like that's why I chickened out at the last moment. Instead I used it to create a zip to flash a stock SystemUI.apk to remove the Notification Toggles which I had extracted from an earlier CWM backup (Can't find an uninstaller. I figured all I needed was stock to remove it). Great tool, by the way.
I can't post any screenshots at the moment since I haven't been able to add that feature to my Mini yet. So I'll try my best to explain what I meant about reverting the network icon. If you would notice whenever you lose the network signal an icon appears on the notification bar? Well mine used to be color grey and had a yellow exclamation point beside it. Now it's all red. This might not be an issue for some but it's pretty hard on the eyes. I'd like to have the old one back.
Just to give you an idea, I'd like to improve my Mini's functionality and aesthetics while keeping it as close to stock as possible. So far I've managed to:
-Insert Reboot/Reboot to Recovery
-Use Wavelock
-Use Xperia S apps (Alarm, Callscreen, Clock, Conversation, Contacts, Font, Home, Keyboard, Phonebook & Walkman)
-Supercharge
-Notification Toggles (which I removed)
Changing the status bar and reverting to stock icon for no network signal is next on my list.
Click to expand...
Click to collapse
Well, it might be possible. There's a lot that can be done if you just know how. I'll have a look at a transparent status bar soon. It was incredibly simple to do on early GB so hopefully it can be done on ICS as well.
There are a lot of battery icons out there. If you find the ones you want, TMA can put them into your app for you, or I can tell you how to do it manually.
As for the icons that come with TMA, you can see what they look like on the thread. Some look better on HDPI, and our phones are MDPI, but the tool can backup your original app so you can just try whichever one you want without being in danger of losing anything.
Changing that icon should be pretty simple. All you need to do is find out which image file it is and change it. Either by downloading one of the GB roms here and taking the new image file out of that, or by using a graphics program and just recolouring it yourself. If you're doing that, and if you're in a creative mood, you could even redesign the icon completely..
Thanks for the kind words, btw. If there's anything I can do to help, just let me know!
Ticklefish said:
Well, it might be possible. There's a lot that can be done if you just know how. I'll have a look at a transparent status bar soon. It was incredibly simple to do on early GB so hopefully it can be done on ICS as well.
There are a lot of battery icons out there. If you find the ones you want, TMA can put them into your app for you, or I can tell you how to do it manually.
As for the icons that come with TMA, you can see what they look like on the thread. Some look better on HDPI, and our phones are MDPI, but the tool can backup your original app so you can just try whichever one you want without being in danger of losing anything.
Changing that icon should be pretty simple. All you need to do is find out which image file it is and change it. Either by downloading one of the GB roms here and taking the new image file out of that, or by using a graphics program and just recolouring it yourself. If you're doing that, and if you're in a creative mood, you could even redesign the icon completely..
Thanks for the kind words, btw. If there's anything I can do to help, just let me know!
Click to expand...
Click to collapse
OK, I won't hold back in asking for assistance anymore.
I've attached a screenie of the icon problem I'm facing right now. If you would look at the upper lefthand corner, it's all red. I wonder if it's the same for the other ST15i Stock ICS users. It' used to be grey with a yellow exclamation point or something like that (can't recall how it exactly looked like but, yeah, something like that). Now for the battery icon, I'm fancying the Purple Android Battery Icon in TMA, only in green and shouldn't mess with the original height of the status bar. I've cooked a battery icon using the kitchen and it messed the height of the status bar. Could you also point how to manually change the battery icon? I'm trying to do it myself so I won't be asking around here anymore. I think others will benefit from it, too.
The stock SystemUI.apk that I've attached came from a stock version of my ST15i's ICS. I wondering if the network icon is found in the framework-res.apk, not in the SystemUI.apk. Since I've flashed the stock one and managed to remove the Notification Toggles but Red icon is still there.
Hopefully, you can find something with the transparency of the status bar. Thanks for all the help!
messagemode said:
OK, I won't hold back in asking for assistance anymore.
I've attached a screenie of the icon problem I'm facing right now. If you would look at the upper lefthand corner, it's all red. I wonder if it's the same for the other ST15i Stock ICS users. It' used to be grey with a yellow exclamation point or something like that (can't recall how it exactly looked like but, yeah, something like that). Now for the battery icon, I'm fancying the Purple Android Battery Icon in TMA, only in green and shouldn't mess with the original height of the status bar. I've cooked a battery icon using the kitchen and it messed the height of the status bar. Could you also point how to manually change the battery icon? I'm trying to do it myself so I won't be asking around here anymore. I think others will benefit from it, too.
The stock SystemUI.apk that I've attached came from a stock version of my ST15i's ICS. I wondering if the network icon is found in the framework-res.apk, not in the SystemUI.apk. Since I've flashed the stock one and managed to remove the Notification Toggles but Red icon is still there.
Hopefully, you can find something with the transparency of the status bar. Thanks for all the help!
Click to expand...
Click to collapse
That icon might be in framework-res.apk but I suspect it's SystemUI.apk. That's where most of those things are. This is a stock icon so flashing a stock system app won't do anything to change it. If you want, you can change the icon yourself by loading the png into a graphics program and messing around with it. If you want it to be grey and yellow, then you can make it grey and yellow.
Battery icons won't change the height of the statusbar. Android automatically scales images to the right size. As long as they're in the right folder. The Mini and Mini Pro both keep their images in drawable-mdpi for ICS. If images are put into drawable-ldpi, drawable-hdpi or even drawable-xhdpi (which would be insane on such a small screen), Android will scale them for a low, high, or extra high resolution screen. Which will mess the statusbar height. Your battery icons can be any height you like, they just have to go in the right place.
By the way...Tickle My Android will automatically put them in the right place. Just saying...
To change battery icons manually, you need to use apktool or a utility that uses apktool to decompile framework-res.apk and SystemUI.apk
Hey....Tickle My Android uses apktool...(subtle, ain't I?)
Then find the battery icons in whichever drawable folder they're in. They might be in more than one but that's not an issue. Replace them with ones you want.
If you're changing how often they change, you'll need to edit the xml files in the layout folder. If you got your icons from a kitchen, they should have come with the right xml files. In fact, if you've got a version of the Purple Android icons, you could use TMA to put those on first and then change them to the icons you want. That'll ensure you get the right xml files.
Then you use apktool to recompile the apps you changed. Make a copy of the original app, use 7zip to copy the res folder from the recompiled app into the copied one (this will ensure it's signed correctly), extract resources.arsc from the recompiled app, add that to the copied one at store levels of compression and..well, that's it.
The copied app is now ready to be put back onto your phone.
Eyes glazing over? Brain leaking out of the ears? I know it sounds complicated but it's quite simple once you've done it a few times. It can get a bit tedious if you're doing it a lot....which is why I wrote Tickle My Android in the first place.

Battery icons in KitKat

Where are they? I checked the framework-res and SystemUI of an AOSP rom, and they're just not there. Does anyone know?
Sent from my GT-I9100
I join the question, i searched in all possible drawable folders and nothing, just grey pngs at ..\framework\framework-res\res\drawable-xhdpi\stat_sys_battery... :S
yuriy636 said:
I join the question, i searched in all possible drawable folders and nothing, just grey pngs at ..\framework\framework-res\res\drawable-xhdpi\stat_sys_battery... :S
Click to expand...
Click to collapse
Changing them changes nothing. I've also been looking, haven't found them yet
has anybody found where the battery can be changed?I changed and added my mods in almost every apk, such as contacts,sytemui,framework-res,dialer you name it -I have them in there but still shows the default very frustrating!Same thing with the dial pad it also shows default on the initial dialer but the in-call dialer I was able to theme.
EDIT Nevermind -I have found out the battery among some otherthings are now generated in code in 4.4 ,So sorry to all the modders that like to change things easy.It will now require much more to make changes that were once a matter of changing a few png files or maybe and xml here and there.Lerts hope there are themers out there that find a way around this
I found this post what mean that battery icons is draw by code:
http://forum.xda-developers.com/showthread.php?t=2513466
Right now, the only thing I could find is how to add the % number in the icon.
https://play.google.com/store/apps/details?id=de.kroegerama.android4batpercent
Before.
As the icons are drawn, can't we remove the goto scrpt and use a old drawn icon xml file
try my last mod guys, it can be found in my signature..

Categories

Resources