yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] ~SonkuB~:
Wow, Thank You.
[Samsung Galaxy Nexus] rabaker07:
Is it possible to alter the:

"Off Center Battery by mrvirginia

modeled after AOKP. stock images with number"

Can you change the gray to white?
[Samsung Galaxy Nexus] mike216:
Could you possible make me a CM style battery mod with the percentages from androidusers neopolitian 2.2 rom. Ill upload the system ui apk if you don't mind. I know his rom has customize able toggles in it,thanks

BEST DAMN PHONE BECAUSE WE HAVE THE BEST DAMN DEVELOPERS!
[Samsung Galaxy Nexus] itsjusttim:
This is a great thread. Thank you for the hard work.
[Samsung Galaxy Nexus] mike216:
http://db.tt/v6E4LWXk

Here is my system ui. If anyone could create a CM style battery mod with the percentages that would be awesome. This is androiduser 2.2 rom with the customize able toggles in the drop down. Thanks
[Samsung Galaxy Nexus] ock:
I created a higher-res version of the Gingerbread battery some time back.

Here's the thread with the source images and animated xml
[Samsung Galaxy Nexus] mrvirginia:
yes! i'm not sure why i didn't initially do this. makes sense. i'll get right on it. thanks mate! :)

yep! i made it a light gray to match the AOKP but i can certainly do a white version. i still have all of the psd's. i'll get to this as soon as i have a chance.

yes, i'll look into this.

thanks mate! this will def be added within the coming days ;)
[Samsung Galaxy Nexus] mrvirginia:
woops 10char
[Samsung Galaxy Nexus] ratcom:
many thanks :D looks great on my villian rom
[Samsung Galaxy Nexus] friguy3:
So I have never done anything with apk's or anything...where is the systemui.apk? On the phone's rom that is already installed or in the zip file of the rom before its installed? I searched in both (with root explorer) and cant find "that" file. I thought I did find the right file, aokp_toro_build-14.zip\system\framework\framework-res.apk. then open that with winrar and go to framework-res.apk\res\drawable-xhdpi. Extract that folder and then put the files in there? Now what? I copied that "new" folder back to the apk. Now can i flash that apk? am I WAY off? Id love to be able to learn and do this myself so I can change the bat icons myself now with this great thread!
[Samsung Galaxy Nexus] zombieflanders:
SystemUI.apk should be located in /system/app/
[Samsung Galaxy Nexus] friguy3:
Thanks! Well what do you know...there she is. huh. So i can take that file off the phone, do the file copy with winrar and then put it back on the phone and just...restart it? Its just that easy?

:EDIT: Whow, I just watched some video (was a great video) on how to decompile an apk. If I have to do all that, I think Im way in over my head!
[Samsung Galaxy Nexus] mrvirginia:
if your SystemUI.apk already has batteries 0-100, no decompiling is required. just replace the battery images.
[Samsung Galaxy Nexus] friguy3:
Thanks, but I think Im giving up. So I found the systemui.apk on my phone (running aokp rom) and when i copied it to the sdcard, it would never show up on my computer, but i can see it on the phone. So I extracted the files, all using root explorer (bc I couldnt just copy paste them into the apk file). Then I pasted the files into the folder...and rezip it? Thanks for the help but sometimes, we have to know our place in life. and this isnt mine! lol
[Samsung Galaxy Nexus] 0mie:
I can make the MetaMorph files...who's interested in using those instead of modifying the apk each time? If there is enough interest I can start them tonight, I have created a bunch for the soft key thread :)
[Samsung Galaxy Nexus] itsjusttim:
Thank you for the constant updates.
[Samsung Galaxy Nexus] fourhair:
hi, I know how to modify the image but my SystemUI.apk does not have batteries 0-100, would you please help me to modify it? thx a lot
[Samsung Galaxy Nexus] nbeebe24:
I have a battery mod similar to one already posted, but I think it fits better. Its shown in the screen shot. OP, will you include it?
[Samsung Galaxy Nexus] allen2oo3:
could someone help me with a flash-able zip? tried myself but failed. i want AxiomDottedCircle

