Assistant program for editing MIUI themes



Rep: (997)
Assistant program for editing MIUI themes
Version: 1.7.2
Last update of the program in the header:03.03.2019

Attached Image

Screenshots
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image
Attached Image


Short description:
A program that makes it easier to edit MIUI themes.
Description of the program features
1. Creation patches with operator logos for installation via TWRP.
2. Combining several patches into one.
3. Embedding in the MIUI themes pre-prepared patches, including a patch with the logos of mobile operators.
4. Merging design in themes
5. Automatic unpacking for editing and reverse packaging of topics.
6. Checking the code in the .xml files in the topic.
7. Check for extra files in the thread.
8. Unpacking, editing and packing files9.png.
9. Visualized color editing in files.theme_values.xml.

Instructions
Instructions for using the program
Unzip the downloaded archive in a convenient place for you.
Making a patch with the logos of mobile operators for TWRP:
1. Run MIUIThemesMod.exe.
2. On the first tab of the program in the "MIUI Version" field, select which version of MIUI to build the patch for.
3. In the field "Logo of SIM-card 1" and "Logo of SIM-card 2" select your telecom operators.
4. In the field "Name of SIM-card 1" and "Name of SIM-card 2" enter the name of the company of the cellular operator, or choose the text you like from the drop-down list. (this text will be displayed instead of the inscriptions "SIM 1" and "SIM 2")
5. In the "File of collected patch" field, click on the folder icon inside the field and select where to save the patch and enter its name.
6. Click on the button "Collect a patch with logos of SIM-cards", wait for the completion of the operation.
7. Go to the folder with the collected patch (click on the folder assignment to the right of the "File of the patch being collected" field), transfer it to the phone and install via TWRP.
Creating a merged patch:
1. Run MIUIThemesMod.exe.
2. On the second tab of the program, click the "Add file" button and specify the path to the file. Repeat the action for each next patch.
3. Use the up and down arrows to adjust the sequence of the merge, or use the "delete" button to delete the incorrectly specified file.
Note: It should be borne in mind that if the same lines or images will appear in the patches, then the information from the underlying patch file will be saved.
4. In the "Result Patch File" field, specify the desired location and name for the file.
5. Click on the "Collect Patch" button, wait for the operation to complete.
Note: The finished patch can be used both for installation via TWRP, and for patching topics.
Embedding patches in the theme, incl. patch with logos of mobile operators:
1. Download a theme on your computer (zip or mtz extension).
2. Create your own patch with logos for SIM-cards according to the instructions above.
3. Run MIUIThemesMod.exe
4. Go to the tab "Patching themes"
5. In the "Source theme file" field specify the file with the theme (from item 1)
6. In the "overlay topic or patch file" field, indicate the file with the patch made according to the first instruction
or any other created on the same principle.
7. In the "Result topic file" field, a variant of the name and location of the created topic will be automatically offered.
5. Click the button "Collect topic", wait for the completion of the operation.
Theme is ready. You can transfer it to your smartphone, import and use.
Note:
Similarly, you can merge two topics into one. It should be borne in mind that the program will take as a basis
The original theme and add / replace it all the design of the second topic. Having some clue about the device
However, you can first exclude from the second topic the superfluous one and impose on the initial topic only what you want.
add or change to it. For the convenience of working with themes, the possibility of automatic
unpacking and packing themes.

Unpacking and packaging:
1. Run the program MIUIThenesMod.exe.
2. Go to the "Unpacking and Packing" tab.
3. Select a theme file.
4. Specify the directory for unpacking.
5. Click the "Unpack subject" button, wait for the operation to complete.
6. Make the necessary changes.
Attention! The utility does not verify the correctness of files modified by you. If you can not, for example, work
with 9.png - better not to change the files yourself.

