yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] steal25:
I've never messed with the settings bg because its already black and I do all my bgs black. But i searched all of settings/value/layout and there were approx 60 background references, but only a few that were #ff000000 or @color/black so i would start there or it could possibly be a reference to a style in framework-res because the text color for the menu is in framework-res/res/color.
[HTC EVO 3D] fernando sor:
In sense 3.0 GB it is done in settings.apk. you just change the main style to wallpaper and then you mod the individual bgs. Most important is the main window background
[HTC EVO 3D] il Duce:
ok, so I don't know what happened, BUT I had apkmanager working, now after some "important updates" apllied to my work computer, everything I have android related errors out in one way or another. This is the error below from apkmanager log. Notepad++ also errors, the xmls come out displayed with lots of "null" where code should be, also xultimate errors when attempting to patch 9pngs. FML.

please halp :(

wtf is this >>

--------------------------------------------------------------------------
|Fri 02/17/2012 -- 12:10:26.85|
--------------------------------------------------------------------------
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) Client VM (build 22.0-b10, mixed mode, sharing)
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
(skipping index file 'C:\Documents and Settings\white bear\Desktop\Stuff\apk
manager 5.0\apkmanager 5.0\apk manager\other\..\projects\Phone.apk\res\drawable-
hdpi\Thumbs.db')
C:\Documents and Settings\white bear\Desktop\Stuff\apkmanager 5.0\apkmanager 5.0
\apk manager\other\..\projects\Phone.apk\res\layout\pref_dialog_editpin.xml:2: e
rror: Error: Resource is not public. (at 'id' with value '@android:id/action_bar
_title').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\DOCUME~1\WHITEB~1\LOCALS~1\Temp\
APKTOOL2275068393359291454.tmp, -I, C:\Documents and Settings\white bear\apktool
\framework\1.apk, -S, C:\Documents and Settings\white bear\Desktop\Stuff\apkmana
ger 5.0\apkmanager 5.0\apk manager\other\..\projects\Phone.apk\res, -M, C:\Docum
ents and Settings\white bear\Desktop\Stuff\apkmanager 5.0\apkmanager 5.0\apk man
ager\other\..\projects\Phone.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\D
OCUME~1\WHITEB~1\LOCALS~1\Temp\APKTOOL2275068393359291454.tmp, -I, C:\Documents
and Settings\white bear\apktool\framework\1.apk, -S, C:\Documents and Settings\w
hite bear\Desktop\Stuff\apkmanager 5.0\apkmanager 5.0\apk manager\other\..\proje
cts\Phone.apk\res, -M, C:\Documents and Settings\white bear\Desktop\Stuff\apkman
ager 5.0\apkmanager 5.0\apk manager\other\..\projects\Phone.apk\AndroidManifest.
xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Press any key to continue . . .
[HTC EVO 3D] Ajthescot:
not sure why thumbs.db is erroring it should be a hidden file unless you have show hidden files and folders enabled.

your path to apk manager looks quite long has it worked from there before.

C:\Documents and Settings\white bear\Desktop\Stuff\apkmana

ger 5.0\apkmanager 5.0\apk manager\other\..\projects\Phone.apk\res

i may be wrong but i am sure it doesnt like spaces in its path.

whats the bit i highlighted in red ?is your projects folder inside the "other" folder

mine C:\Users\Aj\Desktop\ApkManager\projects

could be that your paths are messed up after the updates . but not sure why notepad+ would break

my apkmanager

theres my copy give it a minute or 2 its still uploading
[HTC EVO 3D] il Duce:
Well I just found a BUNCH of viruses. Stupid coworkers and their stupid porn. Once (hopefully) I get it all cleaned up, I will recheck. And yes it worked from that exact path before with no issues. Frustrated that I can't mod at work lol.
[HTC EVO 3D] fernando sor:
You do see the error pointing to that layout xml right? Tho it doesn't make much sense saying the id is not public.
[HTC EVO 3D] il Duce:
Yeah but I was looking for a larger error since it doesn't matter what apk I'm compiling. Also like i said a ****load of programs were failing. I deleted everything and ran a few scans, updated some things, cleaned some things, rebooted it, then came home lol. If I can't get it to work, my laptop always works. I just get bored at work and mod sometimes.
[HTC EVO 3D] renzo.olivares:
anyone know how to change the app drawer tab background on htc app drawer?
[HTC EVO 3D] trollallot:
Where is the URL text located for browser tia

Still using my blackberry...as a paperweight
[HTC EVO 3D] thesparky007:
Its an image in the drawable hdpi of skin and HTC resources Ill look up the name when I get a chance but its not a .9
[HTC EVO 3D] steal25:
I'm pretty sure it is a .9 named common_slide_bar.9.png
[HTC EVO 3D] thesparky007:
you are right i misread and assumed he was asking for the tab itself...

my bad joelz

but the tab itself is common subnav selector tab
[HTC EVO 3D] steal25:
the text color should either be in browser or framework-res /res/values
[HTC EVO 3D] renzo.olivares:
common subnav selector tab is the actual tab im looking for the backgrounds of the tabs without the actual "tab" on them...would it be that image "common_slide_bar.9.png" ?
[HTC EVO 3D] steal25:
Yeah it doesn't look like it would be but it is.
[HTC EVO 3D] renzo.olivares:
alright thanks :)
[HTC EVO 3D] steal25:
Dies any one know of a program to open or decompile .bin and .so files?
[HTC EVO 3D] trollallot:
I must of been drunk when I edited text color in resources....I missed so much!

Still using my blackberry...as a paperweight
[HTC EVO 3D] il Duce:
You looked in the everything android zip linked in 2p?
[HTC EVO 3D] il Duce:
Drunk themes ftw?
[HTC EVO 3D] trollallot:
Yeah problem is.....I don't drink lol

Still using my blackberry...as a paperweight
[HTC EVO 3D] steal25:
Not yet, I will when I get home, thanks!
[HTC EVO 3D] fernando sor:
450+ text color references my friend. enough to drive you mad
[HTC EVO 3D] il Duce:
Me either ;)
[HTC EVO 3D] pstevep:
Nor do I.. Unless you count mountain dew..
[HTC EVO 3D] steal25:
I like juicing my self, nothing like orange,carrot,beet and wheatgrass juice!
[HTC EVO 3D] dased14:
eww would you stop with that

