yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S II SGH-T989] syntaxerr0r:
I have a brand new T989D (I'm new to Android, former iPhone user) and got the ICS upgrade the day I got it (9 days ago). Battery life is terrible, I'm lucky if I get 10 hours of moderate usage. The phone also tends to run very, very hot. Sometimes apps freeze and all I can do is either wait or, in some cases, remove the battery to reboot.

I'm open to any tips that will get this fixed! I haven't rooted yet (no time). I think I will try those wipe tools and reflash the stock ICS ROM.

First post btw - glad to have joined XDA!
[T-Mobile Samsung Galaxy S II SGH-T989] Android_Monsters:
Rooting takes 5 seconds. Follow the sticky. Use odin.

Run a custom rom.
[T-Mobile Samsung Galaxy S II SGH-T989] syntaxerr0r:
Thanks, although a lot of howtos seem to be for GB since ICS only landed 9 days ago. Also there's a lot of conflicting information, so I prefer this one:

http : // galaxys2root.com/t-mobile-galaxy-s2/how-to-root-icsgb-on-t-mobile-galaxy-s2-sgh-t989/

Aaaannnd... rooted! \o/
[T-Mobile Samsung Galaxy S II SGH-T989] firebane:
phone is a telus phone so its already using that rom.

setcpu us setup already but thinking perhaps to undervolt
[T-Mobile Samsung Galaxy S II SGH-T989] elceedub:
Stock, not rooted, my battery life is great. Something is using your battery up, and flashing some exotic kernel isn't going to change that. The stock kernel works fine. You'll want to find the root of the problem. Keep a real-time (or 1-5s interval anyway) eye on the phone's current (mA) usage, and when it's high for no apparent reason, you'll know that whatever is sucking your battery is doing it right then. That should help you characterize the problem. I've noticed when my WCDMA/GSM radio signal sucks, so does the battery life, so I either turn off the radio or switch to GSM only when I'm in that area. If your display is what's eating your battery, well a kernel can't stop that. Turn the brightness down, leave it on auto-brightness, or just deal with it if you need the display on all the time. But if tweaking and modding makes you happy, by all means...
[T-Mobile Samsung Galaxy S II SGH-T989] KaneHusky:
I have the same complaint. The "screen" battery usage is just unacceptable, especially compared to GB. My phone has been draining from a full charge for ~4.5 hours and my screen usage is 70% and battery is down to 65% with hardly 10 minutes of screen-on time.
[T-Mobile Samsung Galaxy S II SGH-T989] mrrobc97:
I use an app called autostarts and you basically enable/disable apps that start running when certain events happen (phone startup, wifi being turned on, incoming call/sms/mms, other apps turning on, etc.). Just make sure you do your homework so you dont disable something critical. Hopefully this app works on ICS. You'll be surprised what different events make certain apps turn on automaticly. Screen, data/wifi, gps and bluetooth are the biggest battery drainers. No matter what Rom you are on if you don't keep control of those items your battery will drain fast. Keep ur screen on auto, let it go off @ 15 seconds ( you have to be pretty used to your phone for that setting not to annoy you), turn OFF your data or wifi when not in use. With bluetooth and gps...well u know that when you use them your battery is gonna drain faster than normal...just keep that in mind. Its all pretty much common sense.

I'm not going to tell you how much battery time I get cuz its nonsense. There are times my phone lasts till the next day and others Im charging it by sundown. Then again Im still on Juggs n Darkside kernel and Im gonna wait a bit still b4 I make the switch. Also don't go by what other people say on battery life cuz if you might not get the same results on that ROM. Everyone of our devices is unique and acts different. Everyone user uses their phone different. You can't define "light, moderate, heavy" use so don't go by that either.

Sent from my Blutiful SGSII w/Juggs.
[T-Mobile Samsung Galaxy S II SGH-T989] Master&Slave™:
Duel core vs single core

Larger brighter screen

Processor is clocked higher

Radio is connected to hspa+ network

Tw vs Samsung.

These things make a difference
[T-Mobile Samsung Galaxy S II SGH-T989] rosedog:
After upgrading to ICS stock unrooted battery life sucked (5-6hrs). I did the whole remove battery, factory reset and still sucked.

Broke down rooted (still stock), downloaded batterycalibration from play, followed the instructions. Easily get over 24hrs before having to charge again. and when I say easily, I mean I still have over 25% left.
[T-Mobile Samsung Galaxy S II SGH-T989] Locksmith81:
Get a gnex extended....maybe a bad battery
[T-Mobile Samsung Galaxy S II SGH-T989] LoopDoGG79:
AOKP build 40, latest eugene373 streamline kernel. I went 9 hours earlier it earlier and it was still at 70% You will see a difference!! :D

Sent from AOKP Goodness :-D
[T-Mobile Samsung Galaxy S II SGH-T989] jonjon68:
Bingo. Vastly different battery life between ROM's is generally BS. Every once in a great while one of these threads has merit but typically someone saying ROM X had "Killer" battery life is clueless and drinking the koolaid. Then a placebo effect takes place. And definitely someones "Heavy" use is subjective. If someone says they get a day out of an android phone they are not heavy users by my definition. It doesn't happen with heavy use. Perhaps the Razr Maxx or another phone with a very large battery but I've had 5 Android phones. If I get past noon it's because I am not using my phone that much and forget about a full day. It's never happened in the 4 years I've used google OS phones. Never.
[T-Mobile Samsung Galaxy S II SGH-T989] flipq88:
Yes exactly, I hate when people post screenshots of their phone getting 24+ hours, I'm there thinking "well obviously they don't use their phone alot". There is no way in hell i could get 24 hours no matter what rom/kernal I use. Im just happy when my phone can make it till I get home at night

Sent from Flip's SGS2
[T-Mobile Samsung Galaxy S II SGH-T989] mrrobc97:
True, true, true...check this out...navigate somewhere (using Navigation of course) while knocking some Pandora hooked up to your car via bluetooth...I don't care what ****ing magical ROM & Kernel combo you are on...you ain't gonna last two hours....that's for me "heavy" use.:D
[T-Mobile Samsung Galaxy S II SGH-T989] zRalphz:
I think that your average phone user isn't a "heavy user" and can get 1 or 2 days out of a charge. If you keep WiFi, GPS, Bluetooth off when not in use, and maybe use Juice Defender and NQ Mobile Booster you can dramatically increase your usage time.
[T-Mobile Samsung Galaxy S II SGH-T989] KaneHusky:
I still haven't been able to figure out why the "screen/display" (surfaceflinger) is using so much battery power on my phone...

Notice the amount of time the screen is actually on and how much battery it has consumed:

http://db.tt/u9aS4EyY

http://db.tt/9nu3et8W

I've tried wiping caches, calibrating the battery, minimizing syncing and screen timeout.

Thoughts?
[T-Mobile Samsung Galaxy S II SGH-T989] rosedog:
Well to be bluntly honest...that is the dumbest thing I've ever heard. If somebody can't pop for a second $5 cable to charge while they're driving doing that then they deserve to have a dead battery in 2hrs.

BUT I got over 24hrs (stock rom) with GPS and BT on, played a full length movie, browsed the net, played some games (sonic and frogger), texted, made some phone calls, ect...

So maybe you're doing it wrong?
[Android General] Wifiguy:
Google I/O is just days away. They might announce the release date of Android version 5 (codename Jellybean), or an incremental update to Ice Cream Sandwich (4.x.x).

There will be a live stream at developers.google.com/io
[Android General] tatperson:
Jelly Bean has been leaked as 4.1 not 5

Sent from the payphone I'm using to call home.
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
Since themeing Samsung's TouchWiz UI is not quite as simple as AOSP, and sometimes even device specific, I thought it would be nice to have thread for the themers here to help each other, post tips and things like that so we can all learn and get some killer themes going on this thing.

Also, (if this gets becomes a sticky) we can keep the themeing question threads to a minimum.

For those of you that don't know me, I've been themeing Android for about a year and a half now. I started on the Epic 4G then moved over to the Nexus S 4G. I'm always willing to help others at time permits.

Happy Themeing!

Since the US carriers were combined into one forum, please note the carrier for you device when posting.

When people are helping you make sure you use the "Thanks" button to show your appreciation!

Here are some goodies that have been posted so far.

Remove Carrier ID from status bar on AT&T rom: Thanks to mrvirginia & deserted1 Here

Guide to remove Carrier ID / Clock from the status bar by deserted1

How to center the clock by Swiftks

Some more status bar mods thanks to freeza

There are many other tips, hints, how to's, and tools in the thread so please search to help keep the thread clean.
[Galaxy S III Themes and Apps  (US Carriers)] TeamERA:
How could no one jump on this first :)
[Galaxy S III Themes and Apps  (US Carriers)] ZiggSVO:
Your just sooo thoughtful ;)
[Galaxy S III Themes and Apps  (US Carriers)] Ceelos09:
Looking forward to your work again Shane.

