[Guide]Port/Make Custom Recovery For Any Spreadtrum OR Mediatek Devices

Parthib

Senior Member
Aug 27, 2016
163
63
0


Code:
#include <impt_notice.h>
#include <disclaimer.h>
/*
 * Your warranty will be void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * do some research if you have any concerns, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 *
 */

Hello Everyone,
In this guide i will show you how to port custom recoverys for any spreadtrum or mtk phone.This Guide is Super Easy anyone who have brain can port recovery by following this guide.

Things you will need
1.Windows PC x64bit
2.Carliv Image tool .
3.Your Stock Recovery .(See # post ,to get your phones stock recovery image)
4.A Custom Recovery that matches with Your phone chipset.(see # post i have listed some custom recovery on there).
5.Your phone flash file (If Any thing go wrong then your flash file will help you to recover) .
6.A working brain.

So Lets Get Started!

1.Create a working folder.


2.Again create two folder stock and port in that working folder.


3.Now extract carliv tool on both folder.


4.Now put your stock recovery image on working_dir/stock/recovery-resources and custom recovery on /working_dir/port/recovery-resources.


5.Now Run carliv.bat from working_dir/stock


6.Now you will see this window.on that window type "r" and press enter


7.Choose your stock recovery image .(Mine is StockRecovery.img)


8.Type "1" and press enter.


9.After that your stock recovery will get unpacked and you will see (done).


-Now Close that window.


10.Now go to working_dir/port and run .carliv.bat


11.Now again type "r" and press enter


12.Choose your port recovery image and press enter


13.Type "1" and press enter and minimze that window (dont close it).


-Now you have unpacked both stock and port recovery image.


14.go to working_dir/stock/stock recvovery image folder (mine is StockRecovery).then grab and copy all files under ramdisk.


15.open working_dir/port/port recovery image folder(mine is PortRecovery).then paste and replace all the files on there.


16.Now port/compare recovery.fstab (see post no.#)
17.Open that minimized window and press enter.


18.now type 2 and press enter .


19.now you will find your ported recovery in working_dir/port/output folder.



20.install that Recovery and enjoy.(check post no.# for installing recovery with SPFlash Tool or ResearchDownload)

And Dont Forget To Press That Thanks Button
 
Last edited:

Th3 A6add0n

Member
Mar 2, 2016
29
25
0


Code:
#include <impt_notice.h>
#include <disclaimer.h>
/*
 * Your warranty will be void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * do some research if you have any concerns, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 *
 */

Hello Everyone,
In this guide i will show you how to port custom recoverys for any spreadtrum or mtk phone.This Guide is Super Easy anyone who have brain can port recovery by following this guide.

Things you will need
1.Windows PC x64bit
2.Carliv Image tool .
3.Your Stock Recovery .(See # post ,to get your phones stock recovery image)
4.A Custom Recovery that matches with Your phone chipset.(see # post i have listed some custom recovery on there).
5.Your phone flash file (If Any thing go wrong then your flash file will help you to recover) .
6.A working brain.

So Lets Get Started!

1.Create a working folder.


2.Again create two folder stock and port in that working folder.


3.Now extract carliv tool on both folder.


4.Now put your stock recovery image on working_dir/stock/recovery-resources and custom recovery on /working_dir/port/recovery-resources.


5.Now Run carliv.bat from working_dir/stock


6.Now you will see this window.on that window type "r" and press enter


7.Choose your stock recovery image .(Mine is StockRecovery.img)


8.Type "1" and press enter.


9.After that your stock recovery will get unpacked and you will see (done).


-Now Close that window.


10.Now go to working_dir/port and run .carliv.bat


11.Now again type "r" and press enter


12.Choose your port recovery image and press enter


13.Type "1" and press enter and minimze that window (dont close it).


-Now you have unpacked both stock and port recovery image.


14.go to working_dir/stock/stock recvovery image folder (mine is StockRecovery).then grab and copy all files under ramdisk.


15.open working_dir/port/port recovery image folder(mine is PortRecovery).then paste and replace all the files on there.


16.Now port/compare recovery.fstab (see post no.#)
17.Open that minimized window and press enter.


18.now type 2 and press enter .


19.now you will find your ported recovery in working_dir/port/output folder.



20.install that Recovery and enjoy.(check post no.# for installing recovery with SPFlash Tool or ResearchDownload)

And Dont Forget To Press That Thanks Button
Bro, the biggest problem is, I can't find CWM for my phone and neither Philz
TWRP doesn't work coz it's touch recovery, My phone doesn't support that.
 

phonedriller

Senior Member
Feb 21, 2018
72
14
0
upgraded my twrp image with this method, major ty.

i got my self an image for my board's(chipset) upgraded to twrp 3.2.1 plus the stock recovery image for my phone (i already had it)
i followed this tutorial to the letter and it worked i now have a working twrp 3.2.1 on my phone major TY again to the guide maker :good:
ps:i already had twrp 3.0.0 working ,my goal was to upgrade the twrp and i was successful,wooooooooo feeling happy :fingers-crossed:
 

ranchu-panchu

Senior Member
Nov 16, 2016
144
4
0
Hi,

How is it that a different kernel can be used with our device (even if it is the same chipset) ?
I mean some drivers/interfaces on device and board must be different, or am I wrong ?

Thanks,
ranran
 

Eldkatten

New member
May 17, 2018
4
0
0
Hello,

thank you for the instructions. What if I do not have a Stock Recovery for my device, but only a "boot.img" from an update.zip? It unpacks without problems in carliv, only the files in the root directory do not have "recovery" as prefix but "boot". Also there are some more files, which aren't in the recovery image.

Thank you for any hints.