Mike Szczys · May 23, 2013 at 02:00 pm

XDA University: Crafting Recovery-Flashable Packages

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 these files. In fact, we’ve already covered at least one of them. But there’s really no substitute for knowing exactly what goes into one. XDA Senior Member Denkantor can explain it all, and decided to make an XDA University guide on package for flashing from recovery. Head on over to his original thread to see what he’s up to.

It doesn’t take much to make an update.zip file. Denkantor likes to use 7zip. And if you’re on Windows, he recommends Notepad++. You’ll also need the file(s) you want to flash. The Edify scripting language is what a custom recovery is looking for. You’ll be guided through the basics, but learning more is easy since you can look at any flashable file as an example.


_________
Want something on the XDA Portal? Send us a tip!

Mike Szczys

szczys is an editor on XDA-Developers, the largest community for Android users. Mike Szczys is a professional musician but spends all his free time working with hobby electronics. As Contributing Editor for Hackaday.com he became interested in Android as some of the early hardware hacks started popping up on the Internet. What followed was a gradually rising addiction to all things Android. View szczys's posts and articles here.
Eric Hulse · Jul 7, 2015 at 05:59 pm · 2 comments

T-Mobile Galaxy S6 Battery Woes

I've been using a T-Mobile Galaxy S6 since the device launched with T-mobile's service. However, over this past holiday weekend I knew I would be in an area without reliable T-Mobile service. So, I opened up T-Mobile's default "Device Unlock" app , pressed unlock, and placed my AT&T SIM card in the device. Everything seemed to be working fine: strong signal, great LTE, good voice calls - until day 3. On Sunday, my Galaxy S6 felt very hot to the touch and...

XDA NEWS
Brian Young · Jul 7, 2015 at 12:26 pm · 3 comments

Earthquake Early Warning in Your Pocket

Probably all of us reading this have a smartphone in our pocket. For many of us, the smartphone has become our primary method of reading and writing e-mails, messaging, and browsing the web. Though proclamations that "smartphones have replaced the personal computer" typically fall on deaf ears, the statements aren't without merit. Indeed, smartphones have "replaced"—or more accurately, "displaced"—PC's in several areas that they have traditionally been dominant. But how many of you look into your pocket, or on your desk, and...

XDA NEWS
Aamir Siddiqui · Jul 7, 2015 at 10:39 am · 2 comments

Sony: The OEM You Want To Save

In our recent Discuss article, we asked you readers on which OEM you would like to help. While the answers we received were varied, a lot of these responses and top comments stood out for helping one OEM: Sony. Some excerpts from our discussion are as below: And many more follow suit. Needless to say, many believe that Sony Mobile as a company is great and is worth saving. And all of these would be happy to hear that Sony will...

XDA NEWS
Share This