Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Scratch0805
Old
(Last edited by Scratch0805; 12th May 2012 at 08:54 PM.)
#1  
Scratch0805's Avatar
Senior Member - OP
Thanks Meter 1023
Posts: 2,029
Join Date: Jun 2011
Location: Sheffield
Default MIUI Show and Share!

Hey,sod it I'll do it myself....... lol

So basically this thread can be used to share and showoff anything to do with miui. As we are using an ldpi phone a lot of things will need resizing such as boot animations, lockscreens, wallpapers, widgets etc etc so I will over the coming days try to write a short guide on how to do these things and possibly resize some stuff myself, I'll also post some links for a few free utilities that I use for resizing. (please feel free to post alternative methods or utilities)

I will try to update the first post as often as possible with a few links to things I deem worthy of being here, please don't pester me with pms asking me to place/link anything on the first post as I'll just laugh at you and tell you to go away.

So if you've found a theme that works perfectly or have resized a lockscreen/boot ani and want to share it with the community, or even just want to show your miui screenshots please feel free to post it here and I'll try my best to keep things in order. Remember though if it is anyone else's work to first ask permission from the author to post it and give credit where it's due. Resizing an image is easy but actually creating things in the first place is slightly more difficult.

I've downloaded quite a few themes, lockscreens from the theme manager and from xda myself and have been playing around a lot to see what can and can't be done so any theme related questions I will try to answer to the best of my knowledge too.

Now bare with me whilst I get my *#*# together........

This is the miui.us bootanimation that I've just resized. Will add some more stuff over the coming days.
Attached Files
File Type: zip miui.us_bootanimation.zip - [Click for QR Code] (3.85 MB, 37 views)

Samsung Galaxy S2
Siyah Kernel

Samsung Galaxy Note
Rooted but otherwise totally stock

HTC Wildfire
My first Android now retired but still being flashed for fun!

mycolourscreen

My Dropbox
The Following 4 Users Say Thank You to Scratch0805 For This Useful Post: [ Click to Expand ]
 
Scratch0805
Old
(Last edited by Scratch0805; 14th May 2012 at 06:46 PM.)
#2  
Scratch0805's Avatar
Senior Member - OP
Thanks Meter 1023
Posts: 2,029
Join Date: Jun 2011
Location: Sheffield
Resizing a boot animation.

This is the easy one to resize, first off you'll need a batch image resizer. The one I've always used is called faststone photo resizer available here, http://www.faststone.org/FSResizerDownload.htm

Copy your downloaded bootanimation or the theme.mtz to your computer and extract it into a folder, (to extract an mtz you first need to turn it into a zip file by renaming it and adding .zip to the end instead of .mtz)

Ok so now in the folder you should have a file called desc.txt open that and change the values on the top line which relate to the size they will most likely be something like 480 800, change those 2 numbers to 240 320 which is the size of our screen, the final number relates to the speed or frames per second (fps) that the animation will play at. We are limited to 30fps so no need to go above 30 but this can be adjusted too if the animation is stuttering.
Next save this file then exit.

The next step is to resize the actual images so open the folder which contains the images, this is usually in parts named part 0 part 1 etc etc.

Start the photo resizer and a windows should open, the quickest way to load the images into it I think is to select them all in the folder then drag n drop them into the photo resizer input box.
Now click on the output folder button near the bottom right and select a folder where the new resized images will be created (I just use the same folder as where they came from, the old ones get overwritten)

Next its time to tell the resizer what to do so click on advanced options and tick the resize box, a few options should appear, we want to first choose to resize in pixels and set the width to 240 and the height to 320 then click ok or done or whatever??

It should go back to the main window now so click convert, select yes to all if it ask you if you want to overwrite images already in the folder and let it do its stuff.
Do the same for any other part folders i.e part 1.

Then zip it back up using winrar or 7zip the same way it was beforehand, named bootanimation.zip and store only.

Either adb push it to /system/media or use a file explorer and set permissions to rw__r__r__.
I will explain more about creating/adding it to an mtz file when/if I figure out why they don't seem to work for me.

Reboot and enjoy your new boot animation.

____________________________________

Resizing miui clocks and photo frames.

By longpressing on the homescreen you'll find the widget selection screen, add a clock or photo frame then look in the top corner of the widget whilst still on the widget selection screen for a small black dot, tap that to go to the skin picker/download screen.

First download whichever clock you want to use and locate it in /sdcard/miui folder. Copy it to your pc and extract it into a folder.

In the folder you should have some images a description file and a manifest.xml first off we'll start by editing the manifest which tells the clocks where to place each image.

Open it with a text editor and change all the X and Y values by 50% then save it and exit.

Now we need to resize the actual images so open the image resizer and load all the images into it, choose the output folder and click advanced, this time though we should choose to resize by percentage and set it to 50% so everything lines up with the manifest.

Finally zip everything back up together same as it was before and copy it back to the relevant folder on your sdcard.

Longpress the homescreen and again choose your widget, tap the black dot and select your newly edited clock or photo frame, it should now fit but if it doesn't you'll need to extract it again and adjust it either way to get it to fit.

Samsung Galaxy S2
Siyah Kernel

Samsung Galaxy Note
Rooted but otherwise totally stock

HTC Wildfire
My first Android now retired but still being flashed for fun!

mycolourscreen

