yashsingh1/xdaforums huggingface dataset:
[Vibrant Themes and Apps] Bugdog:
+1 here - I'm running Eugene's Vibrant6 w/lag fix and the blue circle. I can't say for certain that my battery life is as good as before this mod, but I can say that it is great. With regular usage (widgets, live wallpaper, gps, wifi) throughout the day I'm rarely lower than 50% by bedtime; with heavy usage I might get below 30%. I've never had to recharge before the end of the day using this phone.

LOVE this mod BTW, thanks! :)
[Vibrant Themes and Apps] zimphishmonger:
Glad your not seeing any extra battery loss. I didnt think having those extra images would cause extra battery loss, as it was still checking the battery percentage as often, but wasnt 100% sure. I couldn't accurately test for it either, as I'm experimenting w/ so many different mods and tweaks atm.

Everyone should always keep clockwork recovery as update.zip in the root for emergencies (because we all know, sh*t happens at the worst time, usually when your away from a PC). As CyberGuru65 mentioned, the file is always available in /sdcard/clockworkmod/recovery-update.zip for you to copy over.
[Vibrant Themes and Apps] junkdruggler:
Why would you not have cwm as your update.zip? Thats just asking for trouble... well unless you don't ever change anything and never do backups...

Ive pushed 6 services.jar today, had to restore a nandroid twice, and flashed both framework-res.apks twice..
[Vibrant Themes and Apps] PowSniffer0110:
Best looking one on here. Thanks for the hard work!
[Vibrant Themes and Apps] zimphishmonger:
No Problem, glad everyone likes it. I only ported it over, and figured a way to get it flashing in clockwork recovery. Some one else came up with the idea to modify the XMLs to accept the hundred or so images, as opposed to five, and great the ima

I am still determined to get a MetaMorph of this working, but for the moment, you need to apply it first via update.zip, then apply another metamorph of some different battery images......which totally gets rid of the point, make theming easy and customizable. For the time being, the update.zip installation is the only method.

Stericson's busy atm, so I dont expect a MM update to help this issue out any time soon. When he gets back, hopefully.......
[Vibrant Themes and Apps] PowSniffer0110:
I personally like flashing via clockwork rather than metamorph. Idk why haha
[Vibrant Themes and Apps] Bruzkee:
Backed. Much better than stock battery display and better than any widget out there.
[Vibrant Themes and Apps] stitch1001:
Thank you! It looks so much better
[Vibrant Themes and Apps] Sapient Prophet:
I noticed an issue where I kept getting the normal looking battery icon. I started watching it and discovered that it happened only at 80, 60, 40 percent and so on. I realized that it was the same battery icon that I did a while back. I installed a battery mod that was supposed to be a more accurate battery (which didn't work). It looked almost like the stock icon, just a tad different. The weird thing is I installed the blue circle after I did this. However, to be proactive I found the stock battery install and reinstalled it then I installed the blue circle again. Just in case anyone is having the same issue. It's worked perfect since.
[Vibrant Themes and Apps] PowSniffer0110:
Anyway you could do one without changing the whole framwork look? I'm on vibrant7 now and if I flash it'll take my whole modded black look off and go back to ugly stock blue. Thanks for the work
[Vibrant Themes and Apps] Beast84:
+1 for this! I love this mod but using it with Vibrant7 is a no go
[Vibrant Themes and Apps] zimphishmonger:
I will try to make a version of the 2 battery mod from the OP for Vibrant7 tomorrow. I think it should be a easy switch :cool:

EDIT: Okay, fine....I got both done :) . Segmented Battery Green and Circular Battery Blue for Vibrant7 on the OP :D Let me know if it doesnt work, as I'm not running Vibrant7 and didn't have a chance to test them
[Vibrant Themes and Apps] PowSniffer0110:
Saaaaweet! thanks :cool: flashing now
[Vibrant Themes and Apps] PowSniffer0110:
Doesn't work!!! No battery symbol whatsoever, just blank.. please fix. Also thought this would ONLY change battery icon and not stock blue WiFi, edge, 3g icons.. thanks for help hopefully ill have a battery icon by tomorrow morning lol
[Vibrant Themes and Apps] zimphishmonger:
It should, as I pulled that framework-res.apk from Vibrant7. I pull them and try again tonight
[Vibrant Themes and Apps] PowSniffer0110:
K thanks. I'll be checking frequently lol
[Vibrant Themes and Apps] frankencat:
So I tried to add this to the Black Gloss theme posted by jonnybueno and the animation / icons switching didn't work. Anybody know what controls that? A config or xml file perhaps? Thanks.
[Vibrant Themes and Apps] zimphishmonger:
LOL Vibrant8 came out, and Eugene363 immediately told us about Vibrant9. Really not sure which to go to. May wait till he gets 9 out, as TouchWiz will be GONE! :D
[Vibrant Themes and Apps] zimphishmonger:
It really depends, theming issues can cause some really weird stuff to happen. Need a better description of the issue.
[Vibrant Themes and Apps] Spiffywerks:
This is a really great looking mod! Thanks!
[Vibrant Themes and Apps] PowSniffer0110:
I'd wait for 9. 8 is very similar to 7 but has normal kernal.. Im running 7 flawlessly and very quick :D
[Vibrant Themes and Apps] javacody:
I love this mod!!!

