yashsingh1/xdaforums huggingface dataset:
[HTC EVO 3D] hockeyfamily737:
It's 270....Total screen width being 540. But keep in mind the x coordinate indicates the left hand edge of your image.
[HTC EVO 3D] steam374:
Yes i know this, It's just this lock screen that I'm resizing is giving me a hard time. It has a spinning gear in it and wont stay in one spot. It is either moving left to right or up and down. My coordinates are this: centerX="270" centerY="271">
[HTC EVO 3D] hockeyfamily737:
How wide are your images? I was just working on one with a spinner that had a series png's that were 210 X 210 which made the actual x coordinate 165 to center the images horizontally.
[HTC EVO 3D] steam374:
It was originally 432x432 so I resized it to 540x540
[HTC EVO 3D] hockeyfamily737:
Alright, so your x should be 0, which would line the left edge of the image up with the left edge of the screen. If you wanted it centered on y also, set your y value to 210.
[HTC EVO 3D] steam374:
Yeah that didn't work very well...Could you possibly try taking a look at it?

Heres my drop box: http://dl.dropbox.com/u/37484095/MetalLock84.mtz
[HTC EVO 3D] hockeyfamily737:
Sure thing. I just downloaded it. Don't get discouraged. I've tried about 20 lockscreens an only been successfull with about 15 of them. It's very much a trial and error proccess.
[HTC EVO 3D] steam374:
Oh i know all about the trial and error..haha the number on the end of my file is the number of trial and errors ive gone through to get this lock screen to where it is now...So I'm on number 83 now.
[HTC EVO 3D] hockeyfamily737:
LOL....Can you link me the original too, so I can see where you started from?
[HTC EVO 3D] steam374:
It was a full theme at first, I only pulled the lockscreen from it.

Here's the orignal mtz: http://dl.dropbox.com/u/37484095/金属核心_(793220.6).mtz
[HTC EVO 3D] il Duce:
thanks again for this guide, helped my brainfart this morning trying to do a bootanim :) thou shalt use a "boots" folder lol.
[HTC EVO 3D] il Duce:
@hockey - can I use the mtz format for animations? like all the anims in framework-res.apk/res/anim/ ???
[HTC EVO 3D] hockeyfamily737:
I haven't tried yet (still working on my drawable-hdpi folder ATM), but I would expect it to work as long as the folder structure and nomenclature are correct. Also, if you try it before I do: Make sure after you compress and zip your .mtz you open it back up (without extracting it) and make sure you don't have any thumbs.db where your animations are from when you compressed the folder.
[HTC EVO 3D] hockeyfamily737:
Alright....I had some time to rework the images this morning and I just got done modding the manifest.xml via root explorer (Now you owe me 3 exedrins lol). This is the best I can get it for now. One last thing....since I did most of this on Root Explorer, 7zip most likely won't recognize the compression format. If you want to open the mtz and lockscreen.File back up to look at them. Rename them both to .zip and use the windows extraction tool.
[HTC EVO 3D] steam374:
Thanks a ton bro!! Like i don't even know how to thank you..Haha i'll repay you some day i just don't know how yet....I honestly don't think i would have ever made this perfect without your help.

By the way how did you manage to edit things using root explorer..That sounds like it might be harder than walking on water lol.

Again thank you very very much!!!

One more thing...Could you please teach me how you got the gear to rotate in such a perfect circle?
[HTC EVO 3D] hockeyfamily737:
To quote Vanessaem......Neccessity breeds creativity. I am not allowed to install any "non-approved" software to my work computer, hence I learned how to do a lot of this from my phone......as far as the gear goes, it wasn't hard once I saw the original and how it works. These 2 lines here:

<Image x="166" y="586" src="chilun.png" antiAlias="true" angle="360-(#time%4000)/4000*360" centerX="103" centerY="103" />
<Image x="27" y="445" src="chilun1.png" antiAlias="true" angle="(#time%2000)/2000*360" centerX="242" centerY="242" />

Are asking for the center of the image, not the screen center. So with the red gear being 206 X 206 makes the center 103 on both axis, and the same for the other gear......Having those numbers set differently causes the gears to rotate off axis.
[HTC EVO 3D] steam374:
Alright see when I saw those centerY coordinates I knew I was gonna need some help lol..but basically I just divide the x and y by two and I get the center of the image?

