yashsingh1/xdaforums huggingface dataset:
[Vibrant Themes and Apps] disturkis4u:
That's also very possible. Anyone know the adb command or terminal command to clear cache using the method by modaco
[Vibrant Themes and Apps] the3dman:
Metamorph may be overwriting some of the files in the framework apk that this uses, so in order to make this work you would have to modify the morph to not overwrite those files.
[Vibrant Themes and Apps] the3dman:
adb remount

adb shell rm -rf /data/dalvik-cache

... I think, and it might be different for each lag fix. You can use root file explorer to find where the lag fix moved your dalvik-cache too then just update the location above to where yours is or use root explorer to clear it..
[Vibrant Themes and Apps] zimphishmonger:
Yes, I agree. However, I didnt clear my dalvik (and I happen to be using an EXT4 version of the "lagfix") or my cache and everything went smoothly. Cant complain, although I wish it was more consistent.

Like I said, Im gonna make a metamorph to give people another option if they dislike update.zip style theming

EDIT: Just went through your framework-res.apk. Noticed you ended up only using 4 different battery icons? I couldnt find all those battery pngs. Also only found two xml files that were mentioned in the original Desire post. How did you end up getting this to work lol
[Vibrant Themes and Apps] the3dman:
That could be part of the problem too... people with metamorph seem to be having issues from writing one over the other so it would be awesome if you could work this into a morph. Then maybe devs making new morph themes will create support for this too. The update.zip's are really best for people with no metamorph such as my self. Maybe you should put a note next to my files stating that they wont work properly with metamorph so that when you make your morph version they are not confused.
[Vibrant Themes and Apps] wpbcubsfan:
The SCGreyBattIconVibrant is exactly the same as the StockBattIconVibrant file! I kept trying to flash it and couldn't get it to change so I opened up the framework file and sure enough, it's the stock battery .png's! SCWhiteBattIconVibrant works fine though.
[Vibrant Themes and Apps] disturkis4u:
Then at least I'm not crazy =)
[Vibrant Themes and Apps] the3dman:
Sorry.... I feel dumb lol... I will update that file I might have uploaded the wrong one when I changed the name oops
[Vibrant Themes and Apps] daddysays:
LOL, I was wondering about that, I lost my clear bar but still had stock battery
[Vibrant Themes and Apps] disturkis4u:
Yeah the white one worked for me =) hehe well at least that solved my problem
[Vibrant Themes and Apps] the3dman:
My post has been updated with the proper SCGrey file. OP can you please update the grey file in the OP too? Thank You
[Vibrant Themes and Apps] zimphishmonger:
Well, as this 'morph' would be including xmls, it would be best to put this last. I see your point though, as a lot of morphs throw in unnecessary files. shouldn't be an issue if you run this last, but if the original theme modified any of these xmls, this morph will overwrite them.

EDIT: Just went through your framework-res.apk. Noticed you ended up only using 4 different battery icons? I couldnt find all those battery pngs. Also only found two xml files that were mentioned in the original Desire post. How did you end up getting this to work lol
[Vibrant Themes and Apps] disturkis4u:
Umm...? What's going on. About says 68% but meter says 80%
[Vibrant Themes and Apps] the3dman:
Possible a glitch Mine says the same thing.

Try charging the battery full then see if it moves down properly with the system info. It might be confused because we flashed it with the battery not full.
[Vibrant Themes and Apps] sunofnothing:
my battery widget (fann software) is reading 76%, just like in status, while the battery icon in the notification bar is reading 80%
[Vibrant Themes and Apps] s15274n:
What's the deal with metamorph & the market? I've heard there are issues, but I don't understand.
[Vibrant Themes and Apps] zimphishmonger:
There was issues a LONG time ago, some people donated but that version isnt maintained anymore. However, Stericson emails us new versions on a regular basis. Its an EXCELLENT app, one of the most innovative ive seen. The possibilities are pretty much endless.

On that note, testing out these mods in metamorph form right now. Either gonna have 2 beautiful batteries come up, or two horrible boot loops.

EDIT: I was totally wrong, No battery at all HAHA. Guess I have some tweaking to do.
[Vibrant Themes and Apps] SE7EN-:
Okay I got it working now. Much better looking than stock but the numbers are a bit off. Will charge to 100% and keep an eye on it.
[Vibrant Themes and Apps] zimphishmonger:
Hey guys,

again, sorry for the lack of any new work. Im trying to figure out which build Im sticking with, and Im having some issues theming MacnutR12.

