yashsingh1/xdaforums huggingface dataset:
[Vibrant Themes and Apps] daddysays:
OK well this works perfectly now.

What I did was download vibrant A one from this post:

http://xdaforums.com/showpost.php?p=7708224&postcount=55

Then I put it in the root of sdcard (phone memory) and remaned it to update.zip

Then shut the phone down and rebooted into normal recovery (not clockworkmod recovery) and clicked reinstall packages, and when i restarted it says i have 83% which is exactly what phone says, and what I should have from when I rebooted phone.

Thank you guys for all your efforts.

***** EDIT: Now I see what another guy was talking about, need to plug in to reset battery stats, as they do not change. So still not working for me. Dont know what link the post below me is referring to, the A and C posts are the last links posted, that I can see.
[Vibrant Themes and Apps] s0niqu3:
Ok, the latest mod posted (with the new names instead of "a" and "c") finally worked for me, but also only when flashed from stock recovery, clockwork versions would hang during install, requiring a battery pull.

Love it, thanks for the fantastic work!

Cheers,

=)

~ Jocelyn
[Vibrant Themes and Apps] disturkis4u:
Great job everyone. One heck of an effort! Confirmed working here as well. Download, rename to update.zip, stock recovery, reinstall packages, reboot!
[Vibrant Themes and Apps] hussarfilms:
Working beautifully here on vibrant.

Many thanks for this awesomeness!!!
[Vibrant Themes and Apps] MINUS Stl:
Woo! Finally got it working this morning! The versions flashed through Clockwork never worked for me (bootlooped). Flashed the renamed (update.zip) in stock recovery this morning. :D Best Vibrant mod yet!
[Vibrant Themes and Apps] SE7EN-:
Yep the new posted files have out working 100% now. Thanks for the work getting this fixed for us!
[Vibrant Themes and Apps] SE7EN-:
Whoops..double post.
[Vibrant Themes and Apps] jzero88:
So is this confirmed 100% working? Screenshots showing the changes anyone?
[Vibrant Themes and Apps] zimphishmonger:
Awesome guys! Glad to hear its working. Now we just need to get it working in clockwork and get a metamorph made.

Sent from my SGH-T959
[Vibrant Themes and Apps] jzero88:
[CONFIRMED] Working 100%. Using SegmentedGreen. Awsome works guys!! The only thing is that it got rid of my clear bar metamorph theme, but I would rather have this than that :)
[Vibrant Themes and Apps] zimphishmonger:
No reason it should have gotten rid of the clear bar, doesnt change any of those images.
[Vibrant Themes and Apps] pgibbons:
It got rid of my clear bar as well. To get it back I just re-applied the clear bar Metamorph. I'm not sure why it didn't replace the battery icons after the re-apply but they are both working now.
[Vibrant Themes and Apps] jaker.the.skater:
i flashed the a version from the3dman13 on page 6 in clockwork recovery and it worked fine....

no hang ups nothing, and the battery percents are dead on. hmm. am i the only one to get this working?
[Vibrant Themes and Apps] AlanL228:
I flashed via stock recovery and percentage are dead on as well. Tried ClockworkMod recovery with every single one of them and all shows 100% when battery should be only 80%.
[Vibrant Themes and Apps] jaker.the.skater:
hmm that's really weird. like I said I somehow got it working with clockwork.

the only thing I can think of is that I have ryans lag fix. it seems like this would interfere with clockwork and this battery mod but maybe it helps? anyone else have the lad fix enabled?
[Vibrant Themes and Apps] AlanL228:
I have ryans lag fix enabled. Clockwork flashed but not reporting correctly. Flash through stock recovery get this working.
[Vibrant Themes and Apps] jaker.the.skater:
ok this is pretty weird. you have any other mods etc installed?
[Vibrant Themes and Apps] AlanL228:
No other mod installed. I just did a nanadroid image restore from the baseband rooted image. Installed the ryans lag fix, and clockworkmod recovery.
[Vibrant Themes and Apps] jaker.the.skater:
well I guess we should see what the3dman13 has to say then. I'm not sure what's causing the problem.
[Vibrant Themes and Apps] zimphishmonger:
I may have finally figure it out. The attached zip should work in Clockwork Recovery, and is the Circular Blue Battery w/ individual percentages. Who wants to give it a shot? :-)

Circular Blue Battery w/ Percentages - Flashable in Clockwork Recovery :D

Segmented Green Battery (White Text) w/ Percentages - Flashable in Clockwork

See Attached for files

Please leave feedback, thanks!

