Want to Port TWRP for MediaTek 64 bit MT67XX devices? Here’s the best way! Check out this post for more!
With this method, you can port TWRP recovery for all latest devices of MT67XX which includes MT6735, MT6735M, MT6737, MT6737M, MT6752, MT6753, MT6755/helio P10, Helio x10, Helio p20, helio X20, helio x25, MT6797, MT6795. Here we will show you the easy way to do this in a step by step manner. Just make sure that your SoC is mentioned here and then you can follow the guide below on How to Port TWRP for MediaTek 64 bit MT67XX.
What is ROM Porting?
The porting of ROM is modifying the ROM of a device to work for another device. You will need the stock recovery and the recovery which you want to port to for this. In this case, we are going to modify TWRP recovery for MediaTeck chipset devices. It’s just like using ‘A’ device ROM on ‘B’ device. For example, using Google Pixel UI ROM on a Samsung Galaxy S8.
Adapting a Custom or Stock ROM of one device to work on a custom ROM to another is really simple with some tweaks. We will explain the specifics in the step by step guide for any MTK devices. Earlier we shared on Changing Boot Logo on MTK devices and now on Porting any MTK devices.
So without wasting any more time, Let’s get started on How to Port TWRP for MediaTek 64 bit MT67XX!
- Your Stock and Port Recovery
- Image Kitchen tool
Steps to Port TWRP for MediaTek 64 bit MT67XX devices
- Download the Image Kitchen for Android from the link above and unzip it.
- Open carliv.bat batch file.
- Now, copy your stock ROM’s recovery.img and paste it in the “recovery-resources” folder that you will find inside the unzipped folder.
- In the Carliv Image Kitchen window, type in R and press enter. Then type 1 and enter again.
- Type 1 to unpack the image file.
- You will get the message that says “Your image is unpacked in recovery folder”.
- Now open the recovery folder in the Carliv unzipped folder. There you will find a folder named “ramdisk” and 10 other files.
- Now create a new folder somewhere and name it “stock”. Copy and paste all the contents from the “recovery” folder (ramdisk folder and all 10 other files).
- Then, delete the recovery.img file that you left on the “recovery-resources” folder before.
- Also delete all the contents in “recovery” folder too.
- Now, copy and paste the custom recovery image file, the TWRP that you want to port into the “recovery-resources” folder.
- Repeat the same steps as before to create the files on “recovery” folder and create a new folder named “port”. Transfer all the contents of “recovery” folder to the port folder that you created.
- Delete the files on “recovery” folder but DO NOT delete the custom recovery image in the “recovery-resources” folder.
- Now open both the stock and port folders and keep them on your desktop side by side.
- Copy the “recovery.img-kernel” and “recovery.img-kernel_offset” from the stock folder and paste it on port folder. Overwrite it to replace existing files with the same name.
- Then open the “ramdisk” folder on both stock and port folders.
- Copy and paste/replace these files from stock’s ramdisk folder to port’s ramdisk folder: fstab, meta_init.modem.rc, meta_init.project.rc, meta_init.rc and ueventd.rc.
- Now copy all the files and folder on “port” folder and paste it into the “recovery” folder in the unzipped Carliv folder.
- In the Carliv Image Kitchen window, type 2 and press enter.
- A message saying the image file was repacked will appear. You can view it on the output folder named “output”. This is your new TWRP ported image file.
- Copy the newly made image file from the “output” folder and paste it in a new folder. Rename it as you want.
- Copy the scatter file of your stock ROM and paste it in the same folder as the ported TWRP image file you just made.
- Now, open the SP Flash Tool and flash it.
That’s it. Hope you liked our article on how to Port TWRP for MediaTek 64 bit MT67XX devices. Drop a comment below if you need any assistance. Stay tuned for more updates 😉