Normal/Cross/CM12.1/CM13/Flyme/Kitkat Based Rom Porting Guide For MediaTek Devices [MT65xx]

Normal/Cross Porting Guide For MediaTek Devices 
PicsArt_05-19-10.35.05 Normal/Cross/CM12.1/CM13/Flyme/Kitkat Based Rom Porting Guide For MediaTek Devices [MT65xx] Apps

===================================

[*]Normal Porting Guide For Marshmallow – Lollipop Base Roms :

Replace From Stock Rom

▶️ System/ETC

-Firmwere
-bluetooth
-mddb (If Present)
-ril
-wifi
-Fmr
-apns-conf.xml
-spn-conf.xml
-agps_profiles_conf.xml
-virtual-spn-conf-by-efgid1.xml
-virtual-spn-conf-by-efpnn.xml
-virtual-spn-conf-by-efspn.xml
-virtual-spn-conf-by-imsi.xml

▶️ System/LIB

-libcameracustom.so (Fix Can’t Connect)
-libdpframework.so (Fix Green Camera)
-libcam.paramsmgr.so (Fix Megapixel)
-libfeatureio.so (Fix Focus)
-libaudio.primary.mt65**.so(For Audio)
-libcamlgo.so
-libcamdrv.so
-libcam.exif.so
-libimagio.so
-hw/gralloc.default.so
-hw/gralloc.mt6592.so
-hw/hwcomposer.mt65**.so
-hw/lights.default.so
-hw/sensors.mt65**.so

▶️ Boot.img

-Kernel
-Unventd.rc (Only If You Are Getting Stuck At Logo , Otherwise No Need)
===================================

===================================

For All – KK/LP/MM/NO :

[*]Cross/Sprout Porting Guide

Sprout Roms To Generic MT6592/MT6582 (3.10.xx-3.4.67)

▶️ /system

Delete These Folders From Base Rom
-addon.d
-apps
-font
-framework
-media
-priv.app
-build.prop
& Replace These Folders FromPort Rom To Base Rom

▶️ System/Bin

-Merge Extra Bins

▶️ System/etc/permission

Delete Every Thing From Base Except Below Two Files
-Handheld_core_hardware.xml
-Platform.xml
-And Copy All Files From Port To Base

▶️ Systsm/Lib

-Merge Extra Libs.
Take These Libs From Port Rom And Replace It To Base Rom’s Lib Folder
-libandroidserver.so
-libanddoidruntime.so
-libandroidfw.so
-libwebview*
-libjava*

Also Take Storagelist.xml From Base Rom

▶️ Boot.img

-Use Base Rom’s Boot
-Just Take Init.environ.rc Of Port Rom’s Boot
===================================

===================================

[*]Only Replace If You Get Network Drop Issue

Replace From Stable Network Rom Or Stock

▶️ System/Lib/

-libreference-ril.so
-libril.so
-librilmtk.so
-librilmtkmd2.so
-librilutils.so
-mtk-ril.so
-mtk-rilmd2.so

▶️ System/Bin/

-gsm*
-rild*
===================================

===================================

Thanks :

   ▶️ Google
   ▶️ XDA
   ▶️ Fire855
   ▶️ Yazad Madan
   ▶️ Kishan Patel
   ▶️ Samar V121
===================================