Could someone make the stock sense green battery without the % numbers.
I tried myself with editing the files and a metamorph to no avail. Tried manually putting them into the framework and flashing and still nothing.
paperecho said:
Could someone make the stock sense green battery without the % numbers.
I tried myself with editing the files and a metamorph to no avail. Tried manually putting them into the framework and flashing and still nothing.
Click to expand...
Click to collapse
+1 to this. I know it requires more than the usual drag and drop. I believe I recently read that it requires editing some XML files or something past my knowledge base, so far.
Same here, looking for a circle battery icon without %. The UOT kitchen is not working for me
+1 for this.
Related
Hello to everyone...
I was wondering if this mod is possible on our Milestone...
Does anyone have tryed this???
It woull be awesome, but it would need some work on milestone frameworks too.Already a user tried it on milestone but the icon place was blank.
Mine too.
I changed the icons and the xml files that come with the .zip file (stat_sys_battery.xml, stat_sys_battery_charge.xml) and then i had no icon in status bar....
Would be easy by simply edit the framework-res.apk. But the problem is the Milestone display the battery stat only 10% by 10% ...
Yes what's why you must change and some .xml files...
But i don't know how....
So if anyone manage to import this wonderful mod to milestone it will be perfect....
The rom I am currently running (Telus light and fast V3, available here in this same forum) displays the battery percentage in the status bar. It is nice to see percentage (by tens except last few steps - by fives), but battery icon needs some more work design wise (IMO). Maybe it is just a matter of replacing the graphics?
If you read the link in my first post you will see that in that link the battery circle is every 1%.
All the roms now have every 10%...
But i am asking if it's possible to have circle battery every 1% to our Milestones...
So you don't have to change ONLY the graphics.... but also some .xml files in framework-res.apk.
But i don't know which and how....
kalagas said:
If you read the link in my first post you will see that in that link the battery circle is every 1%.
All the roms now have every 10%...
But i am asking if it's possible to have circle battery every 1% to our Milestones...
So you don't have to change ONLY the graphics.... but also some .xml files in framework-res.apk.
But i don't know which and how....
Click to expand...
Click to collapse
I thought you want circle battery icon that shows percentage. I don't think it is as simple as framework and XML change to have 1% increments. You need new battery driver. And for this you need new kernel. And, you guessed, for this you need cracked boot loader Good luck!
Hi,
I'm working on a theme for the nigtlies for myself (is going to be released later).
It is based on a GalaS theme with lots of elements of nextheme, some sense stuff, basically a mix of what i like from every theme i once applied for different roms...
My problem:
I'm getting bootloops after i changed the battery png's to cyrcle battery even though same number of pictures....
Does anybody know what i need to do to add the cyrcle battery style to my morph? Do i need another xml file which basically tells the ui that now it is a cycle battery?
Any help is appreciated..
i'm kind of lost here...
You should make sure you are saving them with the exact name of the stock icon files. They need to be a png 32 file with a transparent bg. Also make sure the name of the theme zip file is the same as your xml file.
As long as its the same number of files with the same name you should be good. Search in the morph sticky at the top of the forum and tear a couple of battery morphs apart and compare.
Well i tried that, no luck so far. Gonna compare some battery morphs later on.
tr.slate said:
You should make sure you are saving them with the exact name of the stock icon files. They need to be a png 32 file with a transparent bg. Also make sure the name of the theme zip file is the same as your xml file.
As long as its the same number of files with the same name you should be good. Search in the morph sticky at the top of the forum and tear a couple of battery morphs apart and compare.
Click to expand...
Click to collapse
Sent from my Nexus One using XDA App
im running steelh and i have the blue epic style battery. how can i get the battery percentage into that without using different icons? i tired the online kitchen but my phone is stuck in a bootloop.
anybody? the kitchen just gives me errors.
ive used the online kitchen before with no issues, but id like to know how to this manually.
Sent from my panty-dropper.
ericwgarza1 said:
ive used the online kitchen before with no issues, but id like to know how to this manually.
Sent from my panty-dropper.
Click to expand...
Click to collapse
i cannot get it to work no matter what i do. can any dev help out here? i want the blue epic style battery with percentage. aside from the png's what files do you need to get this working on a sense rom? all of this hassle is making me want to go back to cm6, at least on that we can use the settings to accomplish alot of things we cannot on sense roms.
can you add the battery percentage mod into a rom that doesn't by default come with it? i heard about needing a modded services.jar file? or do i have to go with a different rom here for what i need? the online kitchen will simply not work for me.
The battery mods are accomplished by editing xmls and pngs in framework-res.apk
SteelH said:
The battery mods are accomplished by editing xmls and pngs in framework-res.apk
Click to expand...
Click to collapse
i have the png's but i have no clue how to mod xml files. im pretty good at Frankensteining themes together but for the life of me i cannot get this to work.
A couple of things: are you using a deodexed or odexed rom? Are you trying to add the circle battery to your existing theme or are you just trying to add the battery period?
I made a "dummy" flash file a while back that "prepped" odex roms before flashing the battery percentage mods.
You can also decompile the framework you want and transfer over the pngs and xmls for the battery mod into your existing framework.
Decompiling would be the best route as you would have to recompile it with the new xmls added to the resource list.
I would/could help but I won't flash anything on my evo right now since I currently have it hooked up to debug an app. Just send me the framework file from your phone and the battery mod you want and I can take a look at them and hopefully recompile it for you.
lovethyEVO said:
A couple of things: are you using a deodexed or odexed rom? Are you trying to add the circle battery to your existing theme or are you just trying to add the battery period?
I made a "dummy" flash file a while back that "prepped" odex roms before flashing the battery percentage mods.
You can also decompile the framework you want and transfer over the pngs and xmls for the battery mod into your existing framework.
Decompiling would be the best route as you would have to recompile it with the new xmls added to the resource list.
I would/could help but I won't flash anything on my evo right now since I currently have it hooked up to debug an app. Just send me the framework file from your phone and the battery mod you want and I can take a look at them and hopefully recompile it for you.
Click to expand...
Click to collapse
its the steelh deodexed rom. i have alot of themes going on and i do not want to loose them. i just want the battery with the percentage in it. ive attached what you may need, thank you.
I'll take a look at them now.
Give me some time.
lovethyEVO said:
I'll take a look at them now.
Give me some time.
Click to expand...
Click to collapse
thanks for taking the time!
Found a clue about the problem.
The online kitchen I believe has a disclaimer about .9pngs in the framework.
Basically if some .9s are not edited correctly it can cause an error in the decompile/compile process.
The framework you gave me throws an error when trying to compile. I have seen this error many times before and it always results in the changed files (xml and pngs) not being inserted into the newly compiled framework.
I decompiled/compiled three times, same error and the changed files were not inserted into the compiled apk.
Your problem lies in the framework and the tools ability to properly process the .9s.
Also, the epic zip you gave me does not have any xml files to tell the framework what png to display and it has 80 more pngs for the battery charge animation.
This is not something I want to spend more time on right now but the info I'm giving will hopefully get you in the right direction.
I think the two .xmls that needs to be edited are:
stat_sys_battery.xml
stat_sys_battery_charge.xml
Decompile a framework-res that already has the mod included and you should get an idea of what to do.
Someoneplease let me know if I'm wrong. Thanks!
ericwgarza1 said:
I think the two .xmls that needs to be edited are:
stat_sys_battery.xml
stat_sys_battery_charge.xml
Decompile a framework-res that already has the mod included and you should get an idea of what to do.
Someoneplease let me know if I'm wrong. Thanks!
Click to expand...
Click to collapse
There are actually 3 xmls needed for the battery mod.
The op stated he has a theme going and he doesn't want to lose it. The only way to incorporate the battery mod and keep his theme is to add the battery to his existing framework.
As I explained above, .9s are special pngs and if they are not edited correctly will cause the decompile/compile tool to throw an error. Themers will edit .9s and although they will show properly on the phone the tool used to decompile/compile the apks will notice if the .9s are incorrect.
What the online kitchen does and what I did manually are the same thing and more than likely with the same tools. The epic pngs the op supplied did not have any xmls and so im surprised the online kitchen was able to produce an apk.
If I spent more time on it I could probably figure it out but I am already occupied with another time consuming task.
What is the other .xml named?
I'd like to personally (for learning purposes) add the battery percentage to a stock framework-res.apk manually. Thanks!
Try this. I give no guarantees at all since I manually inserted the xmls and pngs. Also since there are 80 more pngs for the charge animation there's no way of telling how it will look.
lovethyEVO said:
There are actually 3 xmls needed for the battery mod.
The op stated he has a theme going and he doesn't want to lose it. The only way to incorporate the battery mod and keep his theme is to add the battery to his existing framework.
As I explained above, .9s are special pngs and if they are not edited correctly will cause the decompile/compile tool to throw an error. Themers will edit .9s and although they will show properly on the phone the tool used to decompile/compile the apks will notice if the .9s are incorrect.
What the online kitchen does and what I did manually are the same thing and more than likely with the same tools. The epic pngs the op supplied did not have any xmls and so im surprised the online kitchen was able to produce an apk.
If I spent more time on it I could probably figure it out but I am already occupied with another time consuming task.
Click to expand...
Click to collapse
Good explanation thank you. I think I have the similar problem I unzipped my framework and changed my battery and it worked. The only problem is I can only use the six charging animations. A little research last night and I realized I needed to edit the xml. Decompiling my framework would not work and I think your explanation helps me understand why.
ericwgarza1 said:
What is the other .xml named?
I'd like to personally (for learning purposes) add the battery percentage to a stock framework-res.apk manually. Thanks!
Click to expand...
Click to collapse
maybe public.xml
-Nova's Themes and MODs for Galaxy TAB : 28DEC
Closed For business for right now. Until we get CWM.
**********************************************
I AM NOT RESPONSIBLE IF YOU OR THIS MESSES UP YOUR TAB. : )
Good to see the theming has started.
Sent from my HTC Desire
Can this be flash to Tmobile.? I know it a dum question but I want to know.
Im pretty sure this wont work for vzw tab...poked around in the files,most of the changed images are in framework/res/hdpi-v4. The path on vzw tab is framework/res/hdpi. Anyway,it was enough to scare me off. Could you tell me where those 1% increments are? Im thinking maybe battery-status.xml?I wanna pull the control file and the png's and push em into framework. Tia.
Screenshots? Also, the -v4 just means it's been decompiled.
Guys guys guys... -v4 is ok... Will work fine! lol
I am sure the framework is the same across the board. Nothing is really any different than any other 2.2 devices. No special renaming. The battery mod is a change in the battery and battery charging xml file. Instead of a img matched to a value every 20% (stock) this will display an img for every value. 205 or 125 images. In the Glass theme I have an img for every value for charging as well so it has 205 images. If you are at 22%, it will say 22% in the battery Icon. AND... This will not drain your battery any faster. This is a active Battery % Display for the Stock Icon.
Soon I will have a full Battery Mod thread with a ton of different Icons and the xmls for those who wanna use it. : )
I'm using Glass with the Magic Smoke Live Wallpaper, Looks so awesome. You must check it out. I have pics already but I'll post more and a video.
Try it!!!
:0)
Ahhh....gotcha. yeah,I noticed I got a -v4 on the end after I've used the s.c. online kitchen. Any way,recovery still exits with an error when I try to flash on vzw tab. Could it be that string in the assert command in the updater sscript? Thanks for the heads up on the XML...it got me there.
mosone23 said:
Ahhh....gotcha. yeah,I noticed I got a -v4 on the end after I've used the s.c. online kitchen. Any way,recovery still exits with an error when I try to flash on vzw tab. Could it be that string in the assert command in the updater sscript? Thanks for the heads up on the XML...it got me there.
Click to expand...
Click to collapse
Could be, ill just clear it and make it just copy. What's the s.c. Kitchen?
Sent from my SPH-P100 using Tapatalk
"Ultimate online theme kitchen"...the one with the super circle battery. Looking forward to the battery mods...thanks!
mosone23 said:
"Ultimate online theme kitchen"...the one with the super circle battery. Looking forward to the battery mods...thanks!
Click to expand...
Click to collapse
oh, lol. That's where I go to get a lot of what I do, so much easier than sitting there and editing all the xmls and hope that it recompiles right. I love using Ultra Compare and seeing what they do with that. Awesome site.
You got this to work through cw? From what I've read the assert line is no longer supported,moved on to"Edify".
mosone23 said:
You got this to work through cw? From what I've read the assert line is no longer supported,moved on to"Edify".
Click to expand...
Click to collapse
I Have fix it, this will flash in Clockwork! : )
I have also now added 10 Batt Mods for everyone. More to come soon!
Enjoy!!
The battery mods, particularly Mod #2, are nice. If I apply the images via MM into the drawable-hdpi folder, predictably it only picks up the twenty percent level ones. If I add the two XML files to the MM in the drawable folder (I used the 125 version) none of the images show up. I'm familiar with basic image replacement, but not with replacing the XML files. Is this something that would require an update.zip rather than MM?
tried the glass theme on att tab
now im stuck on samsung logo
trying to boot back up no go
thanks for trying though
BuglessFan said:
The battery mods, particularly Mod #2, are nice. If I apply the images via MM into the drawable-hdpi folder, predictably it only picks up the twenty percent level ones. If I add the two XML files to the MM in the drawable folder (I used the 125 version) none of the images show up. I'm familiar with basic image replacement, but not with replacing the XML files. Is this something that would require an update.zip rather than MM?
Click to expand...
Click to collapse
Did you use Clockwork? If your adding the images, you have to have the xmls too. xmls go in drawable.
maxtcee said:
tried the glass theme on att tab
now im stuck on samsung logo
trying to boot back up no go
thanks for trying though
Click to expand...
Click to collapse
Sorry man, I only have a sprint tab. I'll look into it more, Maybe I'll build it from each framework to make it work for all.
Nah, I was using Metamorph, which works fine for the PNGs, but somehow when it replaces the XML files in the drawables directory the battery status stops showing up altogether. I didn't have a lot of time to experiment though, so I wound up just restoring from nandroid backup. I know it must be replacing the right files, because if I run Metamorph without the XML files it perfectly places the new images, and the notification bar picks it up for the existing battery increments. If I add the XML files it winds up with a blank area where the battery status go. I'm assuming it's one of three things: MM having trouble replacing the XML files and busting something; or there's something specific to the VZW version that doesn't like one or more elments in the XML; somewhere along the lines of pulling the two XML files out of your .zip and putting them in the new .zip changed some kind of formatting (DOS v Unix linebreaks, dunno). At any rate, I can use the images easily for the 0,10,15,20,40... increments, but can't easily update the XML files with MM at the moment. I might look into doing an update.zip.
The reason I'd prefer MM for just picking up changes like battery status images, is that I don't have to worry about the framework matching, it'll just replace the files in my existing framework, so it's usually quick and dirty.
Can you see if we can get a Sprint Only Galaxy Tab Forum
Since you are a developer, Can you PLEASE look into getting the Sprint Galaxy Tab its own spot? All this Euro AT&T TMobile Galaxy Tab stuff is getting on my nerves. They need a GSM Only and a CDMA Only Tab Forum. It's too damn confusing. Appreciate it! Thx
Hi
I watched the video of the theme and at the begining you touch the upper left corner of the screen to wake up the tab. I am new to android phones and it is maybe stupid question but how to do it without pressing power-on button?
regards
Pawel
The power button is in the upper left in the video. As his thumb is at the top of the screen one of his fingers is pressing the power button. No magic swipe, sorry.
SO I just spent the past hour installing SDK and decompiling the SystemUI.apk, now I'm at the part where I can do some major modifying but I have never done this before and I'm not quite sure how to make a custom .png for a battery icon, seems that's the first mod I will be working on, any help with this would be GREATLY appreciated
Well I wouldn't start with that image because there's over 200 png's you have to make for that mod... I'd start with signals or something where there's only one or a few images to create...