[ 4.3.X - 4.4.X ] CyanogenMod 10.2 - 11 Porting Guide For MediaTek MT6589

Hello, Joel here !
Today, I'm writing on www.mtkroms.com about a taboo theme, CyanogenMod porting .
As well, All MT6589 users ( Well, All MediaTek users want CyanogenMod ) Want this AOSP ROM on it's device plus all the performance / theming options in CyanogenMod ROM's .
Building isn't easy, Remember you need Tree / Vendors, Modded Kernel ...
But porting is more easy =) 
So let's get into it :

Prerequisites :

CyanogenMod ROM from these ones .

CyanogenMod 10.2

Wiko StairWay - Here
Micromax Canvas HD - Here

CyanogenMod 11

Wiko StairWay - Here
Micromax Canvas HD - Here

Windows / LinuxOS ( LinuxOS is preferred here ) .

Cygwin ( If you are using Windows ) .
( This Guide shows how to Install-It Here Is the Guide to set it up ) .

LinuxOS Bash / Terminal  ( If you are using LinuxOS .

DSIXDA's Android Kitchen .
( https://github.com/dsixda/Android-Kitchen Simply, Click on a button that says Download ZIP ) .

Get familiarized with Windows / LinuxOS basic Terminal Commands .

Steps :

For Windows :

1.- Open cygwin and wait until our "Virtual" user is created .

2.- Put the DSIXDA's Android Kitchen in our "Virtual" user directory created before with cygwin automatically ( Open the zip and extract the contents [ It's only a folder ] ) .

3.- Rename the extracted folder to "Kitchen" for a better accessibility to it .

4.- Get into cygwin and type : "cd Kitchen" without the quotes .

5.- Type "./menu" also, without the quotes .

6.- Put our stock and our desired CyanogenMod ROM into our original_update folder .

( If we are porting CyanogenMod 10.2 we will need a Stock 4.2.X - 4.3.X ROM which is pulled from our device, I highly recommend an AOSP one )
( If we are porting CyanogenMod 11 we will need a Stock 4.4.X which is pulled from our device, I highly recommend an AOSP one )

7.- Type "00"  without the quotes .

8.- Type "28" without the quotes .

9.- Type "a" without the quotes .

10.- Click / Tap the ENTER key of our Keyboard .

11.- A "Menu" it's going to be displayed, Example :
<1> CyanogenModX.zip
<2> MYStockROM.zip
We simply select our stock ROM by typing the number before our Stock ROM name, In my case, number "2" without the quotes again, Then, We press "ENTER" key on our Keyboard .

12.-  We wait until it decompresses the ROM and moves all the files, We can go to get a coffee until we wait .


13.- Once it decompresses correctly, We will press the key "ENTER" from our Keyboard .

14.- Another "Menu" it's going to be displayed, Example :
<1> CyanogenModX.zip
<2> MYStockROM.zip
We simply select now the CyanogenMod ROM that we want to port by typing the number before it's ROM name in my case, number "1" without the quotes, Then, We press "ENTER" key on our Keyboard .

15.- We press the key "ENTER" until a menu shows up saying that the port has been done correctly .

For LinuxOS :

1.- Open our user folder ( /home/USERNAME ) .

2.- Put the DSIXDA's Android Kitchen in our ( /home/USERNAME ) directory ( Open the zip and extract the contents [ It's only a folder ] ) .

3.- Rename the extracted folder to "Kitchen" for a better accessibility to it .

4.- Continue the tutorial from the Windows guide ( Start from the point 4, If i mention any cygwin folder, Simply it's your /home/username on LinuxOS ) .




Finally !
The ported ROM will be located on the OUTPUT_ZIP folder in our Kitchen folder .
Simply, Push the zip to your Internal Storage / SDCard, Reboot recovery and then, After wiping the system, Install the ROM ( PhilZ or CWM ) .
Reboot and voila' maybe boots or not, it depends of the luck you have .
If it didn't boot, send a logcat, maybe i can help you .

Credits to :

@dsixda For it's awesome Android Kitchen 
@chrmhoffmann For compiling the first ever CyanogenMod for a MediaTek device 
@XpLoDWilD
@Dr-Shadow
OMNIRom Project 

Thanks all for reading this guide .

2 comments:

  1. Hy.I have Allview Viper I 8 Gb. what room can i put?Now i have kitkatt 4.4.4

    ReplyDelete
  2. Hy.I have Allview Viper I 8 Gb. what room can i put?Now i have kitkatt 4.4.4

    ReplyDelete

Powered by Blogger.