thank you
[Samsung Galaxy Nexus] nbeebe24:
Try this: http://www.mediafire.com/?5z2729kk9td3ffe
[Samsung Galaxy Nexus] allen2oo3:
thanks for the zip. tried flashing it but the battery is still the same.
[Samsung Galaxy Nexus] nbeebe24:
Oh... I assumed the systemui apk you posted had the mod in it. So you want it added to your apk and put into a flashable zip?
[Samsung Galaxy Nexus] allen2oo3:
yea sorry. im not sure how to edit an apk. i tried but it didnt work. if you add it to the apk, i can copy it into system/app myself
[Samsung Galaxy Nexus] nbeebe24:
Okay. I'll pm it to you
[Samsung Galaxy Nexus] zombieflanders:
FWIW, the OP of the 1% Battery Mod says not to try it on Odexed ROMs, which presumably includes anyone running stock. Is that a limitation of the ROM or just the modder not wanting to mess with the XML involved?
[Samsung Galaxy Nexus] mrvirginia:
they can be used in odexed ROMs, but you have to make the apk and odex yourself. you can't just throw them in or break down an apk that is a part of an odexed ROM. we deodex to make mods/theming easier.
[Samsung Galaxy Nexus] mrvirginia:
yes, our phones are weird regarding files showing up immediately on the sdcard. if you copy something over to it and do a reboot on your phone, it'll show up on your computer.

what are you trying to re-zip? you should just be dealing with the apk unless you are trying to make a flashable zip. if you have no installed any mods to your AOKP that pertain to your SystemUI.apk, then you can just use 7-zip to open the archive of that ROM, navigate to your SystemUI.apk, pull it straight out (no unzipping necessary). then use 7-zip again to open that apk as an archive. then navigate to res\drawable-xhdpi\. in here you should see battery images 0-100. i'm not certain if AOKP supports it other than text strings, though.

will PM you!

yes, please PM it to me. thanks!

edit: more to come today guys. thanks again :)
[Samsung Galaxy Nexus] gwwjpd:
subscribed

Sweet, I've been looking for the Pendo Circle Battery.

Thank you. :)
[Samsung Galaxy Nexus] mrvirginia:
haha that one battery mod is the main reason i created this thread. i had to hunt it down. that one and my own are prob my personal favs ;)
[Samsung Galaxy Nexus] gwwjpd:
Gauge

I pulled these images from an Atrix ROM MOD somewhere, while searching for the Pendo Circle. This would be my 2nd choice. :)
[Samsung Galaxy Nexus] mrvirginia:
i saw this addition on he_stheone64's thread. just hadn't gotten around to adding it. pretty sure it's his though :)

i'll add it here shortly. thanks
[Samsung Galaxy Nexus] evilkal:
My thread has been updated with an ICS Blue version of my battery mod FWIW.
[Samsung Galaxy Nexus] mrvirginia:
thanks mate! i'll add that one too here in a few :)

edit: i'm going to hotlink your download links for that one but just an fyi, it's missing the charge_animfull.png...
[Samsung Galaxy Nexus] trevoryour:
I'm not sure what this means. How do I know if my SystemUI.apk already has support for 0-100? Is copying the png files into the SystemUI.apk not enough or does something else have to be changed in order for the phone to know that the extra images are there?

Also once the SystemUI.apk is updated what is the prefered method for getting it back on the phone. If memory serves me, replacing this file using Root Explorer results in crashes. Is it easy to make a flashable zip that can be flashed in CWM?
[Samsung Galaxy Nexus] mrvirginia:
the dev of the ROM usually states that it has 1% battery support. just copying the images over is not enough. xml calls these images into play. there's already a How-To guide on how to do this yourself. the xml files are provided, given the person attempting this is familiar with decompiling/compiling apks successfully.

it's really simple to make a flashable. you don't have to make one yourself, even. you can download someone else's mod that replaces any apk within system/apps and just replace whatever apk they have there with SystemUI.apk.

----------------------------------------------------