For ANY build that already has some type of accurate battery mod, meaning it shows the exact percentage, you can simply flash that metamorph on the OP. Thos builds should already have all the necessary XMLs and just need the images swapped out in the framework-res.apk. Been using this method for a while w/ Obsidian & Onyx, super easy :D
[Vibrant Themes and Apps] ciervo5389:
Can this flash over Black froyo theme? so i dont have to have the gray battery?
[Vibrant Themes and Apps] reddragon72:
Can these be updated for the stock 2.2 JK6? the last time I used them they turned a bunch of areas in the phones menus to black, but I think that may have been a stock 2.2 JK2 issue, but still I am looking for these to work on JK6 stock 2.2, the flashable one that whiskey did(not a whiskey rom just the stock one they fixed to be flashable.).
[Vibrant Themes and Apps] dbacchus:
+1 Would be very nice indeed!
[Vibrant Themes and Apps] ans1215:
ive searched and searced and cant find a confirmed working stock 2.1 rom segmented blue battery icon so im requesting one, or a link to one
[Vibrant Themes and Apps] zimphishmonger:
You can easily take the green one find a ROM with the blue battery, (they're all around, its a fad recently) and simply open the green.zip in Winrar or 7Zip and replace the images using ones from /system/framework/framework-res.apk.
[Vibrant Themes and Apps] zimphishmonger:
First couple of attempts resulted in a boot loop, but I'm tired lol. Will try again soon.
[Vibrant Themes and Apps] drhonk:
Just FYI ... I tried to port it to JK6 yesterday and got it work however, ROM Manager FC on me .. haha. Almost there .. :)
[Vibrant Themes and Apps] reddragon72:
Sounds great! And this one your working on is not causing the menus and pull down. It caused notification bar to go black and show black highlighted areas? That was a big problem with this pack on jk2. And remember I'm looking for one to work on the stock jk6 not a deb's redone/hashed jk6.

Again thanks!!
[Vibrant Themes and Apps] ans1215:
well i tried with winrar, and searched a whole bunch of files and folders and pics that were in the zip and couldnt find the images to be replaced with the blue one, can you post the path for them
[Vibrant Themes and Apps] zimphishmonger:
The images are located in /system/framework/framework-res.apk/res/drawable-hdpi

Extract those images (makes it easier). Your looking for stat_battery or something similar, starts with stat. You should find all the 100+ battery images.
[Vibrant Themes and Apps] drhonk:
Oh everything work just fine, except for ROM manager. I do see some app has its header bar either blank or black ...I think that's what causing ROM manager to FC. I will try again tonight when I get home
[Vibrant Themes and Apps] zimphishmonger:
Added both versions for Deodexed JK6, please let me know if they dont work, as Im exhausted and havent had time to flash those exact updates (although Ive been flashing variations of them for hours). Enjoy! :)
[Vibrant Themes and Apps] ahedgpe:
FYI, clicking on the Metamorph Circular blue battery link gives a page not found error. Also, which version should I use if I am using Obsidian v5beta?

Thanks
[Vibrant Themes and Apps] zimphishmonger:
Fixed. Use a metamorph version, which ever you choose. It already has the XMLs edits built-in
[Vibrant Themes and Apps] cheetara:
I've read through this whole thread...(damn good work by all participants btw) and i haven't come across some one trying this mod on nero beta 3 rom, what would i have to do get this battery icon mod to work on this rom? if its even possible...
[Vibrant Themes and Apps] BruceElliott:
Flashable for JL4 w/Voodoo 5?

Hi Zimp,

Many thanks for your work here. I have enjoyed using your build incorporated into Bionix ROMs. However, I have upgraded to stock Froyo JL4 now and am sorely missing your "Blue Segmented" indicator.

Any chance of getting a flashable for JL4 w/Voodoo? I am currently using Battery Indicator Pro; so I could use the metamorph solution. However, I am concerned that if Battery Indicator Pro ever got deleted (for whatever reason) that I would lose the XML files and break my system. :eek:

The flashable deodexted JL4 is here: http://xdaforums.com/showthread.php?t=876383

The flashable Voodoo kernel is here: http://xdaforums.com/showthread.php?t=870480

Thank you!
[Vibrant Themes and Apps] bestwebs:
Hi,

I miss this too on jl4.

Will the jk6 version work on this rom?

Thanks

:)
[Vibrant Themes and Apps] zimphishmonger:
Kernel doesnt matter, way to under the engine for this issue, if you know what I mean. The metamorph doesnt contain the XMLs, as they differ between builds, I believe. Also, metamorph doesnt allow you to create files if they don't already exist, limitations of the app.