EDIT: Both worked for me in Clockwork. Hooray! :D Enjoy everyone! When someone else comfirms, I will update the OP
[Vibrant Themes and Apps] rbtady:
Nice the green segmented one works for me, seems accurate too :) Thanks!

Edit: Blue also works :)

Can you make one for the stock battery to work in clockwork, just in case anyone wants to go back?
[Vibrant Themes and Apps] zimphishmonger:
It was already made by the3dman earlier, Ill repost it. Enjoy! :cool:
[Vibrant Themes and Apps] daddysays:
Worked perfect using recovery for me, havent tried the new clockwork mod method, but got my clear bar back also.

Thank you SOOOOOO much, def best mod out so far!!!!!!!!!!!!!!!!!!!!!!!!!!!

I love you guys...... (teary eyed)
[Vibrant Themes and Apps] zimphishmonger:
Glad to hear it! The sheer brilliance of MetaMorph, you can apply multiple themes to fit your liking (this battery mod, clear bar or Evo Black Bar, for example). Hence why I want to get this mod working as a morph, but thats next step. For the time being, enjoy these clockwork-compatible update.zips
[Vibrant Themes and Apps] s15274n:
I second that, really need to get the evo black bar + the circle battery via morph :) (with stock revert too of course, ha).

Really happy to see this thread moving along so well.
[Vibrant Themes and Apps] rizzxx7:
thanks for this, using this with the clear bar as well
[Vibrant Themes and Apps] darkknight49:
worked!

worked beautifully! awesome work!
[Vibrant Themes and Apps] bvc:
great job...thanks
[Vibrant Themes and Apps] junkdruggler:
if you open up the MM file and delete the battery pics it should work with out changing what this does...
[Vibrant Themes and Apps] the3dman:
Great Job on the new clockwork ones, I tried them both and they work great!! I am glad you got them working, I gave up after I got tired last night lol.
[Vibrant Themes and Apps] Shagman68:
OK, so let me get this right, to make the MetaMorph of 100% battery, all I need to do is put the 127 battery icons and the 3 xml files (stat_sys_battery.xml, stat_sys_battery_charge.xml, zzz_stat_sys_battery_1.xml) in the right folders using the cpy command, and I'll have successfully created a working MetaMorph for this?
[Vibrant Themes and Apps] christpuncher:
So will this flash over evo blackbar with no issues?
[Vibrant Themes and Apps] Goog1e Phone:
So the updates work from click work? Do I need to clear the caches or anything like that like the first few pages mentioned? By the way, great job on this guys!

Sent from my SGH-T959
[Vibrant Themes and Apps] frankencat:
Thanks guys! Any chance we could get a segmented blue one?
[Vibrant Themes and Apps] zimphishmonger:
That is all you are supposed to do, but it doesnt work for some reason. I tried several times last night to turn it into a metamorph, but had no luck. Will try again tonight using my clockwork versions as a base.

There is no working metamorph of this mod yet, Im still working on it. You need the battery images and the xmls in the metamorph or it wont work, the XML files are telling Android to show all individual percentages, and the pictures are what it displays. neither can be removed. Also, if you are working on a MM, make sure to try it on a STOCK build, not one you previously applied the update.zip version to (gotta say it....)
[Vibrant Themes and Apps] zimphishmonger:
Feel free to modify the images as you please, the hard part was getting the XML to be recognized and to properly display all the different percentages, as opposed to 0, 20, 40, 60, 80, 100%. After applying the mod successfully, you can metamorph JUST the images to change the battery to whatever you want.

I didnt clear my cache, but you can certainly try it, if you have issues. The attached versions on the OP work fine in Clockwork Recovery
[Vibrant Themes and Apps] Shagman68:
I see the metamorph problem. It puts 2 of the 3 xml's in and the 20 40 60 80 100 png's in, because MetaMorph will only replace exact filnames within the framework-res.apk. It will not add new filenames that don't already exist. You have to make MM push the framework-res.apk file as a whole, which will wipe out other mods or morphs to the framework file. but it will work, but I have to leave for my job now...
[Vibrant Themes and Apps] zimphishmonger:
I dont think Metamorph can push entire apks, it simply rebuilds them by injecting images, xmls, or jars into the apk file. What you are describing can be done by applying the update.zip version and then applying the metamorph, which really has no purpose though. Ill ask stericson about it, and see what he can add to this conversation.
[Vibrant Themes and Apps] gasketman:
Installed the green segment update thru Clockwork Recovery and it worked PERFECT and ACCURATE readings !!! Glad to get rid of the inaccurate stock indicator. THANKS !
[Vibrant Themes and Apps] floepie:
Just a quick question: What would be the advantage of a working MM mod versus just using ROM Manager (update.zip), the way it works now? Same end, different means? Or, would a potential MM method keep all system files intact allowing for injection, or interception, of various system components?
[Vibrant Themes and Apps] junkdruggler:
Nothing really... Metamorph just lets you change without the reboot... But you have to reboot when changing /system/framework, so you still need the reboot...
[Vibrant Themes and Apps] zimphishmonger:
MetaMorph is a totally different beast. It injects the images, jar, xml files directly into the apk, as opposed to replacing it w/ another one.

