yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Themes and Apps  (US Carriers)] x86cpu:
I was able to get this de-complied, and re-compiled. On de-compiling I got these errors:

W: Cant find 9patch chunk in file: "drawable-xhdpi/btn_default_small_normal_disable_focused.9.png". Renaming it to *.png.

W: Cant find 9patch chunk in file: "drawable-xhdpi/alert_bar_background_normal.9.png". Renaming it to *.png.

W: Cant find 9patch chunk in file: "drawable-xhdpi/btn_default_small_pressed.9.png". Renaming it to *.png.

W: Cant find 9patch chunk in file: "drawable-xhdpi/alert_bar_background_pressed.9.png". Renaming it to *.png.

W: Cant find 9patch chunk in file: "drawable-xhdpi/status_bar_close_on.9.png". Renaming it to *.png.

W: Cant find 9patch chunk in file: "drawable-xhdpi/btn_default_small_selected.9.png". Renaming it to *.png.

So I'm not sure if the compiled version would even work. There were no errors on compiling it though.
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
Nice! I can most definitely do that if x86cpu doesn't.

Thanks for the help lol.

Exactly the same. However, those files end up being 0bytes, so I had to replace them by extracing them from the non-decompiled SystemUI.
[Galaxy S III Themes and Apps  (US Carriers)] Jirv311:
The problem with decompiling some themed apks is that they may not be using properly formatted .9 png images. I believe that was the issue with Domination. If you need JUST images, use 7-zip to extract them. Otherwise, you can pull the bad .9 png images out, fix them with draw9patch and then replace them. Then it should decompile fine.

---------- Post added at 11:24 AM ---------- Previous post was at 11:23 AM ----------

Those battery images are very nice. I was just working on something very similar but in the HTC green. Although, mine don't look quite as clean as those yet. :D
[Galaxy S III Themes and Apps  (US Carriers)] x86cpu:
I've added a 1% Battery mode (screenshot attached), I can post the .zip if anyone likes, I tested is on the Verizon S3.
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
great job :)
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
How to remove the 100% battery charged notification coming up
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
Hi, thanks for the comments man. I appreciate it. About your question...Is that a feature of that ROM or does the battery percent look that on the Stock Samsung ROM for the E4GT? The reason I'm asking is because I'm wondering if it's just a simple battery percentage mod with battery icons or if it's actually built into the Stock ROM. If it's just a mod with battery icons, then it's very easy to do.
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
It is part of the stock ROM, similar to our battery percentage feature. One can turn it on and off.
[Galaxy S III Themes and Apps  (US Carriers)] HolyGrail:
Sent you a pm

I appreciate that, thank you

So far I only made blue and white sets..... if I can get it working, I can make some green sets if you want.
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
How to remove 100% battery full notification is now available. Instructions in the second post.

In that case, it seems like all it requires is a bit of moving around. :) May can even do it without smali!
[Galaxy S III Themes and Apps  (US Carriers)] dazednconfused:
You are doing some cool stuff over here. Thanks for sharing all of your info.

Sent from my SPH-L710 using Xparent ICS Tapatalk 2
[Galaxy S III Themes and Apps  (US Carriers)] D-FUSE:
I have got center clock with holo light blue and then how to change the color in my thread and now I will be working am pm toggle next

Thanks for this thread too

@freeza you do awesome man.

Sharing is caring Thanks a whole lot dude:D
[Galaxy S III Themes and Apps  (US Carriers)] HolyGrail:
Oh...just saw this....would love the zip. I'll give it a test on my battery. Gonna try veritcal and horizontal....see which one looks better.
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Rawr!

I think I found part of my problem haha.. I had apktool installed into a directory of my choosing. Not C:\Users\(My Name)\apktool

I've decompiled the ICS Domination SystemUI.apk. I got the same errors as others with the 9.png files being 0 bytes. I replaced them with the ones from the SystemUI.apk and I can actually view them now... PROGRESS!

I've followed the instructions to remove the text from the Quick Toggles. Thanks again for the tutorial freeza! :good::good:

Compiling is becoming an issue.

c:\Users\Jimie\apktool>apktool b SystemUI.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more

c:\Users\Jimie\apktool>

Is there something else other than the apktools that I need installed? I have Android SDK Tools installed, although I have not done anything with that. I have Java installed, but maybe it's an out of date version. So I'm installing Version 7, update 5 as we speak.

For now I am being dominated by ICS Domination. That theme is well named. If anyone can shed some light on how to get around this I would greatly appreciate it.
[Galaxy S III Themes and Apps  (US Carriers)] x86cpu:
Here's the one I made, also going back to stock as well. (NOTE: Verizon S3)
[Galaxy S III Themes and Apps  (US Carriers)] jdmusicman72:
Will this work on Kyan's rom (AT&T) or will it break something? I only ask because his rom is already themed.
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
The tweaks themselves I would imagine to work, though I can not verify.

