[Guide] Easy MTK Rom Porting

This MTK rom porting guide only for the same Mediatek/MTK chipset(SOC). This is a very easy MTK rom porting method.

This tutorial of porting rom Mediatek will show you how to port mtk rom easily.

All the Things you have to do at your won Risk. I will not be responsible for any kind of Brick/Damage of your phone. 

MTK/MT6572 - MTK6572
MTK/MT6582 - MTK6582
MTK/MT6577 - MTK6577
MTK/MT6589 - MTK6589

And Jellybean- JB 4.2.2 to JB 4.2.2

Requirements :
Stock ROM (Original ROM of your MTK Phone)
Port ROM (Which Rom you want to flash)

Step 1. Create Folder
Create a New Folder anywhere in you computer and rename it system
Inside the system folder create 2 new folders and rename them as


Step 2. Copy Files

Now You have to copy some files from your Stock Rom to newly created system folder. Open your Stock Rom folder and system folder.

Copy From Stock Rom etc folder to system\etc folder

a) Folder:
1. firmware
2. permission
3. security
4. wide-dhcpv6

b) Files
1. vold.fstab
2. vold.fstab.nand

Copy From Stock Rom lib folder to system\lib folder





Now copy full usr and vendor folder from Stock Rom to system folder

Step 3. Porting
Go to the Port Rom folder.
You need to delete some 3 folders from Port Rom system folder are below:


Now paste system folder (Created with Stock Rom files) and replace files and folders to the port rom system folder (Not inside the port rom system folder)

File copied completed. 

Now you have to edit Mount Point 

Go to Port Rom META-INF\com\google\android open updater-script with Notepad++ change the mount point.

Find the line /dev/block/mmcblk0p and you will get the line like below. 

format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p7", "/data");

Mount point I marked in red color 5 & 7 now change it as per your device mount point. (Do not need to change the whole line.) If your device mount point for system is 3 then make it 3 instead of 5If your device mount point for data is 5 then make it 5 instead of 7To know your device mount point run MTK Droid Root and Tools and connect your device. Then click Block Map.

Port Kernel from Stock Rom to Port Rom. Here is the MTK Kernel Porting Guide.

Now make your ported rom ZIP file for flash. 

First time it will take time for create system folder but after that you can port rom for your device with in five minutes.  


1. Delete mentioned folders for Port Rom and Replace the system (mentioned in guide) folder to the Port Rom

2. Edit updater-script for Mount Point.

3. Replace Stock kernel to the Port kernel. Use and Download QURepack MTK porting tool.

Any Question please write on comments.

N.B. : All the Things do it at your won Risk. I will not be responsible for any kind of Brick/Damage of your phone. 

Share :

Facebook Twitter Google+
39 Comments on "[Guide] Easy MTK Rom Porting "

I'm trying to port Samsung Galaxy s6 Rom from your page, for my device , but its stuck at boot screen and it restarts constantly, and my both , port and stock Rom doesn't have any files named vold.fstab
And no modules folder , and many other files are missing to as per mentioned in your guide , is there and way more of fixing this bootloop and porting another way? Thank you so much , and your site is amazing.

This porting guide for the Jellybean rom. Galaxy s6 rom you are trying to port for Kernel 3.10.54

So there is no porting guide for lollipop yet?

yo man you just ported the wrong rom or you tried to port a 4.2.2 rom to 4.4.2 or 4.4.4 and it's not going or you just ported the kernel wrong

This porting guide for the Jellybean rom. Galaxy s6 rom you are trying to port for Kernel 3.10.54

yo after porting ROM is stuck at logo and doesn't boot......I ported a 4.4.2 mt6752 rom to same model of cpu and same android version and it's still doesn't boot

Please read post first before you use. Clearly mention that this guide for Jellybean 4.2.2 not for Kitkat

In my stock rom there aren't libmhaldrv.so and libcameraprofile.so files in the lib folder. Is a problem?

brother i have karbonn titanium s5 plus... we're still stuck at jb 4.2 we need a kk kernel source for specific device can u please help us out... no developer is interested in compile a kernel for us...plz help

I use an oppo joy with mtk 6572 and jelly bean 4.2.2 Android...do I need to port this rom too....

পিসি ছাড়া পোর্ট করার টিউট দিন প্লিজ

I port this rom for tecno m7 jb

can i use this guide to port mt6572 to mt6582?

but how can i port mt6572 to mt6582 jelly bean base? it is possible? where do i find a good guide?

Can i port cm 12.1 rom mtk6572 for my lenovo a369i jb 4.2.2 mtk6572 ?

format("ext4", "EMMC", "emmc@android");
mount("ext4", "EMMC", "emmc@android", "/system");
package_extract_dir("system", "/system"); no any mount point in file.........what i do????

In every rom I ported camera flash does not work... Everything else works... What am I doing wrong? I tried to replace libcam files from stock to port, but nothing... Any help? :)

Will it work for MTKI 6735 also? MTK 6735 TO MTK 6735?

Im trying to port lewa v6 for mtk6572
Im use a phone cherry ruby
Im already change mount point
When im flash my port rom i wait 5min and im stuck to boot logo
Help to fix problem

Is your device running with Jellybean rom?

Lewa porting is something different from other rom. You can follow Lewa Rom poting guide.

Lewa porting is something different from other rom. You can follow Lewa Rom poting guide.

Give me guide to port mt6735(64) to mt6735(32) bit

i dont have the libmhaldvr.so and the. libcameraprofile.so what to do ?

I tried to port for oppo neo 3 but it says
update binary error....
Plz tell me how to fix

Hi, may I know it's possible to port cmbase rom with oppo coloros? In using oppo joy 3, model a11w mtk6582.

what about mt67xx phones . where is the guid ?

If someone is interested in helping me out to port TWRP on my device, here is the link of my stock recovery and scatterfile as well doc´s with the build number in written
If possible also edit the scatterfile so apps can be working from the external sdcard because it is not supported can´t push the apps2sdcard ihave tried with carlivimagekitchen, still no succes,
Many thanks

i can´t rewrite the scatterfile


everything is done port but i cant find vold.fstab.nand and vold.fstab on my stock rom folder..is it okay if i port it without both file?

Back To Top