i should have one more for the thread today that i'm having to tweak myself thanks to someone not wanting to share with the community. if not today, then i'll have two for tomorrow.
[Samsung Galaxy Nexus] trevoryour:
Is there a way to check this? How is this support added? Is it a kernel thing or just a simple modification of the xml file you refered to? If so then where is the xml file and how does it have to be modified?

Where can I find this tutorial? Can you point me in the right direction or tell me what to search for?

I figured this much out for myself. I just wasn't sure what the rest of the files were in the zip file (Meta-inf\.., manifest.mf ect) I would rather learn how to make a flashable zip myself.

Honestly I really want to learn how to make my on ROM. I'm not programmer and I don't know much about compiling or anything like that so I know it will be a challenge. I figured I would start by trying to make my own mods first.

Am I right in thinking that if I take my own SystemUI.apk and modify it that I will retain all other customizations?
[Samsung Galaxy Nexus] nbeebe24:
Here is a link to a thread about adding 1 percent battery: http://xdaforums.com/showthread.php?p=19760562. As far as creating flashable zips, there are threads scattered around, just Google it. If you want to simply keep images from a previous SystemUI apk you can just swap the images. Features such as adding navigation soft keys and transparency etc require more advanced editing
[Samsung Galaxy Nexus] trevoryour:
I checked out that thread and it tells you which files need to be edited but it doesn't tell you what to edit. I looked at my xml files and they are giberish. Does decompiling fix this?

I don't know if I got an answer on if modifying my own SystemUI.apk vs using one someone else made will give me the benefit of being able to keep whatever customization are already built into the rom (dropdown widgets etc)

I'm confused on what the difference is between the SystemUI.apk and the framwork-res.apk. I found a number of tutorials that explain how to modify the battery using the framework file? Is this only for pre-ICS version of Android? What are each files used for?
[Samsung Galaxy Nexus] mr_psycho:
Generally speaking, replacing .png images in the zip/apk are allowed without the need to decompile. DO NOT replace .9.png files, unless you know what you are doing, though.

Decompiling the APK will only clear things up if you understand XML. Otherwise, the decompiled XML files will only look like a different kind of gibberish. lol

I'm no expert, but I know the SystemUI contains a lot of the status bar related icons and functionality. Stuff like battery icons, status bar expansion (ie. pull-down), etc. In the past, I have seen it where the battery icons are included in the Framework-res.apk instead of the SystemUI.apk.

Your best bet is to Google the difference between the two APKs. When in doubt, leave the mods to the "experts".

PS. You need the framework-res.apk in order to properly decompile some of the APKs in the Rom.

Good luck, and have fun.

MP
[Samsung Galaxy Nexus] nbeebe24:
It actually does tell you what to edit. Once you look inside of a decompiled apk you'll quickly learn what needs to be done. I advise decompiling an existing battery modded apk and analyze it. It'll give you s good idea of what needs to be done
[Samsung Galaxy Nexus] mrvirginia:
regarding your other questions, the guys gave some great info.

if you want to retain all other customizations, yes it is recommended that you modify the one you are currently running. this helps to ensure stability with your ROM as well as keeping any mods that are already built within that apk.

------------------------------------------

at least one new battery mod coming today. it's taking a huge effort on my part, as the original images were multi-colored and i'm replacing those with the ics dark blue (all 101 of them :eek:). i'm also having to re-create the charge_anim pngs since there's originally only 35. this particular one will be new to our device, and never seen in as good of quality with color (original was really messed up).

edit: this is prob not going to happen today. i'm just now finishing up 0-100 of the regular animation. i'm just trying to pay a lot of attention to detail. sorry guys. stayed tuned for tomorrow! ;)
[Samsung Galaxy Nexus] mrvirginia:
thread updated with the new one. i'm gonna be making the same one with no numbers for myself and will add that as another option.

edit: no numbers added. i may darken the gray to match the gray of the stock icons... not sure yet. haven't flashed it myself yet :p
[Samsung Galaxy Nexus] 0mie:
These are the same MODs in MetaMorph packs...they are named the same as the original, so they should be easy to find the ones you want/need

