yashsingh1/xdaforums huggingface dataset:
[Android Themes] VegasEvo4G:
Yep.

Like I said, I started out knowing nothing, now I know a LITTLE... not much, just a little! :D

While that is obviously everything one would need to know and then some, I just thought there might be something a little more tailored to the task at hand created by an xda member. I've found a few things on you tube, and an article here and there on android blogs, but not all "gimp-android topics" in one nice little outline. No biggie, I will just keep taking stuff in as I find it! Thanks again!
[Android Themes] theimpaler747:
No problem, and I'll alert you if I find anything :D Let me know if you need anything else!
[Android Themes] silverxbv2:
Theres a basic write up on reflections here. http://www.gimptalk.com/index.php?showtopic=458
[Android Themes] theimpaler747:
Nice find :)

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] rel500:
okay question for Impaler... Im running Trigger for Vibrant and love your bold green and blue transparent mms but its not compatible with Vibrant, how can i accomplish a transparent mms apk like yours?
[Android Themes] theimpaler747:
Follow my advanced decompiling part of my decompiling guide, and then edit to your liking :D
[Android Themes] rel500:
But what exact files am I looking for the transparency?
[Android Themes] theimpaler747:
Oh come on, you don't want to even try? ;)
[Android Themes] rel500:
Can I get a hint? Im going crazy.
[Android Themes] theimpaler747:
You'll need to create a new theme in the XML and refer it back to a transparent image for the background. :)
[Android Themes] kirbnite:
theimpaler, I sent you a pm, if you could possibly help. If not, its cool, just seams like you have done this before. Either way please let me know if you can or can't.
[Android Themes] theimpaler747:
Didn't see your PM.... what's up?
[Android Themes] kirbnite:
Help with Settings.apk

I am currently looking to find a way to invert the settings.apk menu on GingerBread. The background is white and all the text is black. When	I press an option in the settings, it is using the /system/framework-res.apk (list_selector_background_pressed.9.png), it then displays differently, but the normal state is a solid greyish/white. I have Checked every png in framework-res, SystemUI, moto-res, blur-res. This normal state of greyish/white I have come to the conclusion is hard coded either in an XML somewhere, or in the smali.

I also need to find out where to change the text color. I could probably manipulate the colors.xml in framework, but would like to isolate the location for the Settings.apk. Any help locating these two changes would be greatly appreciated.

I know the menu_list.xml has a value for background = #ffffffff, which does match white. I change that to black (#ff000000) and menu_item.xml has an entry for TextAppearanceLargeInverse, which does represent black text. I removed inverse to switch black text to white text.

After compiling and adding to my phone, I can not find any physical changes. So I edited some of the text in the /values/strings.xml and test again. Now I see a change, but only change were to the text I changed. So no clue what the menu_list and item change. And still at square 1.

I know I am not in the forum for my phone, but this forum has a wealth of information that is used the same no mater what phone you have and I am extremely grateful for it.
[Android Themes] theimpaler747:
The change to all the menus should be a framework change, most likely in the styles.xml

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] kirbnite:
I will play around with the styles.xml, but comparing the GingerBread styles.xml to one the is black with white text, they are virtually identical. This is what brings me back to think it haas to do with smali code. I just have no knowledge to attack smali. I can decompile it, but tracing it and isolating where the change needs to take place is a barrier for me.
[Android Themes] theimpaler747:
Could be, could also be in system.UI like you said, I don't have much 2.3 experience as my phone doesn't have it yet.
[Android Themes] myth999:
Can u tell me the settings app is from which rom for which phone?

Also u don't need to find the text color code and modify it. U can use ur own in the relevant xml and add a color property that will over ride any reference made to any framework styles/imported styles
[Android Themes] yocom:
thanks for the guide theimpaler747 i will try this now :D

sorry for my bad english
[Android Themes] theimpaler747:
No problem, glad you like it! :)

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] kirbnite:
Where do I get 5.0 from?

Edit: posted on wrong thread. Meant the Apk Manager 4.9. I re-posted in proper thread.
[Android Themes] kirbnite:
I am running the GingerBread leak for Droid X. The properties are very much the same regardless what ROM the ginger bread is for. I am hoping some one knows where to make the changes necessary to invert the settings page. (Home screen > menu key > settings) or (app drawer and then select the settings application).
[Android Themes] affmalg:
Hi,

i think i need your help again.

