yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Themes and Apps  (US Carriers)] chill145:
for mapatton82

getting an error when trying to upload zip but basically you want to make sure using most recent aapt from sdk and apktool.jar 1.4.3 to recompile as i was getting the same exact errors
[Galaxy S III Themes and Apps  (US Carriers)] mapatton82:
I got it working with the Apktool posted just before your post!! I am just theme the SystemUI.apk from my phone and I am running stock rooted root66 file.

Sent from my Samsung Galaxy S3
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Awesome. Glad it got sorted.
[Galaxy S III Themes and Apps  (US Carriers)] chill145:
was wondering if you you or somebody could take a look at this. attached is screenshot and modded systemui.apk.

i've edited 3 xmls to remove status bar clock and i applied it through root explorer. however when i rebooted, clock is still there but no force close this time or status bar being removed. i don't know what i'm possibly doing wrong. (on verizon if that matters)
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Have you wiped your cache and dalvik? Also if you could direct me to the tutorial you followed for the mod that would help.
[Galaxy S III Themes and Apps  (US Carriers)] chill145:
yeah i've wiped both cache and dalvik and i followed this guide http://xdaforums.com/showpost.php?p=28483189&postcount=94
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Would you also mind posting the un modified SystemUI.apk?
[Galaxy S III Themes and Apps  (US Carriers)] chill145:
absolutely, attached below
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
can you also attach your framework-res.apk? I'm a little stumped so far.

---------- Post added at 09:37 PM ---------- Previous post was at 09:25 PM ----------

Heading out for the night. I'll check back later and see if I can help. In the mean time, maybe someone else can look into it. :)
[Galaxy S III Themes and Apps  (US Carriers)] chill145:
for some reason xda won't let me attach zip, i've been trying different browsers and everything but won't let me, here's a link to my framework-res

http://www.sendspace.com/file/4w5jta

also thanks for the help, do appreciate it. i'm still going fool around and see if i can find anything
[Galaxy S III Themes and Apps  (US Carriers)] xCaldazar:
I been trying to use the apktool1.4.2 to decompile SystemUI.apk, but it refuses to do so. The apktool.1.4.4 works correctly though. Is there a reason I shouldn't use the .4? I also tried the .3 separately and that one wouldn't work either.
[Galaxy S III Themes and Apps  (US Carriers)] mapatton82:
Thanks everyone for the help, I got everything setup!!!

Sent from my Samsung Galaxy S3
[Galaxy S III Themes and Apps  (US Carriers)] xCaldazar:
Even when it appears to work on the .2 It will only produce the SystemUI folder with a smali folder within. Nothing more.

The .4 seems to successfully create a new SystemUI.apk for me, but it doesn't show changes even after the adb push. I have tried "Remove battery full notification" and "How to change carrier label:" each separately, neither showed a change.

If I decompile the ones I made changes to they show the changes in the xml files or .smali file. I just don't see changes on my phone enough after a (dalvik) cache clearing.

---------- Post added at 10:33 PM ---------- Previous post was at 09:59 PM ----------

I finally got it, I used root explorer. I don't know why was wrong with using adb. I put the phone into recovery than typed in(from within the /Users/Username/apktools/SystemUI/dist/ directory) :

adb push SystemUI.apk /system/app/SystemUI.apk

It gave output as thought it worked. Is there something I missed?

Also how does one go about making an update.zip type of implementation for updating these types of things?
[Galaxy S III Themes and Apps  (US Carriers)] MattBooth:
The guide for compiling and decompiling the SystemUI.apk doesn't work.

I've tried MANY things to get this working and nothing does.

Here is the printout from my command prompt.

Which by the way, I decompiled and them tried to recompile immediately I made NO changes.
[Galaxy S III Themes and Apps  (US Carriers)] xCaldazar:
I used only the apktool1.4.4 and it worked for me. I used these steps on both Bean's and NoSympathy's ROMs.

1. apktool if framework-res.apk

2. apktool d SystemUI.apk <-At this point you should get a SystemUI folder with a 'res' subfolder, 'smali' subfolder, and some other stuff.

2_and_a_half). At this point you should be able to edit files to your liking. Once done:

3. apktool b SystemUI <- Make sure it doesn't say SystemUI.apk, leave off the apk, you are telling it the folder at this instance.

4. Copy the "META-INF" and "AndroidManifest.xml" to the SystemUI/build/apk folder. Then run the command a second time:

5. apktool b SystemUI

You should now have the newly build apk in SystemUI/dist/

At which point does it not work? I don't see any attachment for some reason or I'd take a look at that. Your post does say attached thumbnails, but its an empty box for me.

********Your thumbnail is showing up now:

I actually got the same error earlier. My solution was to delete the apks I was using and do a adb pull to get fresh files.

plug in your phone, and have adb already installled, as well as in your system path variables. Let me know if this isn't already setup as I am assuming it is.

Move or delete your old apk files as well as the framework, and System UI folders.

abd pull /system/app/SystemUI.apk

adb pull /system/framework/framework-res.apk

That should give you new fresh files to work with. That fixed my problems. Don't forget to grab the new "META-INF" and "AndroidManifest.xml"

I'm typing this all from memory, not copy pasta, so there could be small typos.
[Galaxy S III Themes and Apps  (US Carriers)] MattBooth:
Thanks, I'll try that.
[Galaxy S III Themes and Apps  (US Carriers)] xCaldazar:
^Any luck?
[Galaxy S III Themes and Apps  (US Carriers)] chill145:
edit: solved thanks to mapatton82

appreciate everyone for the help on this, been a long day and a half
[Galaxy S III Themes and Apps  (US Carriers)] xCaldazar:
What did you change? It appears from the output that it used whatever you removed elsewhere. Want to list the file and text you edited?
[Galaxy S III Themes and Apps  (US Carriers)] mapatton82:
I sent you a pm with the instructions on how to hide the clock and battery.

Sent from my Samsung Galaxy S3
[Galaxy S III Themes and Apps  (US Carriers)] chill145:
thanks for the help, really appreciate it, i was going crazy over here. my girlfriend thanks you too as i was obsessing over this.

thank you!!!!
[Galaxy S III Themes and Apps  (US Carriers)] DroidGnome:
The guide in the OP to decompile/recompile works perfectly fine, and is Exactly on spot. I've used it step by step and it works great. The only callout would be perhaps to reverse the following two lines:

While I THINK the apktool.jar included in the zip is 1.4.2, it is a bit confusing as it tells you to run the command THEN rename it :) I think it'd be better to not have the apktool.jar in the zip at all, and swap those two lines...

Either way works fine.

