[NOTICE] ClockworkMod Recovery 3.0+ and update-script
Hi everyone, I understand Clockwork 3.0 has caused some issues with flashing zips and I wanted to make a post that explains why.
To give you back history, there are currently two ways to create "update.zip" scripts. The first one is "update-script", also known as Amend. It was the first version of the scripting language created by Google, and was used in Android 1.0 and Cupcake (1.5). However, Amend has two serious design flaws:
Function arguments can not span more than 1 word.
The scripting language is compiled into the recovery causing image bloat and inflexibility.
Because of this reason Google REMOVED Amend support in Donut and beyond
, and instead switched to update-binary and updater-script, which is also known as Edify.
However, Amon Ra and I kept Amend support in, to help ease the transition off its usage in ROM creation. CyanogenMod itself has already switched to Edify 9 months ago.
With the recent Gingerbread source code drop and the upcoming CM7 release, I needed to merge the latest changes from Google's Gingerbread recovery into ClockworkMod recovery. This meant finally removing Amend support, and switching fully to Edify. If you flash ClockworkMod 3.0 or higher, it will no longer install Amend (update-script) zips. Version 188.8.131.52 will show you the following message:
Amend scripting (update-script) is no longer supported.
Amend scripting was deprecated by Google in Android 1.5.
It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recovery.
Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
Please switch to using Edify, as it will be a requirement for CM7 Gingerbread based ROMs.
I gave notice about this a month ago on Twitter.
If you must absolutely flash an older Amend zip, you can always flash an older recovery or AmonRa or the like and do it manually.
Here's a 2.6 version (supports both script versions) and backs up wimax:
PLEASE TEST THIS FOR ME!
Please note, that once CM7 is released, Clockwork 3.0 WILL BE A REQUIREMENT.