Dropbox:

Galaxy Nexus MetaMorph Battery Packs

Box:

Galaxy Nexus MetaMorph Battery Packs

MediaFire:

Galaxy Nexus MetaMorph Battery Packs

If you guys want direct linking, I'd appreciate a small donation to get a Pro account for each and have more bandwidth to help host all the mods :)

Also you guys know where the "Thanks" is located ;)
[Samsung Galaxy Nexus] evilkal:
Guess I saved you some work by making my own Metamorph files huh? Lol
[Samsung Galaxy Nexus] 0mie:
Sure?

I already had some made from the soft key mods...just changed the names of the devs from this thread and added their icons
[Samsung Galaxy Nexus] sluflyer06:
Downloaded the Andy metamorph and works perfect on AOKP with a systemUI.apk from he_stheone. Thanks!
[Samsung Galaxy Nexus] Archangel:
Downloaded Andy for codename 1.1.0 and it removed my status bar and softkeys
[Samsung Galaxy Nexus] mrvirginia:
try just using the images instead.

i don't use metamorph at all.
[Samsung Galaxy Nexus] WillEat4F00d:
Is there a way I can get back to the stock battery? I used metamorph and got a new indicator, but since I'm the stock rom, the 1% doesn't work and the % doesn't really work.

Can someone make a metamorph for the stock indicator or is there a way to make the 1% to work on a stock rom?
[Samsung Galaxy Nexus] evilkal:
The 1% requires an XML edit that has been posted a couple times and with a how to I think.
[Samsung Galaxy Nexus] mike216:
can i flaone of these mods with metamorph onto gummy? thanks i love this OP :)
[Samsung Galaxy Nexus] Lizard King:
Flashed today with metamorph... flawless and phenomenal... thank you!

Sent from my LTE GNex
[Samsung Galaxy Nexus] itsjusttim:
Yup same here. Thank you.
[Samsung Galaxy Nexus] jordant2:
What ROM are you using? I want to try this on gummy rom.
[Samsung Galaxy Nexus] evilkal:
I'm running Gummy and have done all of my theming on it so it should be fine
[Samsung Galaxy Nexus] festermania:
Hi i have try circle.zip descarged from mediaFire, but doesent works for me.

MetaMorph said invalid file
[Samsung Galaxy Nexus] Dburgessme2:
I metamorphed the 1% gauge battery and I'm on Codename 1.1.1 with IMO's 1.6 kernel.

While plugged in/charging....all is good and I see the gauge battery and the hands and they do move along as it gets charged more.

When uplugged/not charging, I still get my same battery that came with Codename's ROM. I have to be missing something.

Any firm ideas?

