yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] he_stheone64:
What do you need to know regarding ICS? There are certainly plenty of changes incl. new Holo Themes, but a lot of the stuff you need is pretty straightforward (unlike in ROM`s like Sense or Touch Wiz with 2 framework`s).
[Samsung Galaxy Nexus] mrvirginia:
just gonna PM you mate.
[Samsung Galaxy Nexus] Kevin3328:
The main thing I need to know is what I need to do to properly decompile the framework.. I am already done with the systemui for the gummy rom.. ics just has more folders and things I am used to seeing in framework in system ui
[Samsung Galaxy Nexus] Kevin3328:
Here are some screens of what I've done so far
[Samsung Galaxy Nexus] coverton341:
I have never done any theming so I don't know exactly what I would need to a comprehensive write-up to be honest. I do have tons of questions though. I'm at work right now so I can't look at the code, but in xml files, sometimes I find calls for colour of text to be formatted as ****=0xFF000000 and then in other places I find it as ****=text_background_dark or something similar to that. Now, I know how the hex codes work (now that opacity and transparency has been clearly and correctly related), but what is that second example? I am almost positive it is making a call to another class but where is that and how can I edit it? Would doing so change global text?

Also; what is smali, when do I change it if ever, and when and if I do, I delete classes.dex correct?

Again, I have never ventured into theming before and I suppose it would be easier to ask a themer to make a red and black theme, but where is the fun and challenge in having someone else do it for me? So I guess, anything that you put together could be of great help to me and others who are just getting started in theming.

Anyway, thanks for the offer and taking the time to explain things, it's a tremendous help to me.
[Samsung Galaxy Nexus] coverton341:
Those are some pretty nice and subtle changes. I really like what you did to the lock icon on the lockscreen. Was that done in systemui or in framework?

Also: how did you get the glow effect?
[Samsung Galaxy Nexus] Nitroz:
Great guide there mate. Theres also a shorter way just to batch change the font color (Which includes changing the data, clock & system color).

Decompile the framework-res.apk, go into the res folder, then values, then colors.xml.