Loved your 'Dark Horse' port on the Epic.

Hopefully our GS3's get some Shane 'Dark Horse' themed love of some kind too :D
[Galaxy S III Themes and Apps  (US Carriers)] myn:
Shane,

Great idea. Collaboration is so important. Wish we had more of these kinds threads :)

Looking forward to seeing some killer themes from everyone :)
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
I think there will be many great themes. Hopefully a few will be from me.
[Galaxy S III Themes and Apps  (US Carriers)] 12MaNy:
Themed the E4GT....and I'll be theming the shizzzz out of the SGS3. :)
[Galaxy S III Themes and Apps  (US Carriers)] Bizdady:
I havent themed in a while so I had to dust off the good ole apktools last night. Ya I'm need a refresher course lol

Dont have my phone yet but I started to poke around just to get a feel for things.
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
Well, with all the US variants merged to together this could get sticky in here. Hopefully we don't have any issues with soft bricks, data mishaps or anything like that like we did in the Galaxy S days from using themes for different carriers.
[Galaxy S III Themes and Apps  (US Carriers)] lgkahn:
i have a version of systemui i modified for att

I have custom battery icons (not 1% as i used 7zip instead of a full rebuild)

i was able to change the battery icons,

loudness/slilent icon, airplane icon, wifi icons, alarm icon etc.

