Tomek Kondrat · Jan 11, 2014 at 10:30 am

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!

Tomek Kondrat

eagleeyetom is an editor on XDA-Developers, the largest community for Android users. Tomek is the only Polish moderator on XDA Developers. He graduated from the University of Warmia and Mazury in Olsztyn with a degree in journalism and public communication in 2013. He's a big fan of football (not hand egg), post rock and cooking. A total addict of mobile technology, especially Android. Currently flashes dozens of custom ROMs on his OPO. View eagleeyetom's posts and articles here.
Mario Tomás Serrafero · May 26, 2015 at 05:42 pm · 2 comments

Nexus & Cookies: A More Focused Direction?

It is that time of the year again, and we are approaching the day where Android fans all over the world gather to watch the livestream of Google’s I/O conference. Among the expected announcements lay wearables, Android Auto, hints at VR and  the Internet of Things and, of course, a new version of Android. An early glimpse of a supposed “Android M” was caught on the official website before being nuked out of existence, and thus the speculation began.  ...

XDA NEWS
Faiz Malkani · May 26, 2015 at 03:32 pm · 3 comments

LG G4 US Carrier Release Dates

The LG G4 was announced on April 29th with its Snapdragon 808 SoC, a welcomed change from its higher-end cousin, the overheating 810. Packing 3GB of RAM, 32GB of storage, a 3000mAh battery, and an impressive 16MP camera, the G4 is widely considered to be one of the best flagships of 2015. After almost a month of release speculation, the major US carriers have finally released some information regarding the device's availability, and here's what we know so far:  ...

XDA NEWS
Faiz Malkani · May 26, 2015 at 02:59 pm · 2 comments

Microsoft Reaches Pre-Install Agreement With New OEMs

As of late, Microsoft has been making a subtle but widespread play into the Android ecosystem, with small apps like Bing Torque being the foreshadowing of the larger ones to come, and as it stands, Skype and the three popular office apps - Powerpoint, Excel and Word - are thriving on the Play Store following their public release earlier this year, prior to which the Office suite remained in beta. Having its top apps on Android was just a stepping stone...

XDA NEWS
Share This