Regarding JL4, I am still waiting for more reports about stability before I dive in.
[Vibrant Themes and Apps] Damonkashu:
I definitely was looking for a numeric battery indicator and it seems like this fits the bill.

Will this work with Nero v.1 though? I'll nandroid backup before trying...
[Vibrant Themes and Apps] homerbrew:
I just used the UOT Kitchen (seacrh xda for it) and it created a segmented battery that worked fine for my JL4 ROM. Just make sure you upload your own framework-res.apk and choose the battery graphic you want, I opted for none of the other choices.
[Vibrant Themes and Apps] jamesyl:
The problem is getting the accurate battery icon to match the theme of Nero. I requested the same over on the TW forums, and I think one of the TW devs may pick it up soon.
[Vibrant Themes and Apps] BruceElliott:
Thanks; looking forward to it! JL4 is rock solid for me (after only ~24 hours).

You are the Zimpiest!

Edit: Never mind; used UOT Kitchen to cook it for JL4 (however, you are still the Zimpiest). ;)

Blue-segmented Battery Indicator Mod FOR VIBRANT ONLY CWM Flashable zip, cooked in UOT Kitchen (online) from stock JL4 framework-res.apk (attached below).

Just copy the attached flashable zip to /sdcard and then flash using CWM.

A perhaps more conservative approach would be to cook your own CWM flashable using UOT Kitchen:

http://circle.glx.nl/

I say more conservative only in that the UOT Kitchen website will cook the precise version of the framework-res.apk that currently resides on your phone, thus eliminating any chance of versioning problems. This is very easy to do, even for a klutz like me. Takes all of ~15 minutes; no programming at all, just upload the framework-res.apk from your phone and download the resulting CWM flashable. Having said that, the attached CWM flashable works fine on stock JL4.

It seems to me that this method may well represent a future trend in mod'ing, given that it is so flexible (configurable) and that the dev need only maintain a single website-based version of his/her code. Great job, QLIRATU, MENDOZINAS, AVREEN, and company! :)

Screen-by-screen instructions for Vibrant users to avoid ambiguity:

(1) Make sure that you are running a deodexed ROM; otherwise this will not work. (E.g., both geoffcorey and krylon360 recently posted stock Vibrant Froyo JL4 flashables in both odexed and deodexed versions. Use the deodexed version).

(2) First Screen: I used the first version option on the first page of the website, "SCB with %, Version [A-J]". More specifically, I used Version B-White because I have black wallpaper.

(3) Second Screen: Choose "do not include icons" (that has to do with other mod'ing not applicable to Vibrant).

(4) Third screen: Choose "do not change notification status bar" (N/A to Vibrant).

(5) Fourth screen: Choose "do not include boot animation." (N/A to Vibrant).

(6) Fifth screen: Choose "not not include Windows animation" and disregard the warning in red. (N/A to Vibrant).

(7) Sixth screen: As detailed on website and in XDA thread, you can upload the version of framework-res.apk currently on your phone, or the version in the flashable zip file that you used to install your current ROM. If you do the latter, don't do what I did at first and try to upload the unzipped framework-res.apk from the flashable ROM file. You must unzip the flashable ROM file and then upload the unzipped framework-res.apk.

(8) Download cooked result from link provided and flash using CWM. I deleted cache and Dalvik cache from CWM environment after flashing and before re-booting, although that is probably not necessary.

(9) It might be a good idea to un-install any previously-installed battery indicator mod (e.g., a battery indicator downloaded from Market), although I do not know whether this is necessary.

Enjoy!
[Vibrant Themes and Apps] zimphishmonger:
LOL, Zimpiest.....I love it. I recently found that site too, which makes its VERY easy to customize your own battery icons. Huge props to those guy. However, I have run into times when it had issues with certain frameworks, which usually threw an error (usually ones missing the declarations in public.xml)
[Vibrant Themes and Apps] Ultraman666:
Anyone have a modded version for the newest leaked KA5
[Vibrant Themes and Apps] zimphishmonger:
I am currently using TWs Bionix, so I dont have stock frameworks to work with. I wont be converting KA5 as it is already obsolete by the Official KA6 and the newest leak, KA7. I would be more than happy to put together a battery mod for KA6 and KA7, but I just need the deodexed frameworks. If someone posts them, Ill see what I can do ;)
[Vibrant Themes and Apps] Ultraman666:
That would be awesome
[Vibrant Themes and Apps] cletusarrarr:
waiting for the battery mod for KA7, would the post by bruce elliot do ? i wonder , im on the latest axura, all i miss is the battery mod
[Vibrant Themes and Apps] zimphishmonger:
I'm only going to do the battery mod for stock deodexed KA6 and KA7. If your using another build, try using the online theme kitchen that someone posted about above. It works fairly well
[Vibrant Themes and Apps] cletusarrarr:
im using the latest build so ka7 should do good , waiting in anxiety, the gingerbread battery icon with percentage would be so cool
[Vibrant Themes and Apps] Ultraman666:
Tried that but everytime I tried I kept getting errors
[Vibrant Themes and Apps] guhveiga91:
?!?!??

