yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] fernando sor:
Yes. Go in com.htc. resources/ res/ values/ public and find that number. Then search for it in Rosie. And like the tutorial I posted you can create your own text color in Rosie and use that id or just grab a color Id that matches what you want. Then replace the id in Rosie smali with that
[HTC EVO 3D] eg1122:
I couldn't find the id in smali, but I did find the location to change the text color of Rosie related titles in com.htc.resoures.apk...

com.htc.resources/res/layout/title_1.xml

change all android:textColor=''@color/titleTextColor'' to whatever color is desired.

Ok went over the list again and you only need to change one of them to change the header text of the app drawer and the personalize menu
[HTC EVO 3D] vanessaem:
Ok off topic, how are you all doing the text animations in your signatures? Which program are you all using? :)
[HTC EVO 3D] eg1122:
I don't know...someone made them for me...lol
[HTC EVO 3D] vanessaem:
Did he make them for everybody? Lol
[HTC EVO 3D] eg1122:
I don't think so...lol...he'll respond (I think)..I know he is online and lurking about.
[HTC EVO 3D] knightwolf123:
Off topic....

If you Pi$$ someone off and they put sugar in your gas tank it's not the end of the world. All modern cars have a fuel filter, tanks are easy to clean, your engine will most likely not be harmed, and the jealous teenagers in your neighbourhood will get what's coming to them...

Ok back on topic.
[HTC EVO 3D] eg1122:
Off topic...

Not unless its a classic..still ouch
[HTC EVO 3D] thesparky007:
Man I love that show! So addicted to it!
[HTC EVO 3D] jeffsanace:
Pretty much so, did you want one?
[HTC EVO 3D] vanessaem:
Not necessarily, I was just wondering what everyone was using to create something like that. :)

Brought to you from my EVOlutionary 3-Dimensional Smartphone
[HTC EVO 3D] jeffsanace:
Xara 3d maker, its a paid app(30 bucks) but you can get a 30 day trial version. Just google Xara, it's a really easy app to use.
[HTC EVO 3D] nuggyunlimited:
Fml I can't get it to work I'm going to completely wipe my laptop after backing everything up and try it from scratch would someone mind adding me on talk to troubleshoot after wiping my laptop and trying to reinstall?
[HTC EVO 3D] silverxbv2:
What is it that you're trying to do again? Going nuclear with your laptop sounds a bit harsh.

From the mobile command center
[HTC EVO 3D] nuggyunlimited:
Compile an apk and it needs to be cleaned out anyway lol
[HTC EVO 3D] Vinchenzop:
Nug, what the problem when you compile an apk? It errors out or it compiles but the app didn't work? Sorry, didn't feel like reading through all of the pages
[HTC EVO 3D] fernando sor:
If your computer needs wiped then do it. Silver is just saying you don't need to to figure this out.
[HTC EVO 3D] silverxbv2:
So you can't compile any apk?

From the mobile command center
[HTC EVO 3D] il Duce:
How the F do I find this bad 9png? when those bottom buttons are pushed, it's bad, I know, but where it is/what's it called lol? Please help my d3rpy ass :)
[HTC EVO 3D] eg1122:
Check framework-res most buttons are there, unless the image is an internal image to the app being used...even if a .9 image can be decompiled/compiled correctly, the patch itself might not be done correctly.
[HTC EVO 3D] jayharper08:
You guys are awesome :) Love Team D3RP!

Sent from the CM powered 3d
[HTC EVO 3D] fernando sor:
I would imagine mostly with m10 files. They still use fusion and a lot of the apps are similar. Meaning not as big a change from 2.1 to 3.0
[HTC EVO 3D] pstevep:
oh please tell me you are a jaguar fan?? and we love you too jayharper08..
[HTC EVO 3D] Vinchenzop:
I'll do some sort of writeup about something tomorrow night after work. Idea for you psteve...whenever someone does a writeup/tutorial...update the op with a link to their single thread with the author/what their tutorial is about...example

"fenando sor - modifying text colors"

and that text is a hyperlink to fernando's single post
[HTC EVO 3D] ch1naski:
Thanks, wedge.

