yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] Razer(x):
Where's the highlighted part?

https://www.dropbox.com/s/cpixudjmvi9mdw7/Screenshot_2012-11-28-19-32-42.png
[Samsung Galaxy Nexus] artvandelay440:
Dont run CM10, but I'd bet it's in styles XML of systemUI.

Have a look: https://github.com/CyanogenMod/andr...ybean/packages/SystemUI/res/values/styles.xml
[Samsung Galaxy Nexus] Razer(x):
I have no idea which one it might be :eek:
[Samsung Galaxy Nexus] Razer(x):
Did you guys find the 4.2 gps toggle off and on icons? there's not them in systemui (there's only one actually)
[Samsung Galaxy Nexus] stumpy352:
Anyone else having trouble theming the 4.2 GalleryGoogle.apk with theme chooser? I can't seem to even get the icons to stick.

....memoirs of a flash addict.
[Samsung Galaxy Nexus] tjackbjorn:
How do I change the color of Wifi and Signal bars in status bar? I don't use Linux, but I guess there is a way in windows too :)
[Samsung Galaxy Nexus] artvandelay440:
They are a series of images in the drawable-xhdpi folder of systemui.apk. there are a lot of guides on the internet about how to decompile and recompile this.

sent from the 1980s.
[Samsung Galaxy Nexus] stumpy352:
Don't need to decompile if you just want to swap the images out in windows. Just copy/paste using 7zip.

....memoirs of a flash addict.
[Samsung Galaxy Nexus] tjackbjorn:
Yeah I'm aware of that, but my question is how I color them the way I want? Am I supposed to do it in photshop? Then it will be super hard.

Sent from my super fast Prime filled with beans.
[Samsung Galaxy Nexus] stumpy352:
I extract the images on my phone & use an app called photo editor to edit them. You can set edits as favorites, so you don't have to do all the work for each image, then save as png. Its not perfect, but its pretty easy to use.

....memoirs of a flash addict.
[Samsung Galaxy Nexus] irtehun:
I don't know if anyone has mentioned yet but u can build single apps from the android source rather then the whole thing..

To do so run

make -j4 Appname

For instance MMS

make -j4 Mms
[Samsung Galaxy Nexus] artvandelay440:
Yep- thats right. I should also mention that you need to run a full build one time before doing that. Also, the -j4 tag can be replaced by how many cores your processor has. I usually use a -j9 tag for my Core i7.
[Samsung Galaxy Nexus] irtehun:
Right. I just said j4 because its pretty much universal
[Samsung Galaxy Nexus] lichti1901:
AW: [Tutorial][Linux]Themer's Portal and Guide

Why j9 and not j8? I thought i should double my cores ... :confused:

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Samsung Galaxy Nexus] stumpy352:
Anyone know how to change the color of the cm circle battery?

EDIT: Worked it out myself.
[Samsung Galaxy Nexus] chasew83:
anybody got a link for the linux apkmultitool the download link takes you nowhere?
[Samsung Galaxy Nexus] SXUsr:
http://apkmultitool.com/?q=node/5
[Samsung Galaxy Nexus] Berylo:
Another great tutorial. Everything clear. thanks
[Samsung Galaxy Nexus] fspecii:
Thanks a lot guys!
[Samsung Galaxy Nexus] qasimzia512:
There are 2 ways to get rid of all the blue from the contacts.apk

1. U need Ubunto 10.04 with SDK and Java 6, then you need to sync the source (there is a tutorial somewhere), change the values in contacts.apk and build it using the code provided in the tutorial...

2. Since I have everything set up, you can just post the value you wanna change it to and I will do it for you and post the apk back here after I'm done with it :)
[Samsung Galaxy Nexus] artvandelay440:
Awesome there is one XML I'd like changed and I'll pm you after lunch.
[Samsung Galaxy Nexus] sonnysekhon:
Thanks a lot but my Phone.apk refuses to recompile.

