yashsingh1/xdaforums huggingface dataset:
[Verizon Samsung Galaxy S III] shane6374:
@TeamERA:

Found it, and it is an xml. tw_status_bar_tracking.xml

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout [COLOR="Red"]android:background="#ff000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
<com.android.systemui.statusbar.phone.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/tw_status_bar_close_on" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>
</com.android.systemui.statusbar.phone.TrackingView>

I changed it to #88000000 and it became semi-transparent.

@Swiftks: We don't have the carrier in the status bar on the Sprint version. It's in the location where you want it on yours, same with the date.
[Verizon Samsung Galaxy S III] Bizdady:
nicely done shane! Can't wait to try it out lol
[Verizon Samsung Galaxy S III] TeamERA:
So whats the color code for 95% transparent?

Edit: actually, Im thinking gimp, what I mean to say is adding 5% transparency.
[Verizon Samsung Galaxy S III] shane6374:
#F2000000 would be very close.

Think I might have found the location of the carrier id label for those that have it on the status bar.

tw_status_bar.xml

<com.android.systemui.statusbar.phone.CarrierLabel android:gravity="center_vertical" android:id="@id/carrierLabel" android:background="#ff000000" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
[Verizon Samsung Galaxy S III] Moh_Jay:
Could anyone help me on how to revert a transparent status bar (not pull down) back to being 100% non transparent?

Also could anyone tell me what to edit to change the order for which the toggles appear?

"All this knowledge is giving me a raging brainer!"
[Verizon Samsung Galaxy S III] shane6374:
Why is the status bar not transparent? So far I've found 2 places where you can change the status bar back ground. One is the drawables.xml and the other is in the tw_status_bar.xml.

The toggles is smali. If you would want to tackle that sbrissen or Maddoggin is who I would ask, but you had better have some java and smali experience before even asking them about this.
[Verizon Samsung Galaxy S III] Bizdady:
Off top of my head you need to change the color in drawables xml back to black and change the status bar smali back to const 0x4 (transparent line is -0x3).

Ok in StatusBar.smali

const/16 v16, -0x3

needs to be changed back to

const/16 v16, 0x4

---------- Post added at 11:14 PM ---------- Previous post was at 10:17 PM ----------

So got it to stick, went with 50% but it looks a little funny lol
[Verizon Samsung Galaxy S III] shane6374:
Did you have to adjust the status bar smali or were you able to do it with an alpha adjustment in the drawables.xml?
[Verizon Samsung Galaxy S III] nirogu325:
I see the middle one is still grey. I'll toy around with it, that may be the one missing piece.

---------- Post added at 09:22 PM ---------- Previous post was at 09:15 PM ----------

Nope. Background did not change. Oh well. I guess I'll have to live with it. Still, thanks! :good:
[Verizon Samsung Galaxy S III] Kamy:
Search for tw_dialog_...
[Verizon Samsung Galaxy S III] fatherof4d2usc:
This is a great thread. has been very helpful:good:
[Verizon Samsung Galaxy S III] Pedamann:
I need a little help finding three items...

Touchwiz.. 4.3

1) The transparent black over the green header

2) The background when you plug in your headphone

3) The recommended apps bar...
[Verizon Samsung Galaxy S III] Bizdady:
Hmmm I had already done the statusbar smali since I already had transparent status bar set.
[Verizon Samsung Galaxy S III] shiftr182:
Okay, I have a question. I havent themed Touchwiz since the OG Epic, and I imagine ICS is a little different. Where is the image located for the statusbar? I want to change the actual statusbar image. I know with the og epic, there were two locations that you had to edit, but not sure with the S3.
[Verizon Samsung Galaxy S III] shane6374:
It's called from xml, not an image. It's in the twstatus_bar.xml and redirects to the drawables.xml where it calls out the #ff000000 hex code. You can either change the color there, or in either place change it to @drawable/statusbar_bg then make an image with the same name an put it in the drawable-xhdpi folder.
[Verizon Samsung Galaxy S III] shiftr182:
Is it in SystemUI.apk?
[Verizon Samsung Galaxy S III] shane6374:
Yes, and very easy to find.
[Verizon Samsung Galaxy S III] Moh_Jay:
May I ask what programs you guys use to edit the color of pngs?

