[Q] CM9/10/10.1 skinny battery w/ percent port - Samsung Galaxy Nexus

Hello to all,
I have always wanted to use this aside from the circle mod which is awesome but I'm a little tired of it.
I've tried just putting the images in the Systemui.apk under res/drawable-xhdpi but does not want to display each percent...
also tried just putting the skinny png's from the cm10.1 systemui.apk and using the option icon with text but it doesnt look right...
at a loss here, i really want the thin batt w/ percentage from the cm roms ported to aokp as an option or if someone could tell me which part of the rom in cm is it that has the perfect precentage along with the pngs. thanks in advnace for all your replies!

Anyone????

Related

[Q] How do I replace battery icon on cyanogen

I have Cyangen on my incredible and I was wondering if I could replace the battery icon with an icon that has the percentage on it. I have battery issues and would like to have granular notification of the battery status.
I had a sense rom that had this built in. Now that i'm running cyanogen I would like it back.
Its also built-in you have to turn it on. It should b under settings, cm settings, you can change lots of ui settings, i.e....clock color, batt %, etc
Sent from my ADR6300 using XDA App
trevoryour said:
I have Cyangen on my incredible and I was wondering if I could replace the battery icon with an icon that has the percentage on it. I have battery issues and would like to have granular notification of the battery status.
I had a sense rom that had this built in. Now that i'm running cyanogen I would like it back.
Click to expand...
Click to collapse
You can use this site to change the battery icon among other things you can try the UOT Kitchen.
(Sorry, I haven't posted enough to be able to post links, so just Google the UOT Kitchen)
UOT Kitchen Thread is at http://forum.xda-developers.com/showthread.php?t=775970
UOT Kitchen is at http://circle.glx.nl/
it's pretty simple todo yourself. find a ROM that has that mod, and take some files from the drawable file add it to yours and then edit the pngs.. lou made a video its on his rom page to help with this specifically.

[Q] New battery icon per % on CM wimax alpha 2

I have been playing around with CM 6.1.2 wimax alpha 2. If you are unfamiliar with this it has some changes to the framework xmls and i am assuming some .jar files. These changes break themes that are not made for it. I have been modifying the files to get my theme working on it however have run in to a snag. I cant seem to get the "super circle Battery mod" to work with it.
I have moved over the files like you do with almost any other theme (after decompling for XML). i then re compile it and move the files over to my theme. At first this seemed to do nothing and it still only showed every 20%. Eventually i decided to modify the Stat_battery_ files by hand to. Doing this completely takes away the battery icon.
The question i have is has anyone gotten the super circle or similar battery mods to work (where it will change icons every %)? If so any guidance?

[Q] CM7 % battery in status bar?

I've got CM 7, the inbuilt % just gives a number next to a line and looks a bit rubbish! I'd like a mod that puts a number inside the battery, like the addons for ARHD do. I've seen some around but for different phones and I'm not sure if they'd work on the DHD or not.
Thanks
You can edit the battery icons with UOT kitchen: http://uot.dakra.lt/
Thanks, I also need it.

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

[Q] pulling a battery icon from one rom and using on another rom

im sure im overlooking something here, im trying to pull the circle battery icon from liquidsmooth rc9, and use it in jb sourcery 3.1lte. i cannot for the life of me find it in the original SystemUI or framework-res in liquidsmooth. i decompiled them and im digging around and was able to find all the battery icons EXCEPT the circle one. if anyone knows the one im talking about that would be awesome. its the cyan color scheme with a real smooth circular rotation when its charging. when it isnt charging it doesnt have any dashes or dots, just a solid circle and i think there was a battery percentage in the middle.
That sounds like it is the CM circle battery, which is actually done via code and not just simply images.
http://review.cyanogenmod.org/#/c/24736
cupfulloflol said:
That sounds like it is the CM circle battery, which is actually done via code and not just simply images.
http://review.cyanogenmod.org/#/c/24736
Click to expand...
Click to collapse
thats the one, looks like i'll have to live without it, i know nothing about coding lol

Categories

Resources