How to Fix a Broken ROM Flash in Certain KitKat ROMs

How to Fix a Broken ROM Flash in Certain KitKat ROMs

We may earn a commission for purchases made using our links.

Alongside the release of Android 4.4 KitKat, Google changed a quite a number of technical details. One of these included a completely different method of setting up permissions in the updater-script. Sound tricky? It should not, as few months ago we wrote about updater-script and how to use its various commands.

In short, the previously used set_perms method was deprecated and replaced by set_metadata. Unfortunately, most of available recoveries didn’t allow users to flash these packages properly, and this has resulted in the following error message: set_metadata_recursive: some changes failed

A solution to that error was quickly implemented in ClockworkMod recovery by XDA Recognized Developer Koush and TeamWin Recovery Project by XDA Senior Recognized Developer Dees_Troy. But sometimes, even the newest recovery versions are still unable to flash KitKat-based ROMs, yielding the aforementioned error.

XDA Senior Member daniel_hk did some research and discovered that replacing the update-binary with a patched one fixes the flashing procedure, allowing everyone to now enjoy these previously difficult to install Android 4.4 builds. He wrote a guide with step-by-step instructions how to fix your update.zip files. The process is very simple, and is much easier than replacing lines in your updater-script.

If you’re experiencing errors while flashing KitKat builds, head over to the original thread and learn how to fix them.