Hello guys today im back with another awesome tutorial about 64bit rom porting.Now a days people cant live without their mobile and most of the stock roms are not good so people want to flash custom roms.And if there were no developers for their device they are disappointing so in this tutorial i am going to show you how to Port a custom rom another MTK6753 device to your 6753 device.OK lets get started..First of all i would thank Sandeep Sethi For this tutorial.This guide works for all 64bit Chipsets
NOTE: ALWAYS REMOVE RECOVERY-FROM-BOOT.P before you do anything else.
FOR SAME CHIPSET PORTING 64BIT[6753-6753]:
Just replace these files
etc/firmware
etc/mddb
and from lib and lib64 hw folder replace all libs named like this camera.mt6753.so
and replace audio_policy.default.so from both hw folder
from lib and lib64
replace
libcameracustom.so
libaudiocomponentengine.so
libaudiocustparam.so
libnvram.so
libnvramagentclient.so
libnvram_platform.so
libnvram_sec.so
libcustom_nvram.so
etc/firmware
etc/mddb
and from lib and lib64 hw folder replace all libs named like this camera.mt6753.so
and replace audio_policy.default.so from both hw folder
from lib and lib64
replace
libcameracustom.so
libaudiocomponentengine.so
libaudiocustparam.so
libnvram.so
libnvramagentclient.so
libnvram_platform.so
libnvram_sec.so
libcustom_nvram.so
2nd Method For Cyanogen and CM Based ROMs:
System/Bin
bcc
install-recovery.sh
linker
linker64
mdnsd
ndc
netd
bcc
install-recovery.sh
linker
linker64
mdnsd
ndc
netd
System/etc
firmware –> whole folder
mddb –> whole folder
agps_profiles_conf2.xml
apns-conf.xml
custom.conf
recovery.fstab
recovery.sig
spn-conf.xml
trustzone.bin
mddb –> whole folder
agps_profiles_conf2.xml
apns-conf.xml
custom.conf
recovery.fstab
recovery.sig
spn-conf.xml
trustzone.bin
System/Lib & 64:
lib3a.so
lib3a_sample.so
liba3m.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcam.camadapter.so
libcam.camnode.so
libcam.client.so
libcam.halsensor.so
libcam.iopipe.so
libcam.metadataprovider.so
libcam.paramsmgr.so
NOTE:If you device is restarting continuously then port boot.img
Porting Boot.img
First decompile both the boot.img
Replace kernel from stock boot.img to port boot.img
Open ramdisk folder and replace these files :
Replace kernel from stock boot.img to port boot.img
Open ramdisk folder and replace these files :
fstab.mt6752
init.mt6752.rc
init.mt6752.usb.rc
init.mt6752.rc
init.mt6752.usb.rc
Thats it ur BOOT.img is ported and ready
Zip the Rom and get ready for flashing.