Warm & cozy.
[HTC EVO 3D] dkdude36:
finally here

just like me to get on the 7th page.

i love how nobody's asked for help yet, but we still have 7 pages of info lol.

ok i'm here and ready to help out!
[HTC EVO 3D] pstevep:
You read my mind sir. And thanks for helping out. It's greatly appreciated.

______________________

Now available in 3D
[HTC EVO 3D] pstevep:
And is stickied now. Thanks to lufc for the sticky. And GODZSON as well.

______________________

Now available in 3D
[HTC EVO 3D] il Duce:
Hope you're right. It sounds like it might be similar, only HTC went with some new compression method, like m14 or something lol?

Anyway sorta kinda AWESOME stuff from m10 tools dev. He put up a dev preview of the next revision, said things will be "much easier". Here's a link, I haven't DLd yet but it looks like the new m10 tools :D

http://forums.virtuousrom.com/index.php/topic,387.0.html
[HTC EVO 3D] dkdude36:
the new m10tools is super professional-looking. splash bootup and everything. these guys are looking very professional now. i'd expect to have to pay for a high-quality editing tool like that. either way, still quite a ways from done.
[HTC EVO 3D] jayharper08:
Yes I am sir :) Born and raised in Jax. Got to love the home team.

Sent from the CM powered 3d
[HTC EVO 3D] pstevep:
I knew I liked you. Jags fan here in Ohio.

______________________

Now available in 3D
[HTC EVO 3D] fernando sor:
jags fan in ohio?? you blaspheme good sir!!

browns fan to the bone
[HTC EVO 3D] Vinchenzop:
Go steelers! (i live 55 minutes north of pittsburgh)
[HTC EVO 3D] pstevep:
I have lived all over, so that's how I can claim it. It would be true blasphemy if i weren't a Buckeye fan. But I am so no worries there.

______________________

Now available in 3D
[HTC EVO 3D] Papa Smurf151:
Rise up.....Atl falcons fan here.
[HTC EVO 3D] jayharper08:
Haha. Awesome! Rough year but that D has been strong all season. Offense needs some work, lol.

Sent from the CM powered 3d
[HTC EVO 3D] fernando sor:
i bleed scarlet and grey
[HTC EVO 3D] pstevep:
That's the truth. I'm glad the D is strong again though. And I think gabbert will only get better.

Me too my friend, myn is a Buckeye too..

We better get back on topic now.

______________________

Now available in 3D
[HTC EVO 3D] fernando sor:
ok my buckeye friend. ive made a good dent in my first tutorial. should finish it tomorrow
[HTC EVO 3D] il Duce:
me = 9png noob... I know its in frres, I was really hoping somebody would know the name of the png lol, or an EASY way to find a bad one?
[HTC EVO 3D] eg1122:
Post your framework-res and I'll take a look at it...I have some down time ATM

edit**

also If you can post a screenshot of how the bad pressed button looks like that would help me look for the culprit.
[HTC EVO 3D] il Duce:
here's where it gets tricky lol. It's not bad in the apk itself, that's stock miui. On miui, with a theme, you just put the themed pngs into a miui zip (mtz) and it uses the mtx files on top of the stock apk in real time... So if I up the apk, it'll be fine. It's somewhere in the framework themed pngs in shadow mtz in our theme thread. lol... SO here's the post, the zip/mtx is there... http://xdaforums.com/showpost.php?p=19207205&postcount=3
[HTC EVO 3D] eg1122:
ok what color is the messed up image...so far I have narrowed the list down to 19 images.

this is how i narrowed it down.

extract the images from the framework-res

then extract all .9 images and place in a different folder

then where you placed all .9.png find all images with btn in the name since its a button and place those in a different folder

then find all images in the new folder that have pressed/selected in the name since its a pressed image.

then delete all non button looking images so I'm down to 19
[HTC EVO 3D] il Duce:
from that screen earlier, any of the bottom 3 black buttons show a squeezed whiteish grey image inside of the black button. I tried to grab a screen but miui won't let me touch the screen AND push menu+voldown :/
[HTC EVO 3D] eg1122:
ok there are only 5 images that fit your description I'll redo the patch and compile and post them up and see if that fixes it then i'll post up some images of bad patches and good patches.