My Dropbox
The Following 2 Users Say Thank You to Scratch0805 For This Useful Post: [ Click to Expand ]
 
Scratch0805
Old
#3  
Scratch0805's Avatar
Senior Member - OP
Thanks Meter 1023
Posts: 2,029
Join Date: Jun 2011
Location: Sheffield
reserved

Sent from my HTC Wildfire using xda premium

Samsung Galaxy S2
Siyah Kernel

Samsung Galaxy Note
Rooted but otherwise totally stock

HTC Wildfire
My first Android now retired but still being flashed for fun!

mycolourscreen

My Dropbox
 
ali.sbi
Old
#4  
Member
Thanks Meter 11
Posts: 53
Join Date: May 2011
tnx for your guide. the problem is for clock resizing when i do all the steps,my new resized clock doesn't appear in the local clock list.where am i wrong?tnx
 
Scratch0805
Old
#5  
Scratch0805's Avatar
Senior Member - OP
Thanks Meter 1023
Posts: 2,029
Join Date: Jun 2011
Location: Sheffield
I'm not sure, did you pack it up exactly as it was before you resized it?

And is the clock the right one for the widget size?

Sent from my HTC Wildfire using xda premium

Samsung Galaxy S2
Siyah Kernel

Samsung Galaxy Note
Rooted but otherwise totally stock

HTC Wildfire
My first Android now retired but still being flashed for fun!

mycolourscreen

My Dropbox
 
ahugeyardglass
Old
#6  
ahugeyardglass's Avatar
Junior Member
Thanks Meter 0
Posts: 7
Join Date: May 2012
Thought I'd get this moving, found it on the online theme section called Sony xperia, status bar needs tweaking but the icons seem alright to me, as MIUI lock screen you can't use due to unlocking problems

Sent from my HTC Wildfire using XDA
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1337244485209.jpg
Views:	228
Size:	29.8 KB
ID:	1066266   Click image for larger version

Name:	uploadfromtaptalk1337244503355.jpg
Views:	207
Size:	16.0 KB
ID:	1066267   Click image for larger version

Name:	uploadfromtaptalk1337244520936.jpg
Views:	188
Size:	16.8 KB
ID:	1066268   Click image for larger version

Name:	uploadfromtaptalk1337244559131.jpg
Views:	176
Size:	19.4 KB
ID:	1066271  
 
Lesicnik1
Old
#7  
Recognized Contributor
Thanks Meter 691
Posts: 2,188
Join Date: Feb 2011
Location: Slovenj Gradec
Does anyone know which version (if any) of Extended Settings for MIUI works for Beta 7?
I tried a couple, but either the launcher FCed or the status bar wasn't there.
 
saldymhmd
Old
(Last edited by saldymhmd; 23rd May 2012 at 08:11 AM.)
#8  
saldymhmd's Avatar
Senior Member
Thanks Meter 362
Posts: 547
Join Date: Oct 2011
Location: Bekasi (Indonesia)
Quote:
Originally Posted by Scratch0805 View Post
Resizing miui clocks and photo frames.

By longpressing on the homescreen you'll find the widget selection screen, add a clock or photo frame then look in the top corner of the widget whilst still on the widget selection screen for a small black dot, tap that to go to the skin picker/download screen.

First download whichever clock you want to use and locate it in /sdcard/miui folder. Copy it to your pc and extract it into a folder.

In the folder you should have some images a description file and a manifest.xml first off we'll start by editing the manifest which tells the clocks where to place each image.

Open it with a text editor and change all the X and Y values by 50% then save it and exit.

Now we need to resize the actual images so open the image resizer and load all the images into it, choose the output folder and click advanced, this time though we should choose to resize by percentage and set it to 50% so everything lines up with the manifest.

Finally zip everything back up together same as it was before and copy it back to the relevant folder on your sdcard.

Longpress the homescreen and again choose your widget, tap the black dot and select your newly edited clock or photo frame, it should now fit but if it doesn't you'll need to extract it again and adjust it either way to get it to fit.

Can you explain exactly the meaning of "Open it with a text editor and change all the X and Y values by 50% then save it and exit" ??? so, example the X=220 and Y=120, then resize it by 50% is X=110 and Y=60 ? Thats it ?

answer on PM, since I found this thread on google
Samsung Galaxy Gio
BNC Family
Team Revolution
Pressing the Thanks button is free, why not press it if I helps you ?
 
Scratch0805
Old
#9  
Scratch0805's Avatar
Senior Member - OP
Thanks Meter 1023
Posts: 2,029
Join Date: Jun 2011
Location: Sheffield
Yes but as I said that is only a rough guideline, they may also need a little tweak here and there. 50% worked perfect for the one I did though.

By text editor I mean notepad++ or similar.

Sent from my Wildfire using xda premium

Samsung Galaxy S2
Siyah Kernel

Samsung Galaxy Note
Rooted but otherwise totally stock

HTC Wildfire
My first Android now retired but still being flashed for fun!

mycolourscreen

My Dropbox
 
saldymhmd
Old
#10  
saldymhmd's Avatar
Senior Member
Thanks Meter 362
Posts: 547
Join Date: Oct 2011
Location: Bekasi (Indonesia)
but i try to change the X and Y values, nothing changed :|
Samsung Galaxy Gio
BNC Family
Team Revolution
Pressing the Thanks button is free, why not press it if I helps you ?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more