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

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





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

In this post I will guide you to Port Port 32/64 Bit ROM for Same Chipset (MT6735/MT6753/MT6737). This means how to port ROM from MT6753 chipset to MT6753 or How to port ROM from MT6735 to MT6735. Just replace these files from stock ROM to Custom ROM to the same location as mentioned here.

WARNING: Do not replace any file unnecessarily, because it may give rise to new bugs in place of solving it. Always be specific!


Follow These Steps:

Files Needed to replace from stock to port: (If some files missing skip them)
Step 1:(system/)

Before you do anything else remove Recovery-from-boot.p

Step 2: MODEM FILES (system/etc/)

MODEM FILES : system/etc/
firmware folder
mddb folder
apns-conf.xml
spn-conf.xml
recovery.fstab
trustzone.bin

Step 3: Lib Files (system/lib/)

egl (whole folder)
hw (whole folder)
lib3a.so
liba3m.so
libacdk.so
libaudioflinger.so
libc.so
libcam.camadapter.so
libcam.camshot.so
libcam.client.so
libcam.paramsmgr.so
libcam.utils.so
libcam.exif.so
libcamalgo.so
libcamdrv.so
libcamera_client.so
libjni_eglfence.so
libcamera_metadata.so
libcameracustom.so
libcameraservice.so
libexif.so
libEGL.so
libfeatureio.so
libft.so
libgui.so
libimageio.so
libja3m.so
libsurfaceflinger.so
libvcodecdrv.so

Step 4: Lib64 Files (system/lib64/)

egl (whole folder)
hw (whole folder)
lib3a.so
liba3m.so
libacdk.so
libaudioflinger.so
libc.so
libcam.camadapter.so
libcam.camshot.so
libcam.client.so
libcam.paramsmgr.so
libcam.utils.so
libcam.exif.so
libcamalgo.so
libcamdrv.so
libcamera_client.so
libjni_eglfence.so
libcamera_metadata.so
libcameracustom.so
libcameraservice.so
libexif.so
libEGL.so
libfeatureio.so
libft.so
libgui.so
libimageio.so
libja3m.so
libsurfaceflinger.so
libvcodecdrv.so

Step 5: Vendor Files (system/vendor/)

lib (whole folder)
lib64 (whole folder)

Step 6: XBIN Files (system/xbin/)

mnld

Step 7: Boot.img
Unpack both stock and port boots from Carliv Image Kitchen Tool
In port boot.img

replace boot.img-kernel

In ramdisk folder replace these files:

fstab.mt6735
init.mt6735.rc
init.mt6735.usb.rc

Step 8: Edit build.prop

Set compare and replace lcd density (ro.sf.lcd_density=300/anything else)
Enable/Disable Hardware Keys (qemu.hw.mainkeys=0/1)

Step 9: Updater Script

Compare system and data mount points with stock and edit mount points

Your ROM is ready now. So compress the folder and flash the ROM.




FOR CROSSPORT (i.e MT6735 to MT6753 and vice versa)

1. EDIT THESE LINES on build.prop
ro.mediatek.platform=MT6753 to MT6735 or vice versa

2. Whole BIN folder except:
installd
factory
servicemanager

3. Whole LIB and LIB64 folder except:
libandroid_runtime.so
libandroid_servers.so
libandroidfw.so
libart.so
libart-compiler.so
libbluetooth_jni.so
libdvm.so
libEGL.so
libfmjni.so
libGLES_trace.so
libGLESv1_CM.so
libhwm.so
libhwui.so
libinputservice.so
libmedia_jni.so
libwebviewchromium.so



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

  1. Does it works on MiuiPro lollipop to lollipop with same different chipset?… like mt6797 to mt6753 kernel 3.10.65.. thank

  2. i ported miui for my tab and both are same kernal and mt6735 but while flashing with twrp i get something in zip error

Ask A Question