actually 6 pngs.
[HTC EVO 3D] il Duce:
awesome thank you!
[HTC EVO 3D] eg1122:
here you go try these and let me know if they work...there are two folders in the zip one with the images already compiled and the other with them decompiled so you can compare the the original ones that you have in your theme and see how the patches differ. If they do not fix the issue let me know and I'll look at the the other whitish/grey btns that do not have pressed/selected in the name.
[HTC EVO 3D] il Duce:
sweet, I'll take a look when I can, you're awesome :) all out of thankses, I'll hit you with a few once my phones all back to normal - just wiped/flashed new miui :)
[HTC EVO 3D] mayfield103:
Tommy tomatoe's android utility is my new best friend! Great work.
[HTC EVO 3D] steal25:
I wish it worked on windows or cygwin. :(
[HTC EVO 3D] tommytomatoe:
Poo windows. Lol. :-)

I'm doing a rewrite of au in the next few weeks. I finally got my classic Rom to a point that I am happy with it. I'll consider cygwin more this time around. When I started on au back in may I was a fish out of water with scripting and programming. While I'm not exceptional still, I should be able to write more compatible scripts. I'd like to ultimately have one branch that works on all three platforms instead of three. Soon :-)
[HTC EVO 3D] mayfield103:
I used virtual box to load ubuntu on windows 7 it works great.
[HTC EVO 3D] steal25:
I have Virtual box and ubuntu all set up but i was having issues with any thing i would do, next time i started VB it was basically a fresh start, nothing was there or would save, I dont remember what the exact issues were but it was frustrating. Im gonna need to spend some time and get it all squared away. AU alone is worth it!
[HTC EVO 3D] nuggyunlimited:
Ok got everything zipped up maximum compression lol just have to throw them on external before I do the wipe I want to try one thing I think Fernando or Jeff said something about decompiling the dex file and making the smali edits and then replace the dex file with the one I compile would the be easier than just decompiling the entire apk? If so I'll try that since I'm making small edits I'll back track and see if I can find the post and I'll browse the web to try and learn how to use smali and baksmali wish me luck I finally got done setting up my base for my rom and uploaded with svn just have to finish theming and adding tweaks to it :-)
[HTC EVO 3D] fernando sor:
Tommy said that. You can also use apktool to just decompile sources. Or smali

Apktool d -s <file> ./out
[HTC EVO 3D] nuggyunlimited:
Thanks about to give it a go
[HTC EVO 3D] nuggyunlimited:
hey looky here lol i guess that works I just have to learn to edit the classes.dex i tried just decompiling and recompiling with that command apktool d -s Browser.apk and apktool b Browser and i got the results below i appreciate all the help guys

C:\apktool>apktool d -s Browser.apk

I: Copying raw classes.dex file...

I: Loading resource table...

I: Loaded.

I: Loading resource table from file: C:\Users\Nuggy\apktool\framework\1.apk

I: Loaded.

I: Decoding file-resources...

I: Loading resource table from file: C:\Users\Nuggy\apktool\framework\2.apk

I: Loaded.