i have a six pack (-2) for the last 2weeks in the frig

now if your talking redbulls or coke that a whole other story
[HTC EVO 3D] fernando sor:
You have to find the color value in smali first.
[HTC EVO 3D] jeffsanace:
Just popping in to say HI to all. Been real busy at work with no time for anything. Can't wait til this project is over.
[HTC EVO 3D] GrimReaper24:
So you go off the hex chart on things? Which gives you a color based code? After you find the color value?
[HTC EVO 3D] fernando sor:
There is actually a pretty simple script that can translate rgb to smali. The trick is finding where the source code is assigning the color. Search the whole smali folder with words like color or paint
[HTC EVO 3D] thizzlemania91:
Anyone want to bring extended settings to miui v4??

I'm down to help :-)
[HTC EVO 3D] GrimReaper24:
Nice I have a rom in the kitchen 2.17 stock build been going off that decompiled one apk at a time looking through things with notepad ++..
[HTC EVO 3D] il Duce:
I would say wait for Andy Thomson.
[HTC EVO 3D] GrimReaper24:
So I am in the framework.jar file

Found a color smali

.field public static final BLACK:I = -0x1000000

.field public static final BLUE:I = -0xffff01

.field public static final CYAN:I = -0xff0001

.field public static final DKGRAY:I = -0xbbbbbc

.field public static final GRAY:I = -0x777778

.field public static final GREEN:I = -0xff0100

.field public static final LTGRAY:I = -0x333334

.field public static final MAGENTA:I = -0xff01

.field public static final RED:I = -0x10000

.field public static final TRANSPARENT:I = 0x0

.field public static final WHITE:I = -0x1

