How to add percentage battery icon - Galaxy S I9000 Themes and Apps

Hi
I'd like a mod for a stock JVS to get just the battery % icon and nothing else.
There are mods with this but with a bunch of things I don't want.
I read some time ago that for getting the % you have to modify some xml files in framework and add some png.
Can someone tell me exactly what this files are?
If anyone has a mod doing just that it will work too.
Thanks a lot!

I would also like to know about this? Is it possible to just get the battery percentage without having to flash a new custom rom?
thanks

CalabiYau said:
Hi
I'd like a mod for a stock JVS to get just the battery % icon and nothing else.
There are mods with this but with a bunch of things I don't want.
I read some time ago that for getting the % you have to modify some xml files in framework and add some png.
Can someone tell me exactly what this files are?
If anyone has a mod doing just that it will work too.
Thanks a lot!
Click to expand...
Click to collapse
Please, take a look at that!

Or, if you wanted you could get super status bar from the market for free. It gives you a new status bar/notifacation bar. It doesn't do anything to your phone because it doesn't require root but its really good. And of course you can customize it so it has battery % in the battery icon.
Shane,
Ireland

Thanks!
That kitchen was exactly what I was looking for!

Glad I could help!
Sent from my E15i using XDA Premium App

CalabiYau said:
Thanks!
That kitchen was exactly what I was looking for!
Click to expand...
Click to collapse
Did you get it to work mate? I tried to cook up my own and then flash it, but when I rebooted my phone, it kept looping over the Samsung Galaxy S screen (it didn't make it to the boot animation).

Related

UOT Kitchen

Hello people. I'm seeing alot of battery mod threads but if you want a little more customisation head over to the UOT kitchen and bake your own framework/system ui.
I did it yesterday and it worked perfectly. You just need clockwork recovery and your away.
Link : http://uot.dakra.lt/
Be sure to head over to this thread and hit thanks. Mendozinas put in alot of work :
http://forum.xda-developers.com/showthread.php?t=990829
I'm just putting this out there for people new to android or that don't know about the kitchen.
Its a great tool!
Enjoy!
Great heads up, i see ti now works with stock ROM's as well, wish they would add the CRT effect though.
this is a good website but unfortunately all that it changes for me is the battery icon and nothing else on status bar or notification area, i am confused whats up with it, its not just this its every theme i try to install does the same
well, the main prob with kitchen and our phones (S series and S2 too) is Touchwizz.
modifications via kitchen only affect framework-res.apk ;touchwizz needs modifications on twframework too.
knowing this, you can still use kitchen for :
-battery icons.
-notification icons
-glowing (at least for sliders bars and a part of the pop-up windows IF they aren't managed by twframework ).
haven't tried mods on status bars yet with my S2 but they were ok with my old galaxy S so it's probably the same.
P.S :
as always with themes, don't forget to wipe cache and dalvik cache after applying it viaCWM
hope it helps
Can someone provide me framework-res.apk and systemui.apk from stock KE7? Thanks.
How to submit it? I selected what I needed, uploaded framework-res.apk and systemui.apk but when I click Submit button nothing happens!
OK, I figured it out. But I can't select 'Transparent Status Bar' only, I don't want any modifications on status bar but just to make it Transparent! Maybe it's not allowed!
ithehappy said:
How to submit it? I selected what I needed, uploaded framework-res.apk and systemui.apk but when I click Submit button nothing happens!
OK, I figured it out. But I can't select 'Transparent Status Bar' only, I don't want any modifications on status bar but just to make it Transparent! Maybe it's not allowed!
Click to expand...
Click to collapse
Can you choose status bar then not put a tick in the box for icons?
That should work.
esk02k said:
Can you choose status bar then not put a tick in the box for icons?
That should work.
Click to expand...
Click to collapse
It's working now
Well the Transparent Bar is not working for me. Just for me I just selected only Transparent Bar and nothing else, but it's the same damn black status bar in the end
Try with ADW launcher for the transparent statusbar and disable wallpaper hack
Hey all,
Just having an issue with UOT kitchen ever since I flashed to Lite'ning ROM 1.4 on KF1. Getting SHTF errors every time I try to cook files now, anyone else having this issue?
I created my first theme and it worked, however i lost the screen capture feature, does anyone know why?
Hi mendozinas,
Because i have changed my phone to GS S2(i9100) and would you please tell me this version UOT Kitchen whether support GS S2(i9100) + SpeedMod SGS2 [K1-T31 CWM4 CIFS ROOT] ?
Thanks!
I've cooked my battery icon for xxkg1 2.3.3 but i'm asking if is it possible to use the "SCB with %" (Version C, New charger for example) and hybrid charge animation.
Thanks!
Amrael said:
well, the main prob with kitchen and our phones (S series and S2 too) is Touchwizz.
modifications via kitchen only affect framework-res.apk ;touchwizz needs modifications on twframework too.
knowing this, you can still use kitchen for :
-battery icons.
-notification icons
-glowing (at least for sliders bars and a part of the pop-up windows IF they aren't managed by twframework ).
haven't tried mods on status bars yet with my S2 but they were ok with my old galaxy S so it's probably the same.
P.S :
as always with themes, don't forget to wipe cache and dalvik cache after applying it viaCWM
hope it helps
Click to expand...
Click to collapse
Ain't you supposed to upload the twframework.apk along with the framework-res and systemui? I did and everything changed, battery, signal, wifi, alarm, menus, pop ups, font, everything I told it to its changed everytime.
Sent from my GT-I9100 using XDA Premium App
esk02k: you going to submit your awesome battery mod to the UOTK?
Hello
I know how to do a white theme with white panels on UOT kitchen, because every time I chose to put her white panels not work when I flash i am under CyanogenMod CM7 7.1 Galaxy S II
Can you help me please thank you very much
Squalll said:
Hello
I know how to do a white theme with white panels on UOT kitchen, because every time I chose to put her white panels not work when I flash i am under CyanogenMod CM7 7.1 Galaxy S II
Can you help me please thank you very much
Click to expand...
Click to collapse
Which part do you want white panels on? The whole theme?
esk02k said:
Which part do you want white panels on? The whole theme?
Click to expand...
Click to collapse
yes all the theme and the panels in settings
Hi all, hope your well.
Thank you directing us to the kithen. I have tried to use but seem to have an issue. When I select a mod, and click generate preview, it doesnt do it. It tries to generate it but then just times out. Anyone else had/having the same issue? Am I missing something or could it just be my internet?
Everything else works fine on my internet.
Thanks in advance guys!!
EDIT: Sorted. It just started to work.

[MODs] 4.08.605.3 - rmk40 debloated

Inverted Status Bar Pull Down + GPS cross-hair removed (GPS icon still works when turned on)
http://www.multiupload.com/FPXEYC3FR8
just the Inverted Status Bar Pull Down
http://www.multiupload.com/W833FH7ZHR
just GPS cross-hair removed (GPS icon still works when turned on)
http://www.multiupload.com/94E8TXIXX5
Wake on volume
http://www.multiupload.com/VD28E84KD0
Remove Wake on volume
http://www.multiupload.com/W73NBYVK0M
Can we have a just the GPS crosshairs removed mod as well? Thanks.
schizopunk said:
Can we have a just the GPS crosshairs removed mod as well? Thanks.
Click to expand...
Click to collapse
added to OP.
andybones said:
added to OP.
Click to expand...
Click to collapse
Thank you very much!
Great mods Andy! I had a couple questions I was hoping you could answer! I saw that you created a mod for Virtuous where you inverted the menu and changed the lettering to white. Could you give me a quick tip on how to do this with this ROM? I was able to do it with my old Droid by changing what I seem to remember was the menuitem_background.xml file, however it seems that doesn't work with this ROM?? I think I was able to get the menu inverted, however I can't get the text to be white.
Also, I've tried a bunch of different things to get the Verizon Wireless carrier text off the pulldown, however no matter what I do I can't get it removed! Do you have any tips for getting this changed?
Thanks in advance for any help you can provide!
dboss007 said:
Great mods Andy! I had a couple questions I was hoping you could answer! I saw that you created a mod for Virtuous where you inverted the menu and changed the lettering to white. Could you give me a quick tip on how to do this with this ROM? I was able to do it with my old Droid by changing what I seem to remember was the menuitem_background.xml file, however it seems that doesn't work with this ROM?? I think I was able to get the menu inverted, however I can't get the text to be white.
Also, I've tried a bunch of different things to get the Verizon Wireless carrier text off the pulldown, however no matter what I do I can't get it removed! Do you have any tips for getting this changed?
Thanks in advance for any help you can provide!
Click to expand...
Click to collapse
That's a MOD that took me a very long time to figure out, That's not a quick how-to, but I will work on it for this ROM, also I'll take a look I think I know how to get rid of the Verizon txt, PM me for that.
Also you will find that pretty much everything is different from the droid (i think) because of sense.
andybones said:
I also made an inverted pull down for this ROM. I may know how to get rid of the Verizon txt I'll look into it for you.
Click to expand...
Click to collapse
Thanks! Does the pulldown also change the menu background, or just the pulldown background?
I tried changing the eri.xml file for both the T-CDMA 64 and 65 lines based on this thread (link), but neither of those worked. UGH!!
dboss007 said:
Thanks! Does the pulldown also change the menu background, or just the pulldown background?
I tried changing the eri.xml file for both the T-CDMA 64 and 65 lines based on this thread (link), but neither of those worked. UGH!!
Click to expand...
Click to collapse
yea see ur trying to do droid changes. way off. u gotta look for sense mods..
its in the systemui.apk
andybones said:
yea see ur trying to do droid changes. way off. u gotta look for sense mods..
its in the systemui.apk
Click to expand...
Click to collapse
Hmmm...in the status_bar_expanded.xml there's a portion referencing the Carrier Label (android:id="@id/carrierLabel"), but I don't know where to change that text, or even if it's possible?
Battery mod would be awesome for those who arent comfortable with using the Kitchen.
Thanks for the mods. Very cool. Quick question do you recommend wiping cache and dalvik or just flashing over the Rom as is?
Sent from my ADR6350 using Tapatalk
dboss007 said:
Great mods Andy! I had a couple questions I was hoping you could answer! I saw that you created a mod for Virtuous where you inverted the menu and changed the lettering to white. Could you give me a quick tip on how to do this with this ROM? I was able to do it with my old Droid by changing what I seem to remember was the menuitem_background.xml file, however it seems that doesn't work with this ROM?? I think I was able to get the menu inverted, however I can't get the text to be white.
Also, I've tried a bunch of different things to get the Verizon Wireless carrier text off the pulldown, however no matter what I do I can't get it removed! Do you have any tips for getting this changed?
Thanks in advance for any help you can provide!
Click to expand...
Click to collapse
eri.xml does not work with sense for changing carrier text in the pulldown
i was able to get it to work in tsm gingerbang by adding smali and xml comments in systemui
Prototype V said:
Thanks for the mods. Very cool. Quick question do you recommend wiping cache and dalvik or just flashing over the Rom as is?
Sent from my ADR6350 using Tapatalk
Click to expand...
Click to collapse
When testing them all, I never did and they all worked great. BUT, I honestly can't say for sure when or when not to of if you should
ummm im dumb
i guess im dumb, so i need help lol. i installed the inverted pulldown and crosshair removal mod but now i dont have a status bar at all... am i missing something??? im on the rmk 4.08.... rom.
syde1020 said:
i guess im dumb, so i need help lol. i installed the inverted pulldown and crosshair removal mod but now i dont have a status bar at all... am i missing something??? im on the rmk 4.08.... rom.
Click to expand...
Click to collapse
no, you aren't dumb at all.
It may very well be my file, it worked for me, but others have reported the same thing happening when I do that MOD. sorry.

[Q] how to show battery percentage instead of icon(rooted)

Anyone can help me?
Help yourself and look in the themes section.
done that mate, there are only battery percentages WITH icon, but i dont want an indicator like that, just the percentage like this for example: 100% and not the battery icon, like in EDT tweaks(if you know that)..
http://forum.xda-developers.com/showthread.php?t=1329542
realfelix said:
done that mate, there are only battery percentages WITH icon, but i dont want an indicator like that
Click to expand...
Click to collapse
Unless you can find some images that have been modded to just show the number then you might be out of luck, or you could edit the 100+ images yourself.
Check out in UOT kitchen

[Q] Remove battery icon?

Is there anyway to remove the battery icon from the task bar on top???
i know jugg have the rom control where you can hide it. but since im switching over to a differnt rom i need to know if theres a .zip file that could do that.
im used to using miui battery bar. but i dun need 2 battery icons...
Thanks,
There's a paid app in the market called ROM Toolbox that can change your battery icon. It works with every ROM I've tried so far.
If you want to really customize it and don't mind having something else running on your phone all day you can try Super Statusbar as well, it comes with a built in MIUI bar.
Both come as free versions so you can test them out first.
SGS2 T989 on Synergy kernel with beastMOD
I'm a quick learner, teach me something.
okay, thanks man
Some of the icon changer won't work I've noticed you can only change the symbol if it has the symbol in ROM toolbox
Sent from my SGH-T989 using xda premium
ugotproblemz said:
Is there anyway to remove the battery icon from the task bar on top???
i know jugg have the rom control where you can hide it. but since im switching over to a differnt rom i need to know if theres a .zip file that could do that.
im used to using miui battery bar. but i dun need 2 battery icons...
Thanks,
Click to expand...
Click to collapse
I don't know what you mean? How would you have 2 battery icons? You can use uot kitchen and make your own battery
The MIUI battery bar runs horizontally across the top of your screen above your statusbar, so to have a second icon IN the status bar would be redundant in the OP's eyes. :beer:
SGS2 T989 on Synergy kernel with beastMOD
I'm a quick learner, teach me something.
If I help you in any way please hit the thanks button and let me know!
ugotproblemz said:
Is there anyway to remove the battery icon from the task bar on top???
i know jugg have the rom control where you can hide it. but since im switching over to a differnt rom i need to know if theres a .zip file that could do that.
im used to using miui battery bar. but i dun need 2 battery icons...
Thanks,
Click to expand...
Click to collapse
Yea but the OP would have to modify some smali code which isnt very easy.
M&S
http://forum.xda-developers.com/showpost.php?p=21621187&postcount=2
This worked for me. If you can decompile/compile smali, it's easy to edit.

How do I replace battery icons in ICS

I'm currently using Calk's 1.6 stock based ICS rom and cannot find the percentage battery icons so I can replace them with something different. In GB it was pretty easy but I guess some things have changed with ICS. I would rather know how to do this manually, I do not want an app or use the UOT for this. Tnx.
I cannot help you with that ROM but if you look at different ROM's, particularly the Blu Kuban, there are many battery styles you can choose from. I installed this ROM last weekend and am thoroughly enjoying it. You can do lots of customization's with it.
tdunham said:
I'm currently using Calk's 1.6 stock based ICS rom and cannot find the percentage battery icons so I can replace them with something different. In GB it was pretty easy but I guess some things have changed with ICS. I would rather know how to do this manually, I do not want an app or use the UOT for this. Tnx.
Click to expand...
Click to collapse
It is really quite tricky unless you have a theming background. If I remember right the files you need to modify are in the systemui.apk. You would need to decompile it, swap the image files, recompile it and then push it to system/app.
I'd recommend going the easy route and trying ROM Toolbox Pro.
rwilco12 said:
It is really quite tricky unless you have a theming background. If I remember right the files you need to modify are in the systemui.apk. You would need to decompile it, swap the image files, recompile it and then push it to system/app.
I'd recommend going the easy route and trying ROM Toolbox Pro.
Click to expand...
Click to collapse
Oh, don't get me wrong, I'm not shy about de/recompiling apk's but in ICS I don't think its as easy as swapping out some .png files like in GB. I've already looked in systemui and framework and the battery icons are solid, whereas the rom shows the battery percentage icons.
You can use the UOT Kitchen here: http://uot.dakra.lt/kitchen/
Pick the icons you want, upload the framework files from your rom, and you get a flashable zip. Very easy (assuming they have an icon style you like of course).
TD22057 said:
You can use the UOT Kitchen here: http://uot.dakra.lt/kitchen/
Pick the icons you want, upload the framework files from your rom, and you get a flashable zip. Very easy (assuming they have an icon style you like of course).
Click to expand...
Click to collapse
Sorry, once again I want to do this manually by reprogramming systemui/framework and do not want to use any third party app or the UOT. Thanks.
The files are in the SystemUI.apk file. You need to replace ALL the files named stat_sys_battery*.png (there will usually be like 100 for % and another 100 for charge) ex: stat_sys_battery_98.png & stat_sys_battery_charge_anim99.png
You will find the files in res/drawable-hdpi
All you need to do is replace the existing ones with the new ones. I would make a backup cause stuff does go wrong. Also I find it easiest to replace the SystemUI.apk using a flashable zip file.
If you need help with any of this just let me know.
CyberpodS2 said:
The files are in the SystemUI.apk file. You need to replace ALL the files named stat_sys_battery*.png (there will usually be like 100 for % and another 100 for charge) ex: stat_sys_battery_98.png & stat_sys_battery_charge_anim99.png
You will find the files in res/drawable-hdpi
All you need to do is replace the existing ones with the new ones. I would make a backup cause stuff does go wrong. Also I find it easiest to replace the SystemUI.apk using a flashable zip file.
Click to expand...
Click to collapse
Ok, finally a sane person.
Just kidding, everyone means well...
Anyway, I am going to attach the framework & systemui.apk so you can see what I'm talking about. I am on Calk's v1.6 from here (in case you're not familiar with it, there are screenshots of the stock TW looking desktops):
http://forum.xda-developers.com/showthread.php?t=1527041
As you can see, the rom's using a 1% battery percentage icon set. However, they can not be found in either framework or systemui.
I know it should be that easy but I just don't know on this stock FE22 based rom.
Edit: There are 26 battery icons in systemui. They do appear to be similar to the ones for the rom but the numbers are missing from the icons so I'm taking a stab that somehow the numbers are superimposed over the icon and this rom does not use the entire 200 or so individual icons if that makes any sense. Gonna test that theory.
Ok, finally figured it out. The developer's aren't putting the full 1% battery icons in yet and the stat_sys_battery.xml files haven't been edited for that yet either. Guess I'll just have to change that .
Thanks everyone.
tdunham said:
Edit: There are 26 battery icons in systemui. They do appear to be similar to the ones for the rom but the numbers are missing from the icons so I'm taking a stab that somehow the numbers are superimposed over the icon and this rom does not use the entire 200 or so individual icons if that makes any sense. Gonna test that theory.
Click to expand...
Click to collapse
I confirmed the battery percentage numbers displayed on the status bar are hard coded into the stock ICS rom. I even removed all of the battery png files and the only thing that remains is a lonely little '89%' showing in the notification bar w/o the icon around it.
Anyone know where the code for that might be?
Found this too. Settings, display
Sent from my SPH-D710 using XDA
tdunham said:
I confirmed the battery percentage numbers displayed on the status bar are hard coded into the stock ICS rom. I even removed all of the battery png files and the only thing that remains is a lonely little '89%' showing in the notification bar w/o the icon around it.
Anyone know where the code for that might be?
Click to expand...
Click to collapse
Do you want me to edit the xml for ya to add the battery images and then send you the sytemui? Or I could send you the xml files to replace the old ones.
Sent from my E4GT while experiencing some Wicked Sensations™.
dazednconfused said:
Do you want me to edit the xml for ya to add the battery images and then send you the sytemui?
Click to expand...
Click to collapse
Thanks Dazed. I finally got it all figured out. What was killing me was Calk has a bad .9 png file in the systemui so it refused to recompile correctly until I corrected it.
True 1% battery (stock ICS didn't have true 1% .png's), Green Goblin sig bar, White Clock & Big Battery.
I've attached a screenshot.
Edit: I did edit the battery xml's for the 100 or so .png files I added to systemui btw. Plus I enjoy learning to do it myself. We're kinda starting over with ICS.
tdunham said:
Thanks Dazed. I finally got it all figured out. What was killing me was Calk has a bad .9 png file in the systemui so it refused to recompile correctly until I corrected it.
True 1% battery (stock ICS didn't have true 1% .png's), Green Goblin sig bar, White Clock & Big Battery.
I've attached a screenshot.
Edit: I did edit the battery xml's for the 100 or so .png files I added to systemui btw. Plus I enjoy learning to do it myself. We're kinda starting over with ICS.
Click to expand...
Click to collapse
Cool. I know the ICS apk's can be a big pain at times getting them to decompile and compile. Glad you got it man.
Sent from my E4GT while experiencing some Wicked Sensations™.
could someone explain it to me also which xml file u have to edit for battery on ics/jb ??
ive changed the png but still no luck D
AskinSavascisi said:
could someone explain it to me also which xml file u have to edit for battery on ics/jb ??
ive changed the png but still no luck D
Click to expand...
Click to collapse
Im pretty sure if you want to make changes it will be this directory SystemUI/Res/drawable their you will find stat_sys_battery xml along with the charging xml as well...
thanks found it and working now xx
Seeing this post amazes me... even the machine we know as TD was once like the rest of us. Yet another reason I love XDA.
Sent from my SPH-D710 using xda premium

Categories

Resources