لطفا مراحل رو کاملا به ترتیب و با دقت انجام بدید تا به مشکل نخورید
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.