Thanks!
[Samsung Galaxy Nexus] orphicone:
so no metamorphs exist for stock 4.0.2 LTE? : (
[Samsung Galaxy Nexus] festermania:
+1 for gsm version
[Samsung Galaxy Nexus] itsjusttim:
I'm on Bigxie 8. Works perfectly.

.

I'm on GSM 4.3 works fine.
[Samsung Galaxy Nexus] AlisCZ:
Some really nice statusbar icons are here:

droidxforums.com/forum/droid-x-themes/21518-themes-minimal-framework-icons.html

(can't post outside link)
[Samsung Galaxy Nexus] mrvirginia:
not really looking to add in mods for statusbar icons, just batteries. i like the comb one on that thread. may look into bringing that here in ICS color.

-----------------------------------

for those having trouble with Metamorph, please PM Omie and see if he will help you. i have little experience with Metamorph since i know how to do stuff manually. this is just a collection thread.
[Samsung Galaxy Nexus] evilkal:
I don't think any of these will work with the latest version of Gummy. Fair warning!!!
[Samsung Galaxy Nexus] mrvirginia:
it does, actually. just downloaded 0.5.5 to take a quick look. the charge_anim won't work, though, because his SystemUI.apk still has stock xml calling in 0, 15, 28, 43, 57, 71, 85 and 100. it's that for every variation of battery he has in there from bar to the circle battery. i've never seen anyone build a SystemUI.apk like this before. it's interesting how he has them built in. neat :)

--------------------------

updated the last one added to the thread to r1. i had to fix a few of the charging anim ones towards the end. sorry about that.
[Samsung Galaxy Nexus] itsjusttim:
working on bigxie 9 also.
[Samsung Galaxy Nexus] JCP SR:
Used metamorph with ICS circles on stock rom (cdma) and is working fine. Thank you,:D
[Samsung Galaxy Nexus] reverepats:
Hey OP looks GREAT!!!....thanks for the credit by the way. Good Stuff!!....
[Samsung Galaxy Nexus] mrvirginia:
thanks mate! you're welcome :)
[Samsung Galaxy Nexus] Tree of Knowledge:
Kind of a noob question. I'm having issues with this, when I go into root explorer and navigate to the system.ui apk and extract it that works fine. However, when I try to find the files that I've extracted they do not exist and even when using the "go to extracted folder" option that pops up in root explorer it tells me that it does not exist, any help would be appreciated.

Edit: Just tried it through metamorph and I'm having issues here as well, any suggestions.
[Samsung Galaxy Nexus] zombieflanders:
Wait, how did you do this? I thought you had to modify a bunch of XML files before getting Metamorph to work.
[Samsung Galaxy Nexus] mrvirginia:
you shouldn't be extracting the apk technically, but rather copy and pasting it to your sdcard.
[Samsung Galaxy Nexus] sluflyer06:
Have been using the andy icon metamorph on AOKP B17, it was fine until this morning and now its stuck at 100% even after a reboot....I've been on this build and batt icons for days with no issues....anyone else run into this problem?
[Samsung Galaxy Nexus] ClawDaddy:
I was able to apply the Circles battery meter using Metamorph on a stock, root 4.0.2 Verizon LTE Gnex. Initially I got an error message from Metamorph stating that the theme was incompatible. I backed out of Metamorph and went back in to check under "Pick Existing Theme" and was able to apply and reboot.

Thanks to all those involved!

UPDATE: While the mod works visually, I now see that the battery % will not update. CWM recovery saves the day again.
[Samsung Galaxy Nexus] zombieflanders:
Just to make sure I have it right, all you had to do was use the Metamorph version(s)? Did it give you the 1% mods to XML as well? If this is all it takes, that would be very cool.
[Samsung Galaxy Nexus] ClawDaddy:
Just noticed that the battery %, while displayed initially, will not update as it drains.
[Samsung Galaxy Nexus] WillEat4F00d:
Your % will not work correctly because the stock rom does not support the 1% increments. Instead you will see only 100, 85, 71, and a few more %. You will have to flash another rom for the % to display correctly.

I'm interested on how you got the stock battery back though.
[Samsung Galaxy Nexus] mrvirginia:
this is correct. as i've stated in OP, your ROM must already support battery increments of 1%. if it doesn't, using Metamorph will not magically add this for you.
[Samsung Galaxy Nexus] Tree of Knowledge:
Once I've done this I just place the zip into res\drawable-xhdpi\ and replace the originall systemUI apk in root explorer correct?
[Samsung Galaxy Nexus] ClawDaddy:
I have learned to flash CWM and backup from CWM recovery before I try anything like this.

I used CWM restore to get back to my stock battery.
[Samsung Galaxy Nexus] mrvirginia:
no, don't place the zip file there. as per the instructions:

place the images within res\drawable-xhdpi\. then replace the original SystemUI.apk. i haven't used root explorer to replace system apk's, i always instead make my own flashable.
[Samsung Galaxy Nexus] Tree of Knowledge:
Ah, that makes perfect sense. Thank you so much!
[Samsung Galaxy Nexus] mrvirginia:
np mate! ;)
[Samsung Galaxy Nexus] ktmbikerman:
Just noticed a really nice looking battery on another thread (pic attached). Any idea where to get it?
[Samsung Galaxy Nexus] evilkal:
Clashes with the blue if you ask me =P
[Samsung Galaxy Nexus] mild7intl:
Can someone make a white version of the circle batterry by pendo instead of blue? I think it would also look better if the empty gray parts of the circle didn't show. I broke my desktop and can't be doing this stuff at work:sly:
[Samsung Galaxy Nexus] ktmbikerman:
Just found the attached on a Galaxy S2 forum, done by Davids777... very nice indeed
[Samsung Galaxy Nexus] mrvirginia:
i can add this one to the OP. ever find the other you posted earlier? they're similar, but just slightly different.
[Samsung Galaxy Nexus] ktmbikerman:
Yup. I found it but the images need to be extracted from the framework-res.apk. I'll post ot tomorrow.