Its not possible for me to flash a decompiled and compiled framework-res.apk. I haven't done any changes but it still goes into a bootloop. And this happend several times, with different framework-res.apk and also a new download of Apk Manager.

Cheers
[Android Themes] theimpaler747:
Are you following my advanced decompiling guide? Try that :)
[Android Themes] affmalg:
Well, but i want to edit framework-res.apk and i dont have have any problems with decompiling or compiling...

SystemUI.apk worked just fine, no problems at all. I made several mods of the SystemUI.apk. But flashing a decompiled and compild framework-res.apk just ends in a boot loop.
[Android Themes] theimpaler747:
Like I said, it may not be recompiling correctly because it doesn't have the proper dependency framework in the folder.
[Android Themes] affmalg:
I will try furthermore.

I found the 1.apk and replaced it with my roms framework-res.apk.

Decompile and compile worked but after flashing it shows for 5 seconds the lockscreen and then reboots. This is frustrating...

But thanks for your help :)
[Android Themes] maverickwm:
thx for the information!:)
[Android Themes] kirbnite:
you do not replace the 1.apk.

You install your framework.

In a command prompt while in a directory that has apktool.jar and your framework-res.apk

Type: java -jar apktool.jar if framework-res.apk
[Android Themes] kirbnite:
After compiling, extract the new framework-res & also the original. Then replace the meta folder and the android.manifest file in the new apk with the originals. If still boot looping then the issue is the version of apktool. Or how your replacing it on your phone. Try apktool 1.3.1
[Android Themes] theimpaler747:
See, we're getting somewhere ;)

And that doesn't usually work on apk manager, which he is using ;)
[Android Themes] kirbnite:
Sure it does. I've done out numerous times. But only time I seemed to find necessary with apk manager so far was when I changed the display increments of the battery. Mine goes in 20% increments by default and made it 5,10,15 20,30,..,90,100

Just make sure to choose yes yes and delete files you changed and resources.arsc if xml files were edited.
[Android Themes] theimpaler747:
You must have a great setup then, because it sure never works for me ;)
[Android Themes] kirbnite:
I just have apktools.jar copied to another folder directly from the other folder in apkmanager. In the other folder I also have framework-res.apk then in the command prompt I switch to the directory I put them in then do the java -jar apktool.jar if framework-res.apk
[Android Themes] theimpaler747:
As have I, on my windows and mac. The method I promote is foolproof, and has always worked for me. But if the other works for some, then that's good too :)
[Android Themes] kirbnite:
This thread has been such a great tool and I can not express the gratitude for it enough.

The way I use apkmanager, I can not say it works every time, but I have not had issues yet. Except with my BlurHome.apk

I have to install framework-res.apk, moto-blur.apk, blur-res.apk as 1.apk, 2.apk, and 3.apk to get the file to decompile, yet I have not yet been able to recompile it, even with no changes. I will try another way if you have a suggestion. I need to try and mix and match aapt.exe and apktool.jar (versions 1.3.1 & 1.3.2) to make sure thats not the issue.
[Android Themes] theimpaler747:
Yeah, apktool 1.3.2 has a compiling flaw. Try 1.3.1. Also, did you try the framework trick?
[Android Themes] kirbnite:
Are you referring to coping the framework-res.apk to 1.apk directly?
[Android Themes] theimpaler747:
Correct. 10char
[Android Themes] kirbnite:
I will try it and post my results tomorrow. Computer is at work.
[Android Themes] theimpaler747:
Ok, let me know how it goes, also try with 1.3.1 if that fails :)
[Android Themes] kirbnite:
Yeah I will try each combination including aapt.exe

1a = 1.3.1 apktool.jar

1b= 1.3.2 apktool.jar

2a= 1.3.1 aapt.exe

2b= 1.3.2 aapt.exe

1a, 2a

1a, 2b

1b, 2a

1b, 2b

And with your framework trick.
[Android Themes] kirbnite:
Update: No mater what I do, I can not decompile and recompile even with no changes. I even replace 1.apk, 2.apk, 3.apk with the original files like you suggest. So I will not be manipulating xml files in BlurHome.apk LoL
[Android Themes] theimpaler747:
Lol, it may be dependent on something else.
[Android Themes] kirbnite:
It must be. No idea what.
[Android Themes] theimpaler747:
Yeah, I don't have a moto phone so not sure what it could be either.
[Android Themes] kirbnite:
C:\Users\DummyName\Desktop\files\132\132>apktool b BlurHome

