please help...going nuts here...how to change battery icons??? - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

ok so i'm going nuts here...i can't figure out how to change the battery icons...i tried using uot kitchen with no help...is there a guide to do this within a custom rom....i'm right now running tuchmi 5.0, and i really want the android battery icon with the % inside it...any help is appreciated...i've never themed before

The icons are in SystemUI.
Sent from my SAMSUNG-SGH-I747 using xda premium

Where is systemui?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

thanks i thought i needed to change them in the framework.apk....so just changing the roms systemui.apk will work?

tonyph33r said:
Where is systemui?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
system/app folder of the rom....

Use apktool to decompile the apk and you'll see the icons there, to break it down even further

If the rom your on doesn't currently have the battery percent then you'll also need to modify stat_sys_battery.xml and stat_sys_battery_charge.xml which is in res/drawable to look for all the additional png's. If your not sure what I'm talking about or how to do it let me know and I'll upload the right xml's for you.

Tiffany84 said:
If the rom your on doesn't currently have the battery percent then you'll also need to modify stat_sys_battery.xml and stat_sys_battery_charge.xml which is in res/drawable to look for all the additional png's. If your not sure what I'm talking about or how to do it let me know and I'll upload the right xml's for you.
Click to expand...
Click to collapse
Thanks might have to take u up on that. I found the pngs in the systemui.apk and changed them around but it didn't take properly. The Battary icons didn't display properly at all. I was hoping I could've used uot kitchen but that never worked. I'm going to mess around again tonight. The rom I'm currently on still has everything factory as far as the status bar goes. Dumb question. I know u can't flash the i9300 Rome to the att version but what about themes?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

lunercrab said:
Thanks might have to take u up on that. I found the pngs in the systemui.apk and changed them around but it didn't take properly. The Battary icons didn't display properly at all. I was hoping I could've used uot kitchen but that never worked. I'm going to mess around again tonight. The rom I'm currently on still has everything factory as far as the status bar goes. Dumb question. I know u can't flash the i9300 Rome to the att version but what about themes?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
I wouldn't recommend using them unless there using something like the Villain Theme System which only replaces the images and some xml's instead of replacing the entire apk. I just got home so give me a few and I'll send you the xml's you need to use and you 'll be fine.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

Tiffany84 said:
If the rom your on doesn't currently have the battery percent then you'll also need to modify stat_sys_battery.xml and stat_sys_battery_charge.xml which is in res/drawable to look for all the additional png's. If your not sure what I'm talking about or how to do it let me know and I'll upload the right xml's for you.
Click to expand...
Click to collapse
ok need your help....i got the pngs to change but i can't get the animations to work...i tried fixing the xml files but no go...if you can maybe get it to work i'd appreciate....here is the rom i want the battery png and xmls in...
tuchmi 5.0 http://beta.androidfilehost.com/?fid=22527720516747580

Related

[Q] AOSP status bar icons?

I'm looking for the status bar icons that come with vanilla Gingerbread. Like the ones in CM.
Also, would like to know where I should copy them to.
I tried looking inside the CM7 zip, but couldn't find anything that looked familiar.
Anyone knows if it can be extracted somehow from the CM7 ROM and be used with the stock rom?
Yes, theyre in system/systemui.apk
Sent from my SGH-T989 using Tapatalk
Thanks! Found it. It's actually: system/app/systemui.apk
The folder structure is obviously different from the stock rom. Anyone have an idea how I replace the existing icons?
Use 7zip to open the apk and replace them in system/res folder i think it is
Sent from my SGH-T989 using Tapatalk
There is no res folder inside "system". There's a res folder in the root, but there's only one file called "encryption"
ToastMan12 said:
There is no res folder inside "system". There's a res folder in the root, but there's only one file called "encryption"
Click to expand...
Click to collapse
Is it in framework/res?
Sent from my SGH-T989 using xda premium
The one he wants its in systemui.. Look in the res/hdpi or so folder
Sent from my SGH-T989 using Tapatalk
I've found it. I tried modifying the stock SystemUI.apk by replacing the icons in it with the ones from the CM7 rom. I then replaced the original SystemUI.apk with the modified one using Root Explorer, but by doing it the SystemUI process force closed leaving me with no status bar. It remained without status bar even after reboot.
So I guess this is not as easy as it seemed to be. I don't want to mess around with the root folder anymore, so if anyone has a flashable zip that can replace the status bar with AOSP icons I would greatly appreciate it!
Really easy to do, next time change the permissions then you wont get FC but if you have the odex version of the update heres the link to get the icons. Its by mikeyinid towards the bottom http://forum.xda-developers.com/showthread.php?p=20377172
Sent from my SGH-T989 using Tapatalk
noodles2224 said:
Really easy to do, next time change the permissions then you wont get FC but if you have the odex version of the update heres the link to get the icons. Its by mikeyinid towards the bottom http://forum.xda-developers.com/showthread.php?p=20377172
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
That's exactly what I need! But the link is down Thanks anyway!
I'll PM the guy for a copy I guess.
I pm him too last night for some files.. Dont know if he replies at pms. Some people on here get really mad.. But any chance you can help me out on the swype files?
Sent from my SGH-T989 using Tapatalk
Sure I'll try to help. I'm not sure what you're referring to though. What swype files?
I pmed you
Sent from my SGH-T989 using Tapatalk