This is how the phone should come stock. Hell, this is how all android phones should come, stock!
[Vibrant Themes and Apps] frankencat:
I am modifying a theme and it looks like I need to modify the stat_sys_battery.xml and stat_sys_battery_charge.xml files so the system knows about the new/additional battery status icons. So I decompile the framework-res.apk and do my changes. Now I need to find a way to either recompile the franework-res or just the XML files themselves and then package up the changes. I have tried apktool and apkmanager but when I try to recompile the framework-res I get a bunch of errors like "xxx declared here is not defined." and

Public symbException in thread "main" brut.androlib.AndrolibException: brut.comm

on.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\myhome\LOCA

LS~1\Temp\APKTOOL7548551203336932426.tmp, -x, -0, arsc, -S, C:\android-sdk-windo

ws\working\framework-res\res, -M, C:\android-sdk-windows\working\framework-res\A

ndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)

at brut.androlib.Androlib.buildResourcesFull(Unknown Source)

at brut.androlib.Androlib.buildResources(Unknown Source)

at brut.androlib.Androlib.build(Unknown Source)

at brut.androlib.Androlib.build(Unknown Source)

at brut.apktool.Main.cmdBuild(Unknown Source)

at brut.apktool.Main.main(Unknown Source)

Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\D

OCUME~1\myhome\LOCALS~1\Temp\APKTOOL7548551203336932426.tmp, -x, -0, arsc, -S,

C:\android-sdk-windows\working\framework-res\res, -M, C:\android-sdk-windows\wor

king\framework-res\AndroidManifest.xml]

at brut.util.OS.exec(Unknown Source)

... 7 more

Really all I need to do is recompile the .xml files to binary and that would be fine but I can't see a way to do that. Any help appreciated. Thanks -Frankencat
[Vibrant Themes and Apps] junkdruggler:
I have the same problem... I can't even compile wo making chages... this used to work... don't know what changed...
[Vibrant Themes and Apps] MV10:
I'm curious... is there something about Android 2.x or the Vibrant specifically that prevents updating these icons with an app?

On my G1 I had installed something (I forget what) that modified the stock battery icon on my notification bar. I hadn't bothered to root my G1 until the last few months I owned it, so it was just some regular app.

