yashsingh1/xdaforums huggingface dataset:
[Atrix 4G Themes and Apps] Nottach:
Yea, in the two hours since I found that guide it's helped a ton.

As far as the 1% battery I'd recommend using my BnW Circles CWM as a base. I made other changes besides what shouk did, like transparent status bar stuff and white sliders. You could probably just overwrite the drawables and xmls in mine and be good to go. Its all ready for transparent status bar images. But you will have to make any specific services.jar edits you need again.

Good luck.
[Atrix 4G Themes and Apps] tonecreationz:
No prob, i do understand java code a bit...i couldn't find a clear tutorial on how to do this, but after a bit of research i was able to figure it out, feel free to post it in the OP, hopefully you can figure out the issue you're having...
[Atrix 4G Themes and Apps] Ririal:
Quick, someone write me a guide for reboot option that doesn't point to specific line numbers and actually explains what's going on <3
[Atrix 4G Themes and Apps] Nottach:
DesignGears did a Tut: http://xdaforums.com/showpost.php?p=8689439&postcount=1
[Atrix 4G Themes and Apps] jimbush3:
Well I did figure out what was going on and I feel like a total tool for it; apparently I had forgotten that I'd flashed back to 1.83 odexed recently and was trying to apply all these edits to an odexed file system. So thats why everything was getting all messed up. I threw my cool blue theme into gladiatrix and now everything is looking great. So here is my request to the themers out there. Please try and help my fix my alarm times issue.

I finally found what was causing my issue, picture below:

All along I thought the background behind the time was just muffed but it appears that there is a vertical divider between the indicator and the time that is inheriting the width of windowBackground from framework-res styles.xml. Since I am using a background image for menus it inherits that width.

I've even tracked down the one line of code thats causing my issue:

<ImageView android:gravity="fill_vertical" android:background="?android:windowBackground" android:paddingTop="4.0dip" android:paddingBottom="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/divider_vertical_dark" android:scaleType="fitXY" />

It's in DeskClockGoogle.apk/res/layout/alarm_time.xml - BUT, it seems that if I try to make any edits to this file it causes to app to force close when you access that screen. I just need to somehow remove this huge grey box that its causing, but everything I try fails.

Here is a link to my framework-res and the deskclockgoogle apks.

framework-res.apk

DeskClockGoogle.apk - goes in the system/app folder.

If possible I'd appreciate you testing out this bug and letting me know if you've got any ideas.
[Atrix 4G Themes and Apps] Ririal:
It points to line numbers for what you need to edit. Line 430 in that file on my device isn't even close to what's being shown there. It doesn't give context; I have no idea where in the actual file I'm supposed to be adding those things.
[Atrix 4G Themes and Apps] NguyenHuu:
do you guys know if the horizontal line in the bottom menu is color coded base or image base? If you look at the picture below, you see the line is white, not visually appealing when the vertical lines are black. I want to change it both to grey.
[Atrix 4G Themes and Apps] jimbush3:
Stumbled across this last night. They're image based. The images are in your drawable-hdpi folder and all beginning with the word divider. I don't know where each of them gets used yet though.

Sent from my Cool Blued 1.83 Atrix
[Atrix 4G Themes and Apps] NguyenHuu:
thanks for the hint. I'll check it out this weekend.
[Atrix 4G Themes and Apps] jimbush3:
I tried implementing this tut as well but found that it doesn't apply to the atrix's file system. I recommend checking with Kennethpenn to see if you can use the android.policy.jar from Gingerblur. With that you can add an ic_reboot.PNG in the drawable-hdpi folder and include it in the public.XML. That will save you the trouble of figuring out how to write the Java code.

- this is what I did on my personal setup and hope that ken wouldn't mind me using it on my own setup

Sent from my Cool Blued 1.83 Atrix
[Atrix 4G Themes and Apps] pimp11774:
i am 13......im wondering how easy it would be for me to do this.....i hav a rooted atrix running GingerBlur.....ive installed it and rooted it.....ik somethings about android hacking , and i would like to make my own themes but i dont know how hard or easy this could be.....
[Atrix 4G Themes and Apps] jimbush3:
Read the first post of this thread about apk Manager. The vast majority of themeing can be accomplished through image editing in the framework-res.apk. Go ahead and pull the framework-res from your phone and give any image editing you want a try - if you find that its something you can handle then you shouldn't really have any problems. As long as you don't push any edited files back to your phone then you won't have any problems.

