[Q] New battery icon per % on CM wimax alpha 2 - EVO 4G Q&A, Help & Troubleshooting

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?

Related

[Q] Custom theme help (myn/riptide combo)

Hopefully someone can help me. a little background. I love a lot of the icons Riptide uses and the color menus. I also love a lot of the custom ui elements of myns.
In the past i have been able to "combine" the elements by editing the theme and have done a pretty good job doing the new riptide v9 and Myns rom (rls 4). I have everything almost exactly how i want it except for 1 part. This is what i am hoping someone can help with. As a warning i am not a developer just someone who has played around with changing themes etc to get the effect that i want.
In warm 2.2 when you pull down the notification bar you have a switch toggle. For some reason i cant seem to get it to show all the icons when i use riptide. it only shows 4. (see picture below.) I wouldn't mind the icons going back to the original ones in Myns if by changing them would still leave the icons on the notification bar itself as is. Anyone have any ideas on what i can tweak to try to get all of the toggles back on the screen? Is this something i would have to edit the .jars for? (havent had to edited them so far)
as an update i still can not get this working hopefully someone with more theme experience then me will be able to help. I have tried going .png by .png to find the gray boxes that show up. I believe i found them as the myn framework does not have that .png and it looks to be the box however i cant just remove the .png without bootloop. I am guessing i will have to adjust a .xml file or .jar to get this working as well

[Q] How to find/apply compatible themes? (Desire, MIUI-au Froyo)

I know this probably seems like a stupid question, but how can I find themes that are compatible with my current set-up?
I spent a couple of nights trying to apply various themes without realising that:
- The theme has to be specific to my ROM (in this case, the final Froyo-based MIUI-au)
- I won't be able to get MetaMorph to work because Desires have /system locked down.
Honestly all I want is a nice dark theme that doesn't have dark-grey-on-black text, and the glow battery indicator. I can apply this theme which seems to work ok bar the unreadable dialog text, but I can't seem to get the battery mod to work through Theme-Manager, and can't find how to pull my current systemui.apk out so I can drop the battery bits in and replace it.
I'm assuming this is because the file structure is different in gingerbread?
I'm completely lost at this point, so any help whatsoever would be insanely appreciated.
*EDIT* Can I use the kitchen, by any chance?
Dragunov-21 said:
I know this probably seems like a stupid question, but how can I find themes that are compatible with my current set-up?
I spent a couple of nights trying to apply various themes without realising that:
- The theme has to be specific to my ROM (in this case, the final Froyo-based MIUI-au)
- I won't be able to get MetaMorph to work because Desires have /system locked down.
Honestly all I want is a nice dark theme that doesn't have dark-grey-on-black text, and the glow battery indicator. I can apply this theme which seems to work ok bar the unreadable dialog text, but I can't seem to get the battery mod to work through Theme-Manager, and can't find how to pull my current systemui.apk out so I can drop the battery bits in and replace it.
I'm assuming this is because the file structure is different in gingerbread?
I'm completely lost at this point, so any help whatsoever would be insanely appreciated.
*EDIT* Can I use the kitchen, by any chance?
Click to expand...
Click to collapse
I was about to suggest that.
http://uot.dakra.lt/
Another good way is to use CM7 based theme that has Theme Chooser built in.
Third way is to use GO Launcher, which has a lot of customizable themes (although you need to pay for it)
Cheers... so how do I get the files required for upload?
I think it is easier to click on "Kitchen's list" and select the ROM you are using.

[Q] Pull Down Bar Background

Hello i was wanting to know how to change the image in the pulldown bar like you see in the UOT kitchen and if its possible to change the top buttons images like the wifi on / off and 4G on /off ect or the whole button itself
there in the SystemUI.apk located in system/apps
res/drawablehdpi folder
just edit in any image editor but try and stay away from the .9.pngs they are special and a pain in the bum.
you can just change .apk to .zip to unzip then rezip and rename.apk
you want the quicklaunch icons for the drop down icons
and status_bar_background for the actual background
thank you bro for such a fast answer
no problem i just happen to be trollin through
do you happen to know were the battery images are ?
and if i could just remove all the stock ones with ones from another theme for my phone ?
battery images are in framework-res
system/framework
if using ones from another phone you'll probably need to do some renaming
most roms currently on our phone use full 100 % increments
if i remember correctly there are 203 total 100 unplugged
100 plugged and a full empty and unknown
thanks again you have been a huge help
anytime
if noone shares the info this stuff can be a royal pain.
If you use the UOT Kitchen and keep getting errors, try un-checking Patch9 autofix. This will not decompile the 9patch images and may allow your theme to build. It worked for me with modding ACS Ice Cream Sandwich Theme (modded battery only).
thank you
and are there any other theme kitchens or rom kitchens for our phone ?
oh and i noticed there are two different default pull-down backgrounds one under systemUI.apk and one under the frameworks.apk and both are different sizes and dimensions , witch ones do i change ? or do i change both ?
the one you want for the drop down background is
status_bar_background.png
in SystemUI.apk
mjcollum said:
anytime
if noone shares the info this stuff can be a royal pain.
Click to expand...
Click to collapse
I'm fairly new to Android, coming from my FrankenPre to the Epic Touch. I want to begin editing the icons and images on my phone, and I've been exploring some ROMs ansd themes and switching up some icons, which have worked fine. However, I have no idea exactly where all the images are kept. For instance, I tried to change the stock Email icon, but the images I changed weren't right, and I was somehow left with the "Android Robot" icon.
My question is, seeing as how you know where these images reside on the phone, how do I go about knowing which icons are where, and which ones I need to change? Is there a list somewhere of the stock system images and their locations, or is it trial and error to figure out where they are? Thanks for the help.
mjcollum said:
no problem i just happen to be trollin through
Click to expand...
Click to collapse
haha "just rollin thru""

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] CM9/10/10.1 skinny battery w/ percent port

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????

Categories

Resources