mavrikmeercat
Android Enthusiast
It seems we need a CWM flashable.zip for the Transform Ultra so, I decided to make a thread so we can all bring info to one place in order to give the whole community a place to learn. I’ve done quite a bit of research on this and have found bits a pieces on how this works. Please post back whatever you find? Links, files, info, or whatever..
Note: I am not just giving info on this. I am also seeking info. I am attempting to request a community wide effort to gather info so it's available for everyone so please help us out and post some useful info, testing, and discussion on the subject. I will update everything relevant or proven in the OP as it becomes available and give credit where it's due.
Here is what I’ve got so far…
CWM.zip FILE STRUCTURE:
The System and Data Folders must go in the root of the ROM_name.zip and are pretty self-explanatory as to their target on the device. /system and /data.
The META.INF folder is where CWM looks to validate if the .zip is in the proper format, if it’s signed, and how to push/write the above files to their intended places on the device through a binary-script language written for CWM.
Updater-script, located in META.INF/com/google/android is not to be confused with update-script. There are two different versions of this language. The original binary called Amend, uses the update-script language and was created for Clockworkmod versions prior to version 3. The upgraded binary called Edify, uses the updater-script language. It is based on the original binary but is more advanced and allows for more options when flashing the .zip. Edify was created for Clockworkmod versions 3 and above.
I have found a few useful guides on the updater-script commands:
http://www.synfulgeek.com/main/index.php/articles/76-scratchpad-documenting-edify-commands-for-android-updater-scritps-based-off-of-kernel-source-code
[TUT]Edify Installation Script Syntax's - xda-developers
http://www.freeyourandroid.com/guide/introdution_to_edify
If you’re running Windows, you cannot use notepad or wordpad to edit/create the scripts. They won’t work. I’m sure there are lots of others that do this but it seems the most common one is notepad++
If you are running Ubuntu, then the built-in gedit will do perfectly…
CERT.RSA, CERT.SF, and MANIFEST.MF are files related to security and test keys for the validation of the CWM.zip and are created when you create the .zip and go through the signing process. It’s best just to leave them alone unless you want to edit that for some more advanced reason. I’m not going to cover that in this thread.
I did find a pretty useful tool that lets you create the .zip by browsing for files and directories to add to the CWM.zips System and Data folders, lets you add your custom updater-script, and lets you specify what type of binary you would like to use and creates the update-binary for you. Once you have created the zip it will then sign the zip for you.
Thread:
http://forum.xda-developers.com/showthread.php?t=1274736
Windows Installer:
http://dl.dropbox.com/u/32209684/UpdatezipCreator/UpdatezipCreator_setup.exe
Be sure to thank JordanElliot for creating this
Note: I am not just giving info on this. I am also seeking info. I am attempting to request a community wide effort to gather info so it's available for everyone so please help us out and post some useful info, testing, and discussion on the subject. I will update everything relevant or proven in the OP as it becomes available and give credit where it's due.
Here is what I’ve got so far…
CWM.zip FILE STRUCTURE:
The System and Data Folders must go in the root of the ROM_name.zip and are pretty self-explanatory as to their target on the device. /system and /data.
The META.INF folder is where CWM looks to validate if the .zip is in the proper format, if it’s signed, and how to push/write the above files to their intended places on the device through a binary-script language written for CWM.
Updater-script, located in META.INF/com/google/android is not to be confused with update-script. There are two different versions of this language. The original binary called Amend, uses the update-script language and was created for Clockworkmod versions prior to version 3. The upgraded binary called Edify, uses the updater-script language. It is based on the original binary but is more advanced and allows for more options when flashing the .zip. Edify was created for Clockworkmod versions 3 and above.
I have found a few useful guides on the updater-script commands:
http://www.synfulgeek.com/main/index.php/articles/76-scratchpad-documenting-edify-commands-for-android-updater-scritps-based-off-of-kernel-source-code
[TUT]Edify Installation Script Syntax's - xda-developers
http://www.freeyourandroid.com/guide/introdution_to_edify
If you’re running Windows, you cannot use notepad or wordpad to edit/create the scripts. They won’t work. I’m sure there are lots of others that do this but it seems the most common one is notepad++
If you are running Ubuntu, then the built-in gedit will do perfectly…
CERT.RSA, CERT.SF, and MANIFEST.MF are files related to security and test keys for the validation of the CWM.zip and are created when you create the .zip and go through the signing process. It’s best just to leave them alone unless you want to edit that for some more advanced reason. I’m not going to cover that in this thread.
I did find a pretty useful tool that lets you create the .zip by browsing for files and directories to add to the CWM.zips System and Data folders, lets you add your custom updater-script, and lets you specify what type of binary you would like to use and creates the update-binary for you. Once you have created the zip it will then sign the zip for you.
Thread:
http://forum.xda-developers.com/showthread.php?t=1274736
Windows Installer:
http://dl.dropbox.com/u/32209684/UpdatezipCreator/UpdatezipCreator_setup.exe
Be sure to thank JordanElliot for creating this