Would allow you to layer multiple themes on top of each other, such as Installing the Evo Black Bar or the ClearBar, and then installing this battery mod. By using MetaMorph, you could do both, one after another. Using update.zip, you would overwrite the files and only have the one you applied last. Gives you a lot more choices, and makes it easier for others to add to your work, or customize it to their unique look. (ie. others can modify the battery PNGs and have a different battery look, but still accurate percentages)
[Vibrant Themes and Apps] musky:
This is awesome! Both versions are Working perfectly! Thank you!
[Vibrant Themes and Apps] turkdavid:
Ok well I cant get this to work. I changed the name to update.zip went into rom manager and slected insall rom from sd card and selected the update.zip file and the phone rebooted into recovery and I attempted to clear cache and install... every time I select install it says aborted. I even tried just rebooting into recovery from the rom manager. Am I doing something wrong? I have clockworkmond 2.5.0.4 . I have factory rom with root and some apps removed.
[Vibrant Themes and Apps] floepie:
I haven't done this yet, but have you tried booting into the stock recovery and tried from within that?
[Vibrant Themes and Apps] floepie:
Thanks for that explanation! I'm assuming that once the update.zip is performed you can also simply swap out the PNGs too, leaving the XML intact without the MM method, correct? Or, would one need to run update.zip to swap the PNGs every time?
[Vibrant Themes and Apps] mp2ning:
Great MOD guys I absolutely love it. It looks great and works a hundred times better than stock!
[Vibrant Themes and Apps] Lakers3408:
Do you get a weird thing in the center when charging?

Nice work BTW zimp
[Vibrant Themes and Apps] disturkis4u:
I think the 'weird' thing is supposed to be a picture of a plug in the middle of the circle when you charge =)
[Vibrant Themes and Apps] ttabbal:
Works great love the green battery.
[Vibrant Themes and Apps] zimphishmonger:
You can swap the PNGs any way you like, the usual way is to pull the framework-res.apk and modify it yourself, but MetaMorph allows you to JUST swap out the battery PNGs (or whatever you like)

Also, on the metamorph subject, Stericson, the dev of metamorph, has agreed to try and modify the app to support mods such as this. I will be testing out his new version, and making a MetaMorph of this battery mod when I can.

If you are interested: the reason metamorph isnt working is that it does not inject files if they dont already exist within the apk. In this case, we are adding about 120 images that didnt exist in the first place, so it freaks out. Ive been going back and forth w/ Stericson, and I think he will add an option to allow for this. Love the android community! :D

You are correct. I ended up liking the Segmented Green version better because its easier to read from a distance.
[Vibrant Themes and Apps] junkdruggler:
Will you ask him to add a prompt to reboot after flashing twframework-res? Along with the same disclaimer as framework-res?
[Vibrant Themes and Apps] zimphishmonger:
It doesnt actually NEED a reboot right at the point, and Im sure Stericson wont add an exception for all the various Android UI add-ons (SenseUI, TouchWiz, MotoBlur, etc). Its pretty much just a warning. It will ask you to reboot after it morphs anyways, or it will reboot in the middle, and you should apply the morph again (sometimes when it reboots in the middle, it doesnt inject all the files....sometimes).

Anyway, feel free to ask him yourself, as hes fairly responsive, but I doubt he will add an exception for every UI framework, its a lot of work.
[Vibrant Themes and Apps] Shagman68:
Pending that Metamorph update to inject new files (i already figured that one out b4 you talked to Stericson) I will be making new battery icons for my Harley theme utilizing the 1% battery xml files and my own custom png's. I'm glad he is adding that new file injection. That will really make Meta Morph rock.
[Vibrant Themes and Apps] zimphishmonger:
Ya, he said he would make it an option in settings with a warning. Sounds like a fix to me :D MetaMorph is the gift that keeps on giving
[Vibrant Themes and Apps] itsjusttim:
Works great! Extremely useful mod.. Thanks guys.