If you do decide that you want to do it and start pushing files back to your phone, make sure that you are very comfortable with CWM backups, boot loops, SBF flashing, re-rooting, etc. because at some point you are likely to get boot looped and have to dig out of it.
[Atrix 4G Themes and Apps] Nottach:
Question, anybody know where the notification icon for new gmail is located. I thought it was stat_notify_email.png in the gmail apk but changing that doesn't yield results.

Changing stat_notify_sms.png in Conversations.apk worked so why doesn't it work for Gmail.apk?

It must be someplace else.
[Atrix 4G Themes and Apps] jpinoy:
You're looking in the right place, Gmail.apk... it's in \res\drawable-hdpi and \res\drawable-hdpi-v9 ... about 839/bytes file size....

I just change both stat_notify_email.png in those files to play it safe...
[Atrix 4G Themes and Apps] Swiftks:
Could someone please tell me what part of the framework-res is responsible for the color within the volume bars and also the progress bar, when installing an app, etc. I don't think that it's in the hdpi folder, as all of my png & 9.pngs have been double checked. I thought that it might be in a .xml file, but the obvious choice of res/values/colors.xml, doesn't seem to be it either. Any thoughts as to where I can find this file, or which .xml file needs editing??? Thanks for your help.
[Atrix 4G Themes and Apps] jpinoy:
You have to edit progress_horizontal.xml in framework-res/res/drawable for the colors that affect volume, download, etc...

Good luck.. just an FYI, it's in hex and you have to enter the the hex backwards.. leave the first 3 colors alone, and change the next 6...

Here's the link to explain it all..

https://docs.google.com/Doc?docid=0AcdxIJRSH9ypZGZzc2pxNDlfMjdnazk4OHNxZA&hl=en
[Atrix 4G Themes and Apps] Nottach:
Grab HxD if youre on Windows, or a similar hex editor if you're on another machine. Grab the Progress_horizontal.xml from the framework-res in /drawables. Open it in HxD and search for 0800001C in hex format. 08 00 00 1C is the hex equivalent to android:textColor, or something like that, where it declares the value if it were decompiled. The next four groups after 08 00 00 1C are the color of the slider. However its backwards. This is the pattern - BBGGRRAA - as opposed to AARRGGBB. So enter your colors accordingly. I usually just change the first six and leave the alpha alone. You want to skip past the first three and start editing on the fourth. There are nine total, Change 4, 5, 6, 7, 8, 9 to the color you want your sliders to be.

So for red you would change

08 00 00 1C ?? ?? ?? FF

to

08 00 00 1C 00 00 FF FF

blue: 08 00 00 1C FF 00 00 FF
[Atrix 4G Themes and Apps] Swiftks:
Cool, got it working... thanks!
[Atrix 4G Themes and Apps] Nottach:
Ive got a question,

Title text color and Background. In settings - sound. The Header Title that says "General" or "Incoming Calls".

I've changed it before but now I can't find it for the life of me. I am half a liter deep though.
[Atrix 4G Themes and Apps] Nottach:
Could we get this thread pinned or stickied. I've had to search for it many times. It's got a lot of useful info.
[Atrix 4G Themes and Apps] tonecreationz:
+1

I agree!
[Atrix 4G Themes and Apps] tonecreationz:
How guys, I was wondering if any of you have tried theming launcher pro?

i've tried edting com.fed.launcher-2.apk in /data/app/ and it works...until i restart my phone which resets it back to to original...also tried editing the actual install apk, but the problem is resigning it...haven't been able to find something that will sign it properly so i can install it...let me know your thoughts, thanks!
[Atrix 4G Themes and Apps] Swiftks:
Please let me know if you find a way to do this... I was trying all weekend to edit 2 simple .png files for Enhanced Email. I tried simply replacing them in the .zip (changing it from a .apk), since they were just .png and not 9.png. But I couldn't adb install b/c of a certificate issue, so I just copy & replaced the .apk file @ /data/app... which worked just fine until I re-booted and the app would subsequently be uninstalled.

So then I tried option 2. I de-complied, replaced .png files, re-built, and signed w/ apk manager, and even installed w/ apk manager, only to have the app tell me that it had reverted to the trial version, when I opened it.... very frustrating. But I'm pretty sure it all has to do with certificate issues. So yeah, if you find a solution, please post it. Thanks.
[Atrix 4G Themes and Apps] on21st:
Does anyone know if it is possible to change the font color on the lock screen?
[Atrix 4G Themes and Apps] 2leaponover1:
This should be the perfect place to ask. How do I deodex the stock 2.2.1 rom for theming with the new CWM, WITHOUT flashing a new rom. Nobody seems to have the answer. The only zip I found that does it is not edified and therefore not compatible with the new CWM. Thanks!
[Atrix 4G Themes and Apps] Swiftks:
Install the old CWM and flash the .zip :p

