• 5,812,122
    REGISTERED
  • 43,058
    ONLINE NOW

Find Edify Syntax Errors with EdiSense Code Editor

Find Edify Syntax Errors with EdiSense Code Editor

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 by XDA Senior Member yashade2001 should interest you.

Yashade2001 created a Windows-only application that will help greatly with finding syntax errors. Depending of the type of code, EdiSense uses different colors. So for example, comments are green and various commands are dark blue. EdiSense can save you a lot of time and find an error within few seconds.

Right now, this tool is available only for Windows. Hopefully, the developer will port it to other operating systems as well. If you are modifying your updater-script, you should definitely visit the original thread and give EdiSense a shot.

_________
Want something on the XDA Portal? Send us a tip! -- Join us for xda:devcon 2014!
Advertisment
Advertisement

XDA TV: Most Recent Video

Buy/Sell on Swappa

  • Nexus 5 (Unlocked) buy | sell
  • Galaxy Note 3 (T-Mobile) buy | sell
  • HTC One M7 (Verizon) buy | sell
  • Galaxy S 5 (Unlocked) buy | sell
  • Nexus 7 2013 buy | sell
  • Swappa is the official marketplace of XDA