Basically I'm too lazy to screw around with all the unzipping and rezipping, at the moment at least, but I every time I see the thread bumped I keep wondering why an app can't do this.
[Vibrant Themes and Apps] junkdruggler:
Spare parts? I kanged it from cm6 for the vibrant... didn't get far with it... but I have been trying to edit them manually with no luck... TWiz sucks
[Vibrant Themes and Apps] MV10:
Oh yeah, I was forgetting we're dealing with TW here. Nevermind.
[Vibrant Themes and Apps] rbirg:
Great addition, thanks!

Much better than any battery widget.
[Vibrant Themes and Apps] zimphishmonger:
Do me a favor and try something, even though it seems backwards. Take whatever update.zip from the OP you want, Open it with WinRar or 7Zip (BUT DONT EXTRACT IT), navigate to the correct folder and simply drag your images back to drawable-hdpi (replacing the originals), and th same for the

uncompiled

xml files to drawable.

When I was messing around with the original battery mod, trying to get it to work w/ clockwork and our framework, I got it to work using the above method, even though it seemed backwards and didnt make much sense logically.

MetaMorph (but it requires root)? If so, we cant make a metamorph of this mod, because we are adding files that didnt previously exist within framework-res.apk. MetaMorph was specifically limited to only replace files, not add additional files. You can morph all you want after you first apply any update.zip version, as the files will be there (but there isnt much point to that, imo)

It is difficult to modify anything on /system w/o being rooted, so i have NO idea what app you're referring to.
[Vibrant Themes and Apps] jonnybueno:
uncompiled xml's will work? I think I need to try this then. Time was the only thing really stopping me.
[Vibrant Themes and Apps] cainnovacaine:
I tried this and it worked easily the first time. Thanks for all the hard work. Tomorrow night I am going to try to create a white-grey segmented circle if nobody minds my tinkering with their graphics(?)
[Vibrant Themes and Apps] frankencat:
Cool. I will give it a try when I have time, thanks.
[Vibrant Themes and Apps] :
"Update: 8/30/10: Vibrant7 versions are now available. REMOVED till issues fixed"

Hey zimp, I'm not entirely clear as to whether the OP is intended to indicate that Vibrant7 versions are available, or whether they've been removed (since there's still links on the OP).

I know you mentioned that there were problems with the Blue Circle and Vib7 (which I ran into myself), but I can't tell as to whether they've been fixed.

Also, has anyone tested this on Eugene's Vibrant9 yet? If not, I'll give it a whirl shortly.
[Vibrant Themes and Apps] zimphishmonger:
Eugene has been pumping them out like mad recently, I will try and put together a version for Vibrant10 (or Vibrant Hybrid), if im not too busy working with Supercurio's lag fix
[Vibrant Themes and Apps] zimphishmonger:
I'm certainly no theming expert by any means, but I did get it to work using uncompiled xmls......I actually have no idea why it works, it technically shouldn't but (shrug)
[Vibrant Themes and Apps] Hayzie:
Will this work perhaps on my MyTouch Slide?
[Vibrant Themes and Apps] PSP_Hacker:
Your MyTouch Slide will not boot because it now has shiny Galaxy sauce in it's insides. lol

Maybe someone on the MT Slide board can port this :D
[Vibrant Themes and Apps] sigilaikin:
Awesome sauce

Thank you very much for taking the time to make this. Finally have a battery indicator that works. Excellent job.
[Vibrant Themes and Apps] :
Awesome. Thank you!
[Vibrant Themes and Apps] SIKKBOY:
Hey zimp...love the mode however mine says 100 percent and then as soon as you unplugg it goes to 97...oddly it says battery full message , also applied one click lag fix....OCLF causing conflict?
[Vibrant Themes and Apps] Goog1e Phone:
Thanks for your continued dedication and involvement in this community! I hope you get this working on Eugene's Hybrid Vibrant soon. I can't wait. Love the rom and your mod! Sadly I can't use both yet.
[Vibrant Themes and Apps] keithrich1990:
Works great thanks
[Vibrant Themes and Apps] Arcadia310:
What roms does this work with?
[Vibrant Themes and Apps] geocepe:
thanks for this mod. Works Great.
[Vibrant Themes and Apps] PowSniffer0110:
Any word on hybrid? :rolleyes: cant really stand the old behold looking battery symbols on it. I try not to look back to anything doing with the behold2 and that nigtmare :p thanks for the hard work
[Vibrant Themes and Apps] Goog1e Phone:
+1. The battery meter on the Hybrid Rom is inaccurate and crap. =D
[Vibrant Themes and Apps] s0niqu3:
Well, I tried decompiling his framework-res.apk, and adding in the declarations for the 100+ new png files and the zzz_stat_sys_battery1.xml file to public.xml, and it broke like I've never seen with the stock framework, so its going to take a while to change all the resource id's in the declaration to be in the proper sequence (since it seems eugene is radically shortening the list of declared drawables in his rom) and test out.

And then of course, it might break again with any subsequent updates if he keeps modifying the framework-res.apk file for newer roms.

So, I was personally planning on waiting until we get a stock AOSP rom or a CM6 rom to update my battery mod, but I might give the new hybrid_r1 a shot sometime this weekend.

Hopefully zimp or I will get this working soon though.

Cheers,

=)

