How to use the UT zip.
Universal theme tool.
Copied and translated from http://www.htcmania.com/showthread.php?t=258333
Now you can create a consistent theme for any ROM (even for different phones) by Universal Flasher issues.
Latest version: 3.6 (31/03/2012)
(Attached at the end of this first post)
What is Universal Flasher Tool?
It is a complete template that serves to create the simplest possible way a subject flashable from recovery without the need to include or edit files. Apk.
The operation of this template is based on the VillainTheme System for VillainROM ROM.
Link: http://www.villainrom.co.uk/forum/sh...inTheme-System
Credits and thanks to all XDA team who collaborated on the original script: Doctorcete, Stericson, Matt and Seshy
This new method uses the file system implementation metamorph (just have to put files and folders on their respective routes), with the advantage that the system identifies and injected into their applications without the need for external application. The subjects are flashed directly from recovery.
At the end of the post is attached the blank template and a sample issue to start testing.
What are the advantages of this method compared to metamorph or traditional flasheables issues?
Performance of staff
At the end of the post are attached a number of considerations to take into account, but basically works like this:
How to create and edit your own theme
MOD.config file: (new from version 3.0)
It is an editable text file (recommend Notepad + +) where in addition to establishing the name of the MOD to set different parameters of the template.
README.txt:
Includes some additional instructions on the operation and the license. Please read before using the template to create a theme (in English).
Carteta / tools:
Is the folder where you have placed the scripts and binary files necessary to flash the issue and make subsequent restoration. You do not need to touch anything in this folder to edit the theme. From version 3.0 has been deleted because busybox binary is no longer involved in the process.
Folder / META-INF:
System folder which includes the signature file and the script to launch from recovery. It is recommended not to touch.
Folder / MORPH:
This is the template folder where files should be included with the theme. In turn, the folder is divided into two subfolders called / data (for applications theming system NO) and / system (for theming system and applications framework).
In the / MORPH / system / app files are included for applications and / MORPH / system / framework for the framework files.
ATTENTION: NO application theming system in / MORPH / data / app / myapp.apk supposed to change the digital signature, so from that time can not be updated from the market or will you installed in the market (like if it had installed by 'other means' non-statutory ...). Therefore, we do not recommend any downloaded application thematize the market. You are advised that the complaints do not come then ...
For each application you want to thematize must open a new folder called / nombre.apk (eg / Contacts.apk if you want to change the system application Contacts.apk). It is necessary to respect the use of upper / lower case. Within each of these folders you have to respect that there are logical paths within applications, so that the files would have to place them in folders named / res / drawable, res / drawable-hdpi, etc ...
It is the same structure as a metamorph theme, so any item is readily convertible metamorph simply dragging folders.
No need to create any control file or anything like that. The system is responsible for reviewing the folders to see what applications you want tematitar.
Folder / Xtras / system:
in this folder is where, if desired, can include files or complete applications that you wish to flash in conjunction with the subject. For example, sound files, bootanimation, scripts, complete applications, etc ...
Folder / Xtras / data:
in this folder is where, if desired, can not add applications to be installed system during flashing.
Folder / Xtras / sdcard:
in this folder you can add files to make copied to the SD card, as packs of icons, sounds, videos, etc ...
Considerations to take into account
Changelog
Downloads | Downloads | telechargements
Universal Template-Flasher-Tool_v3.6:
Download (dropbox): http://db.tt/vdZ80waC
Special thanks to:
Now you can create a consistent theme for any ROM (even for different phones) by Universal Flasher issues.
Latest version: 3.6 (31/03/2012)
(Attached at the end of this first post)
What is Universal Flasher Tool?
It is a complete template that serves to create the simplest possible way a subject flashable from recovery without the need to include or edit files. Apk.
The operation of this template is based on the VillainTheme System for VillainROM ROM.
Link: http://www.villainrom.co.uk/forum/sh...inTheme-System
Credits and thanks to all XDA team who collaborated on the original script: Doctorcete, Stericson, Matt and Seshy
This new method uses the file system implementation metamorph (just have to put files and folders on their respective routes), with the advantage that the system identifies and injected into their applications without the need for external application. The subjects are flashed directly from recovery.
At the end of the post is attached the blank template and a sample issue to start testing.
What are the advantages of this method compared to metamorph or traditional flasheables issues?
- Do not include. Apk complete, only the files you want to include in the subject.
- A theme created with this template is valid for any rom, even among different phone roms (the tests have been performed with SGS2 and Nexus one).
- Optionally, the template can include complete files if desired, can even be used to install applications not system.
- Does not depend on external applications like metamorph because it flashes directly from recovery.
Performance of staff
At the end of the post are attached a number of considerations to take into account, but basically works like this:
- Identify the applications that want to thematize and checks that exist in the rom. Once the check, the system compares folders that will be introduced as well as files and injects them into the apk as long as the new file exists within the apk. This has been thought well to avoid filling an apk with files that do not belong because they are from another rom or because you made a mistake when typing the name, for example.
- Once injected the files takes a zipalign the apk to optimize RAM usage.
- Alternatively, if the topic includes external files or copy them to install applications on your path.
- At the same time to be using the item, the system will generate a backup of changed files and automatically creates a file. Zip flashable from recovery, in case something goes wrong or do not like changes to previous state.
- Finally, it also generates a small log with the outcome of the whole process is recorded in SD to verify that all changes are properly implemented.
How to create and edit your own theme
- Download the template from the attachment in this post or the link below.
- Recommended Tools: 7zip to include files and browse the file system (you can also use winzip or winrar without problems) and Notepad + + or any other plain text editor to edit the name of the mod.
- Once downloaded, open the template double-click will observe and folders inside a file in the root. Here's that are in each folder and how to create the theme.
MOD.config file: (new from version 3.0)
It is an editable text file (recommend Notepad + +) where in addition to establishing the name of the MOD to set different parameters of the template.
- MOD_VERSION = name (name of the mod to be displayed in the system properties after the name of the rom. Are cautioned not to put a name too long and try to avoid as far as possible in the blanks.
- CLEAN_MORPHING = not (compare the new files before injection into the apk, only enter if the file already exists. Turning the option dramatically reduces speed)
- V4_MORPHING = yes (support to manage compatibility with existing folders-v4 system in some applications).
- DO_BACKUP = yes (enable or disable the creation of the flashable backup from recovery to restore the existing theme).
- LOG_ENABLED = yes (enable or disable the creation of a log file with the results of the process).
- SCREEN_LOG = yes (shows the process of recovery on the screen or not. Important notices are always shown even if the option is disabled).
- default_internal_sdcard = / EMMC
- default_external_sdcard = / sdcard
- mount_system = mount / system
- mount_data = mount / data
README.txt:
Includes some additional instructions on the operation and the license. Please read before using the template to create a theme (in English).
Carteta / tools:
Is the folder where you have placed the scripts and binary files necessary to flash the issue and make subsequent restoration. You do not need to touch anything in this folder to edit the theme. From version 3.0 has been deleted because busybox binary is no longer involved in the process.
Folder / META-INF:
System folder which includes the signature file and the script to launch from recovery. It is recommended not to touch.
Folder / MORPH:
This is the template folder where files should be included with the theme. In turn, the folder is divided into two subfolders called / data (for applications theming system NO) and / system (for theming system and applications framework).
In the / MORPH / system / app files are included for applications and / MORPH / system / framework for the framework files.
ATTENTION: NO application theming system in / MORPH / data / app / myapp.apk supposed to change the digital signature, so from that time can not be updated from the market or will you installed in the market (like if it had installed by 'other means' non-statutory ...). Therefore, we do not recommend any downloaded application thematize the market. You are advised that the complaints do not come then ...
For each application you want to thematize must open a new folder called / nombre.apk (eg / Contacts.apk if you want to change the system application Contacts.apk). It is necessary to respect the use of upper / lower case. Within each of these folders you have to respect that there are logical paths within applications, so that the files would have to place them in folders named / res / drawable, res / drawable-hdpi, etc ...
It is the same structure as a metamorph theme, so any item is readily convertible metamorph simply dragging folders.
No need to create any control file or anything like that. The system is responsible for reviewing the folders to see what applications you want tematitar.
Folder / Xtras / system:
in this folder is where, if desired, can include files or complete applications that you wish to flash in conjunction with the subject. For example, sound files, bootanimation, scripts, complete applications, etc ...
Folder / Xtras / data:
in this folder is where, if desired, can not add applications to be installed system during flashing.
Folder / Xtras / sdcard:
in this folder you can add files to make copied to the SD card, as packs of icons, sounds, videos, etc ...
Considerations to take into account
- Always respect the use of uppercase / lowercase letters in the names of files or folders and logical paths located within the apps.
- With this system the themes may be universal, although depending on the type of files a user input may cease to be:
If only image files are included the theme is compatible with any rom from any phone.
If you also are included. Xml files, you may only work in one rom, but can still work on future updates of it.
If resources are included for translations (resources.arsc) the issue would only be valid for a particular rom. - The. Zip with the issue is not necessary for you to sign flashearse, and is valid for CW-Recovery and Recorevy-RA. If you do not have to remember signing off signature checking before flashing.
Changelog
- v.1.0> hello world
- v.1.1> "dirty fix" Detecting path for internal sdcard in CWM4 | | check free space tart Before the process to Prevent errors
- v.1.2> minor fixes backup
- v.1.3> permissions fixes in backup
- v.1.4> redone "CWM4 compatibility" and sdcard path
- v.2.0> new backup system in. tar format for keep permissions
- v.2.1> minor bug fixes with Dalvik-cache, mod version & logs
- v.2.2> minor bug fixes with sdcard path and check for free space available Before Heming
- v.2.3> Minor changes and added credits
- V.2.4> Xtras is now in first place Applied | | fixed working path in restore sdcard
- v.2.5> minor bug fixes
- v.3.0> Now the whole process Takes place in RAM instead of sdcard | | Added mount.sh and MOD.config files | | Working with binary zip 7z instead
- v.3.1> New bug management system | | Adding exceptions to when to exit Forced We have problems mounting partitions, space standards required sdcards | | > Added mount command for / utmp in MOD.config | | resized full utmp | | Redone backup, now works in utmp instead sdcard too | | > Minor bugfixes in Extreme Conditions
- v.3.2> Fixed the "update binary" in the restore to solve problems in restoring CyanogenMods roms (Thanks to shayne77)
- V.3.3> Now it's possible to add in the Same folder and files for stock roms CyanogenMod by adding the "CMOD #" prefix to the cyano files / resources > This feature works in the morph and xtras process and must be enabled in the MOD.config file (check it for more details and examples)
- v.3.4> Minor fixes, code optimizations and mergers in
- v.3.5> The backup now Takes the Same Used-binary update the zip, It's needed When We Have Changed the update-binary for a specific terminal v.3.6> added an option in MOD.config for Dalvik-cache disable wipe is not neccesary if | | flush cache at init | | added sync process > Fixed the problem Calculating the free mem available in Some kernel ("zip is too big" prompts, etc, ...) | | utmp resized to 90% for safety.
Downloads | Downloads | telechargements
Universal Template-Flasher-Tool_v3.6:
Download (dropbox): http://db.tt/vdZ80waC
Special thanks to:
- JRsoft
- "Villain Team" by the idea
- "Stericson" for inventing the system "Metamorph"
- "Core Utilities" for employees binaries
- "Blades" for the libraries and binaries 7z
- Testers, especially "SuperCocoV6.5" "lexullde" "shayne77" and "vvaleta"
- "Doctorcete" for help with translations