Typos/Nonsense due to Swype!

Stock Rooted + RyanZA LagFix
[Vibrant Themes and Apps] s0niqu3:
First, thanks again for all the hard work, truly impressive!

Second, I love the idea of having the full % in the battery icon, but wasn't terribly thrilled with the circular icons. So, I spent the afternoon making my own 127 png files to replace these with, that are based on the stock vibrant battery icon, just with changing color (green from 100-51%, yellow from 50-30%, orange from 29-15%, and red from 14-0%) and accurate % text inside.

I'm still doing some tweaking (I think I need to enlarge the % font) and maybe change the charging animations, this is the first time I've ever bothered to dive into theming anything, and had some issues with APKmanager that I just worked out a few minutes ago.

I also only bothered to go as far as ziping the new apk, and just did an adb push install it (on-top of the segmented-green hack already posted) and I can verify that it works for me, but some people might not want to have to re-add their accounts, which they'll lose by pushing my modified apk to their phone.

So anyway, I'm done for the night, but if anyone wants my apk to compile into an update.zip send me a pm.

Here's a screenshot of it charging, tried to use the 'plug' graphic from the segmented green mod, may change back to stock lightning-bolt icon though, I'm not sure I like the way it looks on the green, so I'll definitely be tweaking things tomorrow.

Cheers,

=)

~Jocelyn
[Vibrant Themes and Apps] neptune985:
Wasn't digging the green plug icon while charging with the blue circle icon set. So I modified it to use the segmented blue circle icons with white plug while charging. Like that charge animation better as well.

Rename the file to update.zip

Follow same steps from op to install.

Make sure to backup first !

Enjoy... clockwork version added

**UPDATED**

Fixed issue where when charging reachs 100% the factory battery icon appears until the charger is unplugged, then the blue circle 100 icon comes back. Now displays correctly.
[Vibrant Themes and Apps] zimphishmonger:
Great mods everyone. Glad to see people modifying it to suit their tastes

Sent from my SGH-T959
[Vibrant Themes and Apps] turkdavid:
Yes that said installation failed also. I'm in the process of downloading the green one and will attempted that one and see how it goes. Any other suggestions that i should try.
[Vibrant Themes and Apps] Calcvictim:
Thanks everyone for the contribution.

I installed from the stock recovery with no problems. I am using chainfire's ext3 lagfix.
[Vibrant Themes and Apps] zimphishmonger:
Please do provide at least the files, apk or an update.zip. Great addition to this mod. We will now have numerous different battery PNGs, to suit everyone's needs. Gonna have to update the OP soon.

If you are going to modify an update.zip, please use the ones from the OP, as they work in clockwork recovery. You just need to replace the framework-res.apk with your own, and distribute :)
[Vibrant Themes and Apps] turkdavid:
I got it to work. i was putting the file in the external sd card. Im a retared
[Vibrant Themes and Apps] neptune985:
Fresh clockwork version, same mods. Not familiar with clockwork yet though, so test please :D

Alrighty at the pc now, Attached the file to make life easier
[Vibrant Themes and Apps] zimphishmonger:
If you used my update.zips from the OP as a base, they should work fine in CW. Will try these different battery icons later. This will be awesome when we have MetaMorph working and can just select from numerous visual styles of battery icons :D
[Vibrant Themes and Apps] frankencat:
Can someone package up the blue segmented % icons along with the white plug charging icons into a Clockwork flashable package and post it? I don't have the means to do it at the moment. Thanks. :)
[Vibrant Themes and Apps] s0niqu3:
Making progress on a new version, decided to tone down the green color a shade, up the font size, and change the type-face too.

Still haven't decided about the charging animation yet, will have to wait and see how I feel about it when I get that far today.

Anyway, here is the OLD version, framework-res.apk, if anyone wants to try it.

FYI, a simple adb push to /system/framework and a reboot will work, but you'll likely lose you're google account and have to re-add it. You shouldn't lose any data, but because you lose the google account, its a good idea to switch back to TWlauncher for the install since it will cause all kinds of FC issues with launcherpro set as default, only until you re-add your account though.

Cheers, will post the updated version when I finish it today.

=)

~ Jocelyn
[Vibrant Themes and Apps] yipcanjo:
Segmented-Green "Clockwork" version worked just dandily for me. Thanks!

Only downside? Now I see how quickly my battery *ACTUALLY* drains....as I was blissfully ignorant before :)

Thanks for the hard-work and awesome mod, guys.