Can someone please compile a stock Phone.apk from AOKP 28 with that value changed to #80444444.

Many thanks in advance.
[Samsung Galaxy Nexus] artvandelay440:
Be happy to tomorrow morning when I get back to my laptop.
[Samsung Galaxy Nexus] etoy:
here you go!
[Samsung Galaxy Nexus] etoy:
i looked at the tutorial but something went wrong..i guess JDK was removed from canonical repo and couldn't install the whole packages stuff with 1 command. i'll try to set it up in some other way but i'm completely blind on linux.

--

do you have AOKP sync'd? i'd like to have a couple apks compiled, it's just two xml edits (one for each apk)
[Samsung Galaxy Nexus] sonnysekhon:
Thanks a lot guys :).
[Samsung Galaxy Nexus] artvandelay440:
Lol I was too slow :)
[Samsung Galaxy Nexus] etoy:
my timezone is better than yours :)

--

i've installed ubuntu 10.04 but i'm not able to install jdk6 :confused: any help would be appreciated..
[Samsung Galaxy Nexus] artvandelay440:
I got the same error. jdk 7 didn't work either.
[Samsung Galaxy Nexus] etoy:
i'll keep testing that bastard, in case i have success installing jdk+sdk i'll post some kind of tutorial but no promises at all :)
[Samsung Galaxy Nexus] chopper the dog:
Thanks!!! phone.apk was ****ing me too.

good day.
[Samsung Galaxy Nexus] etoy:
no problem, glad that helped!

in case you find it useful, here's attached my apk manager folder.

the script is slightly modified for ICS (decompile w/ apktool 1.4.2 and recompile w/ 1.4.3) and lets me modify most of the apks without problems.

http://www.mediafire.com/download.php?ajc43nt9j4l5vkv

some of them still FC when recompiled (deskclock, camera, contacts, etc) but it's better than nothing.

linux is still the only way :(
[Samsung Galaxy Nexus] artvandelay440:
There really should be a stickied thread where everyone can discuss compile/theming tools/ etc- what tools work for what job, and where people can exchange working apks for modding purposes.
[Samsung Galaxy Nexus] etoy:
we should try to make this one become that thread.

there's (too) many of them in general android theming/modding but in everyone there's something old / missing OP / whatever.
[Samsung Galaxy Nexus] artvandelay440:
Sure, why not. I'll mod the OP to include my tools and experience, and if anybody wants to contribute, please do :)
[Samsung Galaxy Nexus] qasimzia512:
I have it synced n i built apks for my themes from it past but when i tried to resync the source last night, i kept getting an error...
[Samsung Galaxy Nexus] varun.chitre15:
Ok can someone give me contacts.apk?

I can try to make it transparent or any other mod u want.
[Samsung Galaxy Nexus] artvandelay440:
OP updated. I'll work on formatting.
[Samsung Galaxy Nexus] etoy:
here's my themed contacts.apk

i'd like to change a value in res\values\colors.xml

exactly this:

<color name="quickcontact_list_divider">#ffcdcdcd</color>

to

<color name="quickcontact_list_divider">#ff000000</color>

thanks
[Samsung Galaxy Nexus] artvandelay440:
I haz a request too :) Here's my contacts, and i'd like one xml edited, if you can.

/res/values/colors.xml

these two lines:

<color name="call_log_voicemail_highlight_color">#fffd9000</color>

<color name="people_app_theme_color">#fffd9000</color>
[Samsung Galaxy Nexus] varun.chitre15:
Ok

Will try and post back new till today late night, else tomorrow early morn.
[Samsung Galaxy Nexus] sonnysekhon:
This is from my discussion thread that got lost :p,

Tools:

Update your sdk to 4.0

Latest Apkmanager (5.0.2) (make sure you replace the aapt with the latest one from your 4.0 sdk install)/ Apk Multi-Tool

Latest Apktool

Install the framework:

apktool if framework-res.apk