Sent from my superfly Defy
[Samsung Galaxy Nexus] dawiseguy77:
Hello mrvirginia in the metamorph links which one is the circle no numbers? I can't seem to find it.
[Samsung Galaxy Nexus] ktmbikerman:
Here are the pngs for the battery I found earlier. It was from a spear1403 post.
[Samsung Galaxy Nexus] mrvirginia:
i'd give 0mie a quick PM and see if he'll add that in. it was a latest addition so he couldn't include it at the time.
[Samsung Galaxy Nexus] ktmbikerman:
I always liked the attached battery but could never see the white text on the green battery, so I made the green blue. I'm not sure where the original ones came from. I didn't have the charge animations either, so I made those. It's a 20 step charge animation, as that is what my current rom uses.

Hopefully someone will like it :-)
[Samsung Galaxy Nexus] dawiseguy77:
Awesome
[Samsung Galaxy Nexus] dawiseguy77:
What does it look like? And this file can be used in zipthemer?
[Samsung Galaxy Nexus] smashcz:
Just wondering, how come all these png's are 38 x 38 and for galaxy s II they are the same 38x38.

I thought that because of higher resolution display (1280x720) it would have to be different... ?

Wouldn't it look better with higher res png's ?
[Samsung Galaxy Nexus] ktmbikerman:
You can download and unzip the files to take a look. You need to copy the png files into the correct folder in your framework-res.apk.

Sent from my superfly Defy
[Samsung Galaxy Nexus] mrvirginia:
no, not always necessarily the case with our device...

stock images were the following dimensions...

Width : 24 pixels

Height : 36 pixels
[Samsung Galaxy Nexus] mrvirginia:
i really like this, actually. i'm going to put this one up and also mod it for those who have their charge set up for 1-100 like myself. thanks mate!
[Samsung Galaxy Nexus] ktmbikerman:
You're welcome! Glad you approve :-)

Sent from my superfly Defy
[Samsung Galaxy Nexus] Mrwirez:
I just use ZipThemer to package and flash the Metamorph themes in CWM recovery. ZipThemer can be found in the Market or on xda soft key mod thread [with instructions]… It works with Metamorph themes and you can make an undo zip with it. :)

I used the Blue ICS-Full Circle battery by evilkal... Thanks btw, for the work and the thread!

---> BuglessBeast 4.0.3 01/18/12 nightly. 1% battery increments.<---
[Samsung Galaxy Nexus] mrvirginia:
bumping back to front page for better visibility...

i'll also have at least one to add for tomorrow :)
[Samsung Galaxy Nexus] nklenchik:
Can anyone make this a clockwork zippable file please?

http://www.multiupload.com/S1OSFPRUB0

My SystemUI is attached
[Samsung Galaxy Nexus] moosc:
Very nice collection. Would love to see a wifi cellular ant collection.

Sent from my Galaxy Nexus using Xparent Cyan Tapatalk
[Samsung Galaxy Nexus] mrvirginia:
np attached :)
[Samsung Galaxy Nexus] Lw00d:
will this work on

Galaxy Nexus LTE

unlocked

Root

stock rom
[Samsung Galaxy Nexus] mrvirginia:
no, can't be on a stock ROM if you want to use any of the images in this thread.
[Samsung Galaxy Nexus] Lw00d:
ok. thanks for the heads up.