How to Port MediaTek ROM (MTK5672, MTK6577, MTK6582, MTK6589)

How to Port MediaTek ROM (MTK5672, MTK6577, MTK6582, MTK6589)

Porting MediaTek ROM is just piece of cake, In this tutorials we are going to explain how to port port MediaTek ROM such as__(Jellybean- JB 4.2.2 to JB 4.2.2)

  • MTK5672/MT5672
  • MTK6577/MT6577
  • MTK6582/MT6582
  • MTK6589/MT6589


How to Port MediaTek ROM (MTK5672, MTK6577, MTK6582, MTK6589)

How to Port MediaTek ROM (MTK5672, MTK6577, MTK6582, MTK6589)
How to Port MediaTek ROM



Rooting or flashing Custom Recovery/Custom ROM’s results to the void of the warranty of the device. (We) RaphsonBD and its authors will not responsible for bricked devices, dead SDcard or any damage in your device which is incurred in the process of flashing Custom Recovery/custom ROM/Rooting or any development process the device. We highly advice to take a backup of your device prior to performing the process. Please do some research if you have any concerns about features included in this ROM, before flashing it! You are choosing to make these modifications. Nevertheless if you need any help, just comments already. We will always pleased to help you.


Downloads and Requirements

  1. PC/Desktop/Laptop
  2. Stock ROM ( Original ROM Of your MTK Chipset based device)
  3. Port ROM ( Which ROM you want to Port)
  4. Winrar
  5. Notepad++ (Click here to Download)


Porting Process

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.


Step  –  1

First of Download both “Stock ROM” and which “Portable ROM”. Usually you find Stock ROM on your handset manufacturer official forum. Stock ROM and Portable ROM both ROM can be found in .ZIP format. First Unzip them both, than Create a New Folder anywhere in you computer and rename it

  • System

Inside the system folder create 2 “New Folders” and rename them as

  • etc
  • lib

How to Port MediaTek ROM (MTK5672, MTK6577, MTK6582, MTK6589)

Step –  2

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

How to Port MediaTek ROM (MTK5672, MTK6577, MTK6582, MTK6589)

Copy From Stock ROM etc” folder to “System\etc” folder

  • Folder
    • firmware
    • permission
    • security
    • wide-dhcpv6
  • Files
    • vold.fstab
    • vold.fstab.nand

Copy From Stock ROM “lib” folder to System\lib” folder

  • Folder
    • hw
    • drm
    • modules
    • soundfx
  • Files

Now copy full “usr” and “vendor” folder from Stock Rom to System folder.




Step – 3

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

  • system\etc\firmware
  • system\lib\hw
  • system\lib\modules

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)

How to Port MediaTek ROM (MTK5672, MTK6577, MTK6582, MTK6589)

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.

How to Port MediaTek ROM (MTK5672, MTK6577, MTK6582, MTK6589)

Now use WinRar to Archive your Ported ROM to make it flashable via Custom Recovery.
Configure the Archive Format like This:
  1. Archive format: ZIP
  2. Compression Level : Normal
  3. Compression Method: Deflate
  4. Dictoioany Size: 32k
  5. Word Size: 32
First time it will take time for create system folder but after that you can Ported ROM for your device with in five minutes.  After Zip Archive complete you can copy the Ported ROM.Zip in your SD card. Go to your phone’s Custom Recovery > Install ZIP & Wipe Data.

Related Article

Related Post

Arafat Ikram Shanto

Arafat Ikram Shanto

Just a common man with common thought


  1. both the base and the port is kitkat
    The base is Kitkat AOSP with 3.4 kernel, and the port is your asus Indostyle

    not just that two,
    and other file .so

Leave a Response