POSTS TAGGED: Edify

Easily Create an Updater-Script using a Windows-Based Tool

ASC_Build

To install any ROM through a custom recovery, you need to have an updater-script. It’s basically a few lines of commands that tells your Android recovery what to do. These files are also widely used with Aroma Installer and other scripting engines, but of course everyone knows this already. However, a problem arises when you need to create your own updater-script from scratch, as it’s not always generated during the build process.

For beginners, the updater-script language (Edify) might be like black magic. Thankfully, there are some tools that can help out with basic commands such as a GUI-based utility by XDA Forum Member Octanium91 (posted thanks to courtesy of XDA Forum M. . . READ ON »

1 comment Read On

Check Edify Syntax on Every OS with Geany Plugin

Trust_Me____I__m_a_DOCTOR_by_LeeRoberts

Android uses the Edify scripting language to apply updates in its recovery. Edify is the second generation of script used by Google, which replaced Amend few alongside Android 1.5 Cupcake update. You can read more about history of Android here.

Edify is used in updater-scripts, and it essentially consists of small text files with a set of commands for the recovery with instructions on how to handle the files in zip. Building Android from source generates all necessary files, but not every ROM is built from source. Because of this, syntax errors in Edify are something really common. A couple of days ago we talked about a Windows-only tool to check Edify scripts. But Windows is not the best environment to build A. . . READ ON »

no comments Read On

Find Edify Syntax Errors with EdiSense Code Editor

xElDJq

If you’ve ever flashed a custom ROM, you’ve probably noticed that your custom recovery reads some sort of script to format your system partition, make symlinks, and so on. This set of commands is known as Edify. Usually there are two parts of Edify: updater-script, which is a text file with instructions for recovery; and updater-binary, which loads said script. Open source projects generate the updater-script directly from source, but not every ROM is built from source.

It’s extremely easy to break the syntax of Edify script. One missing semicolon can interrupt the flash and gave a nasty error. If you don’t read the recovery log, finding a mistake is problematic. This is why a tool b. . . READ ON »

3 comments Read On

XDA University: Crafting Recovery-Flashable Packages

xda-university-520x340

Those of us who use Linux on a day to day basis don’t think twice about sinking our fingers into the system files that govern how our devices perform. For instance, I use an LG L9 and was quite comfortable playing around with the way my SD card was being mounted in order to improve performance. For those who aren’t at home with the way the OS works, adding a startup script with a few lines of code might as well be witchcraft. That’s why flashable zip files are so handy for simple tasks and indispensable for complex projects. If you do it right, all the end-user needs do is copy a file to his SD card and reboot into recovery to flash the package.

There are some automatic tools out there that can help create th. . . READ ON »

6 comments Read On