Myself, and others, have been having issues when it comes to recompiling themed apks.

My advise to you would be to give it a go. Nandroid of course and then push your new tweaks in. Let us know how it goes. :)
[Galaxy S III Themes and Apps  (US Carriers)] HolyGrail:
First of all big THANK YOU to x86cpu for his zip. Flashed a few images for screen shots to compare.......So far I'm leaning toward the vertical......but that means I'm gonna have to go back and turn all the charging images right side up...a little time consuming pain.....but hey, no pain, no gain. :D
[Galaxy S III Themes and Apps  (US Carriers)] x86cpu:
Attached is a Battery Mod (with 1%) that are vertical. See if that helps. (Not tested on anything other than Verizon S3)
[Galaxy S III Themes and Apps  (US Carriers)] casmi:
This works on the Sprint stock rooted also...thanks this is the one thing I really wanted to change :)
[Galaxy S III Themes and Apps  (US Carriers)] x86cpu:
Thanks, that's good to know. I wasn't sure on that at all. I only have a Verizon S3, so just in case I put that disclaimer there. (Of course there is always the other disclaimers implied that weren't mentioned too) I also can change the order of the Toggles at the top and just put a vertical 1% battery there too.
[Galaxy S III Themes and Apps  (US Carriers)] D-FUSE:
In case anyone want to now. Tut on center clock and removal of am pm. Gonna on at&t s3,but I think it will work for everyone has I did all of freeza tutorials and the worked like a charm.

http://xdaforums.com/showthread.php?p=28772128
[Galaxy S III Themes and Apps  (US Carriers)] casmi:
The vertical battery worked also.

Sent from my SPH-L710
[Galaxy S III Themes and Apps  (US Carriers)] casmi:
I've followed the Classic thread for a long time...nice to see a friendly face here and spreading Tommy's philosophy :) Looking forward to all your work!

Sent from my SPH-L710
[Galaxy S III Themes and Apps  (US Carriers)] HolyGrail:
Quick question x86cpu.....Would you know of a way to remove the toggles from the notification pull down?....I would rather have none of those....as I would prefer the notification bar for just that....notifications. :cool:
[Galaxy S III Themes and Apps  (US Carriers)] x86cpu:
1% Vertical battery Mod with no toggles attached. (Verizon S3)
[Galaxy S III Themes and Apps  (US Carriers)] HolyGrail:
Jeezes Man....If you're ever around Sacramento Ca........Going to buy you a steak. :D

Update: Just flashed it......Toggles are gone...but now got this ( location set by GPS ).....and a persistent GPS notification in the task bar above.....

Ideas?

Hopefully an easy fix....If not don't worry about it.
[Galaxy S III Themes and Apps  (US Carriers)] x86cpu:
Do you have a screenshot? I tested it and have GPS on, but didn't see anything like that.
[Galaxy S III Themes and Apps  (US Carriers)] magn2o:
For what it's worth, I can confirm that your assumptions were correct regarding the removal of quicksettings text labels -- you do not need to perform the "extra" edits. I performed only the bare minimum, and it works fine (at least on an AT&T SGH-I747). :D
[Galaxy S III Themes and Apps  (US Carriers)] HolyGrail:
Weird....its gone now. Just unlocked the phone....and all is good. I guess just a small glitch on my end. :fingers-crossed:
[Galaxy S III Themes and Apps  (US Carriers)] crnapoli:
Remove battery full notification

Where is /com/android/systemui/power/PowerUI$1.smali. I can't find /com?
[Galaxy S III Themes and Apps  (US Carriers)] x86cpu:
Great! I even flashed back to that one and didn't see anything. I like the toggles. I've even modified the Wifi connecting icon. It shows green/yellow/orange/red depending on the signal strength. (screen shot attached)
[Galaxy S III Themes and Apps  (US Carriers)] timbit123:
Hello, just want to know if you also found how we can remove carrierID on lockscreen. Thx
[Galaxy S III Themes and Apps  (US Carriers)] dazednconfused:
Has anybody figured out how to do a custom background pulldown? I tried it the way I used to do on my Epic Touch but it doesn't work. Thanks in advance if anyone knows.
[Galaxy S III Themes and Apps  (US Carriers)] ilkevinli:
I added the ATT 4G icon and data bars to verizon. I think its much better. Thanks for the directions. :victory:
[Galaxy S III Themes and Apps  (US Carriers)] racinwarrior:
nope. tried like 3 different ways. no go. PM me if you figured out and ill do the same
[Galaxy S III Themes and Apps  (US Carriers)] D-FUSE:
Check pm?
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
Give me a sec :)