I: Decoding values*/* XMLs...

I: Done.

I: Copying assets and libs...

C:\apktool>apktool b Browser

I: Copying classes.dex file...

I: Checking whether resources has changed...

I: Building resources...

I: Building apk file...

C:\apktool>
[HTC EVO 3D] Vinchenzop:
For classes.dex files you need to use smali and baksmali to decompile/compile...you'll need to have the smali.jar and baksmali.jar files in your path or in the local folder your classes.dex file is in and use...

You can get the smali.jar and baksmali.jar from HERE

*TIP* just rename the files baksmali.jar and smali.jar so you don't have to type in the version of the files each time *TIP*

java -jar baksmali.jar -b -o out/rogers/dexout/ classes.dex

to decompile the classed.dex

and

java -jar -Xmx512M smali.jar out

to compile after edits
[HTC EVO 3D] nuggyunlimited:
This is the outcome I'm not sure if that last massage is just showing what I edited or if it's telling me that's an error

C:\Android\android-sdk\tools>java -jar baksmali.jar -b -o out/rogers/dexout/ cla

sses.dex

C:\Android\android-sdk\tools>java -jar -Xmx512M smali.jar out

out\rogers\dexout\com\android\browser\BrowserSettings.smali[410,4] The literal v

alue must be between -8 and 7 inclusive

C:\Android\android-sdk\tools>
[HTC EVO 3D] fernando sor:
my bad. i gave you the command to decompile resources not sources. thats why you had a file classes.dex after you decompiled. classes.dex is the sources. the res folder is the resources. apktool has baksmali built in. so the command line to just decompile classes.dex into smali is this

apktool d -r browser.apk ./out
[HTC EVO 3D] Vinchenzop:
You kids and your apktool wizardry...
[HTC EVO 3D] fernando sor:
damn its been quiet here. somebody post a tutorial or something lol
[HTC EVO 3D] nuggyunlimited:
^^^^Lol I formatted my laptop after I get everything set up I might have something I need help with to post in the thread to help with to liven it up lol
[HTC EVO 3D] jeffsanace:
Ok, here's one I can't figure out. I was trying to port the 4x1 sense clock the other day. I got it to install but it kept FCing on me. So I removed it and tried to put the regular 3d clock widget back and can't seem to get it to install. I flashed it and adb pushed to system app with no luck. When I adb push it the permissions aren't right, being a little adb illiterate, how do I change permissions before pushing the app? Or if anyone has any other ideas on how to get my clock back?
[HTC EVO 3D] tommytomatoe:
adb shell chmod 644 system/app/HtcClockWidget.apk

That's how you change permissions.

HTC widgets are really sensitive. When I resized them for the z ports on the EVO I pulled my hair out. The widgets kept disappearing. It took full wipes to get them.back.

Ps. 644 might not be right...but I think it is :-)
[HTC EVO 3D] il Duce:
Yeah Tommy 644 is correct. Jeff lmao I tried too, hosed me so hard I had to complete wipe and restore :(
[HTC EVO 3D] Vinchenzop:
Its 0664 for permissions ;)
[HTC EVO 3D] tommytomatoe:
I thought I was right :-)

644 will work.

@vin, the 0 in 0644 is redundant. You actually won't need it since 0 won't be written :-)
[HTC EVO 3D] Vinchenzop:
I'm an overachiever, what can I say....

Sometimes I put 000000664, why not
[HTC EVO 3D] il Duce:
Lmao vin thanks for that one ;)
[HTC EVO 3D] jeffsanace:
Thanks guys but still no good. I guess I'll just have to get out the TP! LOL
[HTC EVO 3D] tommytomatoe:
Try this. Works for me occasionally

adb remount

adb push file.apk system/app/file.apk

No working? Poo

adb shell rm system/app/file.apk

adb shell rm data/dalvik-cache/*

adb shell stop

adb push file.apk system/app/file.apk

adb shell start

Cross fingers and toes :-)
[HTC EVO 3D] jeffsanace:
I'll try that when I get home from work.

Sent from my Bad Seed customized EVO 3D!!
[HTC EVO 3D] pstevep:
Fern you causing trouble in my forum (rezound) ?? Lol..
[HTC EVO 3D] fernando sor:
Evidently. Lol. The guy couldn't have picked a worse time to push my buttons lol
[HTC EVO 3D] fernando sor:
I'll try to be nice
[HTC EVO 3D] pstevep:
No worries.. I was hoping to jump in but fallenangel408 beat me in there..
[HTC EVO 3D] jeffsanace:
Thanks for the help with adb guys. Still didn't work, but that's OK, I just themed up Wildshooter. So far I'm loving this rom!

Sent using my Bad Seed 3D!
[HTC EVO 3D] McLabia:
Honestly? For easy mode, just use root explorer or equivalent to swap the files, fix permissions(or reboot into recovery and fix them that way) and reboot. Thats how I do it... Cause I'm lazy like that. Lol.

Sent from my rooted, Dark Horse(hopefully soon) INFECTED Eternity bolt running Ziggys latest.
[HTC EVO 3D] jeffsanace:
Yea I went that route, flashing and adb, nothing worked. It was my fault, I tried re writing the sense 3.5 4x1 clock to work with 3.0, needless to say it didn't work. Lol! Glad now I did, this rom is Nice!

Sent using my Bad Seed 3D!
[HTC EVO 3D] dkdude36:
i quickly asked in another thread, and found not much. now i'm looking where the experts are...

trying to draw a .9.png of a statusbar pulldown, but this one has a circle in the middle i don't want to be stretched, but i want to stay in the middle. i tried (on left and top) putting single dots on either side of the circle, which left me with no image, and i tried solid lines from both sides of the circle to the edges, which also didnt work. anybody know how i can keep the circle centered while still stretching the sides?

heres the png btw.

thanks in advance
[HTC EVO 3D] Smokem_I:
Fixed .9

Alright I decided to just patch it that way you could just see how I did it. Its a lot easier than trying to explain how to do it but you almost had it correct. In draw9patch this stretched correctly so let me know if you have any problems. I also had to delete your patch so the image is a little bigger. ;)
[HTC EVO 3D] nuggyunlimited:
Thanks fern I will be reinstalling apktool as soon as I get home from work I'll let you know if I get it all figured out. I think everything should work out. With apktool does anything other than adb and java have to be set in my path I.think aapt has to be.
[HTC EVO 3D] fernando sor:
Aapt just needs to be in the apktool folder. Also with apktool you can just navigate to the folder. But I would set a path anyways
[HTC EVO 3D] nuggyunlimited:
Cool I set a path to aapt and opened cmd and typed aapt got a list of commands. I have Adb, Java, & Aapt set it my path is it necessary to set smali or baksmali in a path?
[HTC EVO 3D] nuggyunlimited:
Works like a charm now thanks everyone

--------------------------------------------------------------------------

|Sat 11/19/2011 -- 13:14:11.25|

--------------------------------------------------------------------------

java version "1.7.0_01"

Java(TM) SE Runtime Environment (build 1.7.0_01-b08)

Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)

I: Framework installed to: C:\Users\Nuggy\apktool\framework\1.apk

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Loading resource table from file: C:\Users\Nuggy\apktool\framework\1.apk

I: Loaded.

I: Decoding file-resources...

I: Loading resource table from file: C:\Users\Nuggy\apktool\framework\2.apk

I: Loaded.

I: Decoding values*/* XMLs...