guy tried can not do more .. appears:... "It was Necessary to remove it when upgradiing to the clockworkmod 3.0 gingerbread based recovery please switch to edify scripting (updater-script and update-binary) to create working update zip packages Installation aborted my android is 4.2 ...
[Vibrant Themes and Apps] zimphishmonger:
Okay, I have a hunch here. the3dman13 is gonna have to confirm this. I think we are only using 0, 20, 40, 60, 80, and 100 for percentages and we are not using all three XML files from the original mod. So they are pretty much estimations within 20%, which is a def a start from that stupid blue stock battery.

Next step would be to hopefully include those XML files, which add the additional 95 or so additional image "calls" so it is fairly accurate. Ive included two updated update.zip style versions to this post, but they CANNOT be flashed in ROM manager, only in stock recovery.

Hopefully, between all of us, we can get this converted over to a PROPER update.zip file so it can be flashed in Clockwork Recovery, and get a working metamorph of it. Let get it done :cool:
[Vibrant Themes and Apps] the3dman:
I found this article maybe we need to try this.

http://androinica.com/2010/02/11/tip-how-to-fix-your-androids-battery-issues-rooted-devices/
[Vibrant Themes and Apps] zimphishmonger:
That is nothing new, and everyone should be doing it on a regular basis (whenever battery times seems somewhat bad). Called cycling your battery. It was actually built-in to AmonRA's recovery (loved that recovery). Def a good idea, but wont help with this.
[Vibrant Themes and Apps] Genesis1791:
Wait so do those two new files you included fix it to use all the images?
[Vibrant Themes and Apps] zimphishmonger:
I did not make these, but these should work (I dont guarantee it though, nandroid is your friend). However, they MUST be flashed using the stock recovery. So name the update.zip, put them on the root of your internal sd, recovery, flash update.zip, boot. make sure to put back clockwork recovery as update.zip for emergencies.
[Vibrant Themes and Apps] Genesis1791:
Awesome that works beautifully, are you still trying to get the clockwork version to work?
[Vibrant Themes and Apps] zimphishmonger:
Yes, but I cant figure out what these update.zips are doing. They are different then the traditional update.zip, as it doesnt have the system layout (/system, /data) and has an additional file, update-binary, which I assume the author is using to do something prior to installing the files.

Need someone w/ more knowledge to step up and take a look at these files. I can tell he is doing some device checking, but I cant figure out what else he is doing, and Ive tried every method to get these to work via metamorph.
[Vibrant Themes and Apps] Genesis1791:
Yeah I was looking through both and the only differences I saw was that update-binary file and it looked as if the frameworks were actually sized differently. I'm going to try reverting to stock then swapping the framework from the default recovery into the clockwork version and see what happens.

Edit: Well it seems like it worked, here are the files. Should work in clock work I reverted to stock then flashed this in clock work and it worked. If someone else could test and verify that would be great.
[Vibrant Themes and Apps] zimphishmonger:
Something is certainly being done differently, not sure what update-binary is but it seems to be the key. Ive tried every variation, but cant get it to work outside those 2 update.zip files (vibrant a\ vibrant c)
[Vibrant Themes and Apps] s0niqu3:
Just so everyone knows, a simple adb pull/push/reboot is all you need to install

adb pull /system/framework/framework-res.apk (backup original/old file)

adb push ~path_to_new_framework-res.apk /system/framework (install the new one)

adb reboot

cheers,