[MOD] Hide AM/PM in the status bar (FF02/ICS)

Thanks to theHOTNESS for the original mod on the AT&T Skyrocket; agat63 & ssconceptz for putting up with my PMs while I tested smali edits and sextape & sfhub for the awesome leaks!
After digging through the smali files from Samsung, they seem to have changed between 4.0.3 and 4.0.4 and there doesn't seem to be a quick edit to remove AM/PM. However, luckily for us the 4.0.3 modded smali works just fine on 4.0.4!
For devs:
Here's the Clock.smali you need:
http://d-h.st/iew
Drop it in com/android/systemui/statusbar/policy in the SystemUI.apk (or the classes.dex from System UI) and go!
For everyone else:
Here is a modified SystemUI.apk for stock, deodexed FF02 including this mod and nivron's 1X/3G mod:
http://d-h.st/LSv
Rename to SystemUI.apk and push to /system/app. I'll try to make a flashable ZIP later on, just not at my home PC to do it right now.
Thanks for this. I will include this in my next update with credit of course. You da man.
Awesomeness. I've been waiting for this for so long.
Thanks for this mod! Do you know if there is a way to remove the battery percentage? I tried using other battery icons but the percentage is not part of the icon it makes using other icons useless.
thefsfempire said:
Thanks for this mod! Do you know if there is a way to remove the battery percentage? I tried using other battery icons but the percentage is not part of the icon it makes using other icons useless.
Click to expand...
Click to collapse
Settings-Display-Display Bat. Percent
I'm trying to move the battery percent. If anyone can point me in the right direction please hit me up!
_dan said:
Settings-Display-Display Bat. Percent
I'm trying to move the battery percent. If anyone can point me in the right direction please hit me up!
Click to expand...
Click to collapse
I imagine it's in SystemUI, maybe in /com/android/systemui/statusbar/policy/BatteryController.smali but I can't tell where exactly.
datajosh said:
I imagine it's in SystemUI, maybe in /com/android/systemui/statusbar/policy/BatteryController.smali but I can't tell where exactly.
Click to expand...
Click to collapse
Lmao, that's funny
Can you tell us what lines of code were changed please?
tdunham said:
Can you tell us what lines of code were changed please?
Click to expand...
Click to collapse
You need to replace the Clock.smali file with the one in the OP... still works on FF18 and I can upload a modified SystemUI.apk for that one if needed.
datajosh said:
You need to replace the Clock.smali file with the one in the OP... still works on FF18 and I can upload a modified SystemUI.apk for that one if needed.
Click to expand...
Click to collapse
I'm not liking all the changes the programmers made to the ICS xml and smali files either. I'm glad this workaround works too.
Good to see you got it working.
So if I wanted to remove it without losing my themed status bar what where and what lines would I edit?
Because if I'm not mistaken, what you have in the op simply replaces what's already there so I would lose theming.
Sent from my SPH-D710 using XDA
MrDowntown12 said:
So if I wanted to remove it without losing my themed status bar what where and what lines would I edit?
Because if I'm not mistaken, what you have in the op simply replaces what's already there so I would lose theming.
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
The OP is correct. The safest thing to replace/edit is the clock.smali in the systemui.apk.
Refer to this thread also:
http://forum.xda-developers.com/showthread.php?t=1591362

**JB Pulldown Notifications bar transparent black