.field public static final YELLOW:I = -0x100

const-string v1, "black"

const/high16 v2, -0x100

My guess from all the readin is the top one is what I need to change around.. Also found the paint smali you said... I see the top part gives you the color value and the rest is what needs to be swapped..

So what I am wondering is can I replace the color code with html color code? I found a hex color chart with the code next to it I may just go off it if you can't use HTML...
[HTC EVO 3D] fernando sor:
im porting zues mod (extended settings to the rezound and im close. swapping the button tabs to where you just click the status bar background is my last hurdle. have learned quite a bit. it has been pretty challenging
[HTC EVO 3D] tommytomatoe:
Just to add another pics to your puzzle...

const/high16 = 0000

Just so you know. That's why sometimes you will see black as const/high16 v2, -0x100 and red as const/high16 v2, -0x1
[HTC EVO 3D] GrimReaper24:
Lol nothing too insane just been catchin onto things.. Anyways thanks for the info on it.. Wasn't full of riddles.
[HTC EVO 3D] chogardjr:
I thought

const/high16 v2, -0x100 = black

const/high16 v2, -0x1 = white

Am I losing my mind, lol

From my Chogardjr3D and AnthraX Infected SuperCharged Evo3D!!!

Chogardjr3D for Evo3D http://xdaforums.com/showthread.php?p=22012132]Chogardjr3D v2.0
[HTC EVO 3D] thesparky007:
anyone know how to change the height of progress bars in sense? as in make it thinner?
[HTC EVO 3D] il Duce:
I'd have to look at the xml but yes there must be a way. I think it would be in framework-res.apk /res/drawable /progress horizontal xml
[HTC EVO 3D] thesparky007:
the xml is quite simple there are only references to color thats about all...

may be i could add an android:layout_height= ? would that work?
[HTC EVO 3D] tommytomatoe:
const/high16 v2, -0x100 = black

const v2, -0x1 = white

Long time Cho!
[HTC EVO 3D] il Duce:
In theory, but now that I see it, it looks like the height would be in a different xml, since the background fill bar is what you're talking about. Probably still in frres but not sure where.
[HTC EVO 3D] fernando sor:
they are actually very thin in ics

---------- Post added at 07:19 AM ---------- Previous post was at 07:17 AM ----------

so anyways zues mod is brilliant. ihtfp69 is a frickin genius. just porting it is a *****. tho it is different because im porting it to ics. i remember the drama in the early days of the 3d when some took credit for ziggys port of zues mod. i can see why now they were so pissed. its the hardest thing ive ever done
[HTC EVO 3D] GrimReaper24:
I have seen alot of that lol..

The smali file's makes your eyes hurt lol :rolleyes:
[HTC EVO 3D] fernando sor:
i always take out the high16 and black can be 0x0 also you never need high16 actually. it also keeps the color flat.meaning if you have high16 and try to add other then black or white you usually end up with red.
[HTC EVO 3D] GrimReaper24:
So is it really that much of a hassle to go through the whole rom to change color? I don't mind doing it I have seen a few things named also in the apk files

$color.smali

$paint.smali

color.smali

paint.smali The ones with the $ sign I have seen one in every apk file so far....

I was thinking about just some words swap some pics among the other things I have planned...
[HTC EVO 3D] fernando sor:
You don't change those. Most text or other color values are in resources or can be changes from there. Rarely is system text color in smali. The classes for framework and com.htc.resources have very few color references
[HTC EVO 3D] GrimReaper24:
Thanks man I didn't change anything just been browsing files... Once I get the hang of it I will be set... Just been doing alot of reading :D Checkin things .

:D

In all apk files when I decompiled each one I see a color.smali tho it looks like $color.smali..

If I open the apk zip up I see a folder called colors with xml files I think that is what I need to find is a xml tool..

Notepad ++ is good for seeing smali files not good for xml files.. Anyways thanks .. Been reading all the guides in the thread.. Tryin to find the clock and rosie and few others to change around..
[HTC EVO 3D] fernando sor:
The color smali lists all the color in that particular apk.

Notepad++ actually works well for xmls. Everyone uses it
[HTC EVO 3D] GrimReaper24:
Well for some reason I go to open something xml wise I get that null null and a bunch of other letters that looks like something outta the DEAD SPACE game lol..

Anyways I will give it another shot soon might just have to change something settings wise in notepad ++ ... Anyway's thanks ..

So I am on the right track with the $colors.smali that are in each apk file under apps ...
[HTC EVO 3D] silverxbv2:
You need to decompile the apk for the xmls to be readable.

Sent from my ADR6425LVW
[HTC EVO 3D] thesparky007:
Both bg and actual progress are in progress horizontal and the one from ics doesn't have any refernce to height either...
[HTC EVO 3D] GrimReaper24:
Ya i have been it works I was referring to just the plain xml file lookin funky. But everything works when decompiled .
[HTC EVO 3D] fernando sor:
The volume rockers that apply color are images in ics
[HTC EVO 3D] thesparky007:
ohhh its xml based in sense right?
[HTC EVO 3D] fernando sor:
it still uses the progress for other things but images control the color
[HTC EVO 3D] jessesse:
I'm having trouble finding the xml for the "new message" button text for a sense 1.0 mms.apk

I know sense 1.0 isn't everyone's's specialty. Here is a picture to show you what I mean...

I changed the rest of the text white for everything else in xml's except for this..

I'm not real sure what to look for now. Is that button called compose_message_activity?

Edit: after reading through jschisurf's froyo thread again, I think it is smali. I don't know how to edit smali yet :(
[HTC EVO 3D] steal25:
I'm assuming the text is black and hidden in the black bg. Just do a search of all xmls in layout for #ff000000 or textcolor @color/black and see what comes up. Tommytomatoe is the sense 1.0 sensei maybe he"ll shoe up and give a better answer.
[HTC EVO 3D] fernando sor:
It could be in resources also. If you post it I'll take a look. I can't test it but i can look at it
[HTC EVO 3D] GrimReaper24:
Smali can be a headache lol hopefully you get the hang of it ... I seen a few charts on Google that has a color already made with the Smali color code next to it. So if you like the color you can swap the color code. I would make a back up tho of the original.
[HTC EVO 3D] GrimReaper24:
Quick question about status bar I know the png is grey scale . Can i make one with color and replace the existing one ?
[HTC EVO 3D] trollallot:
Yes just change it to etc. I actually thought it was already that though

Still using my blackberry...as a paperweight
[HTC EVO 3D] GrimReaper24:
Thanks been wondering that since I haven't seen it in a guide sayin you could convert it .
[HTC EVO 3D] GrimReaper24:
No the statusbar and the background are grey scaled. Few other things are also.

I'm talkin about sense roms 3.0 .
[HTC EVO 3D] steal25:
can you post a link to that .smali color chart?
[HTC EVO 3D] GrimReaper24:
Let me find it again it was in hex code which was the only thing that seemed to check out I am still learning the Smali thing .
[HTC EVO 3D] GrimReaper24:
http://www.december.com/html/spec/colorhex.html. Rgb

Needs to be converted to Smali . I'll look around and see if I can't find somethin .

Check that out may help
[HTC EVO 3D] fernando sor:
That's rgb. You have to convert that to smali
[HTC EVO 3D] GrimReaper24:
Well posted some converts :D Thanks for pointing that out lol.
[HTC EVO 3D] GrimReaper24:
Some Smali seems to convert over fine to rgb in that html color chart using that hex chart thing in that guide from the op. Anyways as i said im still learning Smali wise.

There is a converter for it on xda :D
[HTC EVO 3D] GrimReaper24:
http://xdaforums.com/showthread.php?t=812680
[HTC EVO 3D] GrimReaper24:
http://xdaforums.com/showthread.php?t=1129753

This is from a Samsung device but Smali color code should be the same layout .
[HTC EVO 3D] GrimReaper24:
I haven't used these but worth a shot.
[HTC EVO 3D] trollallot:
Ok either my updated xda app is really messing up bad! Or reaper you are quoting and answering yourself? Lmao

Still using my blackberry...as a paperweight
[HTC EVO 3D] jessesse:
Fernando, Thank you sooo much for taking a look. I have probably tried 50 times now.

Here is a link to that sense 1.0 mms.apk that I have modified.

http://www.mediafire.com/?drjyy33y3d1gr49
[HTC EVO 3D] fernando sor:
Yes flat Grey's work out to be the same. Where rgb would be 777777 smali would be like 888888 or something like that
[HTC EVO 3D] fernando sor:
That program works great. You can look at the script in notepad++ and see the conversion formula
[HTC EVO 3D] GrimReaper24:
Lol man I dunno I wasn't tryin to I think I dicked something up using my xda app...

---------- Post added at 07:30 PM ---------- Previous post was at 07:29 PM ----------

Nice I had to go scrollin to through things to find it lol... Hopefully it helps folks doing the color code..
[HTC EVO 3D] fernando sor:
haha i just realised you had said this lol.

---------- Post added at 04:09 AM ---------- Previous post was at 04:08 AM ----------

ill look at it as soon as i can
[HTC EVO 3D] GrimReaper24:
Lol Hopefully those files help with smali :D Anyways thanks...:D
[HTC EVO 3D] tommytomatoe:
hey gangsters

I need m10 tools...anyone have a mirror?

Stil waiting on results of my evo 3d...but in the meantime dean_fx is gonna play with some m10 files and possible port Ghost Rosie on over..

The main link is multiupload and as we all know...

I'll pm you a hug if you post a link. Thanks!
[HTC EVO 3D] vanessaem:
It's a contribution to this thread because when someone comes in and wants to know how to make a boot animation I will just link to your thread. :)

Maybe Mr. Moderator has a link to it already in the OP and if he doesn't, he may put it there. ;)

Brought to you from my HTC EVOlutionary 3-Dimensional Smartphone
[HTC EVO 3D] knightwolf123:
Wow I must say, when modifying anything on my phone, I only need one thread. This One !
[HTC EVO 3D] eg1122:
All this information has come in real handy. Thank you all. Anybody know of a good guide for inverting Mms.apk and Mail.apk? Thanks in advance.
[HTC EVO 3D] pstevep:
OK friends.. I need to know where to find that Google search bar background.. Anyone know where it may be?

_______________________

No d3rp left behind - ranger61878
[HTC EVO 3D] steal25:
in googlequicksearchbox.apk /res/drawable-hdpi/search_floater.9
[HTC EVO 3D] thoughtlesskyle:
Why? Making some warm boxes?

Did you see the geniewidget I posted
[HTC EVO 3D] pstevep:
Thanks I shall check there..

Trying.. Well that png haunts me..

_______________________

No d3rp left behind - ranger61878
[HTC EVO 3D] jeffsanace:
Here's one that I modded, you can use it for reference. Just decompile and see how the . 9s need to be patched. Hope this helps.

http://db.tt/7FHkxqhy

Sent from my Bad Seed customized EVO 3D!!
[HTC EVO 3D] hockeyfamily737:
Miui tutorial is temporarily on hold thanks to a freak October snow storm, which has crippled New England. I will get back to work on it just as soon as I can.
[HTC EVO 3D] vanessaem:
Hey, take your time. I'm sorry to hear about what's going on in your area. A few places in NY are going through the same thing. I hope everything gets restored to you all soon.
[HTC EVO 3D] hockeyfamily737:
I hope so too. Sitting in my driveway, guarding my generator and gasoline is no fun. People have turned to savages in my quiet town.
[HTC EVO 3D] steal25:
HTC_ime any one have any real luck with it? Simple key color changes are simple, just decompile edit pngs and .9s and move the finished pngs to an untouched APK. But everytime I make xml or .smali edits and recompile it either won't install or it will continually fc. I've tried every version of apktool and no luck, any ideas?
[HTC EVO 3D] pstevep:
OK since the last one wasn't hard.. Where are these two widget backgrounds?.?

_______________________

No d3rp left behind - ranger61878
[HTC EVO 3D] steal25:
I'm pretty sure its in fusion. Not a 100% though I'm not at home to look.

But anything on the homescreen that gives a 3s effect is in fusion or in its 3d widget APK. So you might also wanna check htcmusic3d widget.apk
[HTC EVO 3D] pstevep:
That's been the rumor, but i can't find any images that look like that.

Btw I think thoughtlesskyle is good with keyboards

_______________________

No d3rp left behind - ranger61878
[HTC EVO 3D] steal25:
Read my edit above
[HTC EVO 3D] pstevep:
Pretty sure I looked there too, but I will check again in the morning. Thanks.

_______________________

No d3rp left behind - ranger61878
[HTC EVO 3D] jeffsanace:
They are in fusion and in skins m10 files. They don't look like you would think, I'll see if I can get the file numbers for you.
[HTC EVO 3D] jeffsanace:
The small and medium widget backgrounds in fusion and skins is actually the same image. It's a 50x50 0x00002f77.dat and is the background for all sense medium and small widgets.
[HTC EVO 3D] il Duce:
Oh man I hope so. A whole BUNCH of people been looking for those. I've looked in so many fusions I could puke, looked in a skin, music, music widget. Lol. Heck if you could put up the name AND the pixel resolution or description of the image that'd be just swell :)

EDIT : you effing win! Thank you. Time to update d3rp themes again.

/does happy dance.
[HTC EVO 3D] dean_fx:
Sup fellas ;-)

