I was just wondering if there is an easy way to change the battery icon in the status bar, like a flashable zip or something. I was using the below icon but that involved using xposed and xposed seems to mess things up sometimes so I'd rather not use it if I don't have to. Thanks for your help!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
fatmando2 said:
I was just wondering if there is an easy way to change the battery icon in the status bar, like a flashable zip or something. I was using the below icon but that involved using xposed and xposed seems to mess things up sometimes so I'd rather not use it if I don't have to. Thanks for your help!
Click to expand...
Click to collapse
It's actually VERY easy once you do it once.
First, you need to know what file to edit.
The battery .png images are kept in system/app/SystemUI.apk
now, you could just change the battery images, but there are only about 10 of them.
If you want the MOD where the battery actually tells you what number the battery is at, that requires knowledge of decompiling the application.
The best way for someone to do this would be for the ROM developer, or themer, or anyone who knows how, set up the SystemUI.apk with the 1-100% battery MOD already in the SystemUI.apk, then you just edit the .png images (all 200 of them, 1-100 for phone, 1-100 for charging)
VR theme would be the best system for changing batteries.
If you want I can edit your SystemUI.apk to allow the 200 batteries, or if you just want to change the one thats there, they are in res/drawable-xxhdpi folder, you can only edit the images that are there, so basically you could say, change the stock green battery to, res orange, yellow, green, blue, purple, you get it.
Google is your best friend for learning these things.
was for me anyway, and still is, I Google all the time, usually if you have a question, someone before you had the same one and you can find your answer that way.
these are some good threads, tells you where to find images for other apps as well.
http://forum.xda-developers.com/showthread.php?t=2421834
http://forum.xda-developers.com/showthread.php?t=916814
andybones said:
It's actually VERY easy once you do it once.
First, you need to know what file to edit.
The battery .png images are kept in system/app/SystemUI.apk
now, you could just change the battery images, but there are only about 10 of them.
If you want the MOD where the battery actually tells you what number the battery is at, that requires knowledge of decompiling the application.
The best way for someone to do this would be for the ROM developer, or themer, or anyone who knows how, set up the SystemUI.apk with the 1-100% battery MOD already in the SystemUI.apk, then you just edit the .png images (all 200 of them, 1-100 for phone, 1-100 for charging)
VR theme would be the best system for changing batteries.
If you want I can edit your SystemUI.apk to allow the 200 batteries, or if you just want to change the one thats there, they are in res/drawable-xxhdpi folder, you can only edit the images that are there, so basically you could say, change the stock green battery to, res orange, yellow, green, blue, purple, you get it.
Google is your best friend for learning these things.
was for me anyway, and still is, I Google all the time, usually if you have a question, someone before you had the same one and you can find your answer that way.
these are some good threads, tells you where to find images for other apps as well.
http://forum.xda-developers.com/showthread.php?t=2421834
http://forum.xda-developers.com/showthread.php?t=916814
Click to expand...
Click to collapse
Thanks Andy, that helps!
I'm surprised you've had problems with Xposed. It makes like so easy. especially with the Sense 5 Toolbox module..
Related
Hi ppls.
I saw this two threads in samsung vibrant's forum and they're realy interesting.
1st:http://forum.xda-developers.com/showthread.php?t=758797
2nd:http://forum.xda-developers.com/showthread.php?t=729800&highlight=evo
My question is: Can someone make this two mods working for samsung galaxy s(i9000) too?
I looked at it but i belive we dont have all those increments in our battery icons .. if you look in our framework-res we only have 0 10 20 ... 100
but i am going to diretly modify my framework-res from jm7 to put the
percentage icons from 0 to 100 in and also the better wifi and gps icons.. along with my already transparent notification bar if anyone is interested in it when i am done.
ok found out more .. it is not trivial to add new battery icons for each percent.. you have to decompile the f/w and edit the xml and recompile etc. etc. much simplier to replace icons you already have.. so
this is as above for only jm7 f/w
i just replaced the 0 thorugh 100 battery icons with the percentages (in 20 percent incements) that come stock with the framework and also put the better wifi and gps icons in (with color) from the above referenced post.
also my transparent notification bar is in.. make sure you have enough space to copy the new framework-res.apk into /system/framework or you will screw up the phone requiring a reflash ... I removed some built in samsung crap with the attached sscript ...
warning
only for i9000 euro jm7 firmware
requires rooted phone
i used root explorer to copy the new framework.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You can't just add in extra png's for the extra battery levels, there is an .xml to be adjusted too I think...
Have a look at FightSpits Circle battery mod... does the same thing and there is a repository thread in here that has almost All firmware's covered for the Galaxy S
ok after the 4th of 5th attempt i finally got a jm7 framework with all 100 percent icons working for the above referenced thread.. as before i also included:
1. 1-100 battery icons with percentages
2. new gps icons with color
3. new wifi icons with color
4. new signal and roaming signal icons with color
5. tranparent status bar
again install the same way.
again only for f/w jm7 and makes sure you have room in /system and copy to /system/framework with root explorer or your own method.
lgkahn said:
ok after the 4th of 5th attempt i finally got a jm7 framework with all 100 percent icons working for the above referenced thread.. as before i also included:
1. 1-100 battery icons with percentages
2. new gps icons with color
3. new wifi icons with color
4. new signal and roaming signal icons with color
5. tranparent status bar
again install the same way.
again only for f/w jm7 and makes sure you have room in /system and copy to /system/framework with root explorer or your own method.
Click to expand...
Click to collapse
Thx you, i will try it. Which color are they? Can u make a framework with blue icons?
the are the greeen,red,yellow ones.. the only blue ones i see are the vertical ones and i dont like those they seem off center .
here are the same changes for jm8 .. note i havent tested it yet..
but am preparing to install it with the new modem code... but am waiting a few more days to see what the consensus is..
All mods can be made! Put your requests here: http://forum.xda-developers.com/showthread.php?t=765419
I've tried searching everywhere and used Google but couldn't find anything. Anyone know how to change the bg color in the actual conversion?
I can't find it either. And I certainly for the life of me get the ET4G mms.apk to compile correctly. I think there's an app that's dependent on mms.apk when you decompile it. Anyways, a reference I found to the background color would be this.
<style name="cmas_alert" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@android:color/transparent</item>
</style>
Inside Styles.xml.
Also Colors.xml has some grey shades. It's in one of those two. Both inside the values folder when you decompile the app.
I never decompiled the MMS.apk. I opened it with 7.zip and replaced all the files that started with message_bubble with ones I liked from another mms.apk I found. When I flash a new rom, I merely replace the folder "drawable_hdpi" with my modded one. I had no issues doing it that way.
Ya I've tried searching in the colors and styles xmls and changing stuff but nothing seems to work. And I've been using twframework.apk as the dependency to decompile and compile.
Vegasden said:
I never decompiled the MMS.apk. I opened it with 7.zip and replaced all the files that started with message_bubble with ones I liked from another mms.apk I found. When I flash a new rom, I merely replace the folder "drawable_hdpi" with my modded one. I had no issues doing it that way.
Click to expand...
Click to collapse
This is fine if your just replacing images but if you wanna edit xmls you have to decompile and recompile
suwu10 said:
This is fine if your just replacing images but if you wanna edit xmls you have to decompile and recompile
Click to expand...
Click to collapse
I agree...but in your OP you asked about changing the background color of the conversation. I assumed you meant the "bubbles" the conversation text occurs. Those are all .9.png located in res/drawable/hdpi. There are 19 of them. I changed these out with two shades of blue from a themed mms.apk I pulled from another Rom.
However, if you're talking the true background and text here is a post in another forum with the XML edits he did after decompiling:
I agree...but in your OP you asked about changing the background color of the conversation. I assumed you meant the "bubbles" the conversation text occurs. Those are all .9.png located in res/drawable/hdpi. There are 19 of them. I changed these out with two shades of blue from a themed mms.apk I pulled from another Rom.
However, if you're talking the true background and text here is a post in another forum with the XML edits he did after decompiling:
Click to expand...
Click to collapse
Thanks a lot. I'll take a look at it. And ya I was talking about the gray background where the conversation is.
I was able to change the timestamp color but no luck changing that grey background color
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ill give this a try in 2 days. I think I can do it easily. I will get with overstew.
ssconceptz said:
Ill give this a try in 2 days. I think I can do it easily. I will get with overstew.
Click to expand...
Click to collapse
Thanks. Post here if you figure it out
As requested, I'm posting my icons that I made by hand (using a mishmash of powerpoint and paint.net =) ) as well as a rough map of a handful of files in case anyone wants to swap out other PNG's. Feel free to pick and choose whatever icons you might like from the attached zips, and you can follow the guide I posted in swapping PNG's, or ninjamorph or whatever means you like to swap PNGs.
So this is what it looks like on my phone:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And here's a guide for the location of a handful of PNGs and where they apply (I only included notification bar icons in the zips):
Notification icons (right) *stencil theme attached*:
SystemUI.apk/res/drawable-xhdpi
status icons
signal type icons
signal icons
wifi
framework-res.apk/res/drawable-xhdpi
additional status icons
battery icons - *if using 99% mod for the battery, then icons are in drawable-hdpi. If using stock battery, in drawable-xhdpi
Notification icons (left) *stencil theme attached*:
framework-res.apk/res/drawable-xhdpi
additional icons
Lockscreen divider (just for reference):
framework-res.apk/res/drawable-xhdpi
divider_horizontal_dark.9.png
Lockscreen dots (just for reference):
framework-res.apk/res/drawable-xhdpi
btn_code_lock_default.png
btn_code_lock_touched.png
indicator_code_lock_point_area_default.png
indicator_code_lock_point_area_green.png
indicator_code_lock_point_area_red.png
Pull-down bar (just for reference):
SystemUI.apk/res/drawable-xhdpi
statusbar_background.9.png (notification bar)
status_bar_item_background_normal.9.png (status bar item background)
status_bar_close_on.9.png (status bar close)
shade_bg.png* (In drawable-hdpi. Can only change if using transparency tweaks I posted or have changed XML in another way to direct to this file)
RES_cappuccino.apk/res/drawable-xhdpi
indi_noti_bg.9.png (quick setting background)
status_bar_header_background.9.png (header background)
indi_noti_bar.9 (indicator notification bar)
nice work!
These are amazing. I love the clean, minimalist look!
Thanks a lot! Took me a while, but I think it was worth it =)
itiskonrad said:
Thanks a lot! Took me a while, but I think it was worth it =)
Click to expand...
Click to collapse
Definitely! It's nice to see something different for once (and it helps that it's really good!)
Can I use these in a theming tool I'm working on? With proper credit, of course.
Oh, yeah, of course. Do whatever you want with them. Honestly, I just made them cause I wanted them for myself. Sharing it was just an after thought in case anyone else might like the theme too =)
If you ever move over to CyanogenMod or AOKP, you should really make a theme from this
I would love to move to cm9, but I actually use the video camera quite a bit, and I hear it still has focusing and stuttering issues, so unfortunately I have to wait. I'd also love to try the ics leak, but I think I need CWM, so again I have to wait =) but whenever I switch, you can bet I'll bring over my icons n stuff. I can't stand the stock ones. Blech! But again, if anyone wants to package them or use them in their own theme or whatever, go to town!
itiskonrad said:
Oh, yeah, of course. Do whatever you want with them. Honestly, I just made them cause I wanted them for myself. Sharing it was just an after thought in case anyone else might like the theme too =)
Click to expand...
Click to collapse
Thanks...I will!
I guess there is no CM9-Theme looking like this? I'm not sure, if i really should work on the framework-res.apk by myself.
Stencil battery on my s3 mini
Hello,
The JB deskclock.apk has three softkeys that turn into dots when you put the desk clock into night mode (It's the soft-key version of dimming hardware keys, I believe).
I'm wondering if there is a way to hack those dots out completely, same as media player apps do - extend the activity over the soft-keys. It would make the desk clock look much nicer, especially since black pixels on amoled are almost seamless with the bezel and would also prevent any potential screen burn in.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
From user interaction perspective, you could access the soft-keys by tapping the screen and going out of the night mode - where the soft-keys would appear again.
Thanks for any help/work/ideas.
Cheers
In theory, a developer could probably implement something that used a overlay-style sliding softkeys like watching landscape videos in Youtube, where they would disappear after a while.
Exactly
it's actually not part of the DeskClock.apk unfortunately, i think the images you are looking for would be ic_sysbar_lights_out_dot_large.png and/or ic_sysbar_lights_out_dot_small.png... both are in the SystemUI.apk, res/drawable-xhdpi folder. if you replace those with blank png's, you could achieve that effect.
that also means that any other apps that utilize those little gray dots as softkeys would also be blank... no idea what other apps that might be, if any.
if you upload the SystemUI.apk for whatever ROM you are using, i could give it a try to confirm. obviously that wouldn't be a very helpful mod since it would only be for one specific ROM, but i think it's something that could be done with zipthemer (something i am not familiar with) to make it more universal if it's a mod other people are really clamoring for.
ecs1984 said:
it's actually not part of the DeskClock.apk unfortunately, i think the images you are looking for would be ic_sysbar_lights_out_dot_large.png and/or ic_sysbar_lights_out_dot_small.png... both are in the SystemUI.apk, res/drawable-xhdpi folder. if you replace those with blank png's, you could achieve that effect.
that also means that any other apps that utilize those little gray dots as softkeys would also be blank... no idea what other apps that might be, if any.
if you upload the SystemUI.apk for whatever ROM you are using, i could give it a try to confirm. obviously that wouldn't be a very helpful mod since it would only be for one specific ROM, but i think it's something that could be done with zipthemer (something i am not familiar with) to make it more universal if it's a mod other people are really clamoring for.
Click to expand...
Click to collapse
I can do a ZipThemer and make the lights out images transparent, but if theme chooser themes have these images in them, it will override the mod. It'll work perfectly on the system theme or any unthemed rom though.
EDIT: Here ya go.
Lights-out-ZipThemer.zip
http://db.tt/WPdmuAzs
If you don't know how to use ZipThemer, follow my instructions here
http://forum.xda-developers.com/sho...Ghost ZipThemer][STOCK ROMS. ALL GNEX MODELS]
Enjoy
.....memoirs of a flash addict.
Many thanks stympy352, ecs1984 - it worked really nice. But I'm not sure that's what I'm looking for. The end effect is the same, and is great - but I'll loose it when I flash the next AOKP nightly.
I was hoping for a solution more like the one in Youtube player.
But still - the effect is great now - perfect $400 desk clock :
Cheers
PS. FBReader without the dots is nice.
EDIT:
To be honest - I was hoping there's an API or something to control the soft-keys. Something like sofkeys.setVisibility(HIDDEN);
I've been trying to do this myself now for about a week or so, I've searched every possible term I can think off both on this forum and Google, but for the life of me I can NOT figure out how to save the bubbles properly, please tell me I'm doing something wrong...
Alright here were my steps:
Root Phone (duh)
Decompile SecMMS.apk (I'm assuming if you can help me you already know how to get to this point)
Now this is the part that kills me, I take my .pngs and recolor them maticulously in both all 3 bubbles (Sent/Recv, focus and press) and the display bubbles.
I then rezip, replace and restart..
Only to end up with this...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Does anyone have any suggestions on how I can save this or what program I should use to edit this so the bubbles don't go crazy on me? I have tried a program called GIMP as well as a program online both did the same thing, I am wondering if it's HOW I saved it... I always saved as PNG retaining transparency and I'm just out of ideas.
Jamjoke931 said:
I've been trying to do this myself now for about a week or so, I've searched every possible term I can think off both on this forum and Google, but for the life of me I can NOT figure out how to save the bubbles properly, please tell me I'm doing something wrong...
Alright here were my steps:
Root Phone (duh)
Decompile SecMMS.apk (I'm assuming if you can help me you already know how to get to this point)
Now this is the part that kills me, I take my .pngs and recolor them maticulously in both all 3 bubbles (Sent/Recv, focus and press) and the display bubbles.
I then rezip, replace and restart..
Only to end up with this... View attachment 2288872
Does anyone have any suggestions on how I can save this or what program I should use to edit this so the bubbles don't go crazy on me? I have tried a program called GIMP as well as a program online both did the same thing, I am wondering if it's HOW I saved it... I always saved as PNG retaining transparency and I'm just out of ideas.
Click to expand...
Click to collapse
You don't have to decompile just theme the chat bubbles. Search for Android 9png editor
Jamjoke931 said:
I've been trying to do this myself now for about a week or so, I've searched every possible term I can think off both on this forum and Google, but for the life of me I can NOT figure out how to save the bubbles properly, please tell me I'm doing something wrong...
Alright here were my steps:
Root Phone (duh)
Decompile SecMMS.apk (I'm assuming if you can help me you already know how to get to this point)
Now this is the part that kills me, I take my .pngs and recolor them maticulously in both all 3 bubbles (Sent/Recv, focus and press) and the display bubbles.
I then rezip, replace and restart..
Only to end up with this... View attachment 2288872
Does anyone have any suggestions on how I can save this or what program I should use to edit this so the bubbles don't go crazy on me? I have tried a program called GIMP as well as a program online both did the same thing, I am wondering if it's HOW I saved it... I always saved as PNG retaining transparency and I'm just out of ideas.
Click to expand...
Click to collapse
These need to be either extracted or compiled. You can edit the png add the black markers for stretching and re-sizable area, then save and recompile with 9.png compiler and pop back in or decompile the entire apk and add it in, recompile once it is done.
I recommend View attachment xUltimate-9Patch.zip. If you need further help feel free to pm me.
Love you guys so much, going to test now
Jamjoke931 said:
Love you guys so much, going to test now
Click to expand...
Click to collapse
If only all new users were motivated like you...
welcome to XDA
Danvdh said:
If only all new users were motivated like you...
welcome to XDA
Click to expand...
Click to collapse
Thanks so much. I will try this when I get home!
Sent from my SGH-M919 using Tapatalk