Assistant
REPLY |
Assistant program for editing MIUI themes |
Message#1 31.01.17, 18:03 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 3170 Check in: 04.08.12 Xiaomi Redmi 5 Plus 3/32 Reputation: 977 | ���������-�������� ��� �������������� ��� MIUI downloadVersion: 1.7.2 Last update of the program in the header:03.03.2019 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:
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 buttonunder the messages to which you want to add links. Attached images Post has been editedwasherron - 03.03.19, 16:36 Reason for editing: Added home page + new version |
Message#42 12.02.17, 13:05 | |||||||
I am a Sinner on this Earth [offline] Group: Friendssavagemessiahzine.com Messages 925 Check in: 01.10.10 Xiaomi Mi Mix 2S 6/64 Reputation: 108 | if at the first patching of the topic you do not specify when requesting the Author, then the repeated patching ends with an error while patching other themes works P.S. I will try to deploy it (look at the screenshots of the file name of the theme and the name of the patch). When patching any other topic with a patch from the header, a window withTheme properties After clickingSave topiceverythingOK At repeated patching the sentence appears.Overwrite Again the window withTheme properties againOK But, with the topic that I indicated in a personal, for the first time in the Properties of the topic I did not specify the Author and Designer, left the fields empty. And now, when re-patching this topic is always an error the theme itself I-Eupho-1.0.0.0.mtz.zip(2.18 MB) Post has been editedtouch5800 - 13.02.17, 21:55 -------------------- DEVICE:Nokia 3510>Nokia E50>Nokia 5800>HTC Desire SLCD>HTC One X>Nexus 5>Xiaomi RN3Pro>Xiaomi Mi5S>Xiaomi Mi Mix2S DEVICE:Nokia E51>HTC Legend>SGS Captivate 16G USA>Sony Xperia ZL>Xiaomi Mi5>Xiaomi Redmi Note 5 Pro | ||||||
Message#43 12.02.17, 13:13 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 254 Check in: 10.05.15 Xiaomi Redmi Pro Exclusive Reputation: 73 | touch5800, Thanks for the information. Post has been editedoksivas - 13.02.17, 23:08 Reason for editing: Error fixed. -------------------- |
Message#44 12.02.17, 14:40 | |
"E = MC2" [offline] Group: Friendssavagemessiahzine.com Messages 3388 Check in: 27.09.11 Reputation: 530 | oksivas, I would like to thank you and the team for the useful program (+ left). From your wishes, is it possible to add a function to create a patch via TWRP for the default theme, with a selection of already existing patches (a tick is allowed from the header-Ready Patches order). -------------------- |
Message#45 12.02.17, 14:43 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 254 Check in: 10.05.15 Xiaomi Redmi Pro Exclusive Reputation: 73 | |
Message#46 12.02.17, 14:44 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 3170 Check in: 04.08.12 Xiaomi Redmi 5 Plus 3/32 Reputation: 977 | -------------------- |
Message#47 12.02.17, 14:45 | |
"E = MC2" [offline] Group: Friendssavagemessiahzine.com Messages 3388 Check in: 27.09.11 Reputation: 530 | |
Message#48 12.02.17, 14:52 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 3170 Check in: 04.08.12 Xiaomi Redmi 5 Plus 3/32 Reputation: 977 | Basically, if you resist, you can write 100,500 patches that change each element of the theme in different variations, and the user can then combine the elements he liked (desktop background, text color under each element, its size and location, etc.) into its own topic. -------------------- |
Message#49 12.02.17, 15:09 | |
Old resident [offline] Group: Friendssavagemessiahzine.com Messages 1185 Check in: 09.03.12 Reputation: 237 | |
Message#50 12.02.17, 15:19 | |
"E = MC2" [offline] Group: Friendssavagemessiahzine.com Messages 3388 Check in: 27.09.11 Reputation: 530 | What it is about, it is clear that once and so it is going well, until the Chinese replace what is the thread. But there are many users and the "Wishlist" are different for everyone, and aaptas an ABC book, but someone does not even know what a miracle it is. But for any thanks to the guys for their work !!! -------------------- |
Message#51 12.02.17, 15:27 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 3170 Check in: 04.08.12 Xiaomi Redmi 5 Plus 3/32 Reputation: 977 | Topcap-nn As correctly noticed, it makes no sense to embed patches into the program, especially given the different screen resolutions and aspect ratios. Now the program allows any user to write their patches, and not limited to the built-in. Posted 12/02/2017 at 15:32: , and someone runs the program directly from the archiver and does not understand why the program does not work. : D -------------------- |
Message#52 13.02.17, 21:59 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 254 Check in: 10.05.15 Xiaomi Redmi Pro Exclusive Reputation: 73 | Patch to show the date in the status bar next to the clock Firmware:MIUI8 Screen Resolution: Checked onFullHD(1080p), but should be independent of resolution. Author:oksivas Sources:promidrol, matheus Description Displays in the notification panel, next to the clock also the date. If someone does not like the current implementation, then it is quite possible to change this in one’s own way. For this: 1. Unpack the patch using MIUIThemesMod.exe (the Unpacking and Packing tab). 2. Open text-file framework-miui-res.unpack \ theme_values.xml 3. Inside tags<string>rule patterns for themselves. You need to understand that the "fmt_time_12hour_minute_pm" template will be used if you have a 12-hour time format set, and the "fmt_time_24hour_minute" template - if a 24-hour format is configured. 4. Pack the patch back using MIUIThemesMod exe. The template uses the following parameters: - EE - day of the week - dd - day - MM - month number - yy - year in two digits - HH - time in 24-hour format - hh - time in 12-hour format - mm - minutes. - aa - the designation AM (before noon) and PM (after noon). The template is not used, but other options are available. A description of some of them can be found.here. Other characters (spaces, ":", "|") are explicitly substituted. 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 DateTimeStatusBar.zip(482 bytes) Post has been editedoksivas - 14.02.17, 00:41 Reason for editing: Description improved -------------------- |
Message#53 14.02.17, 00:29 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 3170 Check in: 04.08.12 Xiaomi Redmi 5 Plus 3/32 Reputation: 977 | Version of the program 1.4.3. Changes: - Added the ability to not put invalid files in the subject when packing; - Fixed a bug that occurs in the program when reading an incorrect description.xml file. -------------------- |
Message#54 14.02.17, 11:52 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 149 Check in: 19.08.10 Xiaomi Mi Max 3 4/64 Reputation: 60 | Thank you for your work, everything is clear and accessible. I changed the operator’s logos, buttons. I liked everything. I still didn’t understand the topics, but it’s very interesting. I have R4P (multi-firmware stable). How can I not make a color battery, can this be done with the help of your program or not? I tried this instructionXiaomi Redmi 3/3 Pro - Modification and decorations (Post AssGuard # 50363135)something that either does not work. : thank_you: -------------------- MiuiPro!No comPromisses! |
Message#55 14.02.17, 13:13 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 3170 Check in: 04.08.12 Xiaomi Redmi 5 Plus 3/32 Reputation: 977 | life :), With the help of our program everything should work out. You need to download the mod for recovery and apply to your favorite topic. If you need to make a mod for installation through recovery in the default theme, then you need to create a copy of the archive downloaded from the Internet, rename it, and through the program make a union of the mod downloaded from the Internet and renamed, i.e. eat oneself with oneself. Ready patch should be suitable for your phone. -------------------- |
Message#56 14.02.17, 16:28 | |
Believe, anything is possible! [offline] Group: Friendssavagemessiahzine.com Messages 1521 Check in: 21.11.11 Xiaomi Redmi Note 5 Pro Reputation: 166 | oksivas,But could you do like this the date and time with seconds, well, and remove the "graphic" battery as in the screenshot? And yes, it would not hurt to increase everything. Thank you. Post has been editedDoka @ - 14.02.17, 16:30 -------------------- |
Message#57 14.02.17, 16:55 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 3170 Check in: 04.08.12 Xiaomi Redmi 5 Plus 3/32 Reputation: 977 | Doka @,
-------------------- |
Message#58 14.02.17, 17:22 | |
Old resident [online] Group: Friendssavagemessiahzine.com Messages 710 Check in: 11.11.14 Xiaomi Redmi Note 6 Pro 4/64 Reputation: 137 | |
Message#59 14.02.17, 17:38 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 3170 Check in: 04.08.12 Xiaomi Redmi 5 Plus 3/32 Reputation: 977 | phenix1313, I pointed out that the patch for FullHD. My parameters are set to size17for watch and battery(the default for my phone is 11.5 for hours and 10.5 for battery) . Unpack the patch, change the value to your own, pack it and use it. Post has been editedandrey_artphoto - 14.02.17, 17:40 -------------------- |
Message#60 14.02.17, 19:12 | |
Believe, anything is possible! [offline] Group: Friendssavagemessiahzine.com Messages 1521 Check in: 21.11.11 Xiaomi Redmi Note 5 Pro Reputation: 166 | [email protected], 16:55 You can remove the battery through Settings / Notifications / Battery Indicator Style / Bar in the status bar. phenix1313 Friendssavagemessiahzine.com 25Today, 17:22 -------------------- |
Message#61 14.02.17, 19:35 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 149 Check in: 19.08.10 Xiaomi Mi Max 3 4/64 Reputation: 60 | [email protected], 13:13 Ready patch should be suitable for your phone. Happened! : Thank_you: Two files connected and earned. Only the battery became true. The file itself is>batareyka_sety.zip(616.93 KB) Backup is your business! Used on the firmware MULTIROM 8.1.3.0 (should fit any). Installation via TWRP. Post has been editedlife :) - 14.02.17, 19:47 -------------------- MiuiPro!No comPromisses! |
mobile version | Now: 05/18/19, 11:28 |