but for some reason the signal icon changes are not being applied.. i tried clearing cache, and dalvek cache.. still no go..

CAnnot figure out where it is getting the old icons from.. looked in framework-res as well but as far as i can tell they are not in there..

I have changed these sucessfully before in ics on my sgs ii..

anyone have any ideas?

thanks
[Galaxy S III Themes and Apps  (US Carriers)] Bizdady:
Is the rom deodexed?
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
Since Gingerbread those have been called out from the systemui. If you are running an odexed rom, there's your problem. Many of the png's are loaded in the odex file and cannot be changed just by editing the apk.
[Galaxy S III Themes and Apps  (US Carriers)] lgkahn:
nope with the 7zip method (read up on it) you dont need that.. you just swap .png right in the .apk(s)

it is the stock rom\

and i succesfully did the same thing in the sgs ii systeui (and those icons are in there since i can see them).. however, maybe you are correct in that there are another copy in the .odex.. but it would be strange..
[Galaxy S III Themes and Apps  (US Carriers)] Bizdady:
It's more than likely that it's loading files from the odex. Can try deleting that but you might lose status bar lol
[Galaxy S III Themes and Apps  (US Carriers)] lgkahn:
thanks cannot delete the .odex (systemui or framework etc) on a stock rom.. the phone wont boot. (i think) although i have a cwm backup.