I: Done.

I: Copying assets and libs...

I: Checking whether sources has changed...

I: Smaling...

I: Checking whether resources has changed...

I: Building resources...

I: Building apk file...

Press any key to continue . . .
[HTC EVO 3D] fernando sor:
No that is built in apktool
[HTC EVO 3D] nuggyunlimited:
Question with my unsignedBrowser.apk do I change the name of it to Browser.apk then overwrite my current Browser.apk in my working folder the original Browser.apk went from 1664 kb's to unsignedBrowser.apk 774 kb's I figure that's do to compression. Do i just leave it called unsignedBrowser.apk
[HTC EVO 3D] fernando sor:
It should build the app however you named it. Are you saying a program is renaming your app? I thought you were using straight apktool
[HTC EVO 3D] nuggyunlimited:
I recompiled it with apkmanager when it rebuilds the app it names it unsignedBrowser.apk I think it's named unsigned because it doesn't sign system apps. I'm asking in order to use the apk can I just rename it to Browser.apk and replace the original browser.apk in my rom with the modded one.
[HTC EVO 3D] jeffsanace:
Yes, just rename, and as long as it recompiled correctly, it's just not signed or zipaligned.

Sent using my Bad Seed 3D!
[HTC EVO 3D] dkdude36:
i actually already tried something like this and it didnt work. it's really acting wired. i'll try one dot. it'll stretch wrong, but i'll try it anyways.
[HTC EVO 3D] jeffsanace:
What is the exact file name? Is it from sysui?

