How to Port Custom Recovery?

Posted by Siddhant on Monday, April 13, 2015

Hi Guys,

Today we are gonna discuss about how to port Custom recoveries in an Android device. So, let's start.

What is a custom recovery?

A custom recovery is a third-party recovery tool environment. Flashing (aka installing) this recovery environment onto your device replaces the default stock recovery environment. This is a bit like flashing a Custom ROMs like CyanogenMod — but, instead of replacing your device’s Android operating system, it replaces the recovery environment.

Why to install a custom recovery?

A custom recovery environment will do the same things as the stock Android recovery. However, it will also have additional features. Custom recoveries also have the ability to create and restore device backups. Custom recoveries allow you to install Custom ROMs. ClockworkMod even offers a “ROM Manager” app that allows you to access many of these features from a running Android system — this app requires a custom recovery installed to function properly.

How to port custom recovery?

First of all your Android device should be rooted to do this. To know if your device is rooted or not, download Root Checker from the Google Play Store. To root your android device, you may prefer the Ways of Rooting post.

  • Download TWRP/COT/PhilZ or CWM on your PC from any Mediatek device with same screen resolutions.
  • Make sure you have your stock recovery. You can get it with a ReadBack or MTK Droid Root and Tools backup.
  • Now download MTK Boot/Recovery image unpack tool from here.
  • Extract this tool in one folder.
  • Put the images [carliv recovery and stock] in that folder which has extracted tools.
  • Now drag and drop stock recovery to MTK_unpack.bat file.
  • Same with the case of Custom Recovery.
  • Now open the folder of stock recovery folder and open a folder rmdsk in it.
  • Copy these files: meta_init.project.rc meta_init.rc ueventd.rc meta_init.modem.rc ueventd.goldfish.rc fstab
  • Open etc folder and copy recovery.fstab file too.
  • Now replace these files in the Custom recovery with the same directories.
  • Now go back and copy these files from the main folder in which you have your stock recovery's extracted rmdsk and kernel files: kernel kernel_header
  • Replace these files in the Custom Recovery too.
  • Now go back to the main folder where you extracted the tool and .IMGs files.
  • Drag and drop the CTR folder to MTK_pack.bat file.
  • You're done! Now try flashing!

That's all folks.

Image source - theandroidsoul.com Author - Siddhant Baranwal Co - Author - Swapnil Jha & Abdul Rehman

Comments

Comments imported from the original Tech Globule site. New comments are not enabled.

How to Flash a Recovery with PhilZ Touch – TechGlobule

[…] we are going to tell you how to flash a custom recovery in any Android device with Philz Touch. Porting a Custom recovery is just a step ahead of this. It helps in getting more control on your Android […]

How to Reset a device: Advanced User – TechGlobule

[…] Recovery is a limited boot (startup) mode, independent of your normal Android operating system. In a recovery, you can back up, restore, install packages, wipe data, and do some troubleshooting of your Android device . The set of features available depends on the specific recovery installed. Generally, stock recoveries (which come pre-installed on your device) are the most limited. They typically only allow manufacturer updates to be performed and remain mostly invisible to the end-user. Rooted Android devices can change their Recovery. […]

How to Un-Brick your Device? – TechGlobule

[…] smart phone can get bricked while Rooting it, or flashing a Custom ROM, or porting a Custom Recovery in it. It is a problem which can be faced by any person by accidental deletion […]