I will try my best!

That link would be greatly appreciated from me also.

TIA.
[HTC EVO 3D] trollallot:
If you guys don't get it by the time I get home I'll upload for you. :)

Tommy no need to pm a hug lol

Still using my blackberry...as a paperweight
[HTC EVO 3D] dean_fx:
Thank you Sir!!

Much appreciated.
[HTC EVO 3D] steal25:
Here you go tommy and Dean can't wait to see it!

M10 TOOLS
[HTC EVO 3D] dean_fx:
Thank you VERY VERY much.
[HTC EVO 3D] trollallot:
Glad you guys got it now get to work lmao jk.....just headed home now

Still using my blackberry...as a paperweight
[HTC EVO 3D] dased14:
what is ghost rosie?
[HTC EVO 3D] dean_fx:
See below -- a screenie from my e4g.
[HTC EVO 3D] GrimReaper24:
Xml files

I been wanting to work on the statusbar I have decompiled the system UI

Went through things I just need to edit the status bar tracking xml thing everytime I try to use notepad++ on any xml file I get

Some english and all nulls soh stx etb null null and so on lol.. Can someone point out what I am doing wrong here lol..

Some reason I can't just edit xml files been messing with plugins for it along with reinstalling the program I can open all the smali I want ... TIA
[HTC EVO 3D] il Duce:
Maybe it didn't decompiled properly. Try other apk tools.
[HTC EVO 3D] GrimReaper24:
Thanks duce think it's the kitchen im using... When I decompile a apk I only get a out folder with a bunch of smali files... But nothing else.. What do you use? The link for papa smurfs is down... The other link for the other apk was a tar file don't need that... Been lookin for something...
[HTC EVO 3D] silverxbv2:
Grab the latest apktool

Sent from my ADR6425LVW
[HTC EVO 3D] il Duce:
that or apkmanager (for windows) or the newer auto apktool
[HTC EVO 3D] GrimReaper24:
Thanks tryin to figure out where to put the files now? I have the exe file and the jar file... I just extracted them into a folder browsin it wish it had a read me txt :D
[HTC EVO 3D] il Duce:
There's probably a thread linked in the second post
[HTC EVO 3D] GrimReaper24:
Dude spent a hour dickin with things was my damn java path was messed up lmao :D Hello XML :D
[HTC EVO 3D] Kfunk:
Sweet... Reaper - welcome to the world of themeing. Can't wait to see what you come up with Bro!