Framework Compilation Errors:

You will notice that you get a lot of 'plurals.xml line 79' errors when trying to compile the framework.

You have to go the line 79 in each xml that gave an error and add a % in front of the 2nd %d.

For example in values/plurals.xml, change the following:

<item quantity="other">%d of %d</item>

to:

<item quantity="other">%d of %%d</item>

It will compile ok after that.

Clock/Carrier/Ticker/Text Highlight colors:

In framework-res/res/values/colors.xml, change the following to your desired hex color code:

<color name="holo_blue_light"></color>
<color name="holo_blue_dark"></color>
<color name="highlighted_text_holo_dark"></color>
<color name="highlighted_text_holo_light"></color>

Notifications background color:

In SystemUI/res/values/drawables.xml, change the following to your desired hex color code:

<item type="drawable" name="notification_item_background_color"></item>
<item type="drawable" name="notification_item_background_color_pressed"></item>
<item type="drawable" name="status_bar_notification_row_background_color"></item>
</item>

Changing the statusbar image:

In SystemUI/res/values/drawables.xml, change this one line and change the corresponding image in drawable-hdpi/xhdpi:

<drawable name="status_bar_background">@drawable/status_bar_bg_tile</drawable>
</item>

Changing the notification pulldown image:

In SystemUI/res/layout/status_bar_tracking.xml, add ---android:background="@drawable/pulldown"--- to the first line and add the corresponding image in drawable-hdpi/xhdpi:

<com.android.systemui.statusbar.phone.TrackingView android:orientation="vertical" android:background="@drawable/pulldown" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"

Removing the tint that Google inexplicably added to all the notifications:

In SystemUI/res/values/dimens.xml, change this value to anything you like:

<item type="dimen" name="status_bar_icon_drawing_alpha"></item>
</item>

Changing it to 100% will get rid of the tint altogether.
[Samsung Galaxy Nexus] varun.chitre15:
Sorry but the contacts.apk is not ready to decompile and i tried relacing aapt.exe, apktool from ICS SDK but still few errors exist

I think until and unless we get a stable Apktool for ICS we won't be able to mod some stuff

Just as a last attempt, can anyone give me a purely stock contacts.apk(i don't think that it will work but....)
[Samsung Galaxy Nexus] artvandelay440:
Thanks- added link to OP.
[Samsung Galaxy Nexus] artvandelay440:
That's because contacts can only be built from source- which is why i didn't do it myself :p
[Samsung Galaxy Nexus] varun.chitre15:
Yep....that's good option indeed but I m confident that Brut will come up with a stable apktool soon.
[Samsung Galaxy Nexus] etoy:
just installed linux mint 12, it's got jdk 1.6.26 already built in.. a little easier to set up :) android sdk r17 is out too..will try it out this evening
[Samsung Galaxy Nexus] etoy:
is this thread definitely dead? it was a good idea. in the meanwhile i think i've set up a working build station. made my first kang today :)
[Samsung Galaxy Nexus] artvandelay440:
Nah i've updated several things about it, just didn't bump it. But i did just now :) We'll need a lot more contributions for this to be a sticky.
[Samsung Galaxy Nexus] Razer(x):
Anyone knows how to fix the problem of contacts.apk crashing when changing hex color values?
[Samsung Galaxy Nexus] chopper the dog:
Build it from source.

good day.
[Samsung Galaxy Nexus] Razer(x):
I can't download all the sources only to build contacts apk :D
[Samsung Galaxy Nexus] chopper the dog:
We chatted about this in the first couple of pages. I have a blacked out contacts with all text changed to 9a9a9a and you can introduce your images into it, if you would like. Someone else built it for me. It's from the current aokp sync'd with travp's source/theme and then a couple xml's edited to eliminate all holo.

good day.
[Samsung Galaxy Nexus] Razer(x):
Thanks, but i need to change hex colors to remove blue stuff. I'll see what i can do

