Hi, I am trying to make changes to an icon theme but keep getting "Wrong theme format" error in the Miui v4 theme manager.
I used the same process I did back on GB that worked... renamed the .mtz to .zip, extracted it, renamed icons to icons.zip, extracted it. Then I edited .png's in the icons folder, zipped all the .png's into a file called icons.zip and removed the .zip by renaming icons.zip to just icons. Then I zipped the files: description.xml, icons, and preview folder. I renamed this .zip to a .mtz, pushed it to my phone and tried to apply the theme but got the error. I've searched but haven't found any solutions.
Has the icon theme format changed for v4? Thanks for any help.
Just take a MIUI icons set (like Cain HD for ex)
- open the .mtz using 7zip (no need to rename or change extension)
- double click on "icon", drag and drop ur icons.
- then close everything, it will ask u if u want to update/refresh the file. say YES and that's it
Raulinho7 said:
Just take a MIUI icons set (like Cain HD for ex)
- open the .mtz using 7zip (no need to rename or change extension)
- double click on "icon", drag and drop ur icons.
- then close everything, it will ask u if u want to update/refresh the file. say YES and that's it
Click to expand...
Click to collapse
I would've tried this method but unfortunately I have a Mac and haven't been able to find a good 7zip equivalent :/ Any idea why it worked when I decompressed/compressed mtz's on GB but not ICS? The format all seems the same.
iamchrisc said:
I would've tried this method but unfortunately I have a Mac and haven't been able to find a good 7zip equivalent :/ Any idea why it worked when I decompressed/compressed mtz's on GB but not ICS? The format all seems the same.
Click to expand...
Click to collapse
My guess is that somehow you didn't package it correctly. Double check to see if that's the issue.
i did it this way
if i have an iconpack in wrong size, i first resize the icons
then i mark all icons and add them to an archive with 7zip
now i take the icons.zip and the description.xml add it to a new zip
inside the zipfile, i rename the icons.zip into icons and you are ready^^
Have you tried using the 'store' option - I.e. no compression?
Changing the extension while inside the theme zip will also help to avoid certain issues.
Well I was able to get it working by using StuffIt Archive Manager to replace icons without uncompressing/compressing the mtz. Still strange it doesn't work when I uncompress it. I'm positive I package it back in the same way, I've triple checked. Guess I'll just have to use the StuffIt Delux trial for now.
Related
I've been searching for a while (with no luck) on how to install custom icons for your apps on MIUI. I'm talking about individual icons, not icon packs, and not ones in themes.
I've seen this thread but I can't find the locations they are talking about.
Does anyone know how to do this?
Bump
Can anybody help?
I've tried This and it didn't work either.
Transfer your theme file (the mtz) to your computer, change the file ending from mtz to zip.
Unzip it, open the "icons" folder and then you're ready
When finished, zip all the folders again, change it to mtz, and voila!
Sent from my HTC Desire HD using XDA Premium App
BazookaAce said:
Transfer your theme file (the mtz) to your computer, change the file ending from mtz to zip.
Unzip it, open the "icons" folder and then you're ready
When finished, zip all the folders again, change it to mtz, and voila!
Sent from my HTC Desire HD using XDA Premium App
Click to expand...
Click to collapse
Have tried it. I change the .mtz to .zip, extract the files, change an icon in the "icons" folder, zip the file back up, change it to .mtz and it doesn't work.
When I say it doesn't work, I mean, when I do 'import theme', it tries to, but no new themes show up in my 'offline themes'.
Also I've changed the .mtz to .rar and extracted it that way, turned it into a RAR again, and changed it to .mtz. Still nothing. Does anybody know what I'm doing wrong?
Do I need my icons template to be the same size as all of my icons? Is something getting corrupted, or what do you think is going wrong?
I konw that the import themes works for normal themes though because I've done it.
Is there anyway to extract icons out of them if not?
You have to be on miui to /use/ it, but otherwise it is simply a zip. Change the file name to .zip if you need to, and pop it open.
extracting it worked but the icons are a Unix executable file...how to you get the icons out of this file?
Wha?
Um...
Oh, right. Probably a new format .mtz
Change the icons to .zip aswell, and any other folder you want to open too.
I just extracted one too, but the icon file is not a mtz. Any thoughts?
just rename icons to icons.zip and extract
Im using 7zip and take the png and icon and convert to cm7 themes
Sent from my iStone using Internet Explorer Pro
Hi,
This is a small TOOL to UnPack and RePack mtz files for lockscreen editing.
I have found a thread in which OP has started resizing mtz lockscreen themes (MiLocker) for LDPI/MDPI.
This process involves unzipping couple of files, editing xml file & images and re-zipping them. So, for testing all this process is a hectic, i thought to have a tool which can do this process automated.
changelog V2:
can pull mtz files from sdcard
can push repacked mtz files to sdcard
Repack BUG fixed.
changelog V1:
Initial Release
1. Unpack mtz
2. Repack mtz
More versions will be coming soon but i need your inputs and suggestions for that.
I wrote a program which can resize the images based on percentage given...
And also found a logic to edit the manifest file. It almost gets resized but still some has to be done manually...
Can anyone help me out with some logic...???
first blood. downloading...
thank you
----
report
after unpacked the mtz, the all image file in lockscreen/advance cant show. why?
mutia said:
first blood. downloading...
thank you
----
report
after unpacked the mtz, the all image file in lockscreen/advance cant show. why?
Click to expand...
Click to collapse
No they show up properly for me...
Double check your mtz file... else can u send me the mtz file so dat i can test...
one the mtz in lockscreen didnt show the images but the other mtz worked fine whats recomended to resize lock screen for hdpi
edward.hidalgo said:
one the mtz in lockscreen didnt show the images but the other mtz worked fine whats recomended to resize lock screen for hdpi
Click to expand...
Click to collapse
So the problem might be with the original images in the mtz file... bcoz im jus unzipping them not dealing with the images...
for lockscreen resize u need to change the x and y values in manifest.xml file... and also resize the images for your screen resolution.
Thats all i can say now for resizing...
Nice, but I don't know why it doesn't work for me. I changed one number in manifest.xml and the lockscreen theme doesn't work. It looks like the screen is blocked but there's no lockscreen. Even if delete it, cleare cache, uninstall and instal MILocker again. I can't even get original lockscreen working. I was playing with the "Zipper" it wouln't unlock screen even if I unziped it to the very bottom of the screen. It took several times it to unlock. I tried to change the length, so that it would unlock a bit earlier. It says it is applied, however can't see it where unlock screen should be.
i think your syntax is incorrect because everytime i repack it's always say like that. and all file that i was edited is been delete and nothing file in repacked_mtz folder. i love your idea please fix this
NB: file in lockscreen can't edit
pshemo said:
Nice, but I don't know why it doesn't work for me. I changed one number in manifest.xml and the lockscreen theme doesn't work. It looks like the screen is blocked but there's no lockscreen. Even if delete it, cleare cache, uninstall and instal MILocker again. I can't even get original lockscreen working. I was playing with the "Zipper" it wouln't unlock screen even if I unziped it to the very bottom of the screen. It took several times it to unlock. I tried to change the length, so that it would unlock a bit earlier. It says it is applied, however can't see it where unlock screen should be.
Click to expand...
Click to collapse
The number you have changed might not work with the screen... Try lowering your number by 50% for ldpi screen.
I used this tool and successfully changed a lockscreen to fit my wildfire screen...
ljyudha said:
i think your syntax is incorrect because everytime i repack it's always say like that. and all file that i was edited is been delete and nothing file in repacked_mtz folder. i love your idea please fix this
NB: file in lockscreen can't edit
Click to expand...
Click to collapse
You need to follow these steps to edit and repack your lockscreen.
Note: Use v2
1. (option s) to select a file. (if you donot have files in orig_mtz folder you can connect your phone and use pull mtz files option 3 and use option s)
2. after selecting a mtz file use option 1 to unpack your mtz file.
Note: donot close the tool.
3. now you may edit your files manifest.xml and resize images
Note: if you have closed the tool reopen it and select the mtz file that you have edited using option s.
4. now use option 2 to repack your changed files and the repacked file with your changes is found in repacked_mtz folder.
5. you can now copy the repacked mtz file to sdcard/MIUI/theme or use option 4 to push the selected mtz file to phone.
I have tried the same and successfully resized one lockscreen...
What percentage should I use for MDPI
PcFish said:
What percentage should I use for MDPI
Click to expand...
Click to collapse
Its around 66%(approx.)
bittu4u4ever said:
You need to follow these steps to edit and repack your lockscreen.
Note: Use v2
1. (option s) to select a file. (if you donot have files in orig_mtz folder you can connect your phone and use pull mtz files option 3 and use option s)
2. after selecting a mtz file use option 1 to unpack your mtz file.
Note: donot close the tool.
3. now you may edit your files manifest.xml and resize images
Note: if you have closed the tool reopen it and select the mtz file that you have edited using option s.
4. now use option 2 to repack your changed files and the repacked file with your changes is found in repacked_mtz folder.
5. you can now copy the repacked mtz file to sdcard/MIUI/theme or use option 4 to push the selected mtz file to phone.
I have tried the same and successfully resized one lockscreen...
Click to expand...
Click to collapse
thank you i will try it and report it to you soon as possible
Hey thank sharing this was awesome man
thanks but it cannot repack.
there is some syntax error in the command.
bittu4u4ever said:
Hi,
This is a small TOOL to UnPack and RePack mtz files for lockscreen editing.
I have found a thread in which OP has started resizing mtz lockscreen themes (MiLocker) for LDPI/MDPI.
This process involves unzipping couple of files, editing xml file & images and re-zipping them. So, for testing all this process is a hectic, i thought to have a tool which can do this process automated.
changelog V2:
can pull mtz files from sdcard
can push repacked mtz files to sdcard
Repack BUG fixed.
changelog V1:
Initial Release
1. Unpack mtz
2. Repack mtz
More versions will be coming soon but i need your inputs and suggestions for that.
I wrote a program which can resize the images based on percentage given...
And also found a logic to edit the manifest file. It almost gets resized but still some has to be done manually...
Can anyone help me out with some logic...???
Click to expand...
Click to collapse
Coooooool.....Dude, Worked on my Xiaomi RN4 (Nikel).
a. unpacked .mtz using your utility [Hybrid+V8-1.0.0.0.mtz]
Link to file: https://xiaomininja.com/download/hybrid-theme-file-download/
b. Replaced boot animation .zip file as I like (Google_Swirl)
c. Replaced both Lock Screen and Home Screen Wallpapers
d. Repacked to .mtz
e. Imported in Off-line Themes from MIUI Folder and finally applied successfully. All OK here.
Next project is to change the icon packs with CM 14.1 for my Xiaomi RN4 (Nikel)
Keep posting these small packs with BIG BLASTs.
Take Care..
I like this MiLocker Lockscreen , but its in chinese.
What i did is here
1) I copied .mtz file from sd card to computer , renamed it to .zip and extract all
2) chaged lockscreen to lockscreen.zip and extract all
3) change all .png files of chinese date to english date (created all dates, times, days on png and replaced, with same name and sizes)
4) rezipped lockscreen.zip and delete .zip
5) rezip it (main file ) and change .zip to .mtz
6) place it to miui on sd card
and now when i open milocker app, it says there is some error on sd card and its modifying and take me to homescreen !
How do i make it work
Please help me !
Try not to rename or change the extension files (mtz, zip) : try to make it with 7zip, easier to work on drag and drop with the png and the manifest.xml u have to edit.
tlkh and picard666 helped me on the same case, here. Give a look to both manfests of each mtz, before and after the translation, it should help. I'll give a look to yours.
EDIT : can you add the original mtz pls ?
21vm said:
Try not to rename or change the extension files (mtz, zip) : try to make it with 7zip, easier to work on drag and drop with the png and the manifest.xml u have to edit.
tlkh and picard666 helped me on the same case, here. Give a look to both manfests of each mtz, before and after the translation, it should help. I'll give a look to yours.
EDIT : can you add the original mtz pls ?
Click to expand...
Click to collapse
Thank you.
I have never done this before
I will give a try .
Here is original mtz file.
Thanks again
I tried to unzip via 7zip but it gave me error and didnt move more than 3% , now what?
hi, from what i know you right click the file and click "Extract All..."
I also tried editing this lockscreen but to no avail.
is it possible to change/mod icon sets to work with miui? how do i get icon packs in the psd, png, jpg format into an mtz to work with miui, i was specifically looking at the pace icon set and dope icons by filipovsky.
it's easy, download a miui icons themes or a miui theme .mtz, change .mtz in .zip. Open it with winzip or 7zip. Inside u may have a icons file, unzip it and add .zip in the end. Then open it with winzip or 7zip.
now u have the icons of the theme.
If U want to replace some or all , be care to keep the name of the icon u replace, because it's the name of the Application in miui.
thank you for your reply i will give that a try.
buzzandwire said:
thank you for your reply i will give that a try.
Click to expand...
Click to collapse
hmm everytime i try it says successfully applied but always just replaces the icons with the stock MIUI set, i opened up the icon.zip inside the .mtz file deleted all the old.pngs and put the new ones i want in converted in and thats it right?
buzzandwire said:
hmm everytime i try it says successfully applied but always just replaces the icons with the stock MIUI set, i opened up the icon.zip inside the .mtz file deleted all the old.pngs and put the new ones i want in converted in and thats it right?
Click to expand...
Click to collapse
You have to zip it properly. open the icon folder and select all icons, then right click and go to 7zip add to archive. take resulting zip and rename to icon and put it in the theme folder . select all files in the theme and right click and 7zip add to archive again. rename to .mtz and apply
buzzandwire said:
hmm everytime i try it says successfully applied but always just replaces the icons with the stock MIUI set, i opened up the icon.zip inside the .mtz file deleted all the old.pngs and put the new ones i want in converted in and thats it right?
Click to expand...
Click to collapse
You need rename each image to right package name, or it will not work with miui, when you done , put all theme in one folder, zip all files ( not folder ), and change archive name to "icons" with out extension , then add "description.xml" and maybe some preview image, and zip both these thing to one zip file and rename to "YOUR_NAME.mtz" and it should work .
Sorry my bad english :fingers-crossed:
tung91 said:
You need rename each image to right package name, or it will not work with miui, when you done , put all theme in one folder, zip all files ( not folder ), and change archive name to "icons" with out extension , then add "description.xml" and maybe some preview image, and zip both these thing to one zip file and rename to "YOUR_NAME.mtz" and it should work .
Sorry my bad english :fingers-crossed:
Click to expand...
Click to collapse
"You need rename each image to right package name, or it will not work with miui," i think this is where im going wrong but i dont quite understand what im supposed to be renaming them to? i've been trying to convert these....
http://forum.xda-developers.com/showpost.php?p=27402389&postcount=16
so some of the names are cup.png , microphone.png, what would i rename those too before i zip them all up?
thanks.
Well the easiest way would be to take an existing icon folder from a theme with many icons and copy the icon names to the corresponding icons in your folder.
Sent from my Galaxy Nexus using Tapatalk 2
I went ahead and converted those for some practice. I removed the ones I didn't know what to do with, like the cup and star, for example. all are working except the $ which I wanted to be Wallet, but I haven't figured out the name yet.
https://dl.dropbox.com/u/22845252/Circimal icons.mtz
hoppermi said:
Well the easiest way would be to take an existing icon folder from a theme with many icons and copy the icon names to the corresponding icons in your folder.
Sent from my Galaxy Nexus using Tapatalk 2
I went ahead and converted those for some practice. I removed the ones I didn't know what to do with, like the cup and star, for example. all are working except the $ which I wanted to be Wallet, but I haven't figured out the name yet.
https://dl.dropbox.com/u/22845252/Circimal icons.mtz
Click to expand...
Click to collapse
sweet, thanks for doing that, great to see an example, gonna check em out, thank you!