I also see you fixed up everything else for me haha you didn't have to do all that....your to kind (:
[HTC EVO 3D] hockeyfamily737:
Yup. That's it. Also, I can't remember if you changed it or not originally, because I went back and started from scratch to see where the problems were, but I got rid of the Chinese, "charging", "battery full", and "battery low" text.
[HTC EVO 3D] steam374:
Yeah I fixed everything up including the Chinese the only things I hadn't fixed yet were the chiliun1 gear and the music menu or whatever its called..
[HTC EVO 3D] steam374:
Again thank you so very very much! (:
[HTC EVO 3D] Neogenx:
Great work with this!!! Thanks again!
[HTC EVO 3D] vanessaem:
Nice...I needed this. I'm in the middle of making another lock screen too. :o
[HTC EVO 3D] hockeyfamily737:
Glad to be of service. I'll add more shortcut codes as I figure them out.
[HTC EVO 3D] il Duce:
Hey hockey, think I know the answer. But can mtz apply xmls? Like ICS anim xmls inside framework res?
[HTC EVO 3D] hockeyfamily737:
I was on IRC a few hours ago trying to get a conclusive answer to this, because I haven't tried yet, and I'm curious as well, but so far I haven't gotten one.
[HTC EVO 3D] steam374:
Hey does anyone know how i would zip up a framework-res after theming it? I tried doing it myself for the htc amaze with just a simple add to archive and nothing special and once i replaced the framework-res.apk with the one i had edited it started force closing a bunch of things and i had to restore from a nandroid...But in all my question is how do i zip up a framework-res.apk after theming it.
[HTC EVO 3D] hockeyfamily737:
Was the edited Framework-res.apk from the same rom as the one you were running, or did you pull it from a different rom? How did you install it? Did you reboot after you installed it?

***Edit***

You may want to ask in the D3rp theme thread too, because I've only got a very small amount of experience theming sense roms.
[HTC EVO 3D] steam374:
Yeah i pulled it straight from the system of the amaze which is the phone i was using also. I did reboot it but it wouldnt boot past the splash screen on reboot so i then had to restore from a nandroid this is rooted stock sense by the way...
[HTC EVO 3D] hockeyfamily737:
Ok, so if all you did was "add to archive", that shouldn't have compromised the apk, so my next question would be, how did you install it?
[HTC EVO 3D] steam374:
I forgot to mention that i signed the apk before putting it into the system.

But i installed it with root explore just overited the other one.
[HTC EVO 3D] hockeyfamily737:
Ahhh ok....Generally speaking system apps don't get signed because they use the signature of the rom....Secondly, I know people say they do it with success (not sure about Framework-res specifically), but I usually don't install system apps with Root Explorer. I usually push them with adb or Android Commander which is ADB without having to use cmd prompts (There's a link to setting it up in the OP), or I put them in flashable zips.
[HTC EVO 3D] steam374:
Alright so should i try adb pushing the file next time? Also is there any special way i need to zip the file? I know with things like boot animations you have to change the zip type to store and such...
[HTC EVO 3D] hockeyfamily737:
No, I usually zip them with maximum compression as filename.apk....file type .zip. I always keep a blank flashable zip on my sd card for when I'm modding on the fly and don't have adb handy. You may want to try it.
[HTC EVO 3D] steam374:
The problem is i don't know how to make flashable zips haha i'll Google it unless you could tell me real quick.

---------- Post added at 09:01 AM ---------- Previous post was at 08:46 AM ----------

Ok so i just overlooked my zip one last time and compared it to the stock framework-res and it turns out i added one extra file in. So it goes framework-res.zip then framework-res folder which is not supposed to be there...My bad for the hassle.
[HTC EVO 3D] hockeyfamily737:
No problem. Attached is the flashable zip I keep on my card. Just extract it, put what you want into /system, zip it up and flash.
[HTC EVO 3D] steam374:
Alright thanks bro :D
[HTC EVO 3D] il Duce:
So, if you really have an amaze 4g, I bet you the mount points are different than that zip hockey put up.... And I can field some questions about sense themeing, specifcally sense 3.0 - but like hockey said we should go intt the intro to themeing sticky, since THIS thread is for miui. I read above, and honestly there's SO many things inside framework that if done incorrectly can loop you. Go here to continue: http://xdaforums.com/showthread.php?t=1320891
[HTC EVO 3D] steam374:
Thank you for the link I actually just got it correctly themed today...so everything is all good lol. I'm not a complete noob to all this I know how to so most things..but again thank you for the link ill read up on it (:
[HTC EVO 3D] hockeyfamily737:
LOL....Thanks Duce, by the end of that exchange I totally forgot we weren't talking about an Evo 3D and that the mount points wouldn't be the same.

@Steam374- Duce's right, I forgot you weren't talking about a E3D, but you should be able to pull the META-INF folder from any Amaze theme.zip and swap into the zip file I posted.
[HTC EVO 3D] steam374:
Alright I'll do that...But thanks for the zip anyway as i have it on my 3VO now lol..
[HTC EVO 3D] dubach:
Hi,

I was wondering if someone could convert this ls for me. i tried before but i just can't seem to get it right. it would be nice as a learner. Thanks!

here is the link to the op: http://xdaforums.com/showthread.php?t=1288096 .
[HTC EVO 3D] hockeyfamily737:
If you want to let me / us know where you're stuck, I / we will be happy to help you through resizing your lockscreen, however there just aren't enough hours in the day for me to take requests on this stuff. If someone is obliged to resize it for you, please be sure to hit their thanks button. Also, in post #2 I posted a link for some additional information on resizing the lockscreens. If you haven't seen that yet, it may also be of help to you.
[HTC EVO 3D] dkdude36:
wow i'm seriously dissapointed in my abilities to use .9.png's. i mean, the statusbar pulldown wont even show up! see anything wrong with this patch? compiled in eclipse before putting in the mtz.

thanks again for this tutorial.
[HTC EVO 3D] dubach:
i just really wish i had enough time to do it myself. i am heavy in school work :eek:
[HTC EVO 3D] hockeyfamily737:
Tough to see in the thumbnail sized photo there, but I usually put a 1 pixel dot on the top and a 1 pixel dot on the left and a full 1 pixel wide border along the bottom and on the right side (and I do it in draw9patch although I know people have had success doing the same with gimp) before I compile it. Looks like you have 2 dots at the top and 2 dots to the left (not sure if that's the problem or not) and I can't see your bottom or right side border worth a damn. The actual image editing part is really not my forte' although I did manage to fix a few .9's successfully today lol.
[HTC EVO 3D] dkdude36:
yeah i put two dots on top and right. one on either side of the green circle. i didnt' know what else to do lol i'll try again with solid lines on either side of the circle. thanks for your help.
[HTC EVO 3D] vanessaem:
I'm not great with .9 files either but I'd try doing one dot as opposed to two like hockey mentioned. At least that's how I've seen it done. Put the 1 px towards the center of the left side and the center top. It looks like you have the long length lines at the right and bottom. Those can stay but I'd change the other two and see if that works.
[HTC EVO 3D] hockeyfamily737:
Thanks for your input. I'm ok with taking things apart to see how they work and putting them back together, but when it comes to editing images, photoshop, gimp, etc........I'M A HACK!;)
[HTC EVO 3D] vanessaem:
I'm quite good at image editing but .9 files are still pretty new to me but I've had some success with them, at least for the stuff I used to do...lol. I'm no expert by any means though.

dkdude36...don't forget to go here as well. Those guys are experts in this area. :)
[HTC EVO 3D] hockeyfamily737:
This week coming up is crazy for me....End of the month at work, Thanksgiving, and a travel hockey tournament starting Friday morning, but if you don't have it figured out or if someone else doesn't look at for you beforehand I'll take a peak at it when I can.
[HTC EVO 3D] thisiswar951:
Love miui thanks for showing me how to.theme
[HTC EVO 3D] vanessaem:
I go to work and attend classes.

A lot of us don't have the time either. :cool:
[HTC EVO 3D] vanessaem:
Hockey or anyone, do you know if the stock lock has a manifest.xml file?
[HTC EVO 3D] hockeyfamily737:
It does not. The default lockscreen pulls it's info straight from framework-res
[HTC EVO 3D] vanessaem:
Ok I see. My dilemma is that I can't get the mms counter to work properly on the lock themes I do or some of the other lock themes I've tried. What I've found though are themes that do not have a manifest and pull directly from the stock framework, displayed the sms count. I'm dying to know the code that makes that feature work properly on the locks I theme and other themes.

Brought to you from my EVOlutionary 3-Dimensional Smartphone.
[HTC EVO 3D] hockeyfamily737:
When time permits I'll start having a look for this information as it would be useful to many of us, as a Google Voice user for sms, I don't have benefit of the unread counter either.
[HTC EVO 3D] dubach:
thanks man. i've got time to wait with school lol =P
[HTC EVO 3D] il Duce:
Lol noob question, is battery in sysUI on miui?
[HTC EVO 3D] hockeyfamily737:
System UI in /res/raw....It's not a conventional 200 image series for charge / discharge png's either.
[HTC EVO 3D] vanessaem:
If I'm not mistaken, the battery pngs are on one big sheet, making one large png of battery images instead of there being separate pngs. :mad:

Lol! Why MIUI?
[HTC EVO 3D] hockeyfamily737:
You are not mistaken.
[HTC EVO 3D] il Duce:
that's what I thought, thanks. I'm sure one I dig in I'll ask a couple more questions, thanks as always :)
[HTC EVO 3D] hockeyfamily737:
No problem. I haven't yet converted my old sets of images to the big sheets either. It ought to be interesting. At the moment I just used the extended settings menu to tweak my battery indicator to get it "acceptable"
[HTC EVO 3D] il Duce:
I use the top bar battery thing. Thanks for the PM stuff I'll take a look.
[HTC EVO 3D] laie1472:
Nice thread hockey. Hope all is good man. Keep up the good work. Whenever I flash miui I'll be overloading your pm box lol.

Excellent job man.

Locked & Loaded

""shooter on Deck""
[HTC EVO 3D] hockeyfamily737:
Hahaha, thanks man! Long time no see. All's well here, hope everything's going well for you too.
[HTC EVO 3D] laie1472:
Thanks as well man and yea all is settling down here.

Locked & Loaded

""shooter on Deck""
[HTC EVO 3D] hockeyfamily737:
OP has been updated.....Adding SystemUI to your theme
[HTC EVO 3D] hockeyfamily737:
Alright, it's been converted, but FYI: It's not coded with a unlock to home option. Screen press will only unlock music (double tap clock and press the music icon when the controls pop up), SMS (only if you have an unread sms prompting you), and the phone (only if you have a missed call). If you want to unlock to your homescreen you have to use volume up & the back button. I thought I messed up and it wasn't until after double checking all of my X & Y values that I actually read the manifest xml and saw that it wasn't provisioned for a "home unlocker".
[HTC EVO 3D] ssojyeti2:
I'm such a noob... 7zip won't let me extract the icons or lockscreen.Files. Am I supposed to be using another program. This doesn't seem too complicated and no one else seems to be having problems. This looks like a good guide. Please help...

Also when I opened the description.xml it was empty. I added the lines but were they supposed to be there originally?
[HTC EVO 3D] :
Talk about dying thread. Anyways, I'm changing icons around and I'm wondering why I can't change the phone, contacts, etc icons. I'm pretty sure they are called com.android.phone and com.android.contacts and etc... Is their something I'm missing for those icons?
[HTC EVO 3D] vanessaem:
Lol...well it's not dead now. :)

Try anyone of these combinations:

Phone:

com.android.contacts.TwelveKeyDialer.png

com.android.providers.telephony.png

com.android.phone.png

Contacts:

com.android.contacts.DialtactsContactsEntryActivity.png (I'm not sure why xda is creating a space between the t and the y)

com.android.providers.contacts.png

com.android.contacts.png

Anyone of those should work for either.
[HTC EVO 3D] :
Lets keep it going. Clock and Flash Player names?

---------- Post added at 08:36 PM ---------- Previous post was at 08:35 PM ----------

Also, the dots on the page to show what page your on? Where are those located?
[HTC EVO 3D] vanessaem:
Lolz...give me a list and I'll hook you up.

I can't get the Flash Player icon to display on the homescreen properly for anything yet it will display the icon in Root Explorer...weird.

But try these:

com.adobe.flashplayer.png

com.adobe.flashplayer.FlashPlayer.png

Clock:

com.android.deskclock.DeskClock.png

com.android.deskclock.png

I have no idea. The SystemUI maybe?
[HTC EVO 3D] :
Both are a fail. This is starting to get frustrating.
[HTC EVO 3D] vanessaem:
Ok well the clock one definitely works because I'm using this one com.android.deskclock.DeskClock.png to be exact for my icon set. The flashplayer I'm not sure what's going on with that. Sorry that I can't help you.
[HTC EVO 3D] :
It's alright V. I found the page indicator icons. There are in com.android.launcher inside the mtz file. My only problem now are they are low and half are covered by the icons. Time to resize.
[HTC EVO 3D] hockeyfamily737:
I haven't figured out the flash player one yet either, and BTW thanks for helping out here while I slept.
[HTC EVO 3D] vanessaem:
Good luck and I can't wait to see what you turn out. If you need help with anything else, you know where to come. :)

So doesn't that mean my shift is over? :p
[HTC EVO 3D] hockeyfamily737:
If something was zipped with root explorer, 7 zip won't extract it. Use the windows extraction wizard. The description xml should not be blank either..... Ever.
[HTC EVO 3D] :
No one got Evoluer to work yet huh?
[HTC EVO 3D] hockeyfamily737:
I pm'd you about it, and you said you went back to CM7 so I stopped working on it.
[HTC EVO 3D] :
Oh Sorry. I thought other people wanted it as well. I still admit that that lockscreen is a CHALLENGE.
[HTC EVO 3D] hockeyfamily737:
When I finish the 10 point one, I'm working on, I'll give it another crack.
[HTC EVO 3D] dubach:
Sweet! You made it farther than me haha. I just finished the resizing. I noticed tho peeking at the XML was that you have to slide the screen from the left to right to unlock it. Tho for some reason I couldn't find where the unlocking point was...anyways, thanks a lot for taking the time to do that! I have been taking the tips ffrom your thread very well. Your tutorial has really helped me! Thank you for all your hardwork!! =]
[HTC EVO 3D] :
Anyone know where the touch icon is? I put new icons so when I press on them, I get a big black box for touch input. I guess it really shows since the icons are smaller than the original.
[HTC EVO 3D] il Duce:
you mean on the homescreen? the highlight push? it's in launcher2.apk/res/drawable-hdpi/focused_application_background.9.png OR pressed_application_background.9.png - cant remember which lol.
[HTC EVO 3D] il Duce:
thread resurrection:

found some good resources:

lockscreen 2.0

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

general miui tips

http://xdaforums.com/showthread.php?t=1400580
[HTC EVO 3D] hockeyfamily737:
Thanks, I'll link them in the second post when I get to work tonight. I haven't given up on the thread either....just been busy.
[HTC EVO 3D] il Duce:
what? you're going to release a theme for christmas! AWESOME! :cool:
[HTC EVO 3D] hockeyfamily737:
LMAO.....You and Mrs Duce having baby #1......Hockefamily737 has 5 crumb catchers and 25 more hours of online hockey coaching modules to finish by the 31st to keep my certification up to date.
[HTC EVO 3D] il Duce:
5! Holy... You must either make zillions, or be broke like me lol.
[HTC EVO 3D] hockeyfamily737:
LOL.....I Broke. Left the car business in 08 for the far more glamorous life of "factory work". Second post has been updated with your reference links BTW. Thanks again for the contributions.
[HTC EVO 3D] il Duce:
o_o

car biz? were you in sales, like duce?
[HTC EVO 3D] hockeyfamily737:
I was mostly wholesale (buying & selling), but we had a small retail lot (70 cars or so) that I managed from the road. We used it mostly to unload anything that we overpaid for.
[HTC EVO 3D] melissapugs:
Since the US MIUI forums sucks and has held my posts in moderation for DAYS, I thought I'd beg some kind soul over here.

How the heck do you change the clock font? I stripped the deskclock apk and found the white color value, but not a defined font in any of the xml files I waded through. I have already themed the durn Arial, Arial-Bold and Clockopia fonts. TIA for any help whatsoever :)
[HTC EVO 3D] hockeyfamily737:
I've yet to find that myself and have pretty much given up on looking.....With ICS Miui coming soon, there are major theme compatibility issues between the versions. Soooooo.....I'm kind of at a stand still with my Miui theming for the moment. If anyone else knows.....please chime in.
[HTC EVO 3D] il Duce:
Way old from memory but iirc those are images, not fonts. This is from froyo days so I could be wrong lol.
[HTC EVO 3D] hockeyfamily737:
I thought they were too......but if they are, they're not in the desk clock app itself in recent versions (I checked all of the drawable folders and the 3 mipmap folders)....maybe pulling them from Framework-res?
[HTC EVO 3D] melissapugs:
Thanks for your help guys. Got the answer from MarcusBremen- I was decompiling the deskclock.apk when I should've just extracted it. In the assets folder is a clockopia ttf font. Can be swapped out and push the app, but not themeable for an mtz. Mystery solved :)