EDIT: Tested the apk, works partially but it's ok for the moment
[Samsung Galaxy Nexus] etoy:
lol i did it :)
[Samsung Galaxy Nexus] artvandelay440:
The only thing you can change without building from source are images and .9 patches, since xml edits get compiled into resources.arsc.
[Samsung Galaxy Nexus] etoy:
i think we can change some xmls too..not sure if all or just a few, but not values folder for sure (not visible unless decompile).

let me explain:

i decompiled contacts.apk, edited an xml to remove the divider in call log and recompiled. i extracted the compiled modified xml and copied it with winrar in an untouched apk. it's a dirty way but it worked!
[Samsung Galaxy Nexus] Razer(x):
I can't find where to change text battery color :/
[Samsung Galaxy Nexus] chopper the dog:
https://github.com/AOKP/frameworks_base/blob/ics/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryController.java#L176

good day.
[Samsung Galaxy Nexus] artvandelay440:
So Chopper, in theory, could i download framework_base as a package and import it into eclipse so i could edit the java directly and not have to mess with smali at all?
[Samsung Galaxy Nexus] Razer(x):
Never messed up with java, guess i'll have to read something.

Thanks for help
[Samsung Galaxy Nexus] qasimzia512:
In my opinion smali is easier...its only 2 lines that need to be edited in batterycontroller.smali...line 450 which is the green color for charging and 511, the yucky stock blue lol
[Samsung Galaxy Nexus] etoy:
i've got my aokp sources sync'd and everything, also built my first kang and all works fine.

can someone explain me what to do now to get modding started?

can i directly mod the sources i have on the hard disk or should i create another branch for that?
[Samsung Galaxy Nexus] Razer(x):
Have you got a link or something about smali? never worked with that stuff, don't know where to start
[Samsung Galaxy Nexus] Razer(x):
Anyone has already done an updated unholoed contacts?
[Samsung Galaxy Nexus] qasimzia512:
You can use the one from my theme since they r identical...

Qasim Zia
[Samsung Galaxy Nexus] Razer(x):
Where's the file to remove diagonal stripes under toggles of dropdown menu?

i tought it was in SystemUI but can't find it right now
[Samsung Galaxy Nexus] qasimzia512:
Its in framework...its called notify_panel something...
[Samsung Galaxy Nexus] KennyG123:
Thread stuck by request!

FNM
[Samsung Galaxy Nexus] artvandelay440:
Awesome!
[Samsung Galaxy Nexus] etoy:
@razer:

notify_panel_notification_icon_bg.png in framework-res.apk
[Samsung Galaxy Nexus] Razer(x):
Have you guys already started working on CM9 template?
[Samsung Galaxy Nexus] Nordpolcamper:
I already pmed art, but I thought why not ask here too, since here are more people my chances are better;)

Basically I want to make that texture you can see on the right part of the settings into black. I have the necessary photoshop skills and I know how to work with 9.pngs, but I cant find the texture.

"I am getting a little bit desperate now, since I dont know what to do further.

I know how to work with 9.pngs and I did some framework experiments, but none got me to the result I am longing for.

I found many other places where a similar texture is still in use, maybe you can figure it out when you see them:

As you can see my power menu, the settings panel background from i.e. the sms app and other settings page use that background but I dont know where to look...those are the ones I changed in framework:

ab_stacked_solid_dark_holo.9

ab_solid_dark_holo.9

ab_bottom_solid_dark_holo.9

menu_submenu_background.9

ab_stacked_solid_inverse_holo.9

ab_bottom_solid_inverse_holo.9

and of course I already changed the holo dark background in the nodpi folder.

This right here is my non edited framework-res.apk.

It would be very cool, if you could find the image I am missing."
[Samsung Galaxy Nexus] artvandelay440:
I can tell you that the power menu is located in framework-res drawable-xhdpi: dialog_full_holo_dark.9.png