EDIT: Got it. Someone wanna give me a background to test it out on?

EDIT2: Never mind guys. I got it. Posting instructions now. Check the second post to get 'em.
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
That's pretty awesome.

Now if only I could figure out why I'm getting errors when compiling.:confused:
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
What kind of errors are you getting? is it with a stock SystemUI or an already modded or themed one?
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Both. After the already themed ICS Domination SystemUI, I tried to decompile and recompile the stock one. Decompiles just fine, but when I compile anything I get this error.

c:\Users\Jimie\apktool>apktool b SystemUI
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more

c:\Users\Jimie\apktool>

---------- Post added at 02:29 PM ---------- Previous post was at 02:26 PM ----------

Just tried it again, and got this larger error

C:\Users\Jimie\apktool>apktool b SystemUI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Jimie\AppData\Local\Temp\A
PKTOOL2236636315706876701.tmp, -I, C:\Users\Jimie\apktool\framework\1.apk, -S, C
:\Users\Jimie\apktool\SystemUI\res, -M, C:\Users\Jimie\apktool\SystemUI\AndroidM
anifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Jimie\AppData\Local\Temp\APKTOOL2236636315706876701.tmp, -I, C:\Users\Jimie
\apktool\framework\1.apk, -S, C:\Users\Jimie\apktool\SystemUI\res, -M, C:\Users\
Jimie\apktool\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2
, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
[Galaxy S III Themes and Apps  (US Carriers)] x86cpu:
It cannot find the "aapt" command. Is in the same directory are are running the apktool b in?
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Yep. Everything from the apktool zip freeza supplied is there. Attached a screen shot of what's in the folder. I downloaded apktool 1.4.3 from C3P0LOL to try that out as well. THe current apktool.jar is 1.4.4
[Galaxy S III Themes and Apps  (US Carriers)] C3P0LOL:
Try running the command prompt as an administrator
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
That is quite strange, especially since it decompiles fine.. Try placing a copy of aapt into your /windows/system32/ folder?

I'm not sure why apktool.yml is in the root folder but you can remove it :)
[Galaxy S III Themes and Apps  (US Carriers)] racinwarrior:
i think you can also change android:background="#ff000000 to android:background="#XX000000 with XX being transparency %

EDIT: nevermind it didnt work.

doing it freeza's way works fine
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Unfortunately, that resulted in the same error.:eek:

---------- Post added at 02:40 PM ---------- Previous post was at 02:39 PM ----------

Still no dice. Hmmm

---------- Post added at 02:44 PM ---------- Previous post was at 02:40 PM ----------

This is just so mind boggling. I sent C3P0LOL a copy of the SystemUI.apk and framework-res.apk from the ICS Domination theme. He ran into the same png errors I did and managed to get around the error as I did by replacing the images. No problems at all there. However he was able to compile the APK where I failed.
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
Well, I'm officially baffled. lol Have you tried removing apktool.yml from your apktool folder? Probably won't make a difference, but that file usually geos within a decompiled apk's folder.
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
yeah. :\ I copied it there before when the my first efforts to compile an APK failed.

Do you think it would make a difference if I tried this on Ubuntu over Win7?
[Galaxy S III Themes and Apps  (US Carriers)] freeza:
Hmm. I'm not so sure. Do you have the Android SDK installed?
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
I wondered if that would be the problem so I started installing it last night.. I'm working on installing the 4.0.3 and up stuff right now.
[Galaxy S III Themes and Apps  (US Carriers)] racinwarrior:
how about moving the date to where the carrier label used to be

EDIT: Figured it out

open tw_ststusbar_expanded.xml

FIND THE LINE THAT STARTS WITH:

<com.android.systemui.statusbar.policy.DateView android:textSize="@dimen/status_bar_expanded_date_text_size"

REMOVE FROM THE LINE:

android:layout_toLeftOf="@id/settings_launch_button"

ADD TO THE LINE:

android:gravity="left"
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
freeza, do you think I would need more than this installed?
[Galaxy S III Themes and Apps  (US Carriers)] racinwarrior:
thats all that i have installed.

do you have JRE installed
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
I have no idea, so I'm going to guess no. Searching for that now.

---------- Post added at 03:32 PM ---------- Previous post was at 03:30 PM ----------

I went back to the stock SystemUI.apk and tried everything again... Still no dice

C:\Users\Jimie\Downloads\apktools>apktool if framework-res.apk
I: Framework installed to: C:\Users\Jimie\apktool\framework\1.apk

C:\Users\Jimie\Downloads\apktools>apktool d SystemUI.apk
I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Jimie\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...

