Remove All Ads from XDA

 View Poll Results: Should I change this thread to a FAQ thread and start a new thread for just the theme

208 Vote(s)
83 Vote(s)

[MIUI LS THEMES] FAQs & REQUEST - Video tutorial added in OP

1,432 posts
Thanks Meter: 1,131
By h_zee13, Senior Member on 22nd June 2011, 01:09 AM
Post Reply Email Thread

Default lockscreen themes can be found here

I figured since there is a Widgetlocker theme thread, us MIUI users should also have one for the new MIUI lockscreens.


The theme will always be a .mtz file. Some might put the .mtz file in a .rar file or a .zip file.
if it's a .mtz file, do this:
1. copy it to this folder: /sdcard/MIUI/Themes
2. (on the phone) open Theme Manager
3. go to Edit theme
4. then Lockscreen Style
5. choose the lockscreen theme you want

if it's a .rar file or .zip file, do this:
1. extract with 7zip or winrar
2. then there should be a .mtz file that's been extracted
3. follow the above instructions for .mtz file

HOW TO FIND A CLASS FOR THE APP YOU WANT (This is a how-to that I found somewhere , I'm not sure who wrote it anymore. So CREDITS go to who ever wrote this

1. go on the market and download launcher pro
2. Launch it (either using the home button or with home switcher, also available on the market)
3. add a shortcut to your home screen (either by long pressing the screen or with the menu key)
4. in the dropdown menu select activity
5. let it load up the list of your android activity (may take a while if, like me, you have like 150 apps =P)
6. search through the list for the app you wanna load with the lockscreen
7. select it and after you'll see another list that will pop out from under the name of the app, those are the activity
8. scroll through that second list for the action you want (in case of playerpro or other music app the right on is usually the first one
9. under the name of the action you'll see a thing that kinda looks like a very weird and inverted url, thats what you want.
10. (optional) you may click on it to create an actual shortcut on the launcherpro homescreen to test if you got the right path (if it opens the stuff you want

Here is a link to the manifest reference thread created by pomenx

Video tutorial on how to make a simple lockscreen theme

================================================== ======================================

The Following 106 Users Say Thank You to h_zee13 For This Useful Post: [ View ] Gift h_zee13 Ad-Free
22nd June 2011, 01:10 AM |#2  
h_zee13's Avatar
OP Senior Member
Flag Montreal
Thanks Meter: 1,131
Donate to Me

Thought I'd share my instructions for those wanting to know or don't know how to change simple stuff like Celsius to Fahrenheit, or toggle true/false for status bar stuff, or anything else.

If you have Root Explorer that will be the choice of app to do this work. My other recommended app is Dual File Manager but I'm not sure if it supports the many features that Root Explorer helps us gain access to. I haven't used this app yet but really liked the feature that allows you to open up 2 different folders and drag and drop files and such between the both of them without having to go to one folder, back out, go to another, back out... so on and so forth.


1. Open up Root Explorer (my app of choice to do changes)
2. Go to SD Card
3. Scroll down and find MIUI folder and click on that

Reminder: Some of you may not even have the lockscreen added to your collection yet. You may be like me and download stuff, drop them in your Dropbox on your PC, and then use your Dropbox app on your phone to download the content and it will be in the dropbox folder. Whichever way works. Just make sure you keep the original untouched version as a backup in case you mess up editing it.

4. Scroll down to theme folder
5. Look for the lockscreen you are wanting to edit

When you find the lockscreenname.mtz file you should rename it to preserve the originality if you mess up or want to go back to the original state of what it was in. So, all you need to do is long-press it, click Rename, change lockscreenname.mtz to lockscreenname.mtz.bak. This will render the file useless and keeps it from operating. It is useful for preserving for later use. If you should use it again just rename lockscreenname.mtz.bak to lockscreenname.mtz.

6. Long-press on lockscreenname file
7. Click on Copy

Next step I recommend is making a folder on the root of your SD Card. I use an empty folder to put files or whatever in that I'm currently doing work on so they don't get all cluttered, lost, separated with all the other stuff on the root of the SD Card

8. Make a folder on root of SD Card (example work-in-folder)
9. Click on that folder
10. Click on Paste to paste the copied version of your lockscreenname file
11. Long-press lockscreenname file and click on Rename
12. Rename lockscreenname.mtz.bak to
13. Hit ok
14. Long-press and scroll down to Extract All
15. Click yes to go to Extracted folder
16. Long-press the extracted folder and click on Move
17. Hit back button to go back to your work-in-folder
18. Click on Paste

You should now have a lockscreenname folder and a in your folder. Do not delete yet because you may need to start over again if you mess something up.

19. Click on lockscreenname folder

You will now see a series of folders, usually wallpaper, preview, lockscreen file, and description.xml

20. Long-press lockscreen file
21. Click on Rename
22. Rename lockscreen to and hit Ok

You should now have a there.

23. Long-press
24. Scroll down to Extract All
25. Go to Extracted folder
26. Long-press lockscreen folder
27. Click on Move
28. Hit back button to go to previous folder
29. Click on Paste

You should now have and a lockscreen folder. Please do not delete either one just yet.

30. Click on lockscreen folder

You should now see advance folder and theme_values.xml. I have noticed before that some lockscreens do not have a theme_values.xml so I will provide the code so you can insert a theme_values.xml


    <bool name="config_show_status_bar_battery_for_keyguard">false</bool>
    <bool name="config_show_status_bar_carrier_for_keyguard">false</bool>
    <bool name="config_show_status_bar_date_for_keyguard">false</bool>
    <bool name="config_show_status_bar_notification_for_keyguard">false</bool>
    <bool name="config_show_status_bar_status_for_keyguard">false</bool>
    <bool name="config_show_status_bar_time_for_keyguard">false</bool>
    <bool name="config_lock_screen_battery_animation_horizontal">false</bool>
Each line will show what will be displaying on the status bar of your lockscreen. Some people like all of it showing, some prefer just signal and battery, others like nothing on it.

What each line means:


<bool name="config_show_status_bar_battery_for_keyguard">false</bool>
Shows battery


<bool name="config_show_status_bar_carrier_for_keyguard">false</bool>
Shows carrier such as VZW, Google, or a custom made carrier logo


<bool name="config_show_status_bar_date_for_keyguard">false</bool>
Shows today's date


<bool name="config_show_status_bar_notification_for_keyguard">false</bool>
Shows all the notifications, which are usually your app icons that you normally see on the left side of your status bar.


<bool name="config_show_status_bar_status_for_keyguard">false</bool>
Shows your signal strength 1x/2G/3G/4G etc, Wifi, Bluetooth, Music, etc.


<bool name="config_show_status_bar_time_for_keyguard">false</bool>
This will obviously show the current time


<bool name="config_lock_screen_battery_animation_horizontal">false</bool>
This one may confuse people, but, this basically reverts the regular battery icon into a top bar battery life. You will notice a full line or a shorter line, depending on battery life, at the very top of your screen.

Last part for the introduction on the meaning of each line is the true/false part. You can keep all lines there and change true/false to display or not display a specific line. Or, you can just take pieces of the line (example carrier and status) and delete the rest of the line. Either way works.

There are 3 ways to create the theme_value.xml

1. Notepad++
2. Copy+Paste a previous theme_values.xml from a different lockscreen (make sure that the lines match the codes shown above
3. Make a theme_values.xml using Root Explorer


Download and install this program. I use it all the time for XML editing and such. It's a beautiful tool and extremely helpful.

You can copy and paste the codes I provided above into Notepad++ and click on File and Save as theme_values.xml

Transfer it by Dropbox or phone hooked up to the PC.

Put it in the lockscreen folder under advance folder. Do not put theme_values.xml IN the advance folder.


If you have seen a theme_values.xml in a previous lockscreen, just copy that and paste it into the lockscreen folder under the advance folder.

Use Root Explorer to Make theme_values.xml

While you are in the lockscreen folder (with the advance folder showing) click on Menu soft-key and then click on More.

You will see a list of other options. Click on New File. A dialogue box will open up and name the file theme_values.xml.

You will now see what looks like a notepad with the name theme_values.xml. Long-press theme_values.xml and scroll down to Open in Text Editor and click that. You will then need to type in the exact code structure provided above or copy and paste the entire code and edit what you need or don't need as you go. Click Menu-soft key and click on Save and Exit.

You now have a theme_values.xml file to control your status bar for your lock screen!

Back to the Steps:

31. Click on theme_values.xml to edit what will or will not show on your status bar
32. Hit Menu-soft key and click Save and Exit
33. Click on advance folder

Advance folder has a series of files. You will mostly see png's that make up the entire appearance and detail of your lockscreen. If you are editing png's or redoing stuff, this is where you will find it.

Also in this folder you will find the manifest.xml file. This is the file that makes up the entire structure of the working mechanism of your lockscreen. Without this file, the lockscreen is rendered useless.

34. Scroll down to find the manifest.xml
35. Long-press manifest.xml
36. Scroll down to Open in Text Editor and click that
37. Make changes in the lines that you want to change
38. Hit Menu-soft key and click on Save and Exit

You will probably see a manifest.xml.bak after making changes to this file. Do not delete this file because if something should go wrong, this will be the original working file. If you should decide to go back to the original settings, delete the new manifest.xml and then change the manifest.xml.bak to manifest.xml. If you make changes to that again, it will go back to manifest.xml.bak.

Now we're done with editing manifest.xml, possible changes to png's, making or editing theme_values.xml.

39. Go back to the folder showing lockscreen folder, wallpaper, preview, and description.xml
40. Delete
41. Long-press lockscreen folder
42. Scroll down to Zip this folder

You will then be taken to the Zipped folder's folder.

43. Long-press
44. Click on Move
45. Go back to previous folder
46. Click on Paste
47. Long-press
48. Click on Rename

Careful what you do here... we will be just deleting the extension to make it a deliberate file.

A dialogue box will come up to Rename this file. You need to delete .zip so it will go from to lockscreen.

49. Hit ok
50. Hit back to go to work-in-folder
51. Delete

You will then just see lockscreenname folder

52. Long-press lockscreenname folder
53. Scroll down and click on Zip this Folder

Again, this will take you to the Zipped folder's folder.

54. Long-press
55. Click on Move
56. Go back to previous folder
57. Click on Paste
58. Long-press
59. Click on Rename
60. Rename to lockscreenname.mtz

Make sure you rename this file to mtz or it will not work in the Theme editor.

Voila! You're done. Just go to the Theme app, click on Edit Theme, hit Menu-soft key, click on Import, scroll down to the folder that has the newly edited lockscreenname.mtz and click that file.

Enjoy your newly edited lockscreen! Keep in mind, you can do many more things with Root Explorer. Even for an entire theme. Although, there is limits, it is still useful when you need to make changes and cannot or don't feel like going to your PC to do all that work and transferring everything back and forth.

I dedicate this to people who look for shorter and quicker ways to do things or help people understand how to change easy stuff. Hopefully this will help new people or people who are baffled at how others change things so quickly.
The Following 66 Users Say Thank You to h_zee13 For This Useful Post: [ View ] Gift h_zee13 Ad-Free
22nd June 2011, 01:10 AM |#3  
h_zee13's Avatar
OP Senior Member
Flag Montreal
Thanks Meter: 1,131
Donate to Me
to download the lockscreen themes, please go to: [MIUI LS THEMES] New Official MIUI Lockscreen Thread[/color][/b]

The Following 83 Users Say Thank You to h_zee13 For This Useful Post: [ View ] Gift h_zee13 Ad-Free
22nd June 2011, 01:49 AM |#4  
Thanks Meter: 20
Great mod! How did you manage to center the clock with the ikun numbers?
The Following User Says Thank You to bustadroid For This Useful Post: [ View ] Gift bustadroid Ad-Free
22nd June 2011, 01:53 AM |#5  
jayk32's Avatar
Senior Member
Flag Herts
Thanks Meter: 344
Thanks, DL & subbed!!
22nd June 2011, 02:08 AM |#6  
SubyWill's Avatar
Senior Member
Flag Orlando, Florida
Thanks Meter: 108
I hope someone can put a Twitter shortcut, instead of a browser or music shortcut.
22nd June 2011, 02:12 AM |#7  
h_zee13's Avatar
OP Senior Member
Flag Montreal
Thanks Meter: 1,131
Donate to Me
Originally Posted by bustadroid

Great mod! How did you manage to center the clock with the ikun numbers?

In the XML file search for time.png and you will have to change the "x" coordinate from 148 to 130

Or change it to your liking
The Following 2 Users Say Thank You to h_zee13 For This Useful Post: [ View ] Gift h_zee13 Ad-Free
22nd June 2011, 02:53 AM |#8  
lost_man10002's Avatar
Senior Member
Thanks Meter: 66
wow dude awesome job... one of the reasons i'm gonna flash miui just to try these sick themes
22nd June 2011, 03:03 AM |#9  
Senior Member
Flag Bangalore
Thanks Meter: 50
Thank you.. Looks amazing.

Edit: Need Help!! I cant see it in the theme list after copying it to my themes folder. I tried to import it too, but no go. Please help!!
The Following User Says Thank You to killmastern3 For This Useful Post: [ View ] Gift killmastern3 Ad-Free
22nd June 2011, 03:11 AM |#10  
Junior Member
Flag Rowland Heights
Thanks Meter: 1
Looks dope, keep up the good work.

22nd June 2011, 03:31 AM |#11  
Thanks Meter: 16
wow, amazing!
Post Reply Subscribe to Thread

lockscreen, miui

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes