[MOD][Battery]Simple Battery Mod - Sony Xperia P, U, Sola, Go

Hey guys
Well I've just recently started getting into all modding\developement related stuff, and so I'm making a few mods and stuff to practice.
This mod simply replaces the battery percentage next to battery icon and puts percentage inside the icon itself
Very simple, hopefully some of you will find it useful
Simply flash Zip in CWM.
Backup is always adviced, just in case
Enjoy!

My Icons in the statusbar are on the right, will they get on the left when I flash your zip?

No, it will work both left to righ tna dright to left just the same

Related

[MOD] I9000 *matte* skin and accurate battery *10/5/2010*

First and foremost, this would not have originally been possible without all the hard work zimphishmonger and the3dman13 did to bring fighspit's original battery mod to the vibrant, please see the original thread here, and give them some thanks! http://forum.xda-developers.com/showthread.php?t=756441
I'm also borrowing zimphishmonger's warning, as i think it works to keep warning messages standard across all these battery mod threads.
WARNING: ALWAYS make a nandroid backup prior to installing any modification, including this one. You are making the decision to install this on your own, and I am not responsible for anything nuclear that may happen to your device.
UPDATE.. I lost count (10/5/2010)
So I dig Eugene's Frankin-twiz rom's, but I still want to keep my accurate battery mod, and well, I think his glossy-black skin is ugly. I also think the stock vibrant touchwiz skin is ugly (for the love of all that's holy samsung, why did you decide the vibrant would be the ONLY galaxy s phone to get your stupid glossy version of touchwiz?!)
So, I ported my battery mod to frankin-twiz and at the same time, ripped all the matte (non glossy) drawable's from the I9000 touchwiz skin, and added in my colored status/signal, mms, calendar, music player, and gmail icons, restored the black background for the power control widget, added HTC's weather icons to GenieWidget.apk, changed to the stock I9000 bootup and shutdown animation and sounds, and of course, I probably missed something else too, lol. You can see some (semi-outdated) screenshots here: http://picasaweb.google.com/113127051130934911253/AndroidStuff?feat=directlink
Also, if you find yourself being a typography nerd like me, you can use this zip to switch the default system font to Comfortaa I take NO CREDIT WHATSOEVER for making the original font, or the android port, I only re-packaged the files into a Clockwork-mod zip file for the vibrant. This will also change the lockscreen clock font to comfortaa, but ONLY if using the default android lockscreen.
Comfortaa system fonts: http://www.4shared.com/file/hYu1TYHL/Comfortaa_system_fonts_ONLY.html
New for ftwiz_final: I'm including an extra version with the samsung calendar AND the AOSP mms app, per Eugene's thread, since it resolves issues with being unable to send sms/mms messages. I'm also including the newest version of my battery mod (this is the version I personally like best and use daily), based on the upright/vertical icons, but with colored borders/outline, and a smoother charging animation (thanks to untermensch!) This can be applied on its own, after you flash either of the other versions. If flashed without flashing one of the other versions first, it DOES NOT contain the gmail/calendar/mms/music player icons, or the startup & shutdown animations and sounds. You can see a screenshot added to the post below too.
Download links here, ftwiz_final ONLY:
Removed, sorry, too many people use other people's work without giving credit, and it leads to way too many headaches, he-said/she-said, ignorance, etc.
Everything should flash via clockwork recovery fine, place the zip on the root of your INTERNAL /sdcard directory, reboot into clockwork, I recommend wiping the cache & dalvik-cache, then install zip from sdcard, locate the specific zip, reboot.
Enjoy, cheers everyone, and if you come in here posting bugs/whining for help without first making sure you cleared your cache and dalvik-cache, then I'm just going to ignore you,
Looks Great!!!
Thanks alot works well on my phone
i love it! not a big fan of the round battery icon, so this is great
Great work! Glad to see everyone is making their own customized battery images. We are gonna have a battery collection soon.
just a quick update to the OP with a new version with some colored/themed status icons.
cheers
=)
~ Jocelyn
Is it ok to flash right over the top of a previous battery mod?
Sent from my SGH-T959 using XDA App
bstromberg said:
Is it ok to flash right over the top of a previous battery mod?
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
I did, switched from the green circle. The battery indicator works fine.
I used the circle one but saw this with the other colored icons and thought they were cool. Seems that they don't quite work properly. Stock the GPS indicator shows in the notification bar any time it's on. With the new icons from the op the indicator is only on if I'm in an app that is using the GPS. I'm going to flash back to stock then to the battery only mod (i figure I need to to switch the other icons?)
joshthewaster said:
I did, switched from the green circle. The battery indicator works fine.
I used the circle one but saw this with the other colored icons and thought they were cool. Seems that they don't quite work properly. Stock the GPS indicator shows in the notification bar any time it's on. With the new icons from the op the indicator is only on if I'm in an app that is using the GPS. I'm going to flash back to stock then to the battery only mod (i figure I need to to switch the other icons?)
Click to expand...
Click to collapse
Hi,
Thanks for trying it out. I have no idea how there might be issues since this is literally just img replacement from the segmented green circular battery mod, so however icons should work with that mod, is how they should work with this mod.
Maybe run a fix permissions from rom manager and see if that helps?
Also, my GPS icon has never worked like you described, even stock, (in other words, mine isn't always visible in notification bar, even when not in an app actively using gps, its displayed only when using an app that needs GPS, and disappeared when exiting the app.)
If you want to try and modify your own framework-res.apk with these files, I may upload just my png images once I'm done replacing/coloring all the icons I feel like modifying.
Thanks again for trying it out though, cheers
Lastly, I got bored and colored the wifi icons, cell-signal icons, and vibration indicator icon, I'll post the framework-res.apk in the first post, but won't package a new update.zip until I decide I'm done modifying icons, lol.
=)
~ Jocelyn
s0niqu3 said:
Hi,
Thanks for trying it out. I have no idea how there might be issues since this is literally just img replacement from the segmented green circular battery mod, so however icons should work with that mod, is how they should work with this mod.
Maybe run a fix permissions from rom manager and see if that helps?
Also, my GPS icon has never worked like you described, even stock, (in other words, mine isn't always visible in notification bar, even when not in an app actively using gps, its displayed only when using an app that needs GPS, and disappeared when exiting the app.)
If you want to try and modify your own framework-res.apk with these files, I may upload just my png images once I'm done replacing/coloring all the icons I feel like modifying.
Thanks again for trying it out though, cheers
Lastly, I got bored and colored the wifi icons, cell-signal icons, and vibration indicator icon, I'll post the framework-res.apk in the first post, but won't package a new update.zip until I decide I'm done modifying icons, lol.
=)
~ Jocelyn
Click to expand...
Click to collapse
Excellent work! I like the new colored signal icons. Consider possibly creating a metamorph of it, as they are very easy to update.
zimphishmonger said:
Excellent work! I like the new colored signal icons. Consider possibly creating a metamorph of it, as they are very easy to update.
Click to expand...
Click to collapse
Thanks for the help in getting everyone started with the battery mod, now I just need to decide when enough is enough for theming icons, lol.
Anyway, I'm about to head to bed, but I'm attaching a zip with the signal icons I modded, so if anyone wants to make a metamorph, go ahead, just please give a link back to this thread when/if you post.
cheers,
=)
~ Jocelyn
s0niqu3 said:
Hi,
Also, my GPS icon has never worked like you described, even stock, (in other words, mine isn't always visible in notification bar, even when not in an app actively using gps, its displayed only when using an app that needs GPS, and disappeared when exiting the app.)
~ Jocelyn
Click to expand...
Click to collapse
So I went back to stock to check and you're right. I must have imagined that.
I'll be switching back to your colored icons and battery now.
And as soon as you are done changing the icons and create a zip I'll switch to those. I like the color.
joshthewaster said:
So I went back to stock to check and you're right. I must have imagined that.
I'll be switching back to your colored icons and battery now.
And as soon as you are done changing the icons and create a zip I'll switch to those. I like the color.
Click to expand...
Click to collapse
Hey again,
Glad I wasn't screwing up phone's, lol.
Anyway, I'm still working on changing all the icons, can't seem to decide where to stop yet, since now I've started modifying icons for other apps, gmail, mms, google voice, trillian, etc. And of course, now that I've gone with a slightly brighter green in the other icons, I may go back and tweak the color of my battery icon to match.
Anyway, here's a screenshot of some of the icons I'm mostly finished with (though for some reason I'm not digging the alarm icon, anyone have color suggestions for it?)
cheers,
=)
~ Jocelyn
s0niqu3 said:
Hey again,
Glad I wasn't screwing up phone's, lol.
(though for some reason I'm not digging the alarm icon, anyone have color suggestions for it?)
cheers,
=)
~ Jocelyn
Click to expand...
Click to collapse
Yeah...sorry about that. Anyway I hate that stupid icon to begin with so maybe something totally different? I did a GIS for alarm clock icon and there are a lot of possibilities. I think that maybe the stock one with a red square and white clock could be good.
Edit: Maybe something like this
http://www.istockphoto.com/file_closeup/concepts-and-ideas/5891895-alarm-clock-icon.php?id=5891895
This is REALLY awesome, guy!
Great work.
so i just need to put this on my internal sd, boot into recovery and hit "reinstall packages" or whatever the hell it says? Im kind of new to all of this stuff.. so im just making sure you have to learn sometime haha
The K-Zoo Kid said:
so i just need to put this on my internal sd, boot into recovery and hit "reinstall packages" or whatever the hell it says? Im kind of new to all of this stuff.. so im just making sure you have to learn sometime haha
Click to expand...
Click to collapse
If you don't already have it, I suggest you install Koush's Clockwork Recovery. You can install it quickly by using ROM Manager.
Once you boot into the recovery ROM, you can back up your entire phone using Nandroid (highly advised) and then you're free to experiment to your heart's content.
Now back to your question: you can save the file to your internal SD card and search for it using the 'Install from SD' (or something like that) option in the Clockwork ROM, install it and reboot.
Good luck, friend.
What's the right way to revert this? framework-res.apk restore?
Updated OP with newest mod.
I think I'm done with this for a while now, though I might zip all the png files if someone else wants to try and make this into a morph when the app gets updated.
cheers,
=)
~ Jocelyn
seraerie said:
What's the right way to revert this? framework-res.apk restore?
Click to expand...
Click to collapse
Hi,
Yes, restoring your backed-up framework-res.apk will restore the battery mod. If you used the newer zip that also includes the Gmail icon mod, then you'll need to restore Gmail.apk too /system/app too.
Cheers,
=)
~ Jocelyn

Numeric Battery?

So, coming from an iPhone, the one thing I really miss is having a numeric battery. I was wondering if I could get the battery percentage on my status bar like I did on my iPhone.
I don't mean apps you download on the android marker that just has a battery notification that keeps displaying the percentage... but an actual mod made for the Samsung Vibrant that shows it next to the actually battery status on the top right of the status bar.
Sorry if I'm missing something huge here. Thanks!
If you check the Vibrant Theme and Apps section, you can find plenty of numerical battery mods.
Here's an example of one:
http://forum.xda-developers.com/showthread.php?t=756441
richan90 said:
If you check the Vibrant Theme and Apps section, you can find plenty of numerical battery mods.
Here's an example of one:
http://forum.xda-developers.com/showthread.php?t=756441
Click to expand...
Click to collapse
Thanks a bunch!
Just ran this, and it looks fantastic... much better than that of the iPhone.
The FrankinTwiz ROM has a numeric battery icon. Be careful with the circular battery mod and other mods for the status and notification bars as they clashed for me and caused a startup loop that prevented the phone from finishing the startup.
biigreen said:
The FrankinTwiz ROM has a numeric battery icon. Be careful with the circular battery mod and other mods for the status and notification bars as they clashed for me and caused a startup loop that prevented the phone from finishing the startup.
Click to expand...
Click to collapse
I will be wary of that. Hopefully this is the only mod I will apply to my status bar... so things should be ok.
With Frankin-Wiz you just have to make sure you flash the correct version to the correct Rom. Been there and boot looped.
nearblack said:
I will be wary of that. Hopefully this is the only mod I will apply to my status bar... so things should be ok.
Click to expand...
Click to collapse
Trust me, I started out with this little mod too.. but I couldn't stop myself after that
I'm trying to stay away from flashing ROMs because my Vibrant is hardware locked though.

[Q] Smooth circle battery?

Is there any way to download a smooth circle battery to any of the ROMs on here or will it just mess up the ROM?
aval1392 said:
Is there any way to download a smooth circle battery to any of the ROMs on here or will it just mess up the ROM?
Click to expand...
Click to collapse
As far as I know the circle battery comes with themes and not alone. At least I haven't seen the option of just flashing the circle battery, I could be wrong.
So, either download a theme or create your own and dont ask me how lol.
I was trying to edit the following files:
framework-res.apk\res\drawable\stat_sys_battery.xml & stat_sys_battery_charge.xml file in the frost and minimalistic b/w time but the contents are unreadable.
I also downloaded a theme from htc_desire for this battery circle mod and copied its xml files to the frost theme,after that there was no battery icon in the notification bar.
Can any one else give it a try ??

[MOD] GaldiAtrix3/Deodex - No Carrier Text and 1% Battery Mod

Summary
Like many, I am not really into theming much but do enjoy some functional modifications. There have been a few requests for the carrier text to be removed form the notification bar and also for the 1% battery modification for GladiAtrix.
I did not create either of these modifications myself but I did end up creating them against a non-themed GladiAtrix3 and did package them up together.
The 1% battery mod DOES NOT include icons - it simply provides the system with 1% increments battery info. Credit for this should go to bl0wf1sh - I mimicked his mods for the standard services.jar.
The carrier delete removes the carrier ID text from the notification bar AND includes the battery modification as well. Credit for this should go to Greg11784 - I only took his hard work and repackaged it with the battery modification. If you only want the carrier delete alone, check out Greg11784's thread.
Prerequisites:
AT&T 1.83 rooted
Deodexed system (or GladiAtrix3)
CWM mod
Downloads:
The 1% Battery Modification: BatteryMod83.zip
The Carrier Text Delete and 1% Battery Modification: NoCarrierLogoBatteryMod83.zip
Package to return the files to standard: ReturnGladiAtrix83.zip
Disclaimer: I take no responsibility if you mess up your phone while doing this.
So this is exactly like mine except without reboot, battery icons, or animations?
Cool.
http://forum.xda-developers.com/showthread.php?t=1076655
Nottach said:
So this is exactly like mine except without reboot, battery icons, or animations?
Cool.
http://forum.xda-developers.com/showthread.php?t=1076655
Click to expand...
Click to collapse
Yeah, I think so - I was looking for a really plain version with only the battery info (for my live wallpaper) - also I don't yet know how to do the power menu options etc.
s0dhi said:
Yeah, I think so - I was looking for a really plain version with only the battery info (for my live wallpaper) - also I don't yet know how to do the power menu options etc.
Click to expand...
Click to collapse
Cool, mines basically the 1% deodexed zip with a few mods.
Nottach said:
Cool, mines basically the 1% deodexed zip with a few mods.
Click to expand...
Click to collapse
Some people like me really dislike the fly in animations though...so this one would be great for those who don't want theme.
Does anyone know why after installing just the Battery % my clock on the status bar is gone? i used GaldiAtrix 3 beta 2 and honeycomb theme