Hi,
I was looking thru the framework apk trying to find the notification pull down thing becouse i want to edit it from grey to the standard transparant black. Can this be done via just changing the png file or is there other stuff i need to do ? ive tryed search button but dident find anything so any help apprecited thank you
**Big thanks to daman on thread who has supplied systemui.apk with transparent background
It is probably handled by an XML file or rendered from a small image file
Sent from my Galaxy Nexus using xda premium
bummer if xml as wouldent know where to start png`s ie image file no problem with
I'm gonna mess with it at work tomorrow and see if I can find it
Sent from my Galaxy Nexus using xda premium
I actually just wanted tk write a request for that. The tranparent black from ics looks 100 times better!
I'm really looking forward to your mod/work
Sent from my Galaxy Nexus using xda app-developers app
likewise and appreciate you taking the time out to look at thanks please post back when let us know how you get on.
Mojochief said:
The tranparent black from ics looks 100 times better!
Click to expand...
Click to collapse
agreed
really hate to bump a thread , but im guessing out of all the talented people here someone must know how to get this done or point me in right direction ?
U have to decompile systemui.apk .. its a .9 image therefore to edit it u need to edit in its decompiled state and only edit the color itself.. u cannot touch the black pixel boarder because that black patch is what tells the image how to stretch when phone is in portrait or landscape mode.. the image is called status bar close on.9 or something in the drawable xhdpi folder.. I will look into it but I'm not on jellybean yet
Sent from my Galaxy Nexus using xda premium
Kevin3328 said:
U have to decompile systemui.apk .. its a .9 image therefore to edit it u need to edit in its decompiled state and only edit the color itself.. u cannot touch the black pixel boarder because that black patch is what tells the image how to stretch when phone is in portrait or landscape mode.. the image is called status bar close on.9 or something in the drawable xhdpi folder.. I will look into it but I'm not on jellybean yet
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I will look at it if apktool will stop pissing me off
Sent from my Galaxy Nexus using Tapatalk 2
a black version would be epic!!
Ok I already had a decompiled jb systemui and framework res folder on my desktop and I looked and by the name youre giving it a pretty good size transparent square with a 66x66 block in the middle.
I looked through framework and I found status bar background files one of which is 7x1365 so if it was tailed across the screen would be about the right size. making transparent is no problem at all. getting the apk built after the fact might be trouble since apktool is being a flaming piece of **** the last few days.
I will try
thanks for replys and taking time to look into , very much appreciated
HumanXv2 said:
Ok I already had a decompiled jb systemui and framework res folder on my desktop and I looked and by the name youre giving it a pretty good size transparent square with a 66x66 block in the middle.
I looked through framework and I found status bar background files one of which is 7x1365 so if it was tailed across the screen would be about the right size. making transparent is no problem at all. getting the apk built after the fact might be trouble since apktool is being a flaming piece of **** the last few days.
I will try
Click to expand...
Click to collapse
on ics the file you guys are trying to edit is called the notification tracking background
HumanXv2 said:
Ok I already had a decompiled jb systemui and framework res folder on my desktop and I looked and by the name youre giving it a pretty good size transparent square with a 66x66 block in the middle.
I looked through framework and I found status bar background files one of which is 7x1365 so if it was tailed across the screen would be about the right size. making transparent is no problem at all. getting the apk built after the fact might be trouble since apktool is being a flaming piece of **** the last few days.
I will try
Click to expand...
Click to collapse
the fact that you're even looking at it is awesome!! Hopefully you can figure it out and help us noobs!
ive been trying to do it myself with no luck!
ok i found it it`s called the notification_panel_bg.9.png
I seriously hate apktool. I have tried apkmanager and apk multi tool and none of them work. apktool was working great then started acting crazy
HumanXv2 said:
I seriously hate apktool. I have tried apkmanager and apk multi tool and none of them work. apktool was working great then started acting crazy
Click to expand...
Click to collapse
i have a method give me a sec i will post a test system ui
Ok guys push this should work im not using jellybean at the moment please post a pic and to the op put this in the op so people can see
https://rapidshare.com/files/2140464399/SystemUI.apk
can whoever that pushes that make a screen shot of it? thanks!
daman215 said:
Ok guys push this should work im not using jellybean at the moment please post a pic and to the op put this in the op so people can see
Click to expand...
Click to collapse
Can you upload it to some other place? Xda's filehost is broken.
404 - Not Found
Click to expand...
Click to collapse

Hiding battery icon?

Looking to remove the stock battery icon, leaving only the battery percentage showing. Is this possible without root? I've rooted a lot of phones recently but didn't want to do this one yet...
Sent from my SGH-T889 using xda premium
not sure if you need root to flash theme
Not possible without root.
Sent from my SGH-T889 using Tapatalk 2
As others members posted you have to root your mobile...
i'm not sure if it is worth it ..
svavrek said:
Looking to remove the stock battery icon, leaving only the battery percentage showing. Is this possible without root? I've rooted a lot of phones recently but didn't want to do this one yet...
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
This would be nice. I'm sure the deb's will ad this to there custom roms in time. That battery icon is so annoying.
Tiffany84 said:
Not possible without root.
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
Rooted but not finding a good 1% mod and not finding something to hide stock...
Posted using XDA Premium from my Galaxy Note 2
svavrek said:
Rooted but not finding a good 1% mod and not finding something to hide stock...
Posted using XDA Premium from my Galaxy Note 2
Click to expand...
Click to collapse
I've never really looked into removing the battery icons. I always use icons with the battery percent in them but just a quick thought. You could make all the stock battery images transparent so they don't show.
Edit: Also, if you find a battery mod that you like but it's not for your device let me know and I can make it for you.
Sent from my SGH-T889 using Xparent ICS Tapatalk 2
I was just playing around to see if I could get it to work and what do you know it did.. lol
I got the idea from when sometimes my battery disappeared on 1 of my theme and to find the reason was because somehow my battery xmls would get borked. So what I did is just delete the stat_sys_battery.xml from the SystemUI.apk. It's found in the res\drawable folder, I left the stat_sys_battery_charge.xml and the battery still shows when plugged in so I'm guessing if you delete that too you wont have any of the battery icons. Screen attached
foreverloco said:
I was just playing around to see if I could get it to work and what do you know it did.. lol
I got the idea from when sometimes my battery disappeared on 1 of my theme and to find the reason was because somehow my battery xmls would get borked. So what I did is just delete the stat_sys_battery.xml from the SystemUI.apk. It's found in the res\drawable folder, I left the stat_sys_battery_charge.xml and the battery still shows when plugged in so I'm guessing if you delete that too you wont have any of the battery icons. Screen attached
Click to expand...
Click to collapse
I didn't even think about that. I would imagine if deleting the battery xml got rid of the battery icon then deleting the charging xml would get rid of the charging animation as well. Very cool.
Tiffany84 said:
I didn't even think about that. I would imagine if deleting the battery xml got rid of the battery icon then deleting the charging xml would get rid of the charging animation as well. Very cool.
Click to expand...
Click to collapse
Yea I was expecting the system to crash but nope lol
foreverloco said:
Yea I was expecting the system to crash but nope lol
Click to expand...
Click to collapse
I would of imagined the same. Pretty clever
Sent from my SGH-T889 using Xparent ICS Tapatalk 2
where is this apk located? also will winrar work or is 7zip an absolute requirement?
Vietnam travel-Halong bay cruise-Halong Paloma cruise
foreverloco said:
I was just playing around to see if I could get it to work and what do you know it did.. lol
I got the idea from when sometimes my battery disappeared on 1 of my theme and to find the reason was because somehow my battery xmls would get borked. So what I did is just delete the stat_sys_battery.xml from the SystemUI.apk. It's found in the res\drawable folder, I left the stat_sys_battery_charge.xml and the battery still shows when plugged in so I'm guessing if you delete that too you wont have any of the battery icons. Screen attached
Click to expand...
Click to collapse
Awesome theme... Looks like I have to learn how to get into that and edit my stuff... I'll research when I get home. Thanks!
svavrek said:
Awesome theme... Looks like I have to learn how to get into that and edit my stuff... I'll research when I get home. Thanks!
Click to expand...
Click to collapse
If you have problems or need some help let me know
Sent from my SAMSUNG-SGH-T889 using Xparent ICS Tapatalk 2
foreverloco said:
I was just playing around to see if I could get it to work and what do you know it did.. lol
I got the idea from when sometimes my battery disappeared on 1 of my theme and to find the reason was because somehow my battery xmls would get borked. So what I did is just delete the stat_sys_battery.xml from the SystemUI.apk. It's found in the res\drawable folder, I left the stat_sys_battery_charge.xml and the battery still shows when plugged in so I'm guessing if you delete that too you wont have any of the battery icons. Screen attached
Click to expand...
Click to collapse
Thanks man, this is precisely what I was looking for. I also deleted all of the pngs pertaining to the battery to slim down sysui a bit . Prepare to be Thanked!
foreverloco said:
I was just playing around to see if I could get it to work and what do you know it did.. lol
I got the idea from when sometimes my battery disappeared on 1 of my theme and to find the reason was because somehow my battery xmls would get borked. So what I did is just delete the stat_sys_battery.xml from the SystemUI.apk. It's found in the res\drawable folder, I left the stat_sys_battery_charge.xml and the battery still shows when plugged in so I'm guessing if you delete that too you wont have any of the battery icons. Screen attached
Click to expand...
Click to collapse
so do we have to unzip this apk and manually delete these files, rezip it, and then reinstall it?
i dont understand what needs to be done to remove the battery icon
seeking said:
so do we have to unzip this apk and manually delete these files, rezip it, and then reinstall it?
i dont understand what needs to be done to remove the battery icon
Click to expand...
Click to collapse
Use 7zip to open the apk, (don't extract) then navigate to the folder I mentioned and delete the stat_sys_battery.xml and the stat_sys_battery_charge.xml if you also don't want the charging battery to display. Close it after you're done and add it back into your phone's system\app folder using something like root explorer, then fix permissions to rw-r--r-- and reboot. Also make sure to rename your current systemui.apk to systemui.bak in case something goes wrong with the new one, and if it does you can just delete the new one and rename the old one back to .apk
Sent from my SGH-T889 using Tapatalk 2
where is this apk located? also will winrar work or is 7zip an absolute requirement?
seeking said:
where is this apk located? also will winrar work or is 7zip an absolute requirement?
Click to expand...
Click to collapse
It's located in system/app. I've never used winrar so I can't say but I'd imagine it would. I will say though if your going to be doing any more stuff like this 7-zip is a must have in my opinion. It's one of the first things I install on a new pc. If you run into trouble and foreverloco isn't available feel free to pm me.
Sent from my SGH-T889 using Xparent ICS Tapatalk 2
it worked with winrar, thanks for the help guys!

theme editing

Can someone help me or point me in the right direction for editing a theme? I want the Cobalt theme to have transparent status bar, transparent system backgrounds(dialer, settings...etc) just like the HoloGlass Beta but with all the nice stuff from Cobalt(https://play.google.com/store/apps/details?id=com.dustinb.theme.cobalt) (HoloGlass https://play.google.com/store/apps/details?id=com.mix3d.theme.hologlass.beta)
I'm still trying to figure this out, I've decompiled both themes, copied like 50 images from cobalt(signal, wifi...etc) to hologlass overwriting the originals, edited preview and changed the default wallpaper then recompiled, signed it, installed but the only thing that I can tell is different is the default wallpaper, everything else is the same, the preview didn't even work, just shows a red X....I don't understand.
If it's a system app you don't want to sign it. You need to preserve the original signatures if I remember correctly. Utilities like apk multi tool can do this for you when it's time to recompile. Could that be the problem?
Sent from my SGH-T999L using Tapatalk 4
Im at work....but when I get home I will tell you how to do it with 7Zip. Very easy to do
Sent from my SGH-M919 using XDA Premium 4 mobile app
DocHoliday77 said:
If it's a system app you don't want to sign it. You need to preserve the original signatures if I remember correctly. Utilities like apk multi tool can do this for you when it's time to recompile. Could that be the problem?
Sent from my SGH-T999L using Tapatalk 4
Click to expand...
Click to collapse
I didn't know a theme was a system app?
Well I was wrong, It mostly worked, most things changed except WiFi and signal bars(Which was one of the main features I wanted from cobalt) Maybe it would be easier just to take the transparent stuff from holo glass and put it into cobalt? Idk but I still need help with this...
k00lguy105 said:
I didn't know a theme was a system app?
Click to expand...
Click to collapse
It depends on what you're theming. I'm just guessing but the status bar is probably in the SystemUI.apk or SecLauncher2.apk. so to theme it would require modding the correct system app.
Sent from my SCH-I535 using Tapatalk 4
DocHoliday77 said:
It depends on what you're theming. I'm just guessing but the status bar is probably in the SystemUI.apk or SecLauncher2.apk. so to theme it would require modding the correct system app.
Sent from my SCH-I535 using Tapatalk 4
Click to expand...
Click to collapse
ok, but signing it didn't break it so idk.

Categories

Resources