Where it says "Holo_Blue_Light" change the hex code to whichever you wish. Its easier than changing everything manually one by one.
[Samsung Galaxy Nexus] he_stheone64:
I know -I`m not ready with framework yet... also insome cases yoou WANT to change it one by one, since that is a system wide change. In case of a theme I always use that way, if you only want to highlight some aspects, you can use the one by one approach. Good example is, if you would change notification BG to white, then you don`t want to mess with a color in values folder, you need to adress this in layouts. This here is only some basic help, I certainly don`t have the time to write everything, that could be a book...
[Samsung Galaxy Nexus] Nitroz:
Especially if your theme uses different colors. But in my case, with Black Exodus my text needs to be white so its easier just to change that one option which changes pretty much everything (Except for the Market and Google Setup apk's). But fair point.

P.S. The framework is ALOT easier to crack than the SystemUI in my opinion. ICS is alot easier to theme than Gingerbread aswell.
[Samsung Galaxy Nexus] he_stheone64:
Agree, and wayyyyyy easier then Sense 3.0 and 3.5 with additional com.htc.resources and bloody m.10 files... Where in systemui do you have issues?

I've just done too much the last years, so GN is now a nice Theme break for me.

Send from my Galaxy Nexus with Tapatalk
[Samsung Galaxy Nexus] Nitroz:
I don't have any issues :p I pretty much cracked where everything was straight away. Figuring out the XML code is easy, just reference the look of the text and what it might be. 9 times out of 10 it is the right thing :) I'm proud of my theme. My first official theme, no porting of anything all made by scratch. I don't get why its so popular :p
[Samsung Galaxy Nexus] coverton341:
Absolutely excellent help for us, beginning themers, or just people who want to mess around with our phones.

I can't begin to express my gratitude for everyone helping out in this thread, from the OP who started it all to all of the themers that have pitched in with their knowledge. This truly is a great community.
[Samsung Galaxy Nexus] mrvirginia:
wanted to say thanks to he_stheone64 for suggesting KDiff3 and Winmerge :)
[Samsung Galaxy Nexus] Nitroz:
I know I haven't had much input to this thread since I've been real busy with my theme.

But I can give a few pointers to anyone who wants them. I used to hate .9.png's but I mastered them :) They are really easy if you know how.

Here's a little guide on how to make the pop-up menu's transparent​

Step 1. This is assuming you have APK MultiTool or APK Manager setup

Step 2. Decompile the framework-res.apk of your choice (So the .9.png lines appear, since when compiled they disapear so they don't show when flashing to the phone)

Step 3. Go into your Projects folder then go into framework-res.apk/res/Drawable-xhdpi then look for ANY .9.png file named "Menu_" as soon as you find one, it will say one of these 3 things "top, bottom or middle" these are the popup menus

Step 4. Open one of the Menu_xxx_bottom.9.png in Photoshop of GIMP, I'll be using Photoshop

Step 5. This should open this in Photoshop with a partial Black border, thats normal but DON'T touch those lines. One slight change to those and you'll get all sorts of compiling errors.

Step 6. Highlight the menu image (Basically highlight everything EXCEPT the black border) then right click and select "Layer via Cut" this will cut the menu image into a new layer

Step 7. Go to the Opacity section in Photoshop and make it has transparent as you please.

Step 8. Save the image as a PNG.

Step 9. Do EXACTLY the same for the rest of the menu items

Step 10. Compile the APK, delete the images you've changed from the "keep" folder etc.

Step 11. You'll get something like this

Any questions, feel free to PM me :)
[Samsung Galaxy Nexus] he_stheone64:
I know how you feel. I felt the same, when I launched my first Theme for Milestone 2 years ago. I rarely ported anything, I always preferred to develop my own signature style. In the end it was just too much, 10 Themes for Milestone and 6 for DHD wore me literally out.

Send from my Galaxy Nexus
[Samsung Galaxy Nexus] Nitroz:
:) Its always nice to know that you have your own theme :D
[Samsung Galaxy Nexus] coverton341:
I'm running into issues with APK Multi Tool. When I first run it, it sets up the folders and I put my apk in the "place-apk-here-for-modding" folder. I select project with option 25, then try to decompile with option 9 and I get the error that it can't find the project. It found it when setting the project but now it can't? It also says when I first run it that adb is not found and I can't edit anything on my phone which is weird because I always make sure that adb is up and running first and foremost.
[Samsung Galaxy Nexus] Kevin3328:
@nitroz 2 questions

1. What apk tool are u using version etc?

2. What edits the color of the keyboard

.. is it in Latin apk or framework res.. I feel like I have edited essentially all keyboard buttons all the .9s.. i am a fairly experienced themer.. I just got my nexus 3 days ago and just yesterday got my tools set up.. I'm still having a problem decompiling framework res... everything else is good so far
[Samsung Galaxy Nexus] Nitroz:
I'm using a version Hooolm sent me. Since I had issues decompiling and compiling. This version I'm using seems to compile ANYTHING except a LatinIME :p.

The color of the keyboard is in the LatinIME.apk now, depending on which Android version you're on, it varies in the name of LatinIME, like for example if you're on AOKP, the keyboard name would be "LatinImeGoogle" if you're on Bigxie its called LatinIME. But all the keyboard edits are in the LatinIME apk. Unless you want to theme the suggestions from the keyboard then its in the framework-res.
[Samsung Galaxy Nexus] mrvirginia:
lol i just realized APK Manager was renamed to APK Multi Tool :D

you can ignore the adb message unless you plan on using APK Multi Tool to try to push files to your device.

as far as the finding project error, i'm not sure. over the weekend i will most certainly be downloading the new APK Multi Tool and setting up again. however, if i test the framework-res.apk in my current setup and it builds, i won't be touching this. if it aint broke, don't fix it :p
[Samsung Galaxy Nexus] coverton341:
Thanks. I am using apktool for decompiling and recompiling all apks except for framework-res and everything is going smoothly. I downloaded the apktool that he_stheone64 had in his other thread and decompiled framework-res with no issue, but when recompiling with the new tool I still get errors. I will hold off on messing with framework-res for now I suppose and hope that a fix for apktool comes around that address the plurals problem.
[Samsung Galaxy Nexus] Kevin3328:
Mr Virginia r u using apk manager 5.0.2 and its compiling framework
[Samsung Galaxy Nexus] mrvirginia:
no, i'm using some older version (4. something i believe) with updated files. i assume that my updated files are from the latest release. i've only tinkered with a Settings.apk for ICS thus far regarding a necessary decompile/recompile.
[Samsung Galaxy Nexus] coverton341:
A couple more issues or questions.

One I cannot for the life of me decompile and then rebuild neither framework-res.apk nor SystemUI.apk. I have used the old apktool to decompile then the new to recompile and I get an error for both which are attached to this message.

Secondly, I just took the res folder out of the SystemUI.apk and made a bunch of changes to .png files and they all took and I made one change to one .9.png file and then replaced the res folder and flashed the apk back and everything was fine except the 9 file was distorted. Okay, I went back and saw that the lines that should have been on the border weren't so I used draw9patch and added them back and reflashed and the icon was still screwed up. Can I not edit 9 files unless I decompile? If so, my problem lies in number one and oh well for now I guess.

Third and lastly, where in the world are the image files for the app icons that show up on the home screen? I edited every imaginable png file in Google Voice that looked like it might be it. Heck, I edited almost all those images and the home screen icon still looks the same. Are home screen icons special, or hidden very well?
[Samsung Galaxy Nexus] he_stheone64:
You should not recompile with that version. Until a fix from brut is out, you need to compile 4.03 framework-es as following:

Decompile with linked apktool from pendo

Compile with latest 1.43 apktool

So the secret at the moment is to decompile with the slightly older version and compile with the latest version. The "old" version does not compile the latest framework, the new version does not decompile plurals correct. Combined they do work with latest framework.

---------- Post added at 11:33 AM ---------- Previous post was at 11:28 AM ----------

Your folder names after decompile are messed, so you need to rename them correct before you compile. Are you really decompiling with my linked version and then compiling with 1.43?

In any case log is crystal clear, but the renaming of ICS folders is usually an issue known with apktool 1.42.
[Samsung Galaxy Nexus] coverton341:
Yep, I am using the tool from your post to decompile and then using the newest to recompile. I did edit the name of the older tool to apktool-2.jar and edited the batch file to reflect that so that I could have both tools on the pc at the same time.

Sent via pixie dust, blasted through a Galaxy Nexus
[Samsung Galaxy Nexus] Kevin3328:
coming soonish green gummy!!
[Samsung Galaxy Nexus] coverton341:
How are you getting your systemui and framework to decompile and recompile?

EDIT: Nevermind, I have finally got it working. I had to completely delete everything to do with apktool and reset everything up. Now it is running smoothly. Hopefully I will have a rough red and black theme soon.

Sent via pixie dust, blasted through a Galaxy Nexus
[Samsung Galaxy Nexus] coverton341:
Here are a few screen shots of what I have so far. I still can't get all the font on the lock screen to change and the slide lock icon won't change either.

Sent via pixie dust, blasted through a Galaxy Nexus
[Samsung Galaxy Nexus] Kevin3328:
looking good!!
[Samsung Galaxy Nexus] coverton341:
I like the way it's turning out. One question, what are you using to change the colour of things with a glow effect? Like the over scroll colour on menus and when you have a scroll bar pressed. If I open anything with a glow effect in gimp it removes the hazy part and leaves a splotchy image and if I open it in photoshop it just completely fills it in.

Sent via pixie dust, blasted through a Galaxy Nexus
[Samsung Galaxy Nexus] Kevin3328:
Select the over scroll area In gimp.. then go to color then select invert... this way u don't disturb the .9 patches... then I use the colorize or hue saturation option and adjust the area to where I want it
[Samsung Galaxy Nexus] Gunthermic:
Late to this party.. You are lucky to have he_stheone64 around, i learned soem good stuff off him. I have been theming on the TB since last year.

I will try to answer any questions as well. I 100% agree with he_sth that you need to understand the apktool before using other tools. However my tool of choice is ApkAutoTool.. gets rid of all these issues of resources, zipalinging etc. It's all built into his tool and I never have issue decompiling or compiling these apk's. It's even set up to alow you to have 3 different versions of apktool to be use by selecting which one to use!

Anyways just got Nexus on Friday, and busy creating DarkHorse Theme for it.

if i can help, please let me know.... but the master is amoung us already!
[Samsung Galaxy Nexus] Kevin3328:
I agree hestheone has helped me get my framework working finally... he's defenitely a great resource
[Samsung Galaxy Nexus] artvandelay440:
-copy your apktool.jar from the apkmanager 'others' folder to your C drives root directory

-also, copy your rom's systemUI.apk and framework-res.apk to C drive root dir.

then open a command line and run:

java -jar apktool.jar if framework-res.apk

then

java -jar apktool.jar d SystemUI.apk decompiled

Now you should be able to compile in apkmanager without errors.
[Samsung Galaxy Nexus] Gunthermic:
Speaking of decompiling and compiling.. I am using 1.4.3b apktool, and have decompiled and compiled my framework-res.apk no problems at all..

that goes against all that I have been reading?? Someone else, experianced themer try that version of apk??
[Samsung Galaxy Nexus] Kevin3328:
OK themers looking to edit the color of the letters in the keyboard itself.. question is where is the edit.. I have looked all over latinime... I know the suggestions are in framework Res but I wanna change the hard key letters from white to green... be ides
[Samsung Galaxy Nexus] Kevin3328:
Bump on this question any ideas
[Samsung Galaxy Nexus] coverton341:
Sorry, been working and attending U so I have been rather busy. I am sitting down this weekend and going all in on Gummy 0.7 so I will look into the keyboard issue. I personally only run SwiftKey on my phone so I will also be looking into changing that.

Thanks Gunthemic, I am just switching back and forth between 1.4.2 and 1.4.3 and am having absolutely no more issues. I would give what you suggested a shot, but at this time, I have a system that works and am reluctant to mess with it.
[Samsung Galaxy Nexus] he_stheone64:
Sorry, but I`m still in vacation til the end of this week. Did you check <style name="KeyboardView"> in styles.xml of LatinIME? I had only a brief look, since it`s too warm outside to really mess with xml`s :D
[Samsung Galaxy Nexus] Kevin3328:
Everything is in Latin Google and I cannot find a way to deco pile any gapps
[Samsung Galaxy Nexus] Gunthermic:
Yea I am having some issues with GAPPS as well.
[Samsung Galaxy Nexus] Kevin3328:
What I do to theme all the images for the keyboard is theme latinime.apk first then use 7 zip to drop in Latin Google they are the same PNG for png
[Samsung Galaxy Nexus] Gunthermic:
Nice Idea!!!
[Samsung Galaxy Nexus] Kevin3328:
Still sucks though like I made this keyboard for a theme I'm working on only problem is I can't change the letters to black like I want cause I can't deco pile to get to the xmls
[Samsung Galaxy Nexus] fcb13:
I want to change the dark theme of normal ICS to white. How would i go about doing this?
[Samsung Galaxy Nexus] evilkal:
By spending weeks and weeks changing ever single value ;)
[Samsung Galaxy Nexus] fcb13:
what values...
[Samsung Galaxy Nexus] evilkal:
I'm not going to point out specific values and images because it would take me weeks just to get them all down.
[Samsung Galaxy Nexus] fcb13:
i dont plan on redoing the whole ics system...mainly just the phone and settings.
[Samsung Galaxy Nexus] evilkal:
You want all the black turned white? May I ask why?
[Samsung Galaxy Nexus] fcb13:
I've gotten bored of the dark theme, and want to see it in white.
[Samsung Galaxy Nexus] Kevin3328:
So anybody successfully theme gapps if so would love to know your set up and tools
[Samsung Galaxy Nexus] artvandelay440:
So far, I've themed mms, gmail, and email from gapps successfully with latest apkmultitool, and framework/systemui from aokp m3 installed to c drive root directory.
[Samsung Galaxy Nexus] Kevin3328:
This is what I am missing... how do u install the framework and system UI to c drive root directory.. I never had to do this to theme b4 any good guides out there?
[Samsung Galaxy Nexus] artvandelay440:
get an unthemed framework-res.apk and place it in the root directory of your c:\

-then open a cmd prompt there and run this:

java -jar apktool.jar if framework-res.apk

then place systemui.apk there as well and run this:

java -jar apktool.jar d SystemUI.apk decompiled
[Samsung Galaxy Nexus] Kevin3328:
So basically open the c drive and drop these in the first screen that opens?? Then run the commands.. I am used to running these commands in the other folder in apkmanager/apkmultitool
[Samsung Galaxy Nexus] nbeebe24:
There is such a theme over in rootzwiki. Everything that was black is now white
[Samsung Galaxy Nexus] he_stheone64:
Did you try to decompile with this apktool version?

http://dl.dropbox.com/u/348210/apktool.zip

---------- Post added at 03:22 PM ---------- Previous post was at 03:16 PM ----------

I trust you only want to change the settings background, since changing the entire styles in framework-res would create too many issues with market apps. You can change Theme references in AndroidManifest.xml of settings.apk

like

application android:theme="@android:style/Theme.Holo

to

application android:theme="@android:style/Theme.Holo.Light

I did not double check the approach on GN yet (no time atm), but that`s the way i changed background in previous Android versions in many themes.

Edit: Tested and all worked fine. I certainly did not switch the white icons for my test, since I don`t need white settings, but that will be the easy part for you (except they all are indexed, so don`t edit these with PS). All I did was changing all instances of Theme.Holo to Theme.Holo.Light in Androidmanifest of settings (incl instances like "Theme.Holo.Light.NoActionBar" or "Theme.Holo.Light.DialogWhenLarge"). You will still have Theme.Holo, when you are linked to apps outside settings like ROM control or IME settings. Only issue you need to solve in layout files, are some text colors in apps part.

Edit 2: Sorry when I`m not here so frequently anymore, but I just had to reduce my amount of work for Android in favor of work / family...
[Samsung Galaxy Nexus] Kevin3328:
No but I will try!! Thanks
[Samsung Galaxy Nexus] Kevin3328:
He's the one once again THANK U!! finally gave me what I need to work with the gapps... you are the man.. one more thing left.. just gotta figure out how to compile contacts when edkting the xmls in the apk
[Samsung Galaxy Nexus] he_stheone64:
Can you upload the error log, when compiling contacts? Try to compile with apkmanager and then upload the log.
[Samsung Galaxy Nexus] Kevin3328:
There's no error it compiles fine just force closes when I flash it
[Samsung Galaxy Nexus] he_stheone64:
Then decompile both stock contacts and your compiled contacts and make a diff with Winmerge. That should show you the issue.
[Samsung Galaxy Nexus] s2d4:
a logcat of the fc should help
[Samsung Galaxy Nexus] Kevin3328:
I found a copy of contacts that will recompile properly without errors upon flashing.. thanks for the tips guys
[Samsung Galaxy Nexus] qasimzia512:
Does anyone know how to change the battery text only color in AOKP???
[Samsung Galaxy Nexus] Kevin3328:
Nope and if u find out let me know lol.. if u change the XML in systemui.. values styles I believe.. it only changes the color when charging.. that's what I got so far... I know that when the battery gets low it turns red so I guess we r looking maybe in the wrong apk or the wrong folder.. I've been through the whole values folder and nothing so far
[Samsung Galaxy Nexus] qasimzia512:
Yea dats all i got too...maybe roman will add a option in future builds to change the color thru rom control...
[Samsung Galaxy Nexus] x.Orville.x:
hi i want to try this theme http://xdaforums.com/showthread.php?t=1429959

but hoe i backup the stock theme of the rom if i don't like back to it thanks
[Samsung Galaxy Nexus] Kevin3328:
I'm thinking that will probably be an option soon..if anything I have a feeling this is in the framework XMLs somewhere just cause of the red color in the last 10 percent of battery
[Samsung Galaxy Nexus] qasimzia512:
Its in the batterycontroller.smali in SystemUI.apk
[Samsung Galaxy Nexus] Kevin3328:
Awesome thanks
[Samsung Galaxy Nexus] Kevin3328:
What do u have to change to change the color... do u need to redirect where something or how something is drawn.. I never really mess around in smali.. just curious what I gotta do to change it
[Samsung Galaxy Nexus] qasimzia512:
U need to convert the html values to smali values (u can google the method n i think there is also a converter that u can download)...then go to line 450 and 511 and replace the values ur values and save...recompile (apktool only) and then take the androidmanifest.xml out of the original SystemUI.apk and put it in the systemui/build/apk folder and recompile again and thats it :)
[Samsung Galaxy Nexus] Kevin3328:
Sounds like a pain in the ass lol.. once I get the converter I'll take a whirl at this.. if I get it it will be another learning experience appreciate u taking the time to answer man
[Samsung Galaxy Nexus] qasimzia512:
Let me know if u need any help...
[Eee Pad Transformer Q&A, Help & Troubleshooting] Draak22:
Hi Guys,

Just a quick question. I've only found topics related to PS3 & XBOX controllers. But will any usb controller work with the Asus Transformer?

Thanks in advance!
[Eee Pad Transformer Q&A, Help & Troubleshooting] dougstoner:
I don't know about any usb controller, but I would think so. I have this controller and it works perfectly.

http://www.amazon.com/Logitech-940-000110-Gamepad-F310/dp/B003VAHYQY
[Eee Pad Transformer Q&A, Help & Troubleshooting] antuus:
I've tried a few of the Logitech ones, the Wired 360 and a 3rd party adapter that connects a n64 controller and they all work.

Where it gets sticky is app compatibility. I know that GTA3 does not 100% work with the Logitech controllers (can't go forward in car). The n64 one may or may not work with anything other than emulators.

Figure out what you are going to use it for then do the research. One may be better than others for your specific purpose.

If I were to pick ONE to work with, it would be the wired 360 controller.