~ Jocelyn
[Vibrant Themes and Apps] Goog1e Phone:
Don't rush anything. I definitely appreciate everything you and zimp have done for this community. A simple widget from the market will have to do for awhile. =)

So since it doesn't work with r1. What about Vibrant9? Anybody having success?
[Vibrant Themes and Apps] Alex530:
Any way of metamorphing this?
[Vibrant Themes and Apps] junkdruggler:
Metamorph only changes files already there... This adds files, so no this is not supported by mm
[Vibrant Themes and Apps] PowSniffer0110:
Had the same thing happen to me. Unplug then plug in again for a little. Should go fully to 100. Check settings-about phone-status
[Vibrant Themes and Apps] zimphishmonger:
Sorry, been slacking and dealing with "lag fixes" (evil, btw).

Anyways, Ive tried with Vibrant7 and Vibrant9 to pull the framework, and insert the necessary files inside the update.zip. I keep getting no battery at all lol. Better then FCs but not exactly success.

Here's my experience with this mod, as its all been trial and error for me. I pretty much took the decompiled xmls & the 100 or so png files (can be found on second post as MM) and inserted them into the builds framework.

Regarding the decompiled part, I have no idea how that is working out. It goes against everything I know, but for some crazy reason it worked for me when creating the original files.

Will keep trying and see what I can do.

In the meantime, feel free to play with the files and your framework-res.apk and see if you can get it working. just make sure to backup first ;)
[Vibrant Themes and Apps] s0niqu3:
Hey Zimp,

The problem I've been running into with vib 7/9/hybrid roms is that you can't decompile & recompile with apk manager to build a new resources.arsc file, which is built from the publix.xml file. And of course, we need to modify the public.xml to define/declare the ~100+ new png files, and the zzz_stat_sys_battery1.xml files, else android doesn't know to use them, hence, no battery.

Eugene said he'd look into adding a version with support for these battery mods into his hybrid rom, and I uploaded a zip with the xml files, my png images, and the declarations that need to be added to public.xml, so hopefully we can get these working again soon.

Cheers,

=)

~ Jocelyn
[Vibrant Themes and Apps] lelf:
Work this on galaxy s (i9000)?
[Vibrant Themes and Apps] zimphishmonger:
Def not compatible because the framework-res.apk is specific to the Stock Vibrant build. You can try using the XML files and png images in the second post (my failed metamorph) and see if you can get it working. It MAY work, but I'm guessing some modification may be needed. Backup if you try it