One simple way to TEST it... is to follow the guide and do not make ANY changes to any file.. just decompile, then recompile.. it should work perfectly. (That's what I did to ensure I had the right steps).

once you know it works and there's no issues with your APKtool package THEN you can make changes.

BTW I used the guide to remove the Samsung QuickShortcuts.. worked perfectly. I then replaced them with "Notification Toggles" from the market.. much more configurable.
[Galaxy S III Themes and Apps  (US Carriers)] MattBooth:
Nope, didn't work :(
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
I am getting the same errors as you were trying to de/recompile stock SystemUI. What did you do to fix those errors you were getting? Did you use a different apktool kit?
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Look in the folder with the corrupted images. You'll see a .9.png and a .png right after it of the same name (minus the .9) Delete both for every corrupted image. Then take the APK file and extract the corrupted images and put them in the folder. Should compile just fine after that.
[Galaxy S III Themes and Apps  (US Carriers)] pieces of cake:
How do we center the clock?
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
Sorry, I wasnt getting the PNG errors, just the others you were getting. I did track down Wanman's kit and was able to successfully decompile/recompile an unmodified SystemUI.apk so I have that much worked out. I know I have the right tools.

Now the errors I am getting are after editing the xml files, specifically the ones to change the carrier info. I think the issue is I am not completely understanding what Freeza means when he says "ADD AFTER".

Am I adding this code

<string name="custom_carrier">INSERT_CUSTOM_CARRIER_LABEL_HERE</string>

on the line below this one?

<string name="edit">Edit</string>

I am not sure when he says "add after" if he means on the same line or if I am to create a new line.

Sorry for the Noob questions.
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Create a new line

<string name="done">Done</string>
<string name="edit">Edit</string>
<string name="custom_carrier">INSERT_CUSTOM_CARRIER_LABEL_HERE</string>
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
Okay, so just making that one change i get the error attached. I can decomplie/recompile an unmodified systemUI with no errors though, so it must be something I am doing wrong. I am using notepad++ to edit the XML's. Should I be using something else?
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Notepad++ should work just fine. Can you attach the unedited SystemUI.apk and your framework-res.apk? I'll see if I can figure something out.

sidenote: i noticed Jimmie's Phone in there... My name is Jimie. lol. xD
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
LOL. Thanks for the help.

Here is my systemUI.

It wont let me upload framework because its 18megs. I think 8megs is the limit.
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
check your pm
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
replied. Thanks.
[Galaxy S III Themes and Apps  (US Carriers)] concac858:
How did you get rid of the battery icon??
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
I had an issue including the ' in Jimmie's Phone so right now it just says Jimmies Phone. Let me know how this goes and I'll see if I can figure out how to include the '

Don't forget to set the same permissions

Edit: this should do it. Let me know if there is any trouble
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
Very cool, I will give it a shot and see how it looks. Thank you.

Any idea why I was getting those errors?
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Not entirely sure.

I let Windows install some updates this morning and after that I was unable to compile anything. I system restored to a few days ago and all is working just fine now... My guess is somehow it's Windows, but I can not confirm if that is the case.. I'm still kind of baffled.
[Galaxy S III Themes and Apps  (US Carriers)] nismax:
Im trying to center clock but no luck. Anyone interested to help ill upload systemui and code for center clock. Thanks
[Galaxy S III Themes and Apps  (US Carriers)] racinwarrior:
upload it. ill do it.
[Galaxy S III Themes and Apps  (US Carriers)] Wildchld:
Look here...

http://xdaforums.com/showthread.php?t=1730388&highlight=center+clock
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
Well I am able to complie/recompile an unmodified APK, so it wouldnt make sense why i couldnt do the same for a modified one.

The new SystemUI worked great. Now I have to figure out why I am getting errors LOL. Thanks for the help Jimie.
[Galaxy S III Themes and Apps  (US Carriers)] xCaldazar:
I'm really not sure than. I just started this whole modifying thing on Saturday so I'm still a bit new to it all.
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
UPDATE**

After looking over the XMLs you edited and making the same changes to my XMLs I was able to decompile/recompile without errors. Must have been an editing issue on my end. Thanks for the help, now I can dive in a little deeper :).
[Galaxy S III Themes and Apps  (US Carriers)] mapatton82:
Find the res/layout/tw_status_bar.xml and ImageView for the battery (line 16 I think) then change the this value from android:layout_width="wrap_content" to android:layout_width="0.0dip". Save and recompile.
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
What XML holds the info I need to place the clock in the center?
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
It's got me stumped, but I'm glad the one I did up for you worked out fine. :)
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
I did finaly get it worked out and can now de/recompile no problems. Thanks again.

Any Idea where/what changes are needed to put the clock in the center? I tried the tutorial linked a few posts up but it did not work.

Thanks,
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Awesome! What'd you do to fix it? That info would probably help many others here.. As for the clock, I do not know. But I will look around.

Edit: I found this one in the International S III section. http://goo.gl/7zQVX and always make a backup first.
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
I redownloaded wanams apktool. Then I downloaded all files + google api's from android 4.1 - 2.1 using the android sdk manager. After that I restarted the laptop.

After I did those things I started making very simple changes to unmodified APKs and they began de/recompiling without error. Unfortunately I can say exactly which of the above steps fixed the problem, but its fixed :).

Thanks,
[Galaxy S III Themes and Apps  (US Carriers)] :
Does anyone know how I can compile an APK without signing it?

Or give me a guide to compile a working framework-res.apk?
[Galaxy S III Themes and Apps  (US Carriers)] dazednconfused:
If your just compiling it you should be fine. Usually you have to choose to sign it, it shouldn't be signing on its own. What tools are you using?

Sent from my SPH-L710 using Xparent SkyBlue Tapatalk 2
[Galaxy S III Themes and Apps  (US Carriers)] :
I was using what was in freeza's zip. I decompiled framework-res successfully with 142, edited on screen nav buttons in /res/values/bool.xml to true, recompiled successfully, and pushed the apk from dist to /framework/ and tried to boot. I got stuck at the boot animation.