C:\Users\Jimie\Downloads\apktools>apktool b SystemUI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Jimie\AppData\Local\Temp\A
PKTOOL6886479238138661782.tmp, -I, C:\Users\Jimie\apktool\framework\1.apk, -S, C
:\Users\Jimie\Downloads\apktools\SystemUI\res, -M, C:\Users\Jimie\Downloads\apkt
ools\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Jimie\AppData\Local\Temp\APKTOOL6886479238138661782.tmp, -I, C:\Users\Jimie
\apktool\framework\1.apk, -S, C:\Users\Jimie\Downloads\apktools\SystemUI\res, -M
, C:\Users\Jimie\Downloads\apktools\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2
, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more

C:\Users\Jimie\Downloads\apktools>
[Galaxy S III Themes and Apps  (US Carriers)] D-FUSE:
Hey guys for ics I have been saving the classes. dex on my desk top and deleting in the app. Then using apktool with no problems. Then if I want to edit the smali I do it the old school way manually. This is just a way you can do this a little longer then most but works for me.

Just thought I would share that for yall.
[Galaxy S III Themes and Apps  (US Carriers)] rogersa2k:
SystemUI.apk Issues

This is my first attempt at modifying SystemUI.apk so please forgive the n00b. I'm on a Windows box. I can de- and recompile it with no errors. After I copy it over my AT&T Samsung Galaxy S III starts acting weird. For one thing the bottom row of pixels in Go Launcher gets cut off. It also seems that taking a screenshot by holding Home + Power doesn't work. Any thoughts on what is wrong/missing?

Here's what I did:

grabbed apktool 1.4.3 and its dependencies from here

copied framework-res.apk and SystemUI.apk from the rom (kyanROM 1.1.5) I'm using to the extracted apktool folder

opened a command prompt to the apktool folder

apktool if framework-res.apk (no errors)

apktool.bat d framework-res.apk (no errors)

apktool.bat d SystemUI.apk (no errors)

First I tried making a change to a file. Then I tried not making any changes and going directly to the next step.

apktool.bat b SystemUI (no errors)

cd SystemUI\dist

adb remount

adb shell rm /system/app/SystemUI.apk

adb push SystemUI.apk /system/app

adb shell chmod 644 /system/app/SystemUI.apk

adb reboot recovery, Wipe Cache, Wipe Dalvik Cache

I also tried copying the latest aapt.exe from my just-updated Android SDK platform-tools. That didn't change anything.

Attached is a screenshot showing what the recompiled SystemUI.apk causes (top) and what it should look like (bottom).

- Aaron
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Does it get cut off in the stock launcher?
[Galaxy S III Themes and Apps  (US Carriers)] strongsteve:
Gettin closer..

Thanks freeza
[Galaxy S III Themes and Apps  (US Carriers)] rogersa2k:
I would have to install the stock launcher to know. By stock, do you mean TouchWiz? That's what comes with this phone by default.

Also, like I said, it's doing other weird stuff like ignoring when I press the Home + Power buttons to take a screenshot.

- Aaron
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Looking good!

Yes TouchWiz. Did you do any other tweaks than what freeza posted?
[Galaxy S III Themes and Apps  (US Carriers)] rogersa2k:
I tried de- and recompiling without making any changes and I have these issues. :(

Edit: Actually, it ignore the Home button completely. :|

- Aaron
[Galaxy S III Themes and Apps  (US Carriers)] Jimieo:
Did you wipe your cache and dalvik?
[Galaxy S III Themes and Apps  (US Carriers)] rogersa2k:
Yes.

- Aaron
[Galaxy S III Themes and Apps  (US Carriers)] strongsteve:
Which image is the heading background for notifications and ongoing?
[Galaxy S III Themes and Apps  (US Carriers)] strongsteve:
It sucks that these header images for ongoing and notifications are not images at all so I can't outline them.. they are in xml
[Galaxy S III Themes and Apps  (US Carriers)] Overstew:
Change the XML color from @color<#ff_____"> to @drawable/nameofpnghere.png

Then, add an image by that name (To Drawable-xhdpi) and it'll correctly display it. I'm still kind of new at the XML editing, myself for ICS, but this worked wonders on GB. :p
[Galaxy S III Themes and Apps  (US Carriers)] chill145:
for those of you on verizon, are you stock or using a themed rom?

i plan on rooting this weekend since i know now how to get rid of the clock and change some of these icons around. this is a great thread but just wanted to know if this can all be done coming from stock since i believe there are only 2-3 roms out for verizon
[Galaxy S III Themes and Apps  (US Carriers)] thekendog:
So what exactly is the issue with Beans Rom? I ask because I'm having problems with SystemUIs that I compile.
[Galaxy S III Themes and Apps  (US Carriers)] rimgarciag:
"originally posted by strongsteve"

It sucks that these header images for ongoing and notifications are not images at all so I can't outline them.. they are in xml

What theme is in screenshot. Can u share it?