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
3 Comments
Comments are closed.