Great, thats awesome the he is willing to do that for us, especially since he is so busy. I dont personally use Vibrant 7/9/Hybrid but Ive tried them, and would consider going back to one of them once this mod is working....im spoiled now :D
[Vibrant Themes and Apps] mananwala:
Does this work on Motorola Milestone?
[Vibrant Themes and Apps] Goog1e Phone:
Search. Seriously, it's not that hard. But here's a little tip to answer your question...you're in a Vibrant sub forum, and you're asking about your milestone. HMMMMM?
[Vibrant Themes and Apps] zephiK:
Read the post RIGHT above yours (except it wouldn't work at all.. unless you're a dev and can port it)

And no.. you're on milestone on another phone forum. That's like being on the Nexus One forum when u have a HD2 running WM still.
[Vibrant Themes and Apps] it2steve:
Evo Black Bar and Battery question

I have been reading and reading and just want to ask quickly... Is there a way to have both the EVO black bar with the circle blue battery? When I tried to apply one I would lose the other.

i apologize for the question as I found someone had done it modifying some files. I didn't know if there was a quick way for someone that doesnt know how to modify things like that.

Thanks in advance.
[Vibrant Themes and Apps] junkdruggler:
Delete all the battery icons out of the black bar mod and install after you flash the battery mod...
[Vibrant Themes and Apps] ciryan:
Love this mod...Thanks!
[Vibrant Themes and Apps] it2steve:
Thanks for that. However how do I delete the battery icons from the evo morph?
[Vibrant Themes and Apps] junkdruggler:
open mm

Pick new..

Pick black bar

Press home

Open astro, linda, file manager

Go to sdcard/android themes/black bar/res/drawable_hdpi

Look for the batty pics

Long press

Edit

Delete until there are no more battery pics..

Then open mm and flash
[Vibrant Themes and Apps] it2steve:
Perfect... Thanks junk !
[Vibrant Themes and Apps] mikey98277:
Love this, takes away the guessing work!
[Vibrant Themes and Apps] zimphishmonger:
FYI, This mod is incompatible with the newly leaked Tmobile firmware (T-959UVJI2). All the previous battery mods will NOT work, and will causes FC city if you try it. Its because I used the stock framework from the original Vibrant build, and they seemed to have changed something in the firmware. When we get update.zip versions of this build (as I hate ODIN only releases), I will put together a working accurate battery mod.
[Vibrant Themes and Apps] zimphishmonger:
Okay, Genesis1791 got me the framework, and I have a beta you can try. I have not tested this, as I'm not running that build at the moment. I am posting an update.zip and the framework-res.apk for you guys to test. Let me know if it works, doesnt work, etc.

I only did the Green segmented one to test. If it works ill do the other one a well

MAKE SURE TO BACKUP BEFORE TRYING THIS. I attached a stock framework as well just in case ;)

All should be flashable via Clockwork Recovery
[Vibrant Themes and Apps] gbzbar:
Sorry, doesn't work. Doesn't force close, but doesn't display any icon, whether charging or discharging.

Screenshot of relevant area of notification bar is attached.
[Vibrant Themes and Apps] SamVib:
Just as gilbar says. It doesn't display an icon.

had to do a nandroid recovery. :/
[Vibrant Themes and Apps] s0niqu3:
Hey Zimp, I got my mod working, just had to change a few of the declarations in public.xml

Here's my compiled apk, just rename the apk, replace with your png's and package as an update.zip.

Cheers,

=)

~ Jocelyn
[Vibrant Themes and Apps] Goog1e Phone:
Will this work with Eugene's r3?
[Vibrant Themes and Apps] s0niqu3:
Hi,

Sorry, but no, this will not work with Eugene's Hybrid roms.

Regardless of everything I try (and several other people too), I can't re-compile his framework-res.apk once making the necessary xml edits, so until someone specifically says "this is compatible with hybrid_XX" just assume its not.

Cheers,

=)

~ Jocelyn
[Vibrant Themes and Apps] gbzbar:
Hey Jocelyn -

I tried updating using your framework.apk. The icon works fine, but I get a whole bunch of force closes in various apps. Phone is unusable unless I nandroid back.

