How to Port 32/64 Bit ROM for Same Chipset MT6735/MT6753/MT6737

Port 32/64 Bit ROM for Same Chipset MT6735/MT6753/MT6737
(Last Updated On: August 7, 2018)

How to Port 32/64 Bit ROM for Same Chipset MT6735/MT6753/MT6737:

In this post we are gonna learn How to Port 32/64 Bit ROM for Same Chipset MT6735/MT6753/MT6737 . Why we need to port ROM is a good question. But before that we should know what porting actually is! Porting means shifting & modifying another android phones OS (Operating System/ User Interface) to your own phone. That is porting requires two different Android phone & the installed OS (which is called ROM).

This post is all about porting 32/64 bit ROM with same chipset. Example to port a MT6735 ROM, the same chipset ROM should be used, i.e. MT6735. Even MT735 ROM can be crossported with MT67353 ROM or vice-versa but the method is quite different.


Required Tool For Porting:

1. Pc ( Computer )
2. CarlivImageKitchen-Windows_0.5 ( For Unpack and Repack Boot.img)
3. Sprs ( for unpacking System.new.dat) or Tool Unpack Repack System.new.dat V2
4. And Brain to understand my Port Guide


Consideration:

1. Both the ROM, i.e. Base ROM & Port ROM should have same Chipset. (Example: Both ROM should have Chipset of MT6735)

2. Both the ROM, i.e. Base ROM & Port ROM should have same Kernel. ( Example: Both ROM should have Kernel of 3. 18.19 or 3.10.65 or 3.18.35)

3. You can use Marshmallow or Lollipop ROM as a base to port Nougat ROM but should have same chipset and Kernel as mentioned above. If you use Nougat ROM as a base ROM to port other Nougat ROM, this is the best preference.

4. Apart from below mentioned files do not replace any other file, that may lead to bootloop or may give rise to so many bugs. Always be specific.

Porting ROM is not for lazy people as it requires lot of time and dedication and little brain as well.


Steps for porting: MT6735/35M/35P (etc) to mt6753 or viceversa / MT6735/53/35M/35P (etc) to MT6735/53/35M/35P

Step 1: Replace these folders from base ROM to port ROM

LIB & LIB64
HW (folder)
EGL (folder)

Step 2: Replace all Libcam’s files except these

libcamera_client.so
libcamera_metadata
libcameracustom.so
Etc (Delete and copy from stock)
Firmware (folder)
Mddb (folder)
Agps_profiles_conf2.xml
Apns-conf.xml
Custom.conf
Recovery.xml
Recovery.fstab
Recovery-resource.dat
Spn-conf.xml
Trustzone.bin

Step 3: Porting boot.img

boot.img-kernel [replace from stock to port]
fstab.mt67xx [replace from stock to port]
compare all init.67xx files


Steps for porting: MT6735/35M/35P/53 to new MT6737 or viceversa

Step 1: Replace these folders from base ROM to port ROM

LIB & LIB64
HW(folder)
EGL(folder)
lib3a.so
lib3a_sample.so
lib3m.so
libacdk.so
All libaudio_xxx.so

Step 2: Replace all Libcam’s files except these

libcamera_client.so
libcamera_metadata
libcameracustom.so
Other libs**.so 
libcustom_nvram.so
libdrmframework.so
libexif.so libft2.so
All libimageio_xxx.so
libjni_eglfence.so
libjnigraphics.so
libjpeg.so
libJpgDecPipe.so
libJpgEncPipe.so
libjtranscode.so
libm.so libm4u.so
libmhalImageCodec.so
libmp4enc_sa.ca7.so
libmp4enc_xa.ca7.so
All lib files between libmtkcamera_client.so
libMtkVideoTranscoder.so
libn3d3a.so libpng.so
libSwJpgCodec.so
libvc1dec_sa.ca7.so
libvcodec_cap.so
libvcodec_oal.so
libvcodec_utility.so
libvcodecdrv.so
libvorbisidec.so

Step 3: Porting boot.img
Extract boot.img of both base ROM & Port ROM & Replace these files

boot.img-kernel [replace from stock to port]
fstab.mt67xx [replace from stock to port]
compare all init.67xx files


Steps for Cross-Porting: MT6753/35 to Mt6753/35

Step 1: Replace these folders from base ROM to port ROM
From system/etc

firmware
mddb
Libs

Step 2: Replace these files from system/lib and /lib64

lib3a
lib3a_sample
libacdk
libcam.camadapter
libcam.metaprovider
libcam.paramsmgr
libcamalgo
libcamdrv
libcameracustom
libdpframework
libfeatureio
libshowlogo
system lib/lib64 HW
all files with the mt6753/35 files, excluding camera.**

Step 3: Porting boot.img

replace kernel only
/ramdisk
*fstab.**

Leave a Reply

4 thoughts on “How to Port 32/64 Bit ROM for Same Chipset MT6735/MT6753/MT6737

Leave a Reply