"All this knowledge is giving me a raging brainer!"
[Verizon Samsung Galaxy S III] shane6374:
I personally use photoshop, but if you want a good free program try gimp.
[Verizon Samsung Galaxy S III] Moh_Jay:
Ya I use gimp just wondering

"All this knowledge is giving me a raging brainer!"
[Verizon Samsung Galaxy S III] mrvirginia:
any idea what i could change this to to get rid of it?

edit: i added android:visibility="gone" and it's still there. decompiled tweaked version and my changes are intact. had a good compile, too. going to try one more thing..

okay, what appears to be happening is as soon as you do a pulldown, the carrier string shows up and sticks in the bar again so there must be another place it's being called in. going to do some more digging and see what i can find.
[Verizon Samsung Galaxy S III] shane6374:
I'm guessing that you should be able to add the string

android:visibility="gone"

to make it go away.
[Verizon Samsung Galaxy S III] mrvirginia:
yep, that's exactly what i did. a pulldown of the bar is causing it to come back, though.
[Verizon Samsung Galaxy S III] mrvirginia:
it's showing up in smali as well, as CarrierLabel.smali and CarrierLabel$1.smali

any idea what to do here?
[Verizon Samsung Galaxy S III] shane6374:
I can look at this later when I get home. Plus doing this blind since we don't have the carrier label in the status bar on the Sprint version. I'm guessing this is only on the GSM phones since your phones like to tell you who's network your on.
[Verizon Samsung Galaxy S III] mrvirginia:
yeah, i'm not at home either. if i were i'd just grab up a Rogers or Sprint dump and decompile their SystemUI and see what's different. i'm guessing they don't even have a carrierlabel smali, though.

i appreciate your help, Shane.
[Verizon Samsung Galaxy S III] Bizdady:
LOL its bad enough Sprint tells us on the notification pull down but at least they took off the Lockscreen carrier :)
[Verizon Samsung Galaxy S III] shane6374:
At least an xml edit should rid us of that.
[Verizon Samsung Galaxy S III] sofreshjive:
LCD Density

Hi, I had changed my LCD Density from 320 to 300 and noticed only one bug. The drag down of the status bar is no longer centered. Was wondering if anyone knew how to fix it? Here is an attached picture:
[Verizon Samsung Galaxy S III] djkinetic:
Check the tw_tracking xml in res/layout, I noticed if I remove the Carrier label section from that xml then the Carrier label does not display.
[Verizon Samsung Galaxy S III] mrvirginia:
yes correct. but if you pull the statusbar down, it appears again on your statusbar, right?

edit: if someone could post a stock SystemUI.apk that is deodexed from either a Sprint or Rogers dump, i would greatly appreciate it :)
[Verizon Samsung Galaxy S III] djkinetic:
nope it never reappeared on my phone, unless i put the entry back in manually
[Verizon Samsung Galaxy S III] mrvirginia:
okay, i'll try this really quick and report back

---------- Post added at 02:20 PM ---------- Previous post was at 02:17 PM ----------

also, i think you meant tw_status_bar.xml, not the tracking one
[Verizon Samsung Galaxy S III] sofreshjive:
Here you go, Rogers stock SystemUI.apk:
[Verizon Samsung Galaxy S III] mrvirginia:
no, this did not work. the SystemUI came back with a FC with that entire line deleted. and, before it FC'd, i also saw that it was still there...

no dice. will await Shane to take a look.

it has got to be the smali that needs changing as well. really wish i had a Rogers or Sprint SystemUI :(

edit: sofreshjive, that is odexed. i need DEODEXED.
[Verizon Samsung Galaxy S III] djkinetic:
View attachment 1181129

Hmm not sure then if you were gettin an FC....theming on AOSP is so much easier lol
[Verizon Samsung Galaxy S III] mrvirginia:
off the bat i can tell everyone that the android:id="@id/carrierLabel" within tw_status_bar.xml has nothing to do with it. this is here on the Rogers SystemUI as well. this xml is identical to the ATT one. i can't check the smali code because the Rogers SystemUI is ODEXED. i need DEODEXED

---------- Post added at 02:37 PM ---------- Previous post was at 02:36 PM ----------

nah, just as easy theming non-AOSP if you know where to find most things...sometimes it just takes some thought when starting out.
[Verizon Samsung Galaxy S III] shane6374:
Would you be so kind as to post your systemui for others to look at? This is something that many on GSM devices are going to ask for. If you have it working we would like to figure out how you did it.
[Verizon Samsung Galaxy S III] mrvirginia:
it's def smali code, Shane. this is how it was removed from the AT&T HTC One X. i can try to download that SystemUI and see what they did but i may end up PM'ing the guy who did it.

edit: here's a ref point for the HOX http://xdaforums.com/showpost.php?p=26944751&postcount=40
[Verizon Samsung Galaxy S III] djkinetic:
Sure, I'm on DietICS for ATT flashing it causes my carrier label to disappear.
[Verizon Samsung Galaxy S III] mrvirginia:
no difference in CarrierLabel.smali, but there is a difference within the CarrierLabel$1.smali... going to see what was changed, make the change, and flash to see if it works.

edit: line 142 of ours needs to be deleted... still checking for more.

line 270, delete. then delete line 276. then delete line 282. then delete line 288. going to re-compile and see what happens lol
[Verizon Samsung Galaxy S III] djkinetic:
Hope it works =)
[Verizon Samsung Galaxy S III] mrvirginia:
alright, so the compile and everything worked, but it's still there. gonna try one more thing...

edit: oh it's still there because the changes didn't take. doh! hold on guys heh :)

edit: uhhh i deleted classes.dex which is what you delete when recompiling if you've changed smali code but it didn't take. any ideas, Shane?

apparently there's problems with editing smali code with apktool so that's the issue. i'm just going to decompile standalone smali and recompile that and try again :)
[Verizon Samsung Galaxy S III] djkinetic:
and there in lies the same problem I was having yesterday on my windows box, whenever i tried to decompile/compile after changes were made they wouldn't stick in the newly compiled apk...ended up using my linux box when i got home and voila things saved...hopefully shane or someone else can figure it out.
[Verizon Samsung Galaxy S III] shane6374:
You did everything I would have done.

With me spending my entire ICS existance on the Nexus S up until 2 weeks ago I compiled everything from source as to not have to deal with editing smali. Unfortunately that is not an option for us.

I would have probably ended up doing the same after getting very pissy and throwing a tantrum about not being able to it in windows.
[Verizon Samsung Galaxy S III] mrvirginia:
what i'm doing now is just decompiling classes.dex seperately and i'm going to recompile. apktool hasn't been updated to take care of classes.dex yet so that is the issue. with doing this, i've learned something new, how to backsmali/smali :)

win win. will update here shortly...

---------- Post added at 04:25 PM ---------- Previous post was at 04:19 PM ----------

i still can't get the changes to stick. not sure what route to go now.
[Verizon Samsung Galaxy S III] shane6374:
I think the last apktool update was in December, so yeah, it's getting dated. And I had just assumed for what ever misguided reason that you had already tried to smali/baksmali. Though I have to admit that my results with that method have been less than stellar. The apktool method always had worked great for me, but that was on gingerbread.

Edit: Saw your edit, this SUCKS!!!! Assuming you have winmerged all the files and tried flashing the posted apk?
[Verizon Samsung Galaxy S III] mrvirginia:
i try not to flash apk files that i'm not 100% are built from our stock doedexed ROM. i just used the posted apk to find the lines that needed to be deleted and modified them on ours. i could always just pull over that classes.dex file but that is risky as well since there are obv changes in that one. i'm really not sure why the latest smali/backsmali 1.3.3 wouldn't be working with this. maybe i need to downgrade to 1.3.2 :confused:
[Verizon Samsung Galaxy S III] djkinetic:
I blame touchwiz that is all :p seriously tho if you figure this out on windows you will save alot of ppl headaches lol
[Verizon Samsung Galaxy S III] mrvirginia:
i downgraded smali/backsmali 1.3.2. still no go :mad:
[Verizon Samsung Galaxy S III] mrvirginia:
so i've done this on another computer and still no dice lol

i decompiled the apk and tried it that way. and i tried it again with baksmali/smali.

if anyone has any insight as to how to get dex files to stick, i'd love to hear it.
[Verizon Samsung Galaxy S III] deserted1:
I found this to work better for making it dissapear,

<com.android.systemui.statusbar.phone.CarrierLabel android:gravity="center_vertical" android:id="@id/carrierLabel" android:background="#ff000000" android:paddingLeft="0.0dip" android:paddingRight="0.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />

notice how i changed its width and height, to 0.0dip.. this removes it.

if i remember correctly you have to find both lines one in statusbar and the other in status extended, the statusbar file is just the lockscreen statusbar from what i have found.

I did this and it works
[Verizon Samsung Galaxy S III] deserted1:
Did some work on my status bar tonight.

Got rid of the date, settings and carrier. Along with the clock and changed out my battery icon... changed all options to have blue instead of green.
[Verizon Samsung Galaxy S III] mrvirginia:
well, if you read back, i added android:visibility="gone" to this line and that made it disappear. but as soon as you extended the status bar, it came back. as far as i can tell, CarrierLabel is only showing up in one xml file other than ids and public iirc. i'll check the expanded really quick...

edit: yep, not sure how i missed tw_status_bar_expanded... i'll make edits to both and see how that goes.

edit: 0.0dip put in both worked! it is gone. finally. jeez. i'll post a stock deodexed ATT apk for those that may want it here in a second.
[Verizon Samsung Galaxy S III] mrvirginia:
Stock ATT SystemUI.apk

this is for deodexed stock ATT ROM.

it will remove AT&T from your status bar.
[Verizon Samsung Galaxy S III] shane6374:
I put a link to your post in the OP.
[Verizon Samsung Galaxy S III] Bizdady:
Nice job mrv!! Do you mind if I update my themes att apk with yours?? with credit of course :D
[Verizon Samsung Galaxy S III] mrvirginia:
awesome. glad I could contribute :)
[Verizon Samsung Galaxy S III] mrvirginia:
sure mate. I do not mind at all
[Verizon Samsung Galaxy S III] TeamERA:
What controls the mms icons in the status bar/lockscreen, framework??? systemui???
[Verizon Samsung Galaxy S III] deserted1:
Glad to have helped, I was pulling hair with the visibility thing the other day also, it just would not give up the ghost.
[Verizon Samsung Galaxy S III] mrvirginia:
status bar is the message app, i think. lockscreen is either framework-res or tw-framework.
[Verizon Samsung Galaxy S III] TeamERA:
Ill keep looking, Ive just changed a couple, see what happens.
[Verizon Samsung Galaxy S III] KLLSWITCH:
mind sharing what files you edited to make them go away?
[Verizon Samsung Galaxy S III] mrvirginia:
date is in tw_status_bar_expanded.xml. the settings should be here, also.

time is going to be in tw_status_bar.xml. time may also show up in tw_status_bar_expanded.xml
[Verizon Samsung Galaxy S III] mrvirginia:
in your first block of text, did you try just centering one of those instead of both? i wanna say the center on the policy.Clock is just centering it in it's block, while LinearLayout center should actually center it on the status bar... (or this could be vice versa)

you shouldn't need to mess with the second block at all since you're just trying to get the clock itself centered.
[Verizon Samsung Galaxy S III] Jirv311:
So I'm using bits from ICS Domination (with permission of course) for my new build but am trying to get the original AT&T 4G icon back in the status bar. I know it's a personal preference thing but on my phone it switches back and forth so often it's annoying. I just can't seem to find the code that references those images. Is it smali I should be looking at?
[Verizon Samsung Galaxy S III] shane6374:
Wouldn't they be in the stock systemui?
[Verizon Samsung Galaxy S III] Jirv311:
Yep, the images are there but I'm trying to figure out how to make SystemUI use the stock AT&T 4G icons instead of the H/H+/3G, etc.
[Verizon Samsung Galaxy S III] Nottach:
Easiest way to remove carrier label that Ive found is to add android:maxLength"0" attribute to tw_status_bar.

<com.android.systemui.statusbar.phone.CarrierLabel android:gravity="center_vertical" android:id="@id/carrierLabel" android:background="#ff000000" android:paddingLeft="4.0dip" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" [COLOR="Red"]android:maxLength="0"[/COLOR] />
[Verizon Samsung Galaxy S III] snotyak:
How can I change the green in this image? I looked through all the /res .png's and didn't see it there. It's the last thing I need to make mine blue.
[Verizon Samsung Galaxy S III] shane6374:
It should be the radio buttons in the framework-res.
[Verizon Samsung Galaxy S III] Swiftks:
Here's how to center the clock and also make it disappear when there's a notification:

Had to change this line in my tw_status_bar.xml from this:

<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">​

To This:

<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/status_bar_bg_tile" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">​

Also, here's how I removed my AM/PM from the status bar clock.

http://xdaforums.com/showthread.php?t=1591362

Anyone know any other way to remove the AM/PM? I compared my original clock.smali to a themes that already had removed the AM/PM, and they where the same. The above edit worked for me, but I was just curious if it was something I missed in a .xml somewhere.

Also, where's the color for "No Notifications" text in notification window located at? Thought it was in values/styles.xml

- Thanks

**Edit**

Nottach, good to see you around here. I still refer to your Atrix "How to Port a Theme... the Nottach way" thread all the time. :p
[Verizon Samsung Galaxy S III] mrvirginia:
99% positive it's located in res\values\colors.xml as

<color name="notification_category_color">#ffadc1d6</color>

please let me know if this is correct :)
[Verizon Samsung Galaxy S III] Swiftks:
That was it... thanks.
[Verizon Samsung Galaxy S III] mrvirginia:
np, and thanks for posting the AM/PM info. i didn't even realize this wasn't on my GNex before :p
[Verizon Samsung Galaxy S III] alirulzz:
i was wondering.. i wanted to make a custom icon for an app. ive made few for iphone before but have no idea how to do so here... can someone guide me please? thanks
[Verizon Samsung Galaxy S III] mrvirginia:
Clock color

okay, so i booted my GNex to find no AM/PM there so naturally i wanted to remove this from my status bar on the S3. while i was doing that, i figured i'd change the color of my clock back to ICS as well. removing AM/PM worked, but the steps for changing the clock color did not. it was pretty simple to find once i booted up and realized this.

to change the clock color, do the following instead:

in the SystemUI.apk, nav to res\layout\tw_status_bar.xml

find com.android.systemui.statusbar.policy.Clock

and change

android:textColor="#ff959595" to whatever color.

for ICS

android:textColor="#ff33b5e5"

---------- Post added at 07:08 PM ---------- Previous post was at 07:03 PM ----------

do you mean for where to put an icon to make it change?

i'm actually about to start doing this myself for my theme update tomorrow.
[Verizon Samsung Galaxy S III] shane6374:
There are a couple different methods depending on what you want to accomplish. If you're just looking to change it on the home screen, certain launchers allow you to do that. Not sure if anyone has tried metamorph yet on here, but I would imagine that would work. If you are on a deodexed rom you could easily pull the apk (I suggest root explorer so you don't have to mess with abd) and change the icon using 7zip then push it back to the phone. More explanation can be provided once we know your exact goals.
[Verizon Samsung Galaxy S III] alirulzz:
Thank you for your response. I am deodexed. So my new qs to you is what folder are the apk's located in? also how will i push it back to the phone??

finally what format are the icon pictures supposed to be in? and what are the dimensions supposed to be? thanks.

---------- Post added at 07:23 PM ---------- Previous post was at 07:17 PM ----------

---------- Post added at 07:08 PM ---------- Previous post was at 07:03 PM ----------

[/COLOR]

do you mean for where to put an icon to make it change?

i'm actually about to start doing this myself for my theme update tomorrow.[/QUOTE]

yup i do mean where to put an icon to make it change.. i found a theme on go launcher ex.. and it is pretty nice looking but the problem is most of the apps are not supported by the theme so they show up as a regular image, thus i am trying to get it so that all the icons look like the modified images.. can you help me out? thanks\

P.S. i am not really good with editing images using gimp or whatever
[Verizon Samsung Galaxy S III] mrvirginia:
there's lots of icon packs around the forums here. some are free, some cost money.

to edit icons, you need to first download 7zip. after you've done that, here's a quick guide.

i'm just going to pick a system app as an example, SecMMS.apk. this is our messaging app. copy this file from your /system/app to your sd card (root explorer can get this done for you). copy the app onto your computer. using 7zip, "Open Archive". navigate to res\drawable-sw359dp-xhdpi. what you want to change is ic_launcher_smsmms.png. this is the icon. now copy this back to your phone, then use root explorer on your phone to put back in /system/app. you don't even need to change permissions here. pretty sure you can just reboot. done. i know this works because i just did it.