I: Checking whether sources has changed...

I: Smaling...

I: Checking whether resources has changed...

I: Building resources...

Included base package ID 2 already in use!

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce

ption: could not exec command: [aapt, p, -F, C:\Users\DummyName\AppData\Local\Temp\APKTOOL301914103240410899.tmp, -I, C:\Users\DummyName\apktool\framework\1.apk, -I, C:\Users\DummyName\apktool\framework\3.apk, -I, C:\Users\DummyName\apktool\framework\2.apk, -S, C:\Users\DummyName\Desktop\files\132\132\BlurHome\res, -M, C:\Users\DummyName\Desktop\files\132\132\BlurHome\AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source) at brut.androlib.Androlib.buildResourcesFull(Unknown Source) at brut.androlib.Androlib.buildResources(Unknown Source) at brut.androlib.Androlib.build(Unknown Source)

at brut.androlib.Androlib.build(Unknown Source) at brut.apktool.Main.cmdBuild(Unknown Source) at brut.apktool.Main.main(Unknown Source)

Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\CLEARW~1\AppData\Local\Temp\APKTOOL301914103240410899.tmp, -I, C:\Users\DummyName\apktool\framework\1.apk, -I, C:\Users\DummyName\apktool\framework\3.apk, -I, C:\Users\DummyName\apktool\framework\2.apk, -S, C:\Users\DummyName\Desktop\files\132\132\BlurHome\res, -M, C:\Users\DummyName\Desktop\files\132\132\BlurHome\AndroidManifest.xml] at brut.util.OS.exec(Unknown Source)

... 7 more

Any idea what it means by this line from the error above?

Included base package ID 2 already in use!

I am thinking that this is the reason it will not recompile.
[Android Themes] theimpaler747:
Looks like some source dependencies are not making it.
[Android Themes] xecuter:
hi guys, i really need some help.. been trying to make an adw theme.. installed all softwares and stuff needed to make it.. so i've grabbed the template from anderweb's website.. but found out theres no drawable hdpi for portrait and landscape? isnt this needed? anyways, i manage to find one w portrait and landscape template.. throw it into eclipse project.. replace icons, and all were compiled fine. But as i replace the other icons such as the rar bg/lab bg, top launcher/bottom, i have tons of xml errors! all i did was replace all the pngs w the ones i create w the same file name.. why wouldnt it work? i'm not really experienced in java.. so i'd appreciate if someone can show me to the right direction? thanks!!
[Android Themes] X10_minipro:
Really nice guide you got there man :P

You have wroted everything clearly and I think thats one of the best guides I ever seen :)
[Android Themes] theimpaler747:
Hey, thanks :) I appreciate that!

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] Yorzua:
You truly deserves it _ thanks again for your hard work

Keeps working for inspiration of others ;)
[Android Themes] theimpaler747:
Not a problem, glad you like it and thank you for the kind words!
[Android Themes] Enraged21:
this is helpful
[Android Themes] theimpaler747:
Thank you ;) Glad you find it useful, vote in the poll and toss me a thanks if you use it!
[Android Themes] kaufmanj67:
Hope don't mind if I jump in here, if you do it this way you have to make sure your new files are the same size as well as same name
[Android Themes] xecuter:
thanks! appreciate the reply. found out what i was doing wrong.. the patched 9.png was the problem.. i didnt retain the layout which was why i kept getting errors.
[Android Themes] kaufmanj67:
http://xdaforums.com/showthread.php?t=883392

Yeah those suck this is where I learned how to handle those glad to help
[Android Themes] datoml:
WOW!

Thanks for this tips.

I always wanted to start making a theme but i was a little bit too lazy to google for tuts =).

But now .... thanks :D.
[Android Themes] theimpaler747:
No problem, glad you like it! :D
[Android Themes] sw10475:
I am trying to theme a data app, but the app never installs. I checked data/app and the themed apk is there. If i flash it to system/app it works. What could i be doing wrong?
[Android Themes] theimpaler747:
What app is it? Is it properly signed to install?
[Android Themes] sw10475:
It is K-9 email app. I have been using a program from ppc geek to sign apks and zips.
[Android Themes] theimpaler747:
Email apps often need to be in system/app. Never heard of k-9 though, only know of the stock one.
[Android Themes] sw10475:
I will put it in system/app again. I use that one because I was tired of the stock app deleting my emails when Outlook synced to my email account.
[Android Themes] toughbax:
Can anyone point me to the XML file that needs to be edited to change the font color of menu text? (see attachment pictures)