The settings page of system apps is controlled by the styles.xml or androidmanifest.xml of each individual app by changing the parent theme to theme.holo, holo.light, etc.

If anybody finds the secondary menu background, please post it. I found it once, but lost it again. Here's the background:
[Samsung Galaxy Nexus] Nordpolcamper:
strange I replaced the existing file with the one in the attachment and nothing changed

I will edit

dialog_middle_holo_dark.9

dialog_top_holo_dark.9

dialog_bottom_holo_dark.9

also to see whether that does it or not^^

Edit: Yep those did it ;) But still looking for the settings background
[Samsung Galaxy Nexus] Nordpolcamper:
ok this is what I got so far:

the second settings collumn is the last thing I am looking for
[Samsung Galaxy Nexus] Nordpolcamper:
Ok I contacted some people over at the transformer prime forums and they said, that I should check the values in systemUI, framework and settings, because it should be somewhere there as a color code.

I downloaded APK Multi tool and run the script. I placed my framework-res.apk into the modding folder and then decompiled the apk.

in my projects folder there was now a folder called framework-res and all the files inside. I changed some things in my values folder and wanted to compile my framework-res.apk, but I just got this error:

am I making some common mistake, is something wrong with java?
[Samsung Galaxy Nexus] artvandelay440:
Looks like your aapt.exe might be out of date- maybe try the new one from the newest sdk?
[Samsung Galaxy Nexus] Nordpolcamper:
ok I updated my whole SDK ( just downloaded everything ) but still getting the same error -.-
[Samsung Galaxy Nexus] artvandelay440:
How to create themes for the Theme Chooser:

There's a great guide at RootzWiki, and I'll link it when their site goes back up. Meanwhile:

-Find a template apk to use and decompile it. I recommend a cm9 theme chooser apk, since the older cm7 ones have different package names often. Look at the naming structure in the drawables folder. You'll notice framework images are labeled like this: frameworks_res_imagename.png Essentially, every app's package name is added as a prefix to the beginning of the file to show it where to replace in the system. To begin with, just try replacing existing images, as this requires no additional edits.

-BEFORE you resign and install, be sure to change the package name, author, app name, etc. in the androidmanifest.xml, and also change styles and strings.xml to reflect the exact same title. Otherwise your package will overwrite whatever you used as a base template.

-Once you are comfortable replacing images, you can begin to generate new content. Let's say you want to theme the camera from your older zip style theme and incorporate it into the theme chooser apk. take all your old images and rename them according to the naming scheme. For camera this would add the prefix com_android_camera_imagename.png. Once all your images have this prefix, drop them into the drawables folder (xhdpi for the GNexus).

- Now, you have to generate an xml to redirect the system to those images. The xml should have the same package name. For our camera example, this would be com.android.camera.xml, and it goes in the xml folder.

As you can see, each image has to be redirected individually. Simple take the line from your existing camera xml (note: anything in the /layout folder will not work) and paste that line into the com_android_camera.xml. Once all your images are properly referenced in the corresponding xml, recompile, sign, and install, then select in the chooser!
[Samsung Galaxy Nexus] chopper the dog:
Did you ever locate this image/edit?

good day.
[Samsung Galaxy Nexus] artvandelay440:
The most frustrating part is that i've found it before, but can't relocate it.
[Samsung Galaxy Nexus] CMNein:
Just a note re: Theme Chooser themes, with the recent merge of nav bar customization to CM9 the big menu icon isn't being themed for those themes that touch the nav bar.

http://review.cyanogenmod.com/#/c/13306/

Images are:

packages/SystemUI/res/drawable-xhdpi/ic_sysbar_menu_big.png

packages/SystemUI/res/drawable-xhdpi/ic_sysbar_menu_big_land.png

