yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] 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?
[Galaxy S III Themes and Apps  (US Carriers)] 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:
[Galaxy S III Themes and Apps  (US Carriers)] 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
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
i downgraded smali/backsmali 1.3.2. still no go :mad:
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] 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
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
Stock ATT SystemUI.apk

this is for deodexed stock ATT ROM.

it will remove AT&T from your status bar.
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
I put a link to your post in the OP.
[Galaxy S III Themes and Apps  (US Carriers)] Bizdady:
Nice job mrv!! Do you mind if I update my themes att apk with yours?? with credit of course :D
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
awesome. glad I could contribute :)
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
sure mate. I do not mind at all
[Galaxy S III Themes and Apps  (US Carriers)] TeamERA:
What controls the mms icons in the status bar/lockscreen, framework??? systemui???
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
status bar is the message app, i think. lockscreen is either framework-res or tw-framework.
[Galaxy S III Themes and Apps  (US Carriers)] TeamERA:
Ill keep looking, Ive just changed a couple, see what happens.
[Galaxy S III Themes and Apps  (US Carriers)] KLLSWITCH:
mind sharing what files you edited to make them go away?
[Galaxy S III Themes and Apps  (US Carriers)] 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
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] 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?
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
Wouldn't they be in the stock systemui?
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] 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] />
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
It should be the radio buttons in the framework-res.
[Galaxy S III Themes and Apps  (US Carriers)] 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
[Galaxy S III Themes and Apps  (US Carriers)] 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 :)
[Galaxy S III Themes and Apps  (US Carriers)] Swiftks:
That was it... thanks.
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
np, and thanks for posting the AM/PM info. i didn't even realize this wasn't on my GNex before :p
[Galaxy S III Themes and Apps  (US Carriers)] 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
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] 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
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] 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).
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
it's stock AOSP. i pulled it from a Galaxy Nexus ROM.
[Galaxy S III Themes and Apps  (US Carriers)] Jirv311:
Nottach? Whatter you doing here? Haha good to see you around here man. :D
[Galaxy S III Themes and Apps  (US Carriers)] 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.
[Galaxy S III Themes and Apps  (US Carriers)] 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
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
If that's the clear text check this in the tw_status_bar_expanded.xml

<TextView android:textSize="@dimen/status_bar_expanded_notification_clear_button_text_size" android:textColor="@color/tw_status_bar_clear_btn_text" android:gravity="center" android:id="@id/clear_all_button" android:background="@drawable/tw_btn_default_small" android:padding="0.100000024dip" android:focusable="true" android:clickable="true" android:layout_width="@dimen/status_bar_expanded_clear_button_width" android:layout_height="fill_parent" android:layout_marginRight="4.0dip" android:text="@string/status_bar_clear_all_button" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />

Maybe try adding the string android:visibility="gone"
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
alright, so i'm stumped. i can't figure out where the background comes from of the SecSettings.apk. i'm almost certain that the string, or possibly image, isn't located within SecSettings, but i'm trying to use it to find what's being called in. i tried settings_headers.xml as a reference point in res\xml but that's JUST the headers. any ideas anyone?

edit: in another thread, someone said it was tw_background_holo_dark.png but i have no clue as to where this might be. i've tried looking in both framework-res and SecSettings to no avail.

edit: okay so the difference is that's an international ROM. can't believe Samsung made it that different... still looking into it. trying to get an international framework-res to decompile and see where the image is being called in at to compare.

edit: okay, i think i found it :D i'll give it a test later (don't have right dependencies where i am) and let everyone know what i did exactly. seems no themer has been able to do this so another first coming from me.
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
has anyone been able to get a framework-res.apk to compile correctly? i tried 1.4.3.jar but i'm still getting plurals errors :confused:
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
I have, but that said I had issues with the systemui. I tried one from one rom and it failed, then from another and it worked fine. I remember we had an issue back on the Epic4G were a rom chef had compile his rom using an older version of baksmali which caused a lot of problems for themers when we tried to compile his framework.

As to you're earlier question, I haven't looked but is there a nodpi folder in the framework that might have that background? I know that's where it is on AOSP roms.
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
which version apktool.jar did you use to compile framework-res? not even sure which versions i have... i had 3 in there and all were different sizes, so different versions :eek:

the nodpi folder is the first place i looked. the stock one is there, of course, but the one Sammy uses is not. ironically, there's a tw_ background in there on the international ROMs so it was changed for at least the ATT framework-res. i'm pretty positive i found it but i have to get my framework to compile first before i can be sure (it's not an image for us, which is exactly what i figured). so, if you could, let me know which apktool.jar you used and i'll give it another go :D
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
I think I used 1.4.2. It's the one from last November.
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
okay, i'll try that a little later today and see if i can produce some results. thanks.
[Galaxy S III Themes and Apps  (US Carriers)] Swiftks:
Yeah, I'm having framework compile issues myself... which is weird, b/c every other time I've dealt with stock roms on other devices, it's usually the systemui that gives everyone trouble, and not the framework.

Do you guys know if the framework-res is cross compatible among sprint/att/t-mobile?

**Edit**

Think I just answered my own question. I compared the sizes of both the Sprint and AT&T framework-res.apks from both versions of ICS Domination v6, and they are both the exact same size... so I guess I should be able to flash the Sprint v6.1 framework-res without any problems.... one way to find out.
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
I do know that the first rom we had on the Sprint version was basically an AT&T rom with the Sprint radios. I would almost bet that the framework is one of the things that would be the same across all carriers. Also, the framework doesn't have smali which is where most of the differences appear to be.
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
alright, i got it to compile. not sure what version of apktool.jar i had that was decompiling/recompiling the stock ATT one on everything but framework-res, but 1.4.2 did decompile and 1.4.3 was what i used to re-compile this one. so, with that being said, i'm gonna go and test my tweak and see if it works out... will report back!

edit: bootloop. won't leave the splash screen :(

edit: i think i know what my mistake was. one more try here :p

very glad i made a safe framework installer heh

edit: another bootloop gahhhh. okay. one more try. if it doesn't work this time then i'm not sure what the problem is...

edit: i'm having trouble signing it...
[Galaxy S III Themes and Apps  (US Carriers)] Swiftks:
I'm going to start from a fresh stock AT&T framework-res too. Isn't the phone standby fix a part of the framework-res? What exactly needs to be changed to implement the fix?

Thanks
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
i thought that was just a build.prop tweak. if it's not, then i'm not sure i know about this standby fix you're referring too.

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

so i figured out it's not re-building my resources... wtf. this is such a pain.

edit: alright, resources built. signed... still bootloop so i'm not sure anymore. i don't know what's up. if anyone gets one to compile with changes to resources.arsc, please let me know how you did it. thanks.
[Galaxy S III Themes and Apps  (US Carriers)] NunHugger:
I can hook you up with my setup. I actually have three tools set up in one folder. One tool to de and recompile...and if that don't work, I have a pair that does. One works with some...the pair works with others. Weird set up, but it works. Have had no issues so far working on my Rom. Give me a few and I will zip it up and pm you a link.
[Galaxy S III Themes and Apps  (US Carriers)] Swiftks:
Can I get a PM as well Please.

Oh, BTW The Cell Standby issue is located at framework-res\res\xml\power_profile.xml on a stock framework. Just need to change the two 34s to 3.4.
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
yes, i'd appreciate that :)

okay, got it
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
so, great news. first, huge huge thank you to NunHugger. because of him, i was able to compile a framework. also, what i thought needed to be changed i was indeed correct about. right now my settings background is red :p

i'll write up a how to tomorrow. it's 1am here and i have to get up at 7:20 :eek:
[Galaxy S III Themes and Apps  (US Carriers)] Tiffany84:
I seen your post where you said you finally got it but just wanted to ask if instead of trying to resign have you tried to drag the META-INF folder and the AndroidManifest.xml from the stock framework-res into the modded framework-res? Whenever I'm messing with system apps that's what I do and haven't had any issues.
[Galaxy S III Themes and Apps  (US Carriers)] Swiftks:
Awesome, i got the PM as well. Probably won't be able to try it for a day or so, as i will be away from my computer. When you have time can you post or send me a PM of the correct sequence you used to decompile and then recompile.

Thanks

Sent from my SGS III