Is there any way to reduce the size of the battery percentage in the top status bar? I prefer it very small, definitely not bigger than the time! is there any way to fix this without rooting?
levilib said:
Is there any way to reduce the size of the battery percentage in the top status bar? I prefer it very small, definitely not bigger than the time! is there any way to fix this without rooting?
Click to expand...
Click to collapse
Without root, absolutely not. With root. It's doable. The smali it would have to be modified
if you dont mind waiting until its at 50% or less to see it then you can install Battery Percentage and get the percentage inside your battery icon and works with or without root
plus we have root now too right HERE and works great with no Knox trip
That battery percentage app says on lollipop it changes the color as the battery goes down, but also says on touchwiz it might not work, any solution in sight?
Sent from my SM-G920V using Tapatalk
zathus said:
Without root, absolutely not. With root. It's doable. The smali it would have to be modified
Click to expand...
Click to collapse
How can i do it with root then?
Çingiz Salmanov said:
How can i do it with root then?
Click to expand...
Click to collapse
Mind you, I haven't modified smali's in a long time but first, the system would need to be dexoed. Then you would have to extract framework APK, decompile it. Located the small that controls what you looking for. Using something like note++ modify it, possible modify the xml. In the res location as well. Recompile. It's not a small task and unless your familiar with one ui and the locations of all the code it will be very difficult.
zathus said:
Mind you, I haven't modified smali's in a long time but first, the system would need to be dexoed. Then you would have to extract framework APK, decompile it. Located the small that controls what you looking for. Using something like note++ modify it, possible modify the xml. In the res location as well. Recompile. It's not a small task and unless your familiar with one ui and the locations of all the code it will be very difficult.
Click to expand...
Click to collapse
You lost me halfway there. I thought i was just going to edit one file with root explorer or something like that
Related
We need this.
http://forum.xda-developers.com/showthread.php?t=724778
That's really cool looking; I hope someone can figure out how to port it, but I imagine it shouldn't be too hard.
this kind of post belongs in apps and themes.....
i like it though just change the colors
and it would be very cool
I would like to see this too. It won't work as is?
Sent from my rooted Incredible w/ Flash
I installed the sense-eclair 2.1 "modaco" version, used clockwork to install zip, works fine for me.
Sent from my ADR6300 using XDA App
Ok after toying with my phone with the new battery Meter. I found that the search button reboots my phone.... don't know If its just mine.
Sent from my HTC Droid Incredible.
Be careful flashing these. They contain build.prop and wireless driver files that are not for your phone.
Thread moved to General.
egzthunder1 said:
Thread moved to General.
Click to expand...
Click to collapse
Actually, this needs to be in Development where I posted it due to the fact that it requires major editing of the stat_sys_battery.xml and stat_sys_battery_charge.xml files to allow it to display the actual battery percentage for each level, such as 99, 98, 97, etc.. Please put it back.
Agreed. I too would really like to see this develop into a reality for inc users. it would free up a spot on my notification bar.
I was able to edit the images and repack the latest nightly so now I have the circle battery meter. The 1% increment isn't working. I assume there must be an xml file to edit??? Can anyone shed some light on that?
Edit: This is on CM6 nightly
Wish this could be ported with the percentage over a battery icon. The circle icon reminds me too much of WinMo.
I'd love to get this on my phone along with something similar for wifi!
Can those of us using the SkyRaider (2.2) rom get a little love with this?
Sent from my ADR6300 using XDA App
I would love to get this..
how to modify xml files?
Hi all -- I would love to have this batt on my DI too...and honestly it doesn't look difficult from a theming perspective. But we need some way to extract the necessary XML files from framework-res.apk, modify them, then correctly re-encode them as binary and repackage into the apk.
If someone can point me to a tool, short of the using the full SDK to rebuild the apk from scratch, it should be a relatively quick mod...
*thread subscribed*
bcgaynor82 said:
Hi all -- I would love to have this batt on my DI too...and honestly it doesn't look difficult from a theming perspective. But we need some way to extract the necessary XML files from framework-res.apk, modify them, then correctly re-encode them as binary and repackage into the apk.
If someone can point me to a tool, short of the using the full SDK to rebuild the apk from scratch, it should be a relatively quick mod...
*thread subscribed*
Click to expand...
Click to collapse
You need to use AXMLPrinter2 to edit stat_sys_battery.xml and stat_sys_battery_charge.xml, which are located under /res/drawable/ in framework-res.apk. I just don't know what modifications to change.
this would be awesome!
xvenom89 said:
You need to use AXMLPrinter2 to edit stat_sys_battery.xml and stat_sys_battery_charge.xml, which are located under /res/drawable/ in framework-res.apk. I just don't know what modifications to change.
Click to expand...
Click to collapse
unfortunately AXMLPrinter2 only converts the XMLs from binary back into editable text -- it doesn't do the reverse. But if you use it and take a look at the XMLs, the modifications are actually pretty straightforward. In fact, the file is already set up to have an image for every 1% step, but images for 95 of those steps are undefined.
what we need is a tool that repackages the XMLs back into the APK appropriately -- i haven't found anything to do this, and i'm not skilled enough to use the SDK in full yet...
still would really love to see this...how can we get some love from the more experienced themers?
Madcaddie said:
I installed the sense-eclair 2.1 "modaco" version, used clockwork to install zip, works fine for me.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Madcaddie said:
Ok after toying with my phone with the new battery Meter. I found that the search button reboots my phone.... don't know If its just mine.
Sent from my HTC Droid Incredible.
Click to expand...
Click to collapse
i also just installed this. it also reboots my phone when quickly pressing the search button, but it does not reboot the phone when long pressing the search button. so far so good otherwise. i'm gonna try this for a day and see if any other problems arise, i have a nandroid backup i can go right back to at anytime, so no biggie.
I've asked a few people and searched like crazy with no real answer so I'm hoping someone can point me in the right direction. I'm running Calk's HD rom and it's awesome. I would just prefer a 4 row app drawer as opposed to the 5 it comes with. Is there an easy way to change this? I haven't been able to locate the setting in the rosie.apk. Any help would be greatly appreciated.
What if you use adw launcher? You can change it from 3 to 8.
http://www.appbrain.com/app/adw-launcher/org.adw.launcher
Oh wait I think he is using adw, well then go to settings, adw launcher settings, screen preferences, under desktop layout change the Desktop Columns from 5 to 4.
Thanks. I'm referring to sense though. I should have specified. I know how to do it with adw and launcherpro. I wish it were that easy in sense.
Get to duh choppa!
ah crap, sorry
You need to decompile your Rosie.apk and change the "5" value in the all_apps_view.xml (its actually titled something like that) to a "4". Then you will need to recompile and flash.
ericwgarza1 said:
You need to decompile your Rosie.apk and change the "5" value in the all_apps_view.xml (its actually titled something like that) to a "4". Then you will need to recompile and flash.
Click to expand...
Click to collapse
Thanks so much. It looks like to do this the xml would need to be converted first or done with hex editing. Way beyond my skill. But I'm going to trying recompiling the apk using the all_apps_view.xml from a different rosie with a 4 app drawer. I'll post my results.
That didn't work. Not sure the setting lives there. The rom I grabbed the all_apps_view.xml file from has an opaque app drawer, calk's has transparent. After compiling the rosie with the new xml file and rebooting, I still had a 5 row app drawer but the background was opaque.
DeathBySnuggles said:
That didn't work. Not sure the setting lives there. The rom I grabbed the all_apps_view.xml file from has an opaque app drawer, calk's has transparent. After compiling the rosie with the new xml file and rebooting, I still had a 5 row app drawer but the background was opaque.
Click to expand...
Click to collapse
there are 3 changes to be made.... one is the one u were given already.
keep in mind that u MUST decompile cuz it changes things inside the resources.arsc file
the second one is inside values/integer.xml
change
Code:
<integer name="allprogram_grid_columns">5</integer>
to have the value 4 instead of 5.
and in values/dimens.xml change
Code:
<dimen name="all_program_grid_view_horizontal_spacing">1.0dip</dimen>
to have the value 6.0dip.
that should work.
good luck.
edit:
just saw u said u using the HD rom... i was referring to the a non HD rosie... so although it should still be the same thing, it might not be... so keep that in mind in case it wont work... but thats how u would do it for the regular Rosie.
aamikam said:
there are 3 changes to be made.... one is the one u were given already.
keep in mind that u MUST decompile cuz it changes things inside the resources.arsc file
the second one is inside values/integer.xml
change
Code:
<integer name="allprogram_grid_columns">5</integer>
to have the value 4 instead of 5.
and in values/dimens.xml change
Code:
<dimen name="all_program_grid_view_horizontal_spacing">1.0dip</dimen>
to have the value 6.0dip.
that should work.
good luck.
edit:
just saw u said u using the HD rom... i was referring to the a non HD rosie... so although it should still be the same thing, it might not be... so keep that in mind in case it wont work... but thats how u would do it for the regular Rosie.
Click to expand...
Click to collapse
Ok, that's a little over my head considering I don't even see the xml files you're referring to. I'm only able to play with what I can see by unpacking the apk using simple methods. Changing the all_apps_view file changed the drawer background, which is undesired. If I simply swap out the the full rosie.apk from the other rom, I can achieve the 4 row drawer with the opaque background but I'm looking to retain the translucent. So, perhaps it's easier to start with the other rosie with the opaque background and modify that to have a translucent background? Can using the original all_apps_view accomplish this or is there an easier way?
DeathBySnuggles said:
Ok, that's a little over my head considering I don't even see the xml files you're referring to. I'm only able to play with what I can see by unpacking the apk using simple methods. Changing the all_apps_view file changed the drawer background, which is undesired. If I simply swap out the the full rosie.apk from the other rom, I can achieve the 4 row drawer with the opaque background but I'm looking to retain the translucent. So, perhaps it's easier to start with the other rosie with the opaque background and modify that to have a translucent background? Can using the original all_apps_view accomplish this or is there an easier way?
Click to expand...
Click to collapse
U wont see those xmls unless u decompile man... that's why I said u have to do it.
U using calk hd? Right?
Ill make u one real quick.
aamikam said:
U wont see those xmls unless u decompile man... that's why I said u have to do it.
U using calk hd? Right?
Ill make u one real quick.
Click to expand...
Click to collapse
Yeah I'm running calk's HD. Thanks man. I was just getting ready to try another frankenstein rosie.
DeathBySnuggles said:
Yeah I'm running calk's HD. Thanks man. I was just getting ready to try another frankenstein rosie.
Click to expand...
Click to collapse
here u go... let me know how it worked.
aamikam said:
here u go... let me know how it worked.
Click to expand...
Click to collapse
Absolutely perfect! Thank you so much. Donation sent. (well, sent before I knew it worked just for the effort but double bonus that it does!) Why can't sense be as configurable as lp or adw?
Thanks again.
DeathBySnuggles said:
Absolutely perfect! Thank you so much. Donation sent. (well, sent before I knew it worked just for the effort but double bonus that it does!) Why can't sense be as configurable as lp or adw?
Thanks again.
Click to expand...
Click to collapse
thank you very much.
Cant find it for looking annoying me, lol got the rest of the bar when expanded etc but not the static strip
RE: notification bar image
Eh there. the image you are looking for is "statusbar_background.9.png"
although it does not appear to be upon inspection, I altered the color of this file
and it worked. Hope it helps. Like you, I too am taking stabs at this theming
business.
Regards
did you just alter the colour or did you need to use .9 prog?
I simply opened the framework-res with 7zip and navigated to the correct image, then opened it with Ifranview, altered the color and saved it within the archive. By no means is this the best or most correct procedure, however it works for me
go3asy said:
did you just alter the colour or did you need to use .9 prog?
Click to expand...
Click to collapse
Up to you, go complex or just color it
Sent from my X10i using XDA App
nadiros said:
I simply opened the framework-res with 7zip and navigated to the correct image, then opened it with Ifranview, altered the color and saved it within the archive. By no means is this the best or most correct procedure, however it works for me
Click to expand...
Click to collapse
Well thats pritty much the same way as i do it, as far as i know the only time .9 comes into play is with resizing, changing colour and whatnot is fine, just when you resize. But yes I find your way works simple and easy, ive done it heaps and never had a problem, cheers
Hi everyone! Im making a theme for Gingerbread for the Galaxy Tab and am stuck because of an icon I cant get rid of or find where it is! Can someone help and tell me WHERE the icon (below attached) that pops up on the task bar during Media Scanning, is hidden? I looked everywhere, all system APKs I can think of including framework-res.apk and SystemUI.apk and cannot find it anywhere. Its driving me crazy!
I've successfully modded stat_notify_sdcard.png, stat_notify_sdcard_prepare.png and stat_notify_sdcard_usb.png from framework-res.apk and during PREPARE SD CARD operations the new updated icons show up.
However during MEDIA SCANNING operations, the old shows up again, no matter what. This stock icon I want to replace is hiding still somewhere else (..I cleaned all caches multiple times just in case and doesn't fix it)
Thanks in advance for the tip!
maybe you find in under music player ?
who knows
i never saw it before ~~
VeEuzUKY said:
Hi everyone! Im making a theme for Gingerbread for the Galaxy Tab and am stuck because of an icon I cant get rid of or find where it is! Can someone help and tell me WHERE the icon (below attached) that pops up on the task bar during Media Scanning, is hidden? I looked everywhere, all system APKs I can think of including framework-res.apk and SystemUI.apk and cannot find it anywhere. Its driving me crazy!
I've successfully modded stat_notify_sdcard.png, stat_notify_sdcard_prepare.png and stat_notify_sdcard_usb.png from framework-res.apk and during PREPARE SD CARD operations the new updated icons show up.
However during MEDIA SCANNING operations, the old shows up again, no matter what. This stock icon I want to replace is hiding still somewhere else (..I cleaned all caches multiple times just in case and doesn't fix it)
Thanks in advance for the tip!
Click to expand...
Click to collapse
You will find that on the mediaProvider.apk. in system/apps
If you need any help just PM me....
Sent from my SCH-I510 using XDA App
Thanks
XDAholic said:
You will find that on the mediaProvider.apk. in system/apps
If you need any help just PM me....
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
Thanks, that solved the issue of the missing icon for me.
Cheers
XDAholic said:
You will find that on the mediaProvider.apk. in system/apps
If you need any help just PM me....
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
YES! UR absolutely right, it actually made sense to be inside that package! thank you very much! I have one more (last) icon I cant trace where it is I want to modify for my theme; its the icon that pops on the left on the taskbar afetr an app is installed (for example after a package ins downloaded from Market and then installed, this is the notification icon). Can U help help me locate inside which package its hiding?
Thanks a lot again XDAholic
VeEuzUKY said:
YES! UR absolutely right, it actually made sense to be inside that package! thank you very much! I have one more (last) icon I cant trace where it is I want to modify for my theme; its the icon that pops on the left on the taskbar afetr an app is installed (for example after a package ins downloaded from Market and then installed, this is the notification icon). Can U help help me locate inside which package its hiding?
Thanks a lot again XDAholic
Click to expand...
Click to collapse
That's in the vending.apk itself. I think drawable.mpdi. but just look in the Res folders you'll see it.. definately vending.apk tho...
Sent from my SCH-I510 using XDA App
XDAholic said:
That's in the vending.apk itself. I think drawable.mpdi. but just look in the Res folders you'll see it.. definately vending.apk tho...
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
You're right again, thank you very very much!! Im almost done with all the graphics except one and editing some XMLs:
First, the download successful graphic was indeed in the vending.apk but when the download is not successful the standard red warning triangle is displayed. This graphic is not part of the vending.apk so im assuming its pulled from the standard stat_sys_warning.png from framework-res.apk?
Finally, I need to change and that is the size of the fonts for the date display on the top right of the taskbar. Do you know which XML or file I need to edit to change that font size?
Thanks again for all you amazing knowledge and help on this
VeEuzUKY said:
You're right again, thank you very very much!! Im almost done with all the graphics except one and editing some XMLs:
First, the download successful graphic was indeed in the vending.apk but when the download is not successful the standard red warning triangle is displayed. This graphic is not part of the vending.apk so im assuming its pulled from the standard stat_sys_warning.png from framework-res.apk?
Finally, I need to change and that is the size of the fonts for the date display on the top right of the taskbar. Do you know which XML or file I need to edit to change that font size?
Thanks again for all you amazing knowledge and help on this
Click to expand...
Click to collapse
I do believe the status bar clock is controlled by the services.jar and not a particular. Xml file, but ive never edited that clock so i am not 100% positive. Im horrible with smali code. Sorry! Yes the stat-notify-error.png in framework-res would control the statusbar icon for errors while downloading apps.
Sent from my SCH-I510 using XDA App
Out of curiosity, Ive seen the icon on the WIFI tab that shows the signal strength and encryption status some where in an APK resource but now, cant find it anymore. Does anyone know where its located? (Screenshot below in case UR not sure what Im talking about).
Thanks much!!
VeEuzUKY said:
Out of curiosity, Ive seen the icon on the WIFI tab that shows the signal strength and encryption status some where in an APK resource but now, cant find it anymore. Does anyone know where its located? (Screenshot below in case UR not sure what Im talking about).
Thanks much!!
Click to expand...
Click to collapse
It's been a while but I'm pretty sure that one is either framework-res or twframework-res (if you're still on a TW ROM). I thought I saw it in amongst the stat_sys_* images, but I could be completely wrong. I don't think I've tried editing that one.
EDIT: By the way, check in status_bar_expanded.xml and status_bar.xml for some parameters regarding the clock, but be careful cos they can ruin a theme (everything from graphical artifacts to bootloops) quite easily.
So ATM I use Wanam Kit for one and only one thing. Which is to move my status bar clock to the left. I also have gravitybox installed and I'm on cyanogenmod 11 M9 lol but they all only give the option to hide the clock or center it. Now yesterday I saw someone talking about a way to edit something so you could permanently center the status bar clock. I was hoping someone could tell me how to do the same but to place it on the left. This way I can uninstall an entire xposed module pact with functions I don't use! Thanks
Dracrius said:
So ATM I use Wanam Kit for one and only one thing. Which is to move my status bar clock to the left. I also have gravitybox installed and I'm on cyanogenmod 11 M9 lol but they all only give the option to hide the clock or center it. Now yesterday I saw someone talking about a way to edit something so you could permanently center the status bar clock. I was hoping someone could tell me how to do the same but to place it on the left. This way I can uninstall an entire xposed module pact with functions I don't use! Thanks
Click to expand...
Click to collapse
Decompile SystemUI/framework and modify it, or change it before building from source.
Lethargy said:
Decompile SystemUI/framework and modify it, or change it before building from source.
Click to expand...
Click to collapse
OK perfect but what would I be changing I wouldn't even know where to begin to start to look. I know some basic java from a couple years of college but I've never modded or coded for android yet.
Sent from my Nexus 5
Dracrius said:
OK perfect but what would I be changing I wouldn't even know where to begin to start to look. I know some basic java from a couple years of college but I've never modded or coded for android yet.
Sent from my Nexus 5
Click to expand...
Click to collapse
Numerous guides can be found if Google'd
Yup. I've done this mod myself before. Google "center clock mod android" and variations of the like and you'll find some tuts. It's going to be an XML file, probably status_bar.xml which I believe is in res/layout. If you're not familiar with decompiling, editing and recompiling APK files it's going to take you a while but it's worth to know how to do it anyway.