faithfully waiting for the first 1% battery mod for stock one.. (if it combines the .odex into the .apk) for stock then i can put my own icons in on top and then i can delete the .odex
[Galaxy S III Themes and Apps  (US Carriers)] JoshBeach:
Cant wait to see what you can bring 12many
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
To the mods, if I ask politely, could this please get stickied? It would nice to keep all the information in one place instead of in a bunch of threads that end up getting burried.
[Galaxy S III Themes and Apps  (US Carriers)] TeamERA:
Hey Shane, I need some help, this image will be the death of me :(

Ive stumbled on this image on the et4g and now I really cant find where the image is, and what the name may be. I always have a problem with the image name/location of the puldown notification background in the image below, its solid black and I need to make it transparent. Ive looked in drawable-xhdpi in systemUI, with no luck. THANKS MAN.

Oh +1 for this to be a sticky since this will help all carriers.
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
Wow, I had never looked at the files yet on this phone. I've been trying to work on some AOSP themes with my Nexus S. I got the framework-res and twframework-res to decompile, but can't get the systemui to decompile. If you can give me some help on getting the systemui to decompile, I'll look for it.

Edit: Nevermind, got it.

Edit 2: I have not tried this, but taking an "educated guess" I would look at this in the values/drawables.xml:

<item type="drawable" name="notification_header_bg">#ff000000</item>

If you want to change that to an image can change that to:

<item type="drawable" name="notification_header_bg">@drawable/pulldown_bg</item>

then make an image named pulldown_bg and put it in the drawable-xhdpi folder.

Or (This is what make's me think this is right)

Look at the drawable/status_bar_expanded.xml and find:

android:background="@drawable/notification_header_bg"

and change that to:

android:background="@drawable/pulldown_bg"

making the image as above.

If it's not this then the other possibility I found was "notification_tracking_bg" which the color is called for in the drawables.xml and is linked in the status_bar_tracking.xml

Let me know if either works.
[Galaxy S III Themes and Apps  (US Carriers)] TeamERA:
wow, because I just got a ton of errors, and I just had to download the 64bit version of java sdk, I forgot to do that when I got the new laptop last week. But this is what I just seen :(
[Galaxy S III Themes and Apps  (US Carriers)] Wintrmte:
Thank you for the video link, was a big help. I'm getting pretty close.. Basically I get this error when trying to recompile my framework-res.apk now:

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\sam\AppData\Local\Temp\APKTOOL6799519360385077369.tmp, -x, -S, F:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, F:\Apk_Manager_ICS\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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:\Users\sam\AppData\Local\Temp\APKTOOL6799519360385077369.tmp, -x, -S, F:\Apk_Manager_ICS\other\..\projects\framework-res.apk\res, -M, F:\Apk_Manager_ICS\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
The system cannot find the file specified.

Not quite sure where to go from here as I am not sure which file it thinks it cannot find. :\
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
this is an aapt error. make sure you are using the one from the latest SDK (released late 2011).
[Galaxy S III Themes and Apps  (US Carriers)] Wintrmte:
I thought that also, and tried the latest aapt but it didn't even try to compile, just gave resource errors. I attached the full log to my above post..

---------- Post added at 11:38 PM ---------- Previous post was at 11:24 PM ----------

Figured it out thanks to this post http://xdaforums.com/showpost.php?p=28473323&postcount=144 -- had to fix the plurals files and it compiled.
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
that was going to be my next guess. sorry, didn't see your log there. anyway, that's not the best of ways to do it, though. i can get it to compile without doing all of that. you just need the right combination of apktool.jar files. NunHugger has posted his package and it works flawlessly for framework-res... much easier than using apk manager, too. wayyy easier. he deserves many thanks for his package.
[Galaxy S III Themes and Apps  (US Carriers)] C3P0LOL:
I'm trying to get rid of this crt-off animation that was added to the domination theme. Can anyone direct me to a thread describing how to add it so I can reverse the changes?
[Galaxy S III Themes and Apps  (US Carriers)] Wintrmte:
Thanks, I will definitely give Nun's package a try tonight.
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
SecSettings

still on SecSettings.apk here...

does anyone have any idea where the first menu of this is located in xml? in other words, what holds the settings_headers.xml :confused:
[Galaxy S III Themes and Apps  (US Carriers)] strongsteve:
+1 here..

Who can successfully compile SecContacts.apk???

and with what and how??
[Galaxy S III Themes and Apps  (US Carriers)] Overstew:
Which hdpi folder controls the toggle icons? (Bluetooth, WiFi, GPS, etc.) I changed all of mine to blue in xhdpi but everything still remains green.
[Galaxy S III Themes and Apps  (US Carriers)] NunHugger:
360xhdpi I believe.
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
Sw360dp-xhdpi
[Galaxy S III Themes and Apps  (US Carriers)] Overstew:
Awesome. I'm almost done with my MattedBlues port (it's 100% private), but I can't seem to find what controls the green active line under each toggle.

I'm referring to the green line under Vibrate and Screen rotation in this screenie.
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
xhdpi folder

tw_quick_panel_off.9.png

tw_quick_panel_on.9.png
[Galaxy S III Themes and Apps  (US Carriers)] Overstew:
Thanks. No wonder I couldn't find it, it was a 1 pixel .9 lol.
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
Yeah, and depending on the rom you're themeing things don't seem to always be in the same place.
[Galaxy S III Themes and Apps  (US Carriers)] Overstew:
Last one. What XML is it to change the date color in the pulldown bar? The blue color is so out of place.
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
tw_status_bar_expanded

<com.android.systemui.statusbar.policy.DateView android:textSize="@dimen/status_bar_expanded_date_text_size" android:textColor="#ffffffff" android:id="@id/date"

I've modded the color code to white here.
[Galaxy S III Themes and Apps  (US Carriers)] Overstew:
You're amazing.
[Galaxy S III Themes and Apps  (US Carriers)] neur0t0xin64:
Thanks Shane! It's about time! Some of us actually like TW on SGS3. We just want to change everything on it ;-)
[Galaxy S III Themes and Apps  (US Carriers)] OneMoreBrick:
Lockscreen Tweaks (question)

Hey, sorry if this was touched on, but I did read the whole thread and then ran a search.

I'm wondering how I might change the text of the Lockscreen, specifically the clock and date. I want to remove the outline from clock, change the color of date, and remove the drop shadow of all of the text.

In addition, is there a way to use custom icons on the lock screen?

I love the ripple lock, but its lack of customization options stinks.
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
Someone else that has done this might be able to give you a better answer but, if it can be done via xml it will be in the layout xml's in the framework-res.
[Galaxy S III Themes and Apps  (US Carriers)] trevoryour:
I'm hoping someone can help me out as i'm fairly inexperienced with android development and have never had a samsung device before.

Basically I wanted to make my device look as much like the Gnex as possible and first thing on my list is to turn the softkeys back on. I was successful in reenabling the softkeys but they are not in the right order and the images are not stock images. Fixing the images should be trivial since it just involves replacing the png files in the systemui.apk file but even after I replace the images in the file they still show as the old images. I extracted every png from the file, thinking that maybe they are in more than one spot but I can only find them in the drawable-sw800dp-xhdpi folder.

Does anyone know what i'm doing wrong or what the correct way is to re-order these so they are in the same layout as the Nexus?
[Galaxy S III Themes and Apps  (US Carriers)] strongsteve:
The alphabet scroll line on the right.. where can I find it??
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
change Clock and Date, lockscreen

well, i know that the clock are just images in framework-res in the drawable-xhdpi folder. Shane is prob right in regards to the date in layout.xml of that same file.

give me a second and i'll find the date colors. i found where they're called in but there wasn't any type of identifier for the text color :confused:

edit: alright, it took a lot of hunting around to figure this out haha looks like Shane was correct after all.

res\layout-sw360dp\keyguard_circlelock_clockwidget.xml

change (line 21)

<TextView android:textSize="20.0dip" android:textStyle="bold" android:textColor="#fff6f7c9" android:gravity="bottom|center" android:id="@id/zzz_date_month" android:layout_width="fill_parent" android:layout_height="24.0dip" android:layout_marginTop="2.0dip" android:shadowColor="#aa000000" android:shadowDy="2.0" android:shadowRadius="1.0" />

also, the AM/PM color, i think that is line 18 of this same file as android:textColor="#fff8f8f8"

edit: and the shadow can be found with this AM/PM line for it, respectively. for this one, you'll need to change shadowDx and shadowDy, as well as radius to 0.0. that'll get rid of shadows

edit: this post has been updated with the correct file location for making these changes. it does work now
[Galaxy S III Themes and Apps  (US Carriers)] 12MaNy:
Anyone know how to get lockscreen clock xml mods to stick? I cant seem to get the color codes for clock info (date, day, am/pm....etc) to stick.
[Galaxy S III Themes and Apps  (US Carriers)] chill145:
edit: solved removing clock

anybody know what file you need to remove certain icons from statusbar. for example if i want to remove vibrate icon, is it as simple as replacing it with blank.png or will that just leave a blank space
[Galaxy S III Themes and Apps  (US Carriers)] 12MaNy:
Yes that is the right xml, but most of the lockscreen text color edits dont stick for me
[Galaxy S III Themes and Apps  (US Carriers)] vinuneuro:
Anyone know where the App Drawer icon is located?
[Galaxy S III Themes and Apps  (US Carriers)] shane6374:
Which launcher?
[Galaxy S III Themes and Apps  (US Carriers)] vinuneuro:
Touchwiz.
[Galaxy S III Themes and Apps  (US Carriers)] NunHugger:
So is contacts just impossible to recompile?

I guess I should ask if anyone has had any luck getting this thing to recompile. It's one of the last apks for me to theme...and every tool I have tried has been a no go.
[Galaxy S III Themes and Apps  (US Carriers)] mrvirginia:
what i wrote is prob not right then. it was just a guess. i'll get to it this week with some trial and error and update.

---------- Post added at 10:23 AM ---------- Previous post was at 10:22 AM ----------

unfortunately, no, i have not