I want to change the green text to white, but I don't want to just change it in the colors.xml because that ends up changing too many other things as well. I want to change only the menu font color.

Surely there must be an xml for this in layouts or something in styles.xml maybe?

Any help would be greatly appreciated.
[Android Themes] dowhat87:
Nice guide..Readable, even for walls of texts!
[Android Themes] theimpaler747:
No problem, glad you find it useful!

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] kirbnite:
Remeber my issue trying to re-compile BlurHome.apk and I stated it had 3 dependants.

1.apk = framework-res.apk

2.apk = moto-res.apk

3.apk = blur-res.apk

Well, Some one else found easy solution.

When apktool decompiles the file, it creates the apktool.yml

in there the depenancies are listed. But listed in odd order

listed as 1.apk, 3.apk, 2.apk. Notepad++ switched order to 1.apk, 2.apk, 3.apk so they are in order and now itrecompiles with out a problem.

In the same thread I found that answer, was a really nice tip.

To invert an apks theme (Still could need additional theming in other xmls, or apks like with the settings menu.)

After decompiling the apk, in the android-manifest.xml You will see code similar to below:

(This is taken From BlurAlarmClock.apk)

<application android:theme="@android:style/Theme.Light" android:label="@string/app_label" android:icon="@drawable/ic_launcher_alarmclock" android:name="com.motorola.blur.util.BlurApp">

Change the Theme to .Black like below.

(Inverts alot of the text and background)

If apk is .Light theme, then most likely has a white background with black text.

.Black theme is black background with white text.

<application android:theme="@android:style/Theme.Black" android:label="@string/app_label" android:icon="@drawable/ic_launcher_alarmclock" android:name="com.motorola.blur.util.BlurApp">

Did have issues at first, but worked them out.

Could never get the apk to work properly if I made additional edits on top of the android manifest. If I do them seperately they work great.

Make changes to the androidmanifest.xml, then recompile and take the androidmanifest from recompiled apk and place back into original.

If additional edits are needed then decompile the apk again (the one with new androidmanifest) then make your changes.
[Android Themes] theimpaler747:
Very nice tip! :D

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] dully79:
kirbnite's post has got me wondering.........:rolleyes:

Surely it would be possible to add additional themes into the the styles.xml in the framework-res.apk eg

-Theme.blue

-Theme.red

and then point towards desired theme as described above.

Would this speed things up when creating themes :confused:

I may be wrong, im just thinking out loud :)
[Android Themes] theimpaler747:
Those are only for the ones that are referenced natively to android. You could changed it to .anything, so long as you defined it in styles.xml if it isn't a native Android theme.
[Android Themes] dully79:
Thanks. 10
[Android Themes] theimpaler747:
No problem! Let me know if you need anything else :)
[Android Themes] kirbnite:
I would say definitely possible. Then if you successfully created a new theme as a new color, then you would have the code needed. Just need to add to colors.xml. let me know if you do it and how it works out.
[Android Themes] kirbnite:
What dully79 said would be the way to go.

Edit styles.xml and duplicate say the Theme.Black

Rename Theme.Black to be Theme.SpazzedOut

Make your color edits in that theme and presto.

Then perform the theme edit to the androidmanifest.xml your interested in manipulating.
[Android Themes] renzo.olivares:
Hey i have a question how would i go about fixing this on my htc sense stock theme. Edit and remove arent seperated.
[Android Themes] theimpaler747:
They look separated to me :confused:
[Android Themes] renzo.olivares:
Umm i post a pic up of what its supposed to look like in a second lol but basically its seperated like into two buttons.
[Android Themes] theimpaler747:
So is it an aesthetic thing or a functionality thing?
[Android Themes] renzo.olivares:
More Asthetic but i've searched through the rosie and com.htc.resouces.apk and i can't find anything. Heres what its supposed to look like. any suggestions?
[Android Themes] theimpaler747:
Looks like possible images more than anything else.
[Android Themes] renzo.olivares:
Yea i am checking the images of both a stock rom and a custom rom but i can't find them.
[Android Themes] theimpaler747:
I don't have sense, so I'm not sure what they'd be. Probably .9pngs though.
[Android Themes] renzo.olivares:
ok thanks.
[Android Themes] roscoenr:
everything for the clock on sense sould be in the htcClockWidget.apk in system/app