I don't know man, almost none of the old CWM .zips have been updated for the new CWM... Guess they are waiting on some new ROMs to roll out.

*Opps, I was about to suggest flashing gingerblur, b/c it's .zip will flash with the new CWM, but you said without flashing a P-ROM.... Humm, I guess you could just open up the gingerblur.zip and take out everything you don't want... let me take a look.
[Atrix 4G Themes and Apps] Swiftks:
Crap, can't attach it, to big... I'll explain what I did so you can try it out:

I took the 1.83 deodexed .zip file for the old CWM that you were referring to (found here: http://xdaforums.com/showthread.php?t=1055851), and put it in the gingerblur v4.5 .zip (which I believe use the new scripts and works with the new CWM), and removed everything else that is associated with gingerblur. So in theory, you should have a flashable .zip for the new CWM, with only the deodexed part. :)

Specifically, you want to delete everything out of the Gingerblur.zip, except META-INF folder and scripts.sh.

Copy the system folder from the 183-deodex.zip over to the gingerblur.zip, and make sure you set the compression to "store".

So you should have a gingerblur.zip with the 183-deodex system folder in it, with the original ginerblur META-INF folder and scripts.sh... Make sense?

It will probably still say installing Gingerblur with the graphic when you flash it in CWM, but it doesn't contain anything else... I hope. If you want make a backup just in case. Hope this will help. Let me know if it worked if you don't mind, that way I can keep it.
[Atrix 4G Themes and Apps] 2leaponover1:
Sounds logical!! Thanks i'm gonna give it a shot in the morning! I tried flashing gingerblur to give it a try but got a nasty bootloop 10 seconds into firing up the launcher. Wiping didn't help. Even did a cache's wipes and fix persmissions afterwards and teh bootloop still existed. I'll let you know what happens, thanks!
[Atrix 4G Themes and Apps] Nottach:
Due to horrible battery on 2.3.4 HKTW I've reverted to 4.1.83. I made an edify version of the deodex (4.1.83) zip since the new Tenfar CWM doesn't do amend.

And here's an edify CWM version of my Ebony and Ivory Theme:

http://www.multiupload.com/0X6NVZ4QQR

Thought I'd share.

PS: Can't we all get along?

My motto: Ignore trolls, think before posting, be sincere, adore Atrix.

EDIT: Only thing I miss about 2.3.4:

--Being able to use Equalizer
[Atrix 4G Themes and Apps] Swiftks:
Updated the updater-script in Kenneth's original 1.8.3 deodex.

http://www.mediafire.com/?k28xdbrw2ncxr75
[Atrix 4G Themes and Apps] Swiftks:
Quick question, for 4.5.91. Is it a png / 9.png file in the framework that controls the shading of the white on the settings menu, when pressed or not? Or is it a value?

When I touch/scroll on the white settings menu screen it is lighter. When I remove my finger it gets a shade darker... probably b/c I replaced a bunch of the .png files in the framework, but I also edited some color values... honestly I can't remember if 4.5.91 was like this originally or not. Thanks for your help.
[Atrix 4G Themes and Apps] bl0wf1sh:
It seems that services.jar is pretty much empty in 4.5.91 ... now I want to re-do a 1% battery mod, but seems difficult without the BatteryService classes. Where did they go?
[Atrix 4G Themes and Apps] NguyenHuu:
Hi again,

in picture one, which image is that blue bar? i looked everything and changed everything to either black or grey yet the blue bar remains, any ideas?

in picture two, any ideas on how to change the white BG to black and the black text to white or grey? thanks.
[Atrix 4G Themes and Apps] Nottach:
The blue title background is in systemui.apk - values - colors.xml. its called shade_bg and currently has color value of 5bdc4e.

As for inverting the settings, read about it a while back and it seemed to be a lot, a lot, of work.

EDIT: sorry, might be drawables.xml, not colors.xml
[Atrix 4G Themes and Apps] NguyenHuu:
thanks nottach, I changed it a couple versions back thanks to the tip. I have another question, I cannot find the progress bar/seek bar image. Currently it is blue, I need to change it to another color. I looked all over framework-res adn systemUI for it.

To see it, just press the volume rocker.
[Atrix 4G Themes and Apps] Nottach:
framework-res - drawables - progress_horizontal.xml
[Atrix 4G Themes and Apps] Swiftks:
Nottach, I changed the color, in the drawables.xml to black, and I guess it worked for that bar, but what about this little annoying bastard. Happen to know the location of it? Thank for all your help.
[Atrix 4G Themes and Apps] Nottach:
they are zzmoto images in framework-res
[Atrix 4G Themes and Apps] NguyenHuu:
cant we do this by images? looking at the progress bar it looks like it has a shadow and a slight gradient on it, with rounded edges. i remember doing this before with images, but i duno now.
[Atrix 4G Themes and Apps] Nottach:
Nope, have to edit the xml. Though if you know how to hex edit you don't have to decompile it.

<?xml version="1.0" encoding="UTF-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@id/background">
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#ff262223" android:endColor="#ff414042" android:angle="270.0" android:centerY="0.13" android:centerColor="#ff262223" />
<stroke android:width="2.0px" android:color="#ff999999" />
</shape>
</item>
<item android:id="@id/secondaryProgress">
<clip>
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#80[COLOR=Red]337696[/COLOR]" android:endColor="#a0[COLOR=Red]337696[/COLOR]" android:angle="-90.0" android:centerY="0.13" android:centerColor="#80[COLOR=Red]337696[/COLOR]" />
<stroke android:width="2.0px" android:color="#ff999999" />
</shape>
</clip>
</item>
<item android:id="@id/progress">
<clip>
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#ff[COLOR=Red]337696[/COLOR]" android:endColor="#ff[COLOR=Red]337696[/COLOR]" android:angle="-90.0" android:centerY="0.13" android:centerColor="#ff[COLOR=Red]337696[/COLOR]" />
<stroke android:width="2.0px" android:color="#ff999999" />
</shape>
</clip>
</item>
</layer-list>
[Atrix 4G Themes and Apps] NguyenHuu:
thanks. I have done hex editing before on older motorola phones, not sure if it's same for this newer ones. Ill just decompile, no problem, thanks.
[Atrix 4G Themes and Apps] NguyenHuu:
This is very strange. I made the changes to the file along with changes to styles.xml to change the menu text. Upon reboot, the progress bar reverts to the blue, but my menu text changes stick fine (grey text).
[Atrix 4G Themes and Apps] Nottach:
did you delete progress_horizontal from the keep folder during compiling? any xml edited needs to be deleted from keep.
[Atrix 4G Themes and Apps] NguyenHuu:
ii got it to work now. i am doing it a different apktool method. this way doesnt have keep folders, but i was experimenting and got it to stick. thanks for the help.
[Atrix 4G Themes and Apps] farrah.rio:
really cool man thx
[Atrix 4G Themes and Apps] on21st:
Edit fixed it. I just added a line to the status_bar.xml
[Atrix 4G Themes and Apps] NFHimself:
Hi,

Has anyone mentioned that framework-res.apk is not used in Gingerbread, Rather it's SystemUI.apk in /system/app now.

Cheers!
[Atrix 4G Themes and Apps] jpinoy:
It's still used... battery icons go there... the lockscreen sliders go there.. the icons you see on your launcher(menu icons) goes there, etc.. :)

SystemUI has some of your status bar icons as well.. data connection.. phone recieption... bluetooth, wifi, GPS(well, one of them)... can't remember them all off the top my head.. :D
[Atrix 4G Themes and Apps] Milenko2121:
well i failed >_<

tried just replacing a few png's (not the 9png), and the log said everything went well; however i wasn't able to get past my bootloader screen, it didn't even try showing my boot animation.

luckily, i keep a backup of my theme, and just installed in through nandroid. booted up just fine.

softbrick ftw
[Atrix 4G Themes and Apps] Nottach:
Animated Pull-Down Background

After reading through this thread I got animated pull-down backgrounds working.

It's all in the systemui.apk and pretty easy to add to any theme.

It does cause boot time to be longer, I think this is because it's loading the animation images. I've gone with nine in this example but I think you can use more. Also, it's most likely possible to do this with other images, such as statusbar_close_on.png

The attached sample is 4.5.91 only and flashable via CWM. It's just the Stock MotoBlur 1% mod with this mod added. To remove flash any theme or regular 1% mod.

How To:

1. Decompile SystemUI.apk

2. In /res/layout/status_bar_tracking.xml change:

<com.android.systemui.statusbar.TrackingView android:orientation="vertical" [COLOR=Red]android:background="@android:color/transparent"[/COLOR] android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">

To:

<com.android.systemui.statusbar.TrackingView android:orientation="vertical" [COLOR=Red]android:background="@drawable/pulldown_anim"[/COLOR] android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">

3. Create pulldown_anim.xml in /res/drawable. This will declare the images and durations for the animation.

Sample:

<?xml version="1.0" encoding="UTF-8"?>
<animation-list android:oneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="50" android:drawable="@drawable/pulldown_anim0" />
<item android:duration="50" android:drawable="@drawable/pulldown_anim1" />
<item android:duration="50" android:drawable="@drawable/pulldown_anim2" />
<item android:duration="50" android:drawable="@drawable/pulldown_anim3" />
<item android:duration="50" android:drawable="@drawable/pulldown_anim4" />
<item android:duration="50" android:drawable="@drawable/pulldown_anim5" />
<item android:duration="50" android:drawable="@drawable/pulldown_anim6" />
<item android:duration="50" android:drawable="@drawable/pulldown_anim7" />
<item android:duration="50" android:drawable="@drawable/pulldown_anim8" />
</animation-list>

4. Add your images to /res/drawable-hdpi. These are the images declared in pulldown_anim.xml.

5. Make /res/drawable-hdpi/shade_bg.png completely transparent.

6. Recompile SystemUI.apk

7. Overwrite original with your preferred method.

NOTES:

The first time you pull down the shade it won't animate. I don't know why. It will animate every time after.

You may have to make status_bar_background.png in framework-res.apk transparent as well. I did but didn't check if it was necessary before hand.
[Atrix 4G Themes and Apps] jpinoy:
Good find... I saw this on UOT kitchen a while back, but never tried it... it's good to know where the files are to do it manually if needed...
[Atrix 4G Themes and Apps] D$G:
Apk manager error

I keep getting this error when I try to decompile systemui.apk or any .apk? I have been able to decompile before without error.
[Atrix 4G Themes and Apps] Nottach:
Im not sure why you have the adb error, as far as I know adb isnt used. It also looks like the apk may be in the wrong folder. It should be in the place here for modding folder. Maybe try clearing all apks and projects?
[Atrix 4G Themes and Apps] D$G:
The apk is in the right folder and I've erasing everything and unzipped apkmanger again. I even tried it on my other computer. I have edited all necessary folders and xmls from a previous decomplied theme but didnt keep the script up to recompile. I was able to change the framework and systemui using Winrar to make an installable .zip but now i need to put my edited xmls in, thus me having to decompile.
[Atrix 4G Themes and Apps] NguyenHuu:
In the attach image it shows the recent calls tab and when you click on more, the background is very light grey. it is suppose to be black. anyone know if it is image base or xml edit?
[Atrix 4G Themes and Apps] davidbilly87:
going to try it :)
[Atrix 4G Themes and Apps] jbrussee:
<3 the smiley faces on my ATRIX :))) cute
[Atrix 4G Themes and Apps] jbrussee:
That was referring to this
[Atrix 4G Themes and Apps] Nottach:
I dont know whats going on for you. Maybe try a different version of apkmanager? Ive never had a problem decompiling, only compiling. Are you using option 9 to decompile?
[Atrix 4G Themes and Apps] Nottach:
thats probably part of the dialer apk. Id look in style.xml or color.xml and try to track down the color. Sample it in photoshop and see it you can find it in the xmls.
[Atrix 4G Themes and Apps] gera4ever94:
It's found in BlurDialer in the drawable folder. Its a .9 png called ic_call_log_bg_threaded_calls.9
[Atrix 4G Themes and Apps] NguyenHuu:
i cant believe you found it and that it is image base, so simple!! thanks.
[Atrix 4G Themes and Apps] gera4ever94:
Can anyone tell me why the circled images in the attached screenshot are white? In my framework, the white part is transparent. But on the phone it appears white. Does anyone know why?
[Atrix 4G Themes and Apps] Nottach:
That looks correct to me, open it in photoshop and youll probably see the white.
[Atrix 4G Themes and Apps] gera4ever94:
It's not. I've opened the images in gimp multiple times and they are transparent. I've attached the images I'm using to this post. These are the correct images that control what I'm seeing in the screenshot, right? They are called ic_btn_round_more_normal and disabled in the framework-res.apk
[Atrix 4G Themes and Apps] Nottach:
Look at btn_circle_.....png's. It looks like it's being layered. make all btn_circle_....pngs transparent, I think.
[Atrix 4G Themes and Apps] gera4ever94:
Thanks! That fixed it :)
[Atrix 4G Themes and Apps] D$G:
Can someone help me find the location where to change the background to black in the pointed image. Is it an image or XML?
[Atrix 4G Themes and Apps] Nottach:
Menu parent in framework
[Atrix 4G Themes and Apps] D$G:
Thanks