[Android Software/Hacking General [Developers Only]] Parthib:
[IMG="cover"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVd0V5NEZjNkJNT1E[/IMG]

#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.

[IMG="img1"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVUlF0VEVfNll0VUU[/IMG]

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

[IMG="img2"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVOVhRbmlGVlpyT2s[/IMG]

3.Now extract carliv tool on both folder.

[IMG="img3"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVR3VDdW5KRk1nQ0k[/IMG]

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

[IMG="img4"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVSEpTdzhSMmstaUk[/IMG]

5.Now Run carliv.bat from working_dir/stock

[IMG="img5"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVdTZLQ2pRUGxuR28[/IMG]

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

[IMG="img6"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVUzVucXhUZmJpd1E[/IMG]

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

[IMG="img7"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVZVhmUUlWY1dDbnc[/IMG]

8.Type "1" and press enter.

[IMG="img8"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVN2hNa0Q1SEc0RWc[/IMG]

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

[IMG="img10"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVTk5YREtBRUNnU1E[/IMG]

-Now Close that window.

[IMG="img11"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVUzljdkxmc1VqYk0[/IMG]

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

[IMG="img12"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVczBpaG1HdnpZTDQ[/IMG]

11.Now again type "r" and press enter

[IMG="img13"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVUzVucXhUZmJpd1E[/IMG]

12.Choose your port recovery image and press enter

[IMG="img14"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVanVKTjhBUUNnRDQ[/IMG]

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

[IMG="img15"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVZVNTU08tc3FHTzA[/IMG]

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

[IMG="img16"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVRjdLLXBYTjJJb0E[/IMG]

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

[IMG="img17"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVVXA2cUFkclNNSjQ[/IMG]

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

[IMG="img18"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVcDVuSWNwVjVYNlE[/IMG]

16.Now port/compare recovery.fstab (see post no.#)

17.Open that minimized window and press enter.

[IMG="img19"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVZ3c3RHU4VTl1V1k[/IMG]

18.now type 2 and press enter .

[IMG="img20"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVQWhvWUtFTHlzNG8[/IMG]

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

[IMG="img21"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVRXpfNGFWSVpzc3c[/IMG]

[IMG="img22"]https://drive.google.com/uc?export=download&id=0ByFhEHnToNlVV0ZnWWVGMFZBM0U[/IMG]

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