Custom recoveries are a big part of what happens around here at XDA. Having one relieves you of the manual work that you would otherwise have to do when flashing mods, themes, ROMs, kernels, and the like. Custom recoveries also serve as an important safety net for when things go wrong, since you can easily reflash your ROM or restore a backup. So when you’re cooking up a fresh custom ROM from scratch, it’s important to make sure that your users have a custom ROM to flash from. If not, you should consider integrating one into the building process so that they don’t have to install one separately.
If you’re thinking of building your own custom ROM for a Sony Xperia device and are interested in how to go about integrating a custom recovery, XDA Recognized Themer and Contributor DaRk-L0rD has written a great tutorial that you may want to check out. You must be using Android Kitchen to build your ROM, know how to edit an updater-script using Notepad++, and have the ‘working’ folder of your ROM and flashable ZIP package of the custom recovery of your choice. After laying down these requirements, DaRk-LorD dives straight into the steps of the process, with plenty of screenshots and examples of code to aid you along the way.
So before you head off creating your own custom ROM, check out the guide thread and consider integrating a custom recovery into your Xperia device ROM._________
Join us for xda:devcon 2014. For a limited time, XDA Portal readers get 20% off registration!