[Q] status bar for bumblebee 2.4

hello, new user here.
I could not stand how my status bar did not show the % of battery, so I flashed a zip from towards the end of the bumblebee 2.4 ROM thread. It works great, except the status bar is dark and the clock, although readable is also dark.
I'm afraid when using my phone as a clock in the daytime outside I will not be able to read the time.
I don't know how to go back to stock bumblebee besides flashing bumblebee fresh again.
the mod I used was named UOT-06-14-08-22-1.zip
is there an easy way out? Everything is perfect except the clock.
I've used search, can't find anything and read the bumblebee thread start to finish before I flashed the zip, a post led me to believe it had a readable clock because another user was unable to figure out using "kitchen" how to make a readable clock and thanked the person.
what I would like is a nice battery mod that could overwrite my changes, but I'm not sure that is possible. The ones on the market alluded to not being able to remove the default battery icon even though they added more battery info in the status bar.
tl;dr
How do I overwrite a battery mod to bumblebee to make it like it was before, and is there a battery mod that shows a % meter, without the stock battery icon, but changes little else for bumblebee 2.4
thanks
tried replacing the framework and META-INF files from original bb rom.zip, but got a missing file error and sig verifiction error. Those were the only folders besides fonts that were added from the status bar mod.
guess I'm a little over my head.
oh what the hell, time for Titanium back up and a re-flash. Could probably fix it faster than a reply here.
But are there any good battery mods for BB 2.4 that show %?
edit: discovered what UOT kitchen was, OMG just what I wanted. But its not running currently
kizh said:
edit: discovered what UOT kitchen was, OMG just what I wanted. But its not running currently
Click to expand...
Click to collapse
Yes, that was my taskbar mod that was posted--and I "baked" it specifically for the black bar--from the UOT Kitchen. Glad you found it!
Same problem...love the mod but can't see the time and the kitchen is down.
Great mod though, just need the time to be white.
wilberfan said:
Yes, that was my taskbar mod that was posted--and I "baked" it specifically for the black bar--from the UOT Kitchen. Glad you found it!
Click to expand...
Click to collapse
thanks for that mod! but unfortunately that clock is so dark, if you use a widget clock I could see how it wouldn't matter, but I already have calendar and weather hogging up my main screen.
back to stock BB now
to return to stock courtesy of androidforums
http://www.mediafire.com/?3ubm3dbzy222039 - return to stock
http://www.mediafire.com/download.php?h4ekdjd99i23mdz - and this to give you a battery meter, works fine on bumblebee
I would go into recovery and wipe cache and dalvik-cache. Seemed to work for me
thanks, will give the battery meter a try.
Had no problems re-flashing I was already done before a reply Still had the bbrom.zip on my sd card, so just wiped and reloaded. No need to go back to a pure stock rom. Only thing new was titanium backup, which seemed to work fine. I only have a few apps, I probably could have almost re-downloaded as fast.
C'mon kitchen. I want to mess around a bit.
edit: new battery bar works great, thank you
See my post here:
http://forum.xda-developers.com/showpost.php?p=16332210&postcount=320
This one uses the edify script instead of amend... if you are running into that problem.
kizh said:
tried replacing the framework and META-INF files from original bb rom.zip, but got a missing file error and sig verifiction error. Those were the only folders besides fonts that were added from the status bar mod.
guess I'm a little over my head.
oh what the hell, time for Titanium back up and a re-flash. Could probably fix it faster than a reply here.
But are there any good battery mods for BB 2.4 that show %?
edit: discovered what UOT kitchen was, OMG just what I wanted. But its not running currently
Click to expand...
Click to collapse
I tried to post a link to a BBBlackNotificationbar.zip that has white clock text that once flashed would allow you to flash any black status bar you might cook in UOT's Kitchen over it,and still have the white clock text. Some rule that says I have to wait until 8 posts before I could. So go to Android Central. Optimus V,Optimus V Rooting .ROM's,and Hack's. Go to page #2 look in Change time color on status bar? Go to permalink #6. I posted said link there. I used it on several ROM's(don't need it right now I got a cool theme with the ROM I'm running)..... Man that was a lot of extra work!

Categories

Resources