scrach that what you are looking at should be in your rosie.apk under system/app
[Android Themes] renzo.olivares:
Yea i am checking right now need to rebuild my theme from the ground up it seems.
[Android Themes] roscoenr:
yeah that sucks
[Android Themes] renzo.olivares:
never mind i think i found it! hope it works.
[Android Themes] renzo.olivares:
Thanks guys i fixed it but in the process i broke something :( my signal bars are gone but i think i know hot to fix it.
[Android Themes] theimpaler747:
Glad you're getting there :)
[Android Themes] roscoenr:
Good luck
[Android Themes] renzo.olivares:
Fixed it thanks guys.
[Android Themes] theimpaler747:
No problem, glad you got it! :D
[Android Themes] ClearFire:
cool stuff, I'm really only posting so I can post links in my thread you will see very soon! : )
[Android Themes] XLR8_2K:
smart !:D:D:D
[Android Themes] roscoenr:
got a question when you make a theme how do you get it to show the theme background directly after flashing the theme. I changed the defult wallpaer in the framework-res.apk/res/drawable-hdpi but no go?:confused:
[Android Themes] theimpaler747:
Hmm, that's where it should be changed :confused:
[Android Themes] roscoenr:
maybe there is some thing diffrent because of sense but i can't find what
[Android Themes] roscoenr:
sexy market by the way
[Android Themes] theimpaler747:
Perhaps, maybe it's in rosie or htc-services?
[Android Themes] roscoenr:
no i've checked them both all well I can just give the wall paper as an optional like I'm doing now
[Android Themes] theimpaler747:
Glad you like it! :)
[Android Themes] theimpaler747:
Very odd, must be a sense thing :(
[Android Themes] roscoenr:
Yeah thanks for helping if you come across please let me know or if you ever find out how to change the higlight color in senes. love sense but wish they left a few things alone lol
[Android Themes] theimpaler747:
Will do man :) Let me know if you need anything else non-sense lol :p :D
[Android Themes] roscoenr:
alright I will do that
[Android Themes] xorken:
thanks man great guide!!
[Android Themes] roscoenr:
just say dotcom instead of .com fore example wwwdotgoogledotcom instead of www.google.com
[Android Themes] roscoenr:
would you happen to know where to find the stock voicemail icon?

edit found it
[Android Themes] Vizone-:
frickin love it!
[Android Themes] theimpaler747:
Glad you like it :)

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] kivi90:
really useful thread for everybody (like me :P) that want to customize their phone how they want =) nice+1
[Android Themes] theimpaler747:
Cool, glad it's useful for you! Let me know if you have any questions :)
[Android Themes] Newt:
hey i need some help when you get a chance i im on gchat if its easier jsutton293@gmail.com...... thanks
[Android Themes] coiledwire:
Impaler, I just want to say thanks for this collection of links. I use the website for rgb hex all the time; very useful! :)

Small question, would anyone know of a website that will display alpha hex values? It would be nice to compare different values of transparency without the change-flash-check method.

Sent on the go, from my evo.
[Android Themes] dully79:
I tried to find a site for that reason a while ago and failed :(

Impaler, would it be possible to get a guide how to edit smali?- what to edit and where kind of thing.

There's not alot around in terms of smali theming.
[Android Themes] theimpaler747:
Yeah, I need to use the last reserved post to do that
[Android Themes] dully79:
Ooooh, can't wait :)
[Android Themes] Yorzua:
smali tuto

Check my tuto linked in my signature,

I made a kit already prepared to edit smali easy :)

If you need to know which smali you need to change, feel free to ask me.

Hope it helps you
[Android Themes] Newt:
any chance you know which xml the has the color for the frame that goes around the google search box and the color for when you press that area
[Android Themes] theimpaler747:
That's not an XML, that's a .9png in the google search app.
[Android Themes] renzo.olivares:
Hey i need some help do any of you know which .xml holds the transparency for the the htc app drawer and htc personalize menu on a z rom or sense 2.0 rom?

edit:never mind i got this
[Android Themes] theimpaler747:
Lol, well glad you got it :D

Sent from a truly Epic phone on the XDA Premium app ;)
[Android Themes] mge1204:
Thanks for the tut. Nice to see people still take the time to teach the noobs.
[Android Themes] theimpaler747:
No problem! Glad it's useful :)