Any suggestions? Perhaps you could post a full .zip (either clockwork or not) that I could try and see what might be going on?

Thanks for the great mods.
[Vibrant Themes and Apps] s0niqu3:
Hi,

First, you did name it framework-res.apk and not framework.apk, right?

BIG difference between the two names.

And again, this is only for the leaked JI2, this will not work on vibrat7,8,9 or Hybrid r1/r2/r3/etc.

Second, only thing I can suggest is wiping your cache and dalvik cache from clockwork mod recovery, and rebooting. Works for me pretty much every time.

Lastly, sorry, I'm not going to make anything into an update.zip or an kind of releasable package until we have an official firmware update from tmo/samsung, or a CM5/6 release from the dev community. I made this mod for myself, while trying out the new JI2 rom for a couple days, and uploaded my apk so Zimp could try to get his mod working, WAS NOT intended for anyone else to use it, and I'm not going to give anymore support than my suggestions to clear cache above.

Sorry, but cheers anyway

=)

~ Jocelyn
[Vibrant Themes and Apps] gbzbar:
Of course it's framework-res.apk. And yes, JI2. I'll try Cache and Dalvik and see if it'll get itself working. If not, I guess I'll just play around with it a bit more and see if I can come up with anything else until someone compiles a working zip.

Thanks.

PS - I'm not looking for any kind of support on the uploaded file or anything like that. I know that I'm using a leaked beta rom, a mod that can easily break things, and an unsigned uncompiled framework file.

Thanks again for all your work. I have really enjoyed all your mods you have put out.
[Vibrant Themes and Apps] s0niqu3:
Hi again,

Sorry for being so *****y, I've just been extremely irritated by how it seems like 99% of the people on the boards want someone else to do the work for them. And yeah, I was probably being a bit defensive because this is something I threw together in just a few minutes for myself, and since my original mod was a variation of zimps work porting the fightspit mod to the vibrant, I thought I'd share my work back for him to use.

Anyway, FYI, the file is compiled, and retains the original framework-res.apk signature (general tip, never sign/re-sign a system apk, always copy over the original signature)

Literally all I did after I compiled, was an adb push unsignedframework-res.apk /system/framework/framework-res.apk

then adb reboot recovery, clear cache partition, reinstall packages (to load clockwork) then clear cache again, then advanced - clear dalvik cache, and lastly rebooted.

Also, can you list the apps that you're having FC issues? I've not had any issues with my phone, so I can't really try to duplicate your errors myself. And do you have any other kind of hacks/metamorphs/etc installed? I tested on my phone only, and only with a clean install of JI2 from ODIN.

Good luck, and cheers,

=)

~ Jocelyn
[Vibrant Themes and Apps] daddysays:
I will happily accept an Odin version of this, I dont mind using that at all and miss the accurate circular batt. Otherwise I love the new leaked update. My phone is sick fast with no lagfix.
[Vibrant Themes and Apps] s0niqu3:
Hey again, one last suggestion to try, if you can get into rom manager, try running the fix permissions script, then reboot and clear cache & dalvik-cache again.

Cheers,

=)

~ Jocelyn
[Vibrant Themes and Apps] gbzbar:
Jocelyn -

Yeah, it was the Cache and Dalvik that was causing the crashes. It works perfectly now after clearing both. Sorry, but I tried that step before I read your replies, so I can't tell you now what apps were FC'ing. I know that among them were Launcher Pro and com.android.phone.

Beyond that, couldn't tell you.

And I can understand your frustration with people asking for their hands held. I never look for a handout, I try to learn for the future. I just didn't think about clearing the caches (my stupidity), and I can pretty much guarantee I won't forget that step again.

But thanks for all the help, and for making a framework that works on this rom (NOT for general distribution, of course). :D
[Vibrant Themes and Apps] s0niqu3:
Glad you got it working.

Cheers,

=)

~ Jocelyn