0% found this document useful (0 votes)
619 views5 pages

Porting Custom Roms

This document provides a guide for porting custom ROMs to MediaTek (MTK) chipset phones. It explains that you need a custom recovery, the custom ROM from a similar device, and your stock ROM. It then outlines steps to copy and replace system files, libraries, and the boot image between the stock ROM and custom ROM to port it. Proper backups are advised in case issues arise from porting to a new device.

Uploaded by

breton sheltom
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
619 views5 pages

Porting Custom Roms

This document provides a guide for porting custom ROMs to MediaTek (MTK) chipset phones. It explains that you need a custom recovery, the custom ROM from a similar device, and your stock ROM. It then outlines steps to copy and replace system files, libraries, and the boot image between the stock ROM and custom ROM to port it. Proper backups are advised in case issues arise from porting to a new device.

Uploaded by

breton sheltom
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

How To Port Custom ROMs [For All MTK Chipsets]... https://sites.google.com/site/portingteams/home/...

lunatic porting
teams
Wellcome Wellcome >
22
[GUIDE] [HOW-TO] How To Port Custom ROMs [For All
BUILDING KERNEL
[ALL-SOC] MTK Chipsets]
[Guide] [WINDOWS]
Easy Boot.img
splitter for
kernel/ramdisk Do you want to port Custom ROM to your MTK
extraction.
phone? It’s obviously a wish of many people to port
[GUIDE]
[COMPLETE] custom rom to their phone and enjoy new features
Android ROM
Development From and UI in their device. By following this tutorial, you
Source To End
can easily port Custom ROM to your MediaTek
Cyanogemod 13.0
development (MTK) ChipSet phone!
How To Port I bought Micromax A106 Unite 2 in May and rooted it of of course.
Custom ROMs [For
All MTK Chipsets] Because I never had an experience with MTK before, I didn’t know
MTK CROSS about MTK porting. I looked into it’s system folders and other. Also I
PLATFORM ROM had asked my friends like Rohan Taneja for help to port Custom ROM
PORTING GUIDE
to my device. He helped me much in learning of MTK porting. Finally I
c
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

1 of 5 07/29/2019 10:53 AM
How To Port Custom ROMs [For All MTK Chipsets]... https://sites.google.com/site/portingteams/home/...

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.

2 of 5 07/29/2019 10:53 AM
How To Port Custom ROMs [For All MTK Chipsets]... https://sites.google.com/site/portingteams/home/...

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].

How To Port Custom ROM to your Phone:

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

3 of 5 07/29/2019 10:53 AM
How To Port Custom ROMs [For All MTK Chipsets]... https://sites.google.com/site/portingteams/home/...

in /system/lib

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

in /system/etc

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/

in /system/lib

in /system/etc

4 of 5 07/29/2019 10:53 AM
How To Port Custom ROMs [For All MTK Chipsets]... https://sites.google.com/site/portingteams/home/...

in /system

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!

Comments

You do not have permission to add comments.

Sign in | Recent Site Activity | Report Abuse | Print Page | Powered By Google Sites

5 of 5 07/29/2019 10:53 AM

You might also like