How To Port Custom ROMs [For All MTK Chipsets]
Do
you want to port Custom ROM to your MTK phone? It’s obviously a wish of
many people to port custom rom to their phone and enjoy new features
and UI in their device. By following this tutorial, you can easily port
Custom ROM to your MediaTek (MTK) ChipSet phone!
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 had asked
my friends like Rohan Taneja for
help to port Custom ROM to my device. 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 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 orMT6577 to MT6577, MT6592 to MT6592. To port Custom ROM, all you need to have is a device with same SoC and it’s Custom ROM with your own Stock ROM.
Requirements to Port Custom ROM to your MTK device:
- A Custom Recovery: If you don’t have follow this tutorial to port one!
- Custom ROM (from a device with almost same specifications and SoC).
- Your Stock ROM.
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. This tutorial [Port Custom ROM to your MTK phone] is 100%
working, but still we won’t take the GUARANTEE what happens to your
device!
What you need to Port Custom ROM to your device [Your Chipset to Your Chipset only]:
- The ROM you need to port [in .zip].
- Your stock ROM [extracted with /system and build.prop].
- Extract the ROM you need 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 /System/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/firmware/
/System/etc/wifi/
/System/vendor/ - The final step! Press back button to go to the main folder where you have the Stock ROM. Copy boot.img[From Stock ROM]and replace it with the ROM to Port‘s.
- You are ready! Go ahead and flash the ROM!
Porting ROM was an easy task. Wasn’t it?
But if this is your first port, then obviously your ROM might have some bugs in it. Now? Comment below with the problem you are facing in your ROM so that I can help you!
No comments