Sent using my Bad Seed 3D!
[HTC EVO 3D] Smokem_I:
That is how I patch all images that have something on them like yours did. One dot on each side and it should work just fine. 9patch shows it as a good patch. Let me know if you have any problems with it.

Sent from my BluMagic CM7 Glacier using the Blu Premium App
[HTC EVO 3D] dkdude36:
yeah systemui status_bar_close_on.9.png

shows up as a good patch, but no matter how many times i do it it doesn twork. i've tried a bunch of times. maybe the way i'm compiling is wrong? with basic eclipse right?
[HTC EVO 3D] Vinchenzop:
Elaborate on when you say "it doesn't work"? It didn't compile? Does systemui force close? What happens?
[HTC EVO 3D] dkdude36:
i apply the theme via miui theme manager. everything works as it should. but when i drag down the notification tray, the png simply isnt there. the tray goes all the way off the screen, and i cant drag it back up. i need to hit the back key. it just isnt there
[HTC EVO 3D] Smokem_I:
I compile and decompile with Apk Manager. That's very strange that the image is not even there. I'm really not sure bro but the patch is correct ;).

Sent from my BluMagic CM7 Glacier using the Blu Premium App
[HTC EVO 3D] dkdude36:
OK thanks for helping. Worst comes to worst I ask somebody else to compile the png
[HTC EVO 3D] jeffsanace:
I'm not familiar with Miui but the image you're patching in normal sysui is supposed to be 480x48 status_bar_close_on.9 or 174x48 status_bar_close_on_2.9 your image is 100x34. Unless there is something profoundly different in Miui's sysui your image is way too small to fill the space that the original .9 fills. Please let me know if I'm missing something, as I said I am not at all familiar with Miui.
[HTC EVO 3D] dkdude36:
i thought something like that might be it. but the image from the rom and the base theme are both the same size, weirdly enough. i'll try a full-size bar tho.
[HTC EVO 3D] jeffsanace:
I've got it for you. Enclosed in this zip is the correctly patched image(so you can see how to patch it) and an already compiled image that's ready to go. Also a pic of the path the image shows when patched

correctly. Let me know how it works.
[HTC EVO 3D] dkdude36:
jeff i love you right now. been working on this for like an hour and a half. ok let's see if it works... (crosses fingers). i'll deff think about this next time i make a patch thanks for teaching
[HTC EVO 3D] jeffsanace:
Hey, not a problem. That's why I love this thread, I don't have time to release anything, so helping someone else helps fill the void.
[HTC EVO 3D] dkdude36:
woah that didn't even sorta work...

wirdest thing is i didn't have the squashed bottom on any of my older tests. maybe because i just flahsed the 2.3.7 version of miui. i'll try rebasing. i'll also try just the full sized bar like you reccomended. thanks for trying.
[HTC EVO 3D] jeffsanace:
I'm missing something, is that the image I compiled? It doesn't look the same at all. It is definitely patched correctly, I ran it through xultimate .9 compiler. It won't compile if it's not correct. Can you post the stock system ui? I'll decompile it and see what the image looks like. It has to be a larger image.
[HTC EVO 3D] dkdude36:
ok lol this seems to be going weirdly.

http://cl.ly/0p0O2z0u1E1v0w2I1B0k
[HTC EVO 3D] jeffsanace:
Ok, that changes things. That image is 168x55, that makes the patch completely different. Here's the patched image for reference, you will have to keep the image size the same even if the visible image is smaller.
[HTC EVO 3D] jonathaflores:
hwy guys I am kind of a noob but can anyone help me with the lockscreen png?? I can't find it thanks guys
[HTC EVO 3D] il Duce:
Be more specific, what rom, what version, maybe a screenshot and description of what you mean?
[HTC EVO 3D] jonathaflores:
sorry I forgot all abput that I am on myns Rom latest nightly!!
[HTC EVO 3D] fernando sor:
thought i would post this. this is transparent pandora no adds unlimited skips.

im posting because i had to create a style and create a color xml. thought some people would like to decompile and check it out.

pandora

this is def for guys lol