7. Press the button "Pack the topic", wait for the completion of the operation.
Anything, theme or patch for another topic is ready.
Note:
The checkbox "Check subject when packing" is intended to check the correctness of the code in .xml and the valid file types during packing.
The button "Check subject" is used to check the code in .xml and valid file types in the unpacked topic.
The field "Valid files in the subject" is intended to specify file extensions that should remain in the subject, the rest will be shown in the error window as incorrect. When you click on the red cross near the field, it will be auto-filled using the file types used in the themes. If the window is left blank, the check for file types will not be performed.
The checkbox "Pack only valid" is directly related to the setting "Valid files in the subject". Files whose extensions are not listed in the "Permissible Files in the Subject" field will not be added to the packed theme.

Work with 9.png
To work with 9.png files, you must have the necessary files in the Tools folder and the installed updated version.Java(if java version 101 and below, this tab is missing).
1. Run the program MIUIThenesMod.exe.
2. Go to the tab "Working with 9.png".
3. Specify the location of the source file 9.png for unpacking.
4. Specify the directory to decompile the file.
5. Click the "Decompile" button, wait for the operation to complete.
6. Click on the "Open in editor" button and make the necessary changes in the markup.
7. Specify the directory to compile the file.
8. Click the "Compile" button.
The principle of the program when patching topics:
1. The program unpacks the theme into one folder and patch into another.
2. In the unpacked patch, it immediately removes meta-inf and busybox (these files are needed for patches installed through the recovery).
3. Searches for all other files and processes each in turn.
4. When processing a file, the program first looks for a file with the same name in the theme as in the patch.
5. If not found - just copy it from the patch to the topic.
6. If it finds it, it unpacks the patch file and the theme file of the same name.
7. Sequentially enumerates the unpacked files of the second stage of unpacking the patch and compares them with the files in the subject.
8. If the topic does not have a file with the same name and in the same path, then simply copies it to the topic.
9. If there is a file in the subject, then it checks the file extension.
10. If the extension is not xml, then it simply replaces the file.
11. If xml, then processes by xml-tags. If the theme file has the same tag, with the same value of the name attribute,
then the tag text is replaced. If the tag is not found, it is added.
12. Theme file is packed back.
13. When all files are processed - the modified theme is packed in the specified path.
Color palette
1. Run the program MIUIThenesMod.exe.
2. Go to the tab "Color Picker".
3. In the "XML file for processing" field, select the theme_values.xml file from the unpacked theme. After that, all the color settings and their transparency from the selected file will be displayed in the lower field.
4. Click the left mouse button in the cell with the displayed color and transparency will cause an additional dialog box "MIUI Color Matching".
5. Click the left mouse button in the "Background image" field to open the dialog box for selecting the background file.
6. Left-clicking in the "Selected Color" field brings up the "Color" dialog box to select the required color.
Note:
The eyedropper in the Color dialog box is valid throughout the entire monitor screen.

7. To save the settings, click the "Select" button or click the "Cancel" button to refuse to make changes.
Note:
If color changes have been made erroneously, click the "Reread file" button in the "Color Picker" tab.

8. To save the changes made to the theme_values.xml file, click the "Save to file" button in the "Color Palette" tab.

Instructions for creating patches

1. Run MIUIThemesMod.exe.
2. Go to the "Unpacking and Packing" tab.
3. Unpack any topic.
4. Go to the folder with the unpacked theme (click the "Directory" button next to the "Directory of the unpacked theme" field), delete all files and folders not involved in the creation of the patch. If there is no folder with the required name, add it to the folder at the end of the .unpack name. and place in it the necessary files and folders for patching.
5. In the "Packed topic file" field, enter the desired patch name.
6. Click the "Pack a topic" button, wait for the operation to complete.
Everything, the patch is ready.
Note:
An example of creating a patch BigCirclePhotoInCall.zip. In the unpacked theme, leave only the com.android.incallui.unpack folder, and in it only the theme_values.xml file. Then edit it with a regular text editor. The following files must be present in the finished file:
<? xml version = '1.0' encoding = 'utf-8' standalone = 'yes'?>
<MIUI_Theme_Values>

</ MIUI_Theme_Values>

Check encoding (must be UTF-8 (without BOM)). All lines between them must be replaced by those that will make the necessary changes. If the patch should contain images, then simply decompose them into appropriate folders.

