[Q] Removing the Alarm Clock Icon in Status Bar - AT&T Samsung Galaxy S II SGH-I777

I am using the Unamed rom, after using a different rom that allowed the use of the JkayMod which made it easy to remove icons in the status bar by just the uncheck of a box. Does anyone know how to remove the alarm clock icon in the status bar when it is active for an alarm? I just think it is kind of annoying...

hallor618 said:
I am using the Unamed rom, after using a different rom that allowed the use of the JkayMod which made it easy to remove icons in the status bar by just the uncheck of a box. Does anyone know how to remove the alarm clock icon in the status bar when it is active for an alarm? I just think it is kind of annoying...
Click to expand...
Click to collapse
Have you tried pressing menu -> settings -> alarm clock settings -> hide alarm icon?

let me find the code real quick

Thanks man

http://forum.xda-developers.com/showpost.php?p=8104552&postcount=2
Ok so here is the link, follow the post as far as lines to delete and add
The only difference is the smali file that needs to be edited, Statusbarpolicy.smali, is in the systemUI.apk
Decompile that apk and you will find the file in smali/com/android/systemui/statusbar/policy

yoderk said:
http://forum.xda-developers.com/showpost.php?p=8104552&postcount=2
Ok so here is the link, follow the post as far as lines to delete and add
The only difference is the smali file that needs to be edited, Statusbarpolicy.smali, is in the systemUI.apk
Decompile that apk and you will find the file in smali/com/android/systemui/statusbar/policy
Click to expand...
Click to collapse
On a different device these days looking to do the same mod. StatusBarPolicy.smali doesn't appear to exist in SystemUI.apk and I can't find a reference to 'alarm' in any of the smali files that contain StatusBar in the name. Any thoughts on where else to check? (It's still Android 4.0.4)
Edit: Found the relevant code in SystemUI.apk\smail\com\android\systemui\statusbar\phone\PhoneStatusBarPolicy.smali

yoderk said:
http://forum.xda-developers.com/showpost.php?p=8104552&postcount=2
Ok so here is the link, follow the post as far as lines to delete and add
The only difference is the smali file that needs to be edited, Statusbarpolicy.smali, is in the systemUI.apk
Decompile that apk and you will find the file in smali/com/android/systemui/statusbar/policy
Click to expand...
Click to collapse
All the information in this link is gone. Does anyone have a cached version or know where else I can find it?

creeve4 said:
All the information in this link is gone. Does anyone have a cached version or know where else I can find it?
Click to expand...
Click to collapse
Wow, the OP removed all the content from the thread and replaced it with "Deprecated", locked the thread, and doesn't allow PMs. Never mind the fact that that information was still entirely relevant to all pre-JB devices...
Seems pretty crummy to just remove all the info. I wonder why he did it.

Sorry to bump this up, but I published an Xposed mod recently to hide the icon (permanently or based upon configurable time to next alarm). Will work on any rooted 4.0.3 or higher ROM.

Related

[Q] black notification bar

First - Let me start by saying I did a search of black notification bar and didn't really find anything specific to the vibrant. Actually I did find when using the search but still confused. Initially I was just uing the auto fill pop up for information.
Second - Instead of posting in Q&A, I figured it would be better posted here since it's a theme/app. Moderator please move if appropriate. Thanks.
Third - This is strictly for Stock JL5 deodexed.
With that out of the way...
The black/sort of transparent bar is driving me crazy. I'd like for the notification bar to be just straight black. Initially, I was running NeroV3.0 and liked how the notification bar was completely black. But, I just wasn't digging the gingerbread theme. So, I borrowed some of Sombonix's pngs and just copied them to my framework. That was a completely disaster. Man, am I glad I made backups.
Can any of you themer gurus help me out?
what's the name of the png file that is the notification bar? I am on my way home as we speak so I can help as much as I can from there.
I thought this is all I would have to replace but was I sorely mistaken.
statusbar_background.9.png
I am by no means a themer, but I have modified my notification bar, basically all I did was find the notification bar I wanted and used adb push to copy over the framework-res.apk from the desired source to system\framework whilst in cwm.
What all PNGs should I be modifying? There's so many in there that has to do with status bar that I'm getting lost. Also, although I'm running launcherpro, do I need to modify both the framework and twframework?
Yes there's three folder u should be looking at. One is ib the framework-res.apk. the other two are In the twframework.apk. there's 2 seperate folders u need to look into.. I believe one is hdpi, the other might be hdpi-4.. u must change all status bar png. Although I could be wrong because different roms place their png in diffrent folders.. and have a different set up...
Thanks for the tip. Looks like I'll be doing a lot of stare and compare tonight.
Yeay! I did it. Thanks for everyones help with your suggestions. Here is what I ended up doing.
1. Copied my framework and twframework from my phone on to my PC.
2. As a test, took this status bar from here: http://www.devsforandroid.com/forum/index.php?threads/axura-skins-and-themes.39/ (Thanks junkdruggler and Master).
3. Did a search of *status*.
4. Copied *status* to the appropriate places on my framework and twframework.
5. Created a zip.
6. Flashed zip via CWM.
I think one problem is I tried just copying the framework and twframework over and the OS doesn't like me doing that while it's running.

Help with removing alarm clock and time from status bar

Does anyone know how to remove the alarm clock "if i have it on" and time from the status bar ? or point me to a thread explaining how to do it. I have looked high and low for thread but nothing for build 2.08.651.2 android 2.3.4. Would greatly appreciate the help. Here is a link to my systemUi.apk not sure if that needed.
http://dl.dropbox.com/u/19695515/SystemUI.apk
Guessing this isnt possible ?
its very possible- search steelh, been discussed already.
steal25 said:
its very possible- search steelh, been discussed already.
Click to expand...
Click to collapse
i looked thru his thread and didnt see anything
http://forum.xda-developers.com/showthread.php?t=1226479
i did find this post http://forum.xda-developers.com/showthread.php?t=1200161&highlight=remove+clock+from+status+bar but im not sure where to find the files "\com\android\systemui\statusbar\policy\StatusBarPolicy.smali" and "status_bar.xml"
I used a few of those mods, location, clock and alarm but the alarm clock one doesnt seem to work. I followed everything the way it was and no luck. I got the digital clock removed. Was told that to remove the alarm clock there was a few more steps involved. To find the smali and xml files you have to use a program to decompile and recompile the SystemUI.apk. I used GingerScript program. Search the evo 3D forum for that, its a simple script that basicly does everything for you.
schmeggy929 said:
I used a few of those mods, location, clock and alarm but the alarm clock one doesnt seem to work. I followed everything the way it was and no luck. I got the digital clock removed. Was told that to remove the alarm clock there was a few more steps involved. To find the smali and xml files you have to use a program to decompile and recompile the SystemUI.apk. I used GingerScript program. Search the evo 3D forum for that, its a simple script that basicly does everything for you.
Click to expand...
Click to collapse
Thanks for you help ill look for it !
Just change the alarm clock icon to something better looking, and i can remove your clock if you would like...I just need your systemui.apk and com.HTC.resources.apk...
Sent from my PG86100 using Tapatalk

[Q] Theming Issues/Framework

Hey Guys,
Im trying to add parts to a theme I'm using. I've themed quite a bit on my captivate and Infuse 4G. This has me stumped though.
Now, for the simple parts im using UOT. Specifically the notification drop down. I'm trying to theme the header, notification, footer etc. Everytime I try it dosen't work. None of the files are replaced. I can see a few of them looking through the framework-res and systemUI res folders. Some of them I can't. They seem to be in diferent places or renamed compared to the captivate systemUI and framework. I've tried three different times and no go.
Question is...Are the notifcation drop down images renamed or in different places on MOTO roms? Any hints for a MOTO nub trying to theme?
I appreciate any help. Thank you.
What images are u talking about.. dropdown notifications are in system ui.. when u use the kitchen make sure u click amend script b4 finishing motor and blur r more dependencies than anything in a custom rom
Sent from my DROID X2 using XDA App
If your talking about the status bar, you can't use UOT Kitchen to theme it, it will give you errors! Not sure why, just how it is
Sent from my DROID X2 using XDA App
My memory is horrible and and I haven't touched this in a few days but I can give the places to look and if you change them at all it should be pretty apparent which did what. Sorry, I don't have enough time right now to give a detailed answer.
SystemUI.apk > res > drawable-hdpi > statusbar_background.9.png
--- I believe this is the status bar at the top of the screen
SystemUI.apk > res > drawable-hdpi > title_bar_portrait.png
--- I believe this is the notification toggle background if you have them
SystemUI.apk > res > drawable-hdpi > (toggle buttons if you have them... right at the top of the folder)
SystemUI.apk > res > values > drawables.xml
--- shade_bgcolor is.... not sure :/ the notification header I believe (it was a nasty blue bar for me that says "no notifications" most of the time )
--- notification_header_text_color is the color of the text on that header
--- notification_number_text_color I'm not even sure if it's visible. I've never seen it and haven't changed it at all.
framework-res.apk > res > drawable-hdpi > status_bar_background.png
--- not completely sure if this changes anything but figured I'd throw it in
--- right after this is the status_bar_item_background_(focused/normal/pressed).9.pngs and they are the notification items that pop up, change color on press, etc.
The clear all button, I believe, is in SystemUI somewhere, pretty sure it's an xml.
The minus button that appears on the notification to clear is an image also in SystemUI I believe.
I think that's everything for the notification and status bar. Sorry again for the less informative answer. When I get home from work I'll try and check to see if you asked any more questions and I should have more time to explain the little I do know. Really hope this helped and good luck with the theme-ing! Looking forward to seeing new themes come for the X²!
Pretty much right on point... clear button is not an xml though.. except for text colors in these areas everything else is an image that can be edited
Sent from my DROID X2 using XDA App
The images that UOT doesnt get (which btw works fine for most of the notification bar) are located in blur-res.apk and moto-res.apk.
I vaguely remember UOT working for the status bar a while back when I tried, but since I've been on Molten it doesn't seem to work. Not sure if it's unique to Molten or maybe gingerbread or whatever; I also don't have the knowledge to know. All I know is that on my phone right now, UOT doesn't work for status bar and bootanimation. Lockscreen started working after I got Molten v2 it seems... my guess is it really depends on what ROM, if any, you're using. Please correct me if I'm wrong, I'm kind of curious to know.
UOT will work regardless the ROM your running. The only thing UOT will work for on our phone is the status bar/battery/icons/fonts mods.
You need to feed UOT the SystemUI.apk and framework-res.apk from the rom you are running. Be sure to select Amend scripting in the options on UOT and you are good to go.
That being said there are a few graphics/colors from the status bar that are not in systemui or framework-res.. you can find these in moto-res and blur-res.
Icons and battery work with UOT, just not status bar or boot animation. I haven't tried window transition so I'm not sure if that works.
Sent from my DROID X2 using XDA App
If you are theming the stock 2.3.4 the background color where it says no notifications, on going, etc. is a hex color value in an XML file /drawable/shade_bgcolor.xml. (But in the Eclipse rom nitro changed it to point to an png image called title_bar_portrait.png.)
Thank you guys for all the answers. I really do appreciate it.
I found out what I was doing wrong based on them.
Now I'm on track Found everything I needed to. Thanks again!
IDMA.DROID.X2 said:
Icons and battery work with UOT, just not status bar or boot animation. I haven't tried window transition so I'm not sure if that works.
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
mastafunk said:
UOT will work regardless the ROM your running. The only thing UOT will work for on our phone is the status bar/battery/icons/fonts mods.
You need to feed UOT the SystemUI.apk and framework-res.apk from the rom you are running. Be sure to select Amend scripting in the options on UOT and you are good to go.
That being said there are a few graphics/colors from the status bar that are not in systemui or framework-res.. you can find these in moto-res and blur-res.
Click to expand...
Click to collapse
Mr.Jibbens said:
I vaguely remember UOT working for the status bar a while back when I tried, but since I've been on Molten it doesn't seem to work. Not sure if it's unique to Molten or maybe gingerbread or whatever; I also don't have the knowledge to know. All I know is that on my phone right now, UOT doesn't work for status bar and bootanimation. Lockscreen started working after I got Molten v2 it seems... my guess is it really depends on what ROM, if any, you're using. Please correct me if I'm wrong, I'm kind of curious to know.
Click to expand...
Click to collapse
Mr.Jibbens said:
My memory is horrible and and I haven't touched this in a few days but I can give the places to look and if you change them at all it should be pretty apparent which did what. Sorry, I don't have enough time right now to give a detailed answer.
SystemUI.apk > res > drawable-hdpi > statusbar_background.9.png
--- I believe this is the status bar at the top of the screen
SystemUI.apk > res > drawable-hdpi > title_bar_portrait.png
--- I believe this is the notification toggle background if you have them
SystemUI.apk > res > drawable-hdpi > (toggle buttons if you have them... right at the top of the folder)
SystemUI.apk > res > values > drawables.xml
--- shade_bgcolor is.... not sure :/ the notification header I believe (it was a nasty blue bar for me that says "no notifications" most of the time )
--- notification_header_text_color is the color of the text on that header
--- notification_number_text_color I'm not even sure if it's visible. I've never seen it and haven't changed it at all.
framework-res.apk > res > drawable-hdpi > status_bar_background.png
--- not completely sure if this changes anything but figured I'd throw it in
--- right after this is the status_bar_item_background_(focused/normal/pressed).9.pngs and they are the notification items that pop up, change color on press, etc.
The clear all button, I believe, is in SystemUI somewhere, pretty sure it's an xml.
The minus button that appears on the notification to clear is an image also in SystemUI I believe.
I think that's everything for the notification and status bar. Sorry again for the less informative answer. When I get home from work I'll try and check to see if you asked any more questions and I should have more time to explain the little I do know. Really hope this helped and good luck with the theme-ing! Looking forward to seeing new themes come for the X²!
Click to expand...
Click to collapse
IDMA.DROID.X2 said:
If your talking about the status bar, you can't use UOT Kitchen to theme it, it will give you errors! Not sure why, just how it is
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
mastafunk said:
The images that UOT doesnt get (which btw works fine for most of the notification bar) are located in blur-res.apk and moto-res.apk.
Click to expand...
Click to collapse
hedwig34 said:
If you are theming the stock 2.3.4 the background color where it says no notifications, on going, etc. is a hex color value in an XML file /drawable/shade_bgcolor.xml. (But in the Eclipse rom nitro changed it to point to an png image called title_bar_portrait.png.)
Click to expand...
Click to collapse
okay. so with all of these conflicting posts its hard to determine if it will work to modify status/notification bar/window/pulldown.
but since IDMA is the only.one saying it wont work I am inclined to believe it WILL work and that IDMA is mistaken /doing something wrong somewhere. I hope someone smarter than me can help IDMA figure out what's going wrong. it would just be nice to have everyone on the same page good luck. sorry I don't really have any info on this.
You can nod status bar, but in UOT it gives SHTF errors. Talked to Mendozina about it and said it was something with the phone. You can mod it manually though.
If there is a way, then please please please tell me, it would make it easier!!
Sent from my DROID X2 using XDA App
IDMA.DROID.X2 said:
You can nod status bar, but in UOT it gives SHTF errors. Talked to Mendozina about it and said it was something with the phone. You can mod it manually though.
If there is a way, then please please please tell me, it would make it easier!!
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
Not to deter you from UOT, but why I not change it manually? My experience w/ UOT was that it's limited in what you can do so recently I just stick to manually changing things.
X0dus said:
Not to deter you from UOT, but why I not change it manually? My experience w/ UOT was that it's limited in what you can do so recently I just stick to manually changing things.
Click to expand...
Click to collapse
I use it as a base, then I do manual changes. But I have a bug with the status bar right now so it would be easier to just use UOT to fix it out. The status I would just copy it over to my theme zip.
Sent from my DROID X2 using XDA App
The SHTF errors occur when you feed UOT a framework or systemui that has been previously modded incorrectly.. (ie when you go switching graphics and 9.pngs out without recompiling etc..) Try feeding it a stock systemui and framework from your framework..
For instance.. If your ROM is based on 2.3.3 take the stock 2.3.3 framework-res.apk and SystemUI.apk and feed it to UOT when you are done then you can anything you want back in.
IDMA.DROID.X2 said:
You can nod status bar, but in UOT it gives SHTF errors. Talked to Mendozina about it and said it was something with the phone. You can mod it manually though.
If there is a way, then please please please tell me, it would make it easier!!
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
Sweet! That makes sense. Thanks!
Sent from my DROID X2 using XDA App

Icon Locations

Hey guys!
Recently, I used Rom Toolbox Pro to change my statusbar icons but one won't change (the H+) icon.
I want to manually change this to the 4G Icon, but I'm having trouble locating the .png's in the root directory.
Does anyone know the path to the .png's?
(I've already tried system/framework/framework-res.apk/res/drawable-hdpi . This seems to contain the old icons, and not updated icons, since the the stock icons seem to be contained in here)
Also, I kind of want to make my pattern lockscreen invisible (remove the big black dots). I'm assuming this is also a .png somewhere in the root directory. A pointer to these files would also be appreciated! Thanks!
Might it be in twframework-res.apk? I haven't done any modifying with png's in a while, shot in the dark
Phalanx7621 said:
Might it be in twframework-res.apk? I haven't done any modifying with png's in a while, shot in the dark
Click to expand...
Click to collapse
chcked that too but theres no data icons even in there
How about systemui? Idk
Sent from Team Pirate! Using Tapatalk 2
Nick281051 said:
How about systemui? Idk
Sent from Team Pirate! Using Tapatalk 2
Click to expand...
Click to collapse
Spot on.
All notification bar icons (the ones that show on the right) are in SystemUI.apk.
Jack_R1 said:
Spot on.
All notification bar icons (the ones that show on the right) are in SystemUI.apk.
Click to expand...
Click to collapse
Actually, I picked up somewhere that SystemUI.apk was the right directory.
However, I only have the name. I've looked around in Root Explorer but theres sooooo many files I'm having trouble locating it.
Could someone give me the path to \blah\blah\SystemUI.apk ? It'd be greatly appreciated!!
[EDIT]
Nm I did a root search and found it! Thanks guys!
However, there aren't some other .png's in here such as the download icon and stuff.
Anyone know where the other icons in the status bar might be located? (also the big black dots for pattern lock)
Thanks!!!
Megiddo2000 said:
Actually, I picked up somewhere that SystemUI.apk was the right directory.
However, I only have the name. I've looked around in Root Explorer but theres sooooo many files I'm having trouble locating it.
Could someone give me the path to \blah\blah\SystemUI.apk ? It'd be greatly appreciated!!
[EDIT]
Nm I did a root search and found it! Thanks guys!
However, there aren't some other .png's in here such as the download icon and stuff.
Anyone know where the other icons in the status bar might be located? (also the big black dots for pattern lock)
Thanks!!!
Click to expand...
Click to collapse
System/app/systemui.apk
Sent from My SGH-I777 Running Spiderman Themed AOKP or Spiderman Themed CM10

Battery icons in KitKat

Where are they? I checked the framework-res and SystemUI of an AOSP rom, and they're just not there. Does anyone know?
Sent from my GT-I9100
I join the question, i searched in all possible drawable folders and nothing, just grey pngs at ..\framework\framework-res\res\drawable-xhdpi\stat_sys_battery... :S
yuriy636 said:
I join the question, i searched in all possible drawable folders and nothing, just grey pngs at ..\framework\framework-res\res\drawable-xhdpi\stat_sys_battery... :S
Click to expand...
Click to collapse
Changing them changes nothing. I've also been looking, haven't found them yet
has anybody found where the battery can be changed?I changed and added my mods in almost every apk, such as contacts,sytemui,framework-res,dialer you name it -I have them in there but still shows the default very frustrating!Same thing with the dial pad it also shows default on the initial dialer but the in-call dialer I was able to theme.
EDIT Nevermind -I have found out the battery among some otherthings are now generated in code in 4.4 ,So sorry to all the modders that like to change things easy.It will now require much more to make changes that were once a matter of changing a few png files or maybe and xml here and there.Lerts hope there are themers out there that find a way around this
I found this post what mean that battery icons is draw by code:
http://forum.xda-developers.com/showthread.php?t=2513466
Right now, the only thing I could find is how to add the % number in the icon.
https://play.google.com/store/apps/details?id=de.kroegerama.android4batpercent
Before.
As the icons are drawn, can't we remove the goto scrpt and use a old drawn icon xml file
try my last mod guys, it can be found in my signature..

Categories

Resources