Yip
[Vibrant Themes and Apps] neptune985:
Yup I did, and yeah the meta will be sweeet!
[Vibrant Themes and Apps] joshthewaster:
No Kidding. Got this loaded and got to watch it drop. :(

Really it is great to know, thanks everyone for getting this working and I will check back for updates and variations.
[Vibrant Themes and Apps] s0niqu3:
Ok, finished my tweak, and I'm quite happy with it, so here's the new framework-res.apk, lighter shade of green, bigger, easier to read font for the battery %, and I tweaked the plug icon in the charging animation to be clearer and defined better.

If anyone wants to package it as an update.zip, feel free, just give me credit for the mod.

cheers,

=)

~ Jocelyn
[Vibrant Themes and Apps] frankencat:
Works on my Vibrant.
[Vibrant Themes and Apps] frankencat:
Nm.............
[Vibrant Themes and Apps] junkdruggler:
Apk manager by danesh is what I use...
[Vibrant Themes and Apps] s0niqu3:
Same here, its a great tool =)

Ok, I tried packaging my colored stock mod into an update.zip based off the segmented green clockwork zip, but nandroid is still running my backup, so I have no idea if this works yet.

Will of course try it and update in a few once my backup is done.

UPDATE: Just tested flashing the zip via clockwork, and it worked for me, so hopefully this works for others too.

cheers,

=)

~ Jocelyn
[Vibrant Themes and Apps] junkdruggler:
He has just come out with a program so we can edit paid apps... great tools... And he will help if needed...
[Vibrant Themes and Apps] frankencat:
Ok so I have created a blue segmented one myself but when I flash it to the phone the phone hangs at the Vibrant screen. I have signed the framework-res.apk and the .zip file and it seems like it installs but then nada. Anybody have a clue for a noob? Thanks.
[Vibrant Themes and Apps] s0niqu3:
if you've used the segmented green as your base to edit from, then your best bet is to use apk manager, and make sure you DON't use the sign-apk command.

Just extract the apk, replace your images, then zip the apk, and the zip command will give you the option to zip it as a system apk and include the original signature, which is necessary for these hacks/mods to work.

Hope you get it working.

cheers,

=)

~ Jocelyn
[Vibrant Themes and Apps] the3dman:
For those of you just trying to replace your images with your own images there is a much easier way than apk manager. All you have to do is:

Windows Users:

Download 7zip (http://www.7-zip.org/) and install it.

Then rename framework-res.apk to framework-res.zip

open the zip with 7zip (do not extract it just open it) navagate to the images folder and drag your new images into that folder and 7zip will overwrite the images in the zip with yours without affecting the other files.

Then just rename the framework-res.zip back to framework-res.apk

Linux users:

Follow the same steps above except you don't need 7zip just open the zip with the built in zip manager.

For reference changing image files this way leaves any signatures (on signed apk's) in tact.
[Vibrant Themes and Apps] frankencat:
Tested and working on my Vibrant. This is based on the green segmented one except the max levels are blue. I also incorporated the "plug" charging icons that were posted earlier. Hope you like it. :)

Edit: Updated. Works in Clockwork recovery. :)
[Vibrant Themes and Apps] junkdruggler:
Yes 7zip rules for stuff like this... I found that out by accident... Then couldn't understand why I needed to sign a month later...

Great info
[Vibrant Themes and Apps] zimphishmonger:
Maybe make the file name more descriptive. These are starting to pill up on my SD card, and I soon will be drowning in similarly named zips
[Vibrant Themes and Apps] VICosPhi:
thanks a lot for the hard work. It'd be great if there are segmented icons with or without phone being charged :D
[Vibrant Themes and Apps] kizer:
I dig it. ;)
[Vibrant Themes and Apps] gbzbar:
Is this what you are looking for? xdaforums.com/showthread.php?t=756627 Scroll down until you get to Vibrant, and I believe version B is what you want.

w/segmented charging.

Only problem is OP in that thread says it doesn't work with clockworkmod... but I'm sure someone here can take care of that. ;)
[Vibrant Themes and Apps] neptune985:
Someone already did :D
[Vibrant Themes and Apps] neptune985:
Theres one just a few posts up :D
[Vibrant Themes and Apps] floepie:
I wonder if there's a way to replace the charging animation of the segmented green version to something that simply reports the current charge in such a way as to see it immediately. Presently, you have to wait until the circle fills in to determine what the present charge is. I know, talk about lazy, but it would be more functional.

In order to do that, I think you would have to modify more than just the PNGs. Ideally, I would like to see a complete circle (of a different color to indicate charging) with just the % inside of the complete circle while charging.