=)
[Vibrant Themes and Apps] jzero88:
Works perfectly!!! Good job to everyone who has contributed so far. By far this is going to be one of my favorite mods once it is complete. I still can't believe that this isn't something built in to Android...
[Vibrant Themes and Apps] the3dman:
Great work on everyones part. This is how its supposed to work on this forum everyone helps each other instead of just whining. I hope more work is done like this (everyone working together). This forum needs more people like yourselves. On a side note we should remove all the old files and repost only the good working ones on the OP
[Vibrant Themes and Apps] zimphishmonger:
Ya, this is what its all about. Now we just need to figure out what this update-binary is doing to the files, because we cant pull them from the downloaded update.zip, and we cant pull them from phone that has the mod already, both those methods didnt work for me. I'm actually fairly stumped, never seen this in an update before. Strange that it doesnt work w/ Clockwork

Once we figure that out, we can easily make regular update.zip style themes that can be flashed via ROM Manager or MetaMorphed.
[Vibrant Themes and Apps] jaker.the.skater:
so which zip should i use? is the one in the op the most recent?
[Vibrant Themes and Apps] the3dman:
I remade them and they can now be flashed from clockwork! Let me know if they work. As for the update-binary I am not sure exactly what it does but I have seen it in roms before. Here is a question I found from another forum about it but it doesn't go into much detail.

Q: doesn't the update-script normally need an update-binary?

A:Not if uses the recovery images built-in syntax...

Thats the most I could find on the subject.
[Vibrant Themes and Apps] jaker.the.skater:
still need to wipe cache flash wipe cache reboot?

or just flash in clockwork?
[Vibrant Themes and Apps] qGa:
Does the phone have to be rooted?
[Vibrant Themes and Apps] the3dman:
Yes it does need to be rooted.
[Vibrant Themes and Apps] the3dman:
I did it anyway.
[Vibrant Themes and Apps] daddysays:
OK, I'm a little confused, granted I have taken a couple percocet's for some pain I am going through, so having a harder time than normal following, but here is where I'm at.

I installed the scgreybatticon from the second post and installed via clockwork. Worked fine but battery is still inaccurate, even after shutting down phone and rebooting completely. Its at 95% and stil says 100%.

Will this new version of the scgreyiconbatt... give these two version a and c zips also? Do you need both? do they address the inaccuracy? Could someone please explain a little further for the slower people on this site ;)
[Vibrant Themes and Apps] disturkis4u:
And maybe I missed this but what's the difference between version a and c?
[Vibrant Themes and Apps] daddysays:
I missed what a and c even were
[Vibrant Themes and Apps] s0niqu3:
Interesting, regardless of which version I flash, a or c, and regardless of whether I flash via stock recovery, clockword mod, or simply install using an adb push, this breaks the default % reporting in settings - about phone - status

and because of that, it also subsequently breaks the % reporting of battery widgets, and the icon in the notification bar.

however, plugging the phone into a charger will force it to update to the correct %, but this seems like a poor solution at best.

and this was with wiping cache, flash, wipe cache, and also wiping dalvik-cache and resetting battery stats too.

hope we can get this figured out, because its a perfect mod if we can get it working 100% like it should.

cheers everyone,

=)
[Vibrant Themes and Apps] zimphishmonger:
A and C are independent variations of the mod with different PNGs for the battery icons, see the OP for the pictures.

A is Segmented Green Battery, White Text. Renamed to be more clear

C is Solid Blue Battery, Grey Text. Renamed.
[Vibrant Themes and Apps] the3dman:
Different looks.
[Vibrant Themes and Apps] zimphishmonger:
Possible MetaMorph:

Im freakin exhausted and cant see straight. I

THINK

these metamorphs may work. Who wants to try? You can always revert by using the stock update.zip on the OP.Go download metamorph from the market, there is a free version that works perfectly fine.

Metamorphs attached - BETA - LINK REMOVED - Didnt work
[Vibrant Themes and Apps] the3dman:
After flashing the update that was only flash-able from stock recovery my icons wont change from the a icons to the c icons even if I flash the c ones from clockwork. So there must be something about the stock recovery version that is different that is causing. I am now nandroiding to before I installed anything and am going to try the clockwork ones I just posted to double check that they are accurate.
[Vibrant Themes and Apps] zimphishmonger:
You need to flash the C, now renamed segmented green, in STOCK recovery, and it only works there. Guess that update-binary doesnt work there. May have got a metamorphed worked out. Not sure yet
[Vibrant Themes and Apps] the3dman:
I understand that I can flash it in the stock recovery, I am now trying to see if the ones I made for clockwork work right but it doesn't seem to want to overwrite the ones flashed with the stock recovery. I am tired too lol Maybe I will just try again in the morning.
[Vibrant Themes and Apps] zimphishmonger:
Well said.
[Vibrant Themes and Apps] daddysays:
Down to 80% power and still says 100% with the new battery.