I assumed it signs on its own since in freeza's guide, it said the apk would be signed and ready to go at the end.
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Did you assign the right permissions to the file?
[Galaxy S III Themes and Apps  (US Carriers)] :
I know this might be painful to read, but:

How would I go about doing that?

Sorry, I'm a noob.
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
From one Noob to another, this is how I do it.

I just copy the file over to my extSDcard via ES File Explorer. Once on my SD card I long press the file to bring up the menu. One of the options in the menu is permissions. I set them to 755 right there. I know you can do it in ADB but I dont know the commands off the top of my head.
[Galaxy S III Themes and Apps  (US Carriers)] :
Thanks, but I just did chmod 755 framework-res.apk and that did the trick.

EDIT: It booted! Thanks everyone for the help
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Thanks for answering him, I was eating dinner xD

Glad it worked out for you.
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
Do I need to be deodexed to move the clock?
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
Okay...so after a bunch of searching and reading I was able to piece together several different codes to do the following:

move clock to center

make clock dissapear when notifications pop up so the notifications do not overlap the clock

remove carrier label

Now I am trying to find out where to change the color of the center clock to white.

I am going to attach the SystemUI.apk and a flashable ZIP that will work with CWM.

As always flash at your own risk after NANDROID.

Thanks go to:

SWIFTKS

PEPI1234

Freeza

Tsudeily
[Galaxy S III Themes and Apps  (US Carriers)] racinwarrior:
clock color is in styles.xml. change it to #ff000000
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
Thank you sir!

---------- Post added at 02:07 PM ---------- Previous post was at 01:49 PM ----------

Actually that made it clear...LOL. I had to change it to #fffffff for white.

Thanks!
[Galaxy S III Themes and Apps  (US Carriers)] racinwarrior:
oh my bad. ff000000 is black. ffffffff is white. sorry
[Galaxy S III Themes and Apps  (US Carriers)] Didact74:
No biggie.... Thanks for the help.
[Galaxy S III Themes and Apps  (US Carriers)] Lantek23:
Great stuff man thanks for this, I'll like to use some of these mods on My themes.
[Galaxy S III Themes and Apps  (US Carriers)] Lantek23:
So if the rom has Lidroid-res.apk do we have to modify it too or just leave it as is?
[Galaxy S III Themes and Apps  (US Carriers)] jgrimberg1979:
Freeza

Do you know how to add vibrate when a toggle is pressed?
[Galaxy S III Themes and Apps  (US Carriers)] Lantek23:
No I don't I'm really new to this but I'm learning fast
[Galaxy S III Themes and Apps  (US Carriers)] johentie:
great work...

2 questions though..

1) how do i get the clock back? i depend on it for time since i like the lock screen to be clear of anything but my wallpaper..

2) i cannot find /res/values/.. to edit the carrier..

i am using ES File Explorer and "viewing" the apk... do i need another app to edit the xml files?

Edit: figured out you have to decompile and recompile the APK : > i'll read into doing that...

can you make a version with the clock working?
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
Sure :)
[Galaxy S III Themes and Apps  (US Carriers)] jgrimberg1979:
I dont know if anyone knows how to do this but the sgs2 had a mod called homeMYhome and what it did was it allowed you to replace the double click home button action(which was vlingo) to any app you wanted. For instance i had mine set to camera so if i hit home twice, the camera popped up. Very useful mod especially if you dont use svoice or vlingo.
[Galaxy S III Themes and Apps  (US Carriers)] johentie:
sorry and i am assuming u have to be on a deodexed rom to install your theme??

****.. i like my Rogers Stock Rooted for now, just don't want the Green ; < i hate the AT&T 4G icon..

bah..
[Galaxy S III Themes and Apps  (US Carriers)] TokedUp:
Is there any way to get the volume buttons to skip tracks when the screen is off? Sorry to be ot but figured I'd try since we have no lock screen controls.

What about making the *#0011# WiFi mod stick after reboot?