Haven't tried messing around with any apk's to "fix" since that's not my...ahem...forte.
[Samsung Galaxy Nexus] Razer(x):
Do you know where can i find the file/string responsible of pressed toggles or new notifications color?
[Samsung Galaxy Nexus] artvandelay440:
new notification color is controlled by drawables.xml in systemui. You can substitute #ffffffff for an image by making it @drawable/imagename instead. Line 4 i think.

Pressed toggles are in framework, near the bottom. The images are easy to recognize.
[Samsung Galaxy Nexus] Razer(x):
Found it, thanks art ;)
[Samsung Galaxy Nexus] Razer(x):
Ok, this one is a little harder!

Any way to remove the number in percentage battery for CM9? so i can replace it with a circle battery for example.

and if it's not possible via theme chooser, any way to add another option in battery selection?
[Samsung Galaxy Nexus] Razer(x):
Ok, two things i can't find anymore, the blue glow effect and the selected tab image
[Samsung Galaxy Nexus] Nordpolcamper:
The blue glow line is in framework-res.apk in xhdpi sry, but I dont know the exact name, but just type in glow in the search field and you will find it^^
[Samsung Galaxy Nexus] Razer(x):
You're probably referring to overscroll_glow but that's already themed (you can see it's orange), but there's still some blue color
[Samsung Galaxy Nexus] artvandelay440:
There are 2 glow pngs. Should be right next to each other.
[Samsung Galaxy Nexus] Razer(x):
You're right, found this lil bastard!

What about the active tab image?
[Samsung Galaxy Nexus] Stizzo89:
Really Cool!! :p But i prefer the original ICS colors
[Samsung Galaxy Nexus] giannisgx89:
I need a little help guys on how to change the blue text color and the blue lines

in contacts and dialer
[Samsung Galaxy Nexus] artvandelay440:
the text and individual dividers are in colors.xml of contacts. This will get most of it.

<color name="con_quickcontact_list_divider">#ffb87900</color>

The second divider is list_section_divider_holo_custom.9.png in contacts' drawables folder.
[Samsung Galaxy Nexus] giannisgx89:
Thanks for the answer. :)

The divider you're talking about it for another place and i already changed it.

About the colors.xml i can't find it contacts folder :/

I'm still noob at these.
[Samsung Galaxy Nexus] artvandelay440:
the original is in contacts at res/values/colors.xml

You'll need to add the corresponding lines to your com_android_contacts.xml in your theme chooser apk.
[Samsung Galaxy Nexus] CMNein:
https://docs.google.com/file/d/0B2DgN_sLq_yEX0RVU252ekFxZW8/edit?pli=1
[Samsung Galaxy Nexus] pjdannie:
After being shown this thread (by Razer) because of my transparency woes with contacts - and really appreciating the quality here,

I hoped I could add something

http://xdaforums.com/showpost.php?p=10663144&postcount=4

some good stuff here too me thinks.

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

pj
[Samsung Galaxy Nexus] Razer(x):
UP for the top bar image
[Samsung Galaxy Nexus] chopper the dog:
Brah, that's child's play. In framework, there's like 6 little images in the tab_selected_holo.9 naming group.

good day.
[Samsung Galaxy Nexus] giannisgx89:
You seem to know much about the android theming :)

My question is how can i change the white text color of settings to black or something else?

I tried searching but i still have't found that answer. Is that even possible with Theme Chooser?

Also by changing the settings main white text color that will change all the other parts with white color too? Cause i'm trying to make light theme with white background everywhere.

Thanks for your time
[Samsung Galaxy Nexus] chopper the dog:
For something like that and since it has been done before. I would find that white theme and use winmerge (google it, winmerge is a themer's best friend) to compare both decompiled apks and all the edits will stick out. I would gather that having the theme engine do an all white theme at this current time would be a challenge with the locations of the XML edits required.

good day.
[Samsung Galaxy Nexus] nbeebe24:
To change the color in the settings menu you can do it from the colors xml as well as the styles xml in the framework-res apk in the values folder. It's REALLY hard to completely invert the holo dark theme though. It hasn't been completely done yet