Template design posts with a patch
[b] [color = purple] Patch name [/ color] [/ b]
Firmware: [b] Version MIUI [/ b]
Screen resolution: [b] Literal description of the resolution [/ b] (digital description of the resolution)
Author: [b] Author Name [/ b]
Link to the original: here we indicate the link to the original instruction or delete the line if you are the author.
[spoiler = Screenshots] Screenshot [/ spoiler]
[spoiler = instruction]
1. Run MIUIThemesMod.exe and go to the "Patching Themes" tab.
2. Select a theme file.
3. Select this patch file.
4. Press the "Collect the topic" button.
5. Download the finished theme to your phone, remove the .zip extension, import and apply. [/ Spoiler]
[spoiler = Download] patch file [/ spoiler]


Finished patches in order
Useful topics:
Requirements: The patch with the logos of the operators is designed for MIUI 8, 9 and 10. You can edit the themes of MIUI for all versions.
Russian interface: Yes
Developers:
Programming -oksivas
Methods and design -andrey_artphoto
The idea of ​​the patch operator logos -killoe
Homepage: https://miuithemesmod.blogspot.com/

Download:
version: 1.7.2 Assistant program when editing themes MIUI (Post a_photo # 82921224)


Previous versions
Remember: all that you do - you do at your own peril and risk! The authors of the instructions, modifications and forum administration are not responsible for the performance of your devices!
There is no curator in the subject. For questions about filling the caps, please contact the section moderators via the buttonPictureunder the messages to which you want to add links.




Attached images
Attached ImageAttached Image


Post has been editedwasherron - 03.03.19, 16:36
Reason for editing: Added home page + new version



Rep: (74)
Patch to increase the subscriber's avatar when calling
Firmware:MIUI8
Screen resolution:FullHD (1080p).
Author:andrey_artphoto
Screenshots
Attached Image

Instruction
1. Run MIUIThemesMod.exe and go to the "Patching Themes" tab.
2. Select a theme file.
3. Select this patch file.
4. Press the "Collect the topic" button.
5. Download the finished theme to your phone, remove the .zip extension, import and apply.

Download


Post has been editedoksivas - 01.02.17, 08:19
Reason for editing: Complete the description



Rep: (405)
Tell me, but through TWRP it is real to install your patch, the body doesn’t support third-party themes. Thanks in advance for your reply.



Rep: (74)
* ghon_zp ,
The ability to install third-party themes is described.here(Answers to frequently asked questions, question 4).
You can collect the patch and install it through TWRP.
However, logos will not work in every topic. The fact is that the patch for TWRP creates logos for the default theme, and many third-party themes cover logos with their own resources.


Post has been editedoksivas - 18.02.17, 10:02
Reason for editing: typo fixed



Rep: (171)
I would also advise you to give instructions on how to do these patches normally: happy:



Rep: (74)
* NGaGe39 , thanks for the advice.
The patch for the theme is a slice of the MIUI theme and is composed exactly as the theme. The program essentially inserts this piece into the theme, merging the xml files.
Creating MIUI themes is discussed on the forum.here. Therefore, there are no special instructions here. However, some features, of course, can be described. I think we will do it in time.



Rep: (171)
* oksivas,
For example, there was a desire to make the similarity of your patch for InCallUI the same forTeleServicesthe essence is the same.
And the question immediately arises, what to do when a large number of corrections need to be made, because in your case, only a couple of lines in one .xml file are fixed.
Reassembling each time. Apk is not high, although it is not untimely, but this method will be easier if we apply to any changes in. Apk and not smali: happy:

Post has been editedNGaGe39 - 01.02.17, 04:45



Rep: (74)
* NGaGe39 , at this stage we do not consider the extension of the functionality towards the firmware. So far, only topics.



Rep: (171)
* oksivas,
MIUI - Modification and decorations
In this post, it seems to be said that you can make patches a theme for .apk anyone.
How exactly, and remains a mystery. Therefore, I became interested in this topic.



Rep: (74)
* NGaGe39 , well, in general, it says about a specific task. The author could not rebuild apk and he found a workaround through the topic. Absolutely all the tasks of editing the topic, of course, can not be solved.



Rep: (208)
If the application does not select "text in the call menu", then an error occurs:
Attached Image



Rep: (74)
* agento007 , Thanks for the information.Fix it soon.
Just prepare a new version.


Post has been editedoksivas - 18.02.17, 10:04
Reason for editing: Bug fixed



Rep: (74)
* agento007 , Already fixed. Just in time for publishing version 1.2.



Rep: (208)
Small mistake:
Attached Image



Rep: (997)
* agento007,
Thank you for helping to develop the project.The error will be fixed in the next version of the program.
Fixed.

Post has been editedandrey_artphoto - 03.02.17, 04:27



Rep: (997)
Patch 5 toglov in the new curtain 6.9.29 in 1 line
Firmware:MIUI8
Screen resolution:FullHD (1080p) (did not check on others).
Author:dutch_
Link to the original:Discussion topics for MIUI v8 (Post dutch_ # 53849370)
Screenshots
Attached Image

Instruction
1. Run MIUIThemesMod.exe and go to the "Patching Themes" tab.
2. Select a theme file.
3. Select this patch file.
4. Press the "Collect the topic" button.
5. Download the finished theme to your phone, remove the .zip extension, import and apply.

Download
Attached file5_Toggles.zip(789 bytes)



Rep: (997)
Change the desktop grid through the menu
Firmware:MIUI8
Screen resolution:FullHD (1080p) (did not check for others)
Author:warlock90000
Link to the original:Discussion topics for MIUI v8 (Post warlock90000 # 56004962)
Screenshots
Attached Image
Attached Image
Attached Image

Instruction
1. Run MIUIThemesMod.exe and go to the "Patching Themes" tab.
2. Select a theme file.
3. Select this patch file.
4. Press the "Collect the topic" button.
5. Download the finished theme to your phone, remove the .zip extension, import and apply.

Download
Attached fileMesh_desktop.zip(339 bytes)



Rep: (74)
Patch to increase avatars in the call log, contacts and SMS
Firmware:MIUI8
Screen resolution:FullHD (1080p).
Author:Wiegraf
A source:link
Description
The patch in the assembled state increases the size of avatars in the call log and SMS to 170 pixels, in SMS - to 150 pixels.
If you need to resize, simply unpack the patch, change the values ​​in the xml files and pack it back.

Screenshots
It makes no sense to lay out. Just enlarged avatars

Instruction
1. Run MIUIThemesMod.exe and go to the "Patching Themes" tab.
2. Select a theme file.
3. Select this patch file.
4. Press the "Collect the topic" button.
5. Download the finished theme to your phone, remove the .zip extension, import and apply.

Download
Attached fileBigContacts.zip(674 bytes)


Post has been editedoksivas - 03.02.17, 20:52
Reason for editing: Added source



Rep: (74)
Square avatars in the call log, contacts and SMS
Firmware:MIUI8
Screen resolution:FullHD (1080p).
Author:Wiegraf
A source:link
Description
If desired, you can increase the avatars. To do this, you can glue the current patch witha patch of increasing avatarswhich, in turn, adjust to the desired size of avatars.

Screenshots
Attached Image

Instruction
1. Run MIUIThemesMod.exe and go to the "Patching Themes" tab.
2. Select a theme file.
3. Select this patch file.
4. Press the "Collect the topic" button.
5. Download the finished theme to your phone, remove the .zip extension, import and apply.

Download
Attached fileSquareContacts.zip(42.4 KB)
- just square avatars
Attached fileSquareContacts + Big.zip(43.04 KB)
- enlarged avatars


Post has been editedoksivas - 03.02.17, 20:54
Reason for editing: Screenshot and source added



Rep: (35)
Great job, really there was one pretty onetheme, which is not patched by operators, the error takes off:
screen error
Attached Image

Where to dig?



Rep: (74)
* sogorelyshev , Good day. Later I will check the topic andfix the error.

Post has been editedoksivas - 06.02.17, 18:18
Reason for editing: Error fixed


Full version    

Help     rules

Time is now: 07/07/20 19:00