Heard anything about stopping the screen from turning on by itself after receiving a sms?
[Galaxy S III Themes and Apps  (US Carriers)] KING SKILLZ:
Thanks for removing the clock!!! always have the widget on the screen so didn't need two. Any plans to have the Status bar in other colors besides this ICS blue? maybe one with a different color for every icon in the status bar. either way thanks again for this mod.
[Galaxy S III Themes and Apps  (US Carriers)] xtrezpasor:
What is the *#0011# mod?

Sent from my SPH-L710...if some one helps you press the thanks button
[Galaxy S III Themes and Apps  (US Carriers)] clark44:
Quick question freeza. What tool do you use to decompile apks that recompiles successfuly as well?
[Galaxy S III Themes and Apps  (US Carriers)] thekendog:
I would like to know this too. I keep getting a bunch of errors in apktool. I wanted to try and figure out how to add in a small am/pm.
[Galaxy S III Themes and Apps  (US Carriers)] TokedUp:
enter *#0011# in ur dial pad and it will take you to a list. Press the menu button and select WiFi. Uncheck the WiFi Sleep function. WiFi works much better afterward. But you have to do this after every reboot.
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
I'll post up a tutorial on how to decompile and recompile as well as tools needed.
[Galaxy S III Themes and Apps  (US Carriers)] 6uPMAH:
I have had success with these tools:

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

http://xdaforums.com/showthread.php?t=1558171
[Galaxy S III Themes and Apps  (US Carriers)] thekendog:
So I got apktool working and all, but the question I have is how do you decompile a systemui.apk from a theme? I keep getting errors when trying to decompile the one from ICS Dominatin. Is it even possible? There are parts of individual mods and themes that I like and I would like to be able to combine them but am not smart enough to start from scratch...hence the wanting to decompile an existing theme systemui.
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
Okay, tutorial about decompiling has been written! Instructions are in the second post.
[Galaxy S III Themes and Apps  (US Carriers)] thekendog:
I followed those directions but can't seem to get the ICS Domination SystemUI.apk to compile. I get a bunch of errors.
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
Can you send me the SystemUI?

If it's heavily modified with deleted languages and such, it may not compile properly.
[Galaxy S III Themes and Apps  (US Carriers)] thekendog:
Yeah I attached it to this post. Sorry for the trouble but I'm new to all this stuff and am still learning. Figure I might as well stop asking people to make stuff for me and learn how to do it on my own!
[Galaxy S III Themes and Apps  (US Carriers)] KBizzle:
Freeza, I'm not hugely familiar with decompiling/compiling TouchWiz apks. Is there a good rule of thumb to follow on what APKs require which frameworks to be installed before decompiling/compiling? I notice that in your directions for decompiling the systemui, you only mentioned installing framework-res.apk. What apks require twframework? Thanks.
[Galaxy S III Themes and Apps  (US Carriers)] johentie:
i tried decompiling and i got the SystemUI folder.. but it has smali and it's blank... ; <
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
You're absolutely right, this file is full of errors. Interesting...I'll look into it a bit further tomorrow.

Well, not really, most files, if they require a dependency, it will be framework-res. Basically, if it de/recompiles fine with that dependency, then you've got nothing to worry about. If you get de/recompiling errors, you may try to add twframework as well. However, so far it hasn't been a dependency of any apks I've decompiled.
[Galaxy S III Themes and Apps  (US Carriers)] HolyGrail:
Hi freeza, this might be a little off topic. I was wondering ( if you ever have time ) if possible make a update.zip for a 1% battery. I'm rooted, with verizon. I'm pretty good on the graphic side of things....but suck on how to make a zip for flashing.

Here is a couple of pics of the batterys...... (blue set and white set)......going need to fix it to make it vertical.

I can send the all the images (vertically fixed)....if you need....I appreciate any help you can give...and thanks. :fingers-crossed:
[Galaxy S III Themes and Apps  (US Carriers)] x86cpu:
I can try, I've made one using the Enhanced 1% @ the kitchen, it looks nice. I've also put back the WiFi toggle button at the top that Verizon took out. It's a flashable zip, let me know and I can add it here. If you let me know where those images are I can try to make one for that battery look.
[Galaxy S III Themes and Apps  (US Carriers)] thekendog:
Glad to know it's not just me.