[GUIDE] How To Port MTK ROMs [For All Chipsets]

I bought Micromax A106 Unite 2 in May and rooted it of of course. Because I never had an experience with MTK before, I didn’t know about MTK porting. I looked into it’s system folders and other. Also I have asked my friends like Rohan Tanejafor help. He helped me much in learning of MTK porting. Finally I was able to port ROMs without any bugs. I have already posted about this in XDA, but I thought posting in blog will make it much easier for people to comment because I have enabled Anonymous commenting so users can comment here without even putting their name. I will try to explain this guide in brief as I can so I don’t think anyone will have doubts left. In case if you have any doubts you can post your comment and I will reply it as soon as possible.
This is for all MT65xx chipsets including:
MT6577
MT6582
MT6589
MT6592

This guide is only for MTK! This will work from same chip to same chip for example MT6582 to MT6582 or MT6577 to MT6577.

Some devices have different partitions to flash and the ROM you might flash can brick your phone. It can even hard brick your phone. So it is recommended that you do a ReadBack, ClockWorkMod Backup and MTK Droid Root & Tools backup. I am not responsible for bricked phones!!

What you need to port a ROM to your device [Your chipset to Your Chipset only]:

  • A ROM to port [in .zip].
  • Your stock ROM [extracted with /system and build.prop].
How To Port ROMs to your Phone:
  • Extract the ROM to port and you will have these main things:
    META-INF
    System
    boot.img.
  • If you have them then you are ready for next step.
  • Open /system folder of stock and rom to port.
  • Open bin folder of stock ROM and copy these files:
    pq
    vold
  • Now replace these files in ROM to Port‘s /System/Bin folder.
  • Open lib folder of Stock ROM and get these files:
    libcamalgo.so
    libcamdrv.so
    libcameracustom.so
    libdpframework.so
    libsensorservice.so
    libsync.so
    libvcodecdrv.so
  • Replace all the files mention above to ROM to Port‘s /system/lib folder.
  • Now open Stock ROM’s /system/etc/ folder and copy these files:
    apns.conf.xml
    vold.fstab
    vold.fstab.nand
  • Now replace these files in ROM to port‘s /system/etc folder.
  • Delete these folders from ROM to Port:
    /System/vendor/
    /System/lib/hw
    /System/lib/modules/
    /System/etc/WiFi
    /System/etc/Firmware
  • Replace these folders from Stock ROM to ROM to Port:
    /System/lib/hw/
    /System/lib/modules//System/etc/WiFi/
    /System/etc/Firmware/
    /System/vendor/
  • The final step! Press back button to go to the main folder where you have the Stock ROM. Copy boot.img [FromStock ROM]and replace it with the ROM to Port‘s.
You are ready! Go ahead and flash the ROM! Problems or you are feeling confused? You can comment out here and tell me your problem or you can also comment if your ported ROM has bugs.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s