yashsingh1/xdaforums huggingface dataset:
[T-Mobile, Samsung Galaxy SIII] 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" />
[T-Mobile, Samsung Galaxy SIII] 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!"
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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
[T-Mobile, Samsung Galaxy SIII] 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?
[T-Mobile, Samsung Galaxy SIII] Bizdady:
Hmmm I had already done the statusbar smali since I already had transparent status bar set.
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] shiftr182:
Is it in SystemUI.apk?
[T-Mobile, Samsung Galaxy SIII] shane6374:
Yes, and very easy to find.
[T-Mobile, Samsung Galaxy SIII] 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!"
[T-Mobile, Samsung Galaxy SIII] shane6374:
I personally use photoshop, but if you want a good free program try gimp.
[T-Mobile, Samsung Galaxy SIII] Moh_Jay:
Ya I use gimp just wondering

"All this knowledge is giving me a raging brainer!"
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] shane6374:
I'm guessing that you should be able to add the string

android:visibility="gone"

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

any idea what to do here?
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] Bizdady:
LOL its bad enough Sprint tells us on the notification pull down but at least they took off the Lockscreen carrier :)
[T-Mobile, Samsung Galaxy SIII] shane6374:
At least an xml edit should rid us of that.
[T-Mobile, Samsung Galaxy SIII] 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:
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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 :)
[T-Mobile, Samsung Galaxy SIII] djkinetic:
nope it never reappeared on my phone, unless i put the entry back in manually
[T-Mobile, Samsung Galaxy SIII] 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
[T-Mobile, Samsung Galaxy SIII] sofreshjive:
Here you go, Rogers stock SystemUI.apk:
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] djkinetic:
View attachment 1181129

Hmm not sure then if you were gettin an FC....theming on AOSP is so much easier lol
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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
[T-Mobile, Samsung Galaxy SIII] djkinetic:
Sure, I'm on DietICS for ATT flashing it causes my carrier label to disappear.
[T-Mobile, Samsung Galaxy SIII] 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
[T-Mobile, Samsung Galaxy SIII] djkinetic:
Hope it works =)
[T-Mobile, Samsung Galaxy SIII] 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 :)
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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?
[T-Mobile, Samsung Galaxy SIII] 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:
[T-Mobile, Samsung Galaxy SIII] 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
[T-Mobile, Samsung Galaxy SIII] mrvirginia:
i downgraded smali/backsmali 1.3.2. still no go :mad:
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] mrvirginia:
Stock ATT SystemUI.apk

this is for deodexed stock ATT ROM.

it will remove AT&T from your status bar.
[T-Mobile, Samsung Galaxy SIII] shane6374:
I put a link to your post in the OP.
[T-Mobile, Samsung Galaxy SIII] Bizdady:
Nice job mrv!! Do you mind if I update my themes att apk with yours?? with credit of course :D
[T-Mobile, Samsung Galaxy SIII] mrvirginia:
awesome. glad I could contribute :)
[T-Mobile, Samsung Galaxy SIII] mrvirginia:
sure mate. I do not mind at all
[T-Mobile, Samsung Galaxy SIII] TeamERA:
What controls the mms icons in the status bar/lockscreen, framework??? systemui???
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] mrvirginia:
status bar is the message app, i think. lockscreen is either framework-res or tw-framework.
[T-Mobile, Samsung Galaxy SIII] TeamERA:
Ill keep looking, Ive just changed a couple, see what happens.
[T-Mobile, Samsung Galaxy SIII] KLLSWITCH:
mind sharing what files you edited to make them go away?
[T-Mobile, Samsung Galaxy SIII] 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
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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?
[T-Mobile, Samsung Galaxy SIII] shane6374:
Wouldn't they be in the stock systemui?
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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] />
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] shane6374:
It should be the radio buttons in the framework-res.
[T-Mobile, Samsung Galaxy SIII] 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
[T-Mobile, Samsung Galaxy SIII] 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 :)
[T-Mobile, Samsung Galaxy SIII] Swiftks:
That was it... thanks.
[T-Mobile, Samsung Galaxy SIII] mrvirginia:
np, and thanks for posting the AM/PM info. i didn't even realize this wasn't on my GNex before :p
[T-Mobile, Samsung Galaxy SIII] 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
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] 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
[T-Mobile, Samsung Galaxy SIII] 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.
[T-Mobile, Samsung Galaxy SIII] shane6374:
The easiest way it with root explorer. You can navigate to the system/app and data/app folder to find all the apks. Copy them to you sdcard (make sure you keep a backup copy of the original too), then connect to your computer, go to the sd card and open the apks with 7zip. The icons are normally in the res/drawable-xhdpi or mipmap-xhdpi folder (check mipmap first). If not there check the hdpi folders. You can then name your icon the same as the original and drop it in the zip. xhdpi icons are 96x96px, hdpi icons are 72x72px. Once done, go back to the phone and copy the edited apks back to where you got them from and restart the phone.
[T-Mobile, Samsung Galaxy SIII] mrvirginia:
just so no one is confused, what Shane said is correct too, in regards to the folders. it depends on the app you're working with. in my case, it was the folder i listed, even though that same icon is also located in drawable-xhdpi (changing this one had no effect).
[T-Mobile, Samsung Galaxy SIII] shane6374:
Yes, there is no perfect science to this. You just have to explore and change until you get it, and get used to trial and error.
[T-Mobile, Samsung Galaxy SIII] alirulzz:
i actually also wanted to change my messaging app icon.. can you tell me what icon pack you used to get this messaging icon? thanks.muchh appreciated.
[T-Mobile, Samsung Galaxy SIII] mrvirginia:
it's stock AOSP. i pulled it from a Galaxy Nexus ROM.
[T-Mobile, Samsung Galaxy SIII] Jirv311:
Nottach? Whatter you doing here? Haha good to see you around here man. :D
[T-Mobile, Samsung Galaxy SIII] shane6374:
I've linked a few more posts in the OP. If anyone see anything else that should be linked let me know and I'll update.
[T-Mobile, Samsung Galaxy SIII] Swiftks:
So I'm finally done with my SystemUI... just in time to start all over again with AOKP :eek:

But I have one little annoying nag... I originally based my systemui off one of Tiffany's builds in the ICS Domination thread. Can anyone tell me which xml has the settings for Notification line in the below screen shot (probably tw_status_bar_expanded). There is a little annoying something??? at the far edge. Don't know if it's a left over typo, the padding is wrong???? Any ideas?

Thanks