[Tested] How To Port/CrossPort Roms For Meditek Devices
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
Normal Port Guide For CM/Asop/Stock Based Rom :
Replace Below Files From Stock Rom To Port Rom
1. System Folder
system/etc
➡️Whole Folder (Bluetooth)
➡️Whole Folder (Firmware)
➡️Whole Folder (Wifi)
system/etc/permissions
➡️android.hardware.camera.xml
➡️android.hardware.microphone.xml
system/lib
➡️libcam.camadapter.so
➡️libcam.exif.so
➡️libcam.paramsmgr.so
➡️libcamalgo.so
➡️libcamdrv.so
➡️libcameracustom.so
➡️libfeatureio.so
➡️libimageio.so
➡️libimageio_plat_drv.so
➡️libdpframework.so
➡️libMali.so
system/lib/hw
➡️camera.default.so
➡️hwcomposer.mt65xx.so
system/Build.prop
ro.sf.lcd_density=xxx
Change Model And Brand
2. Boot
Extract Boot.img
➡️Replace Whole Kernel Folder
➡️Replace ueventd.rc
Edit Meta.inf
➡️ Change Mount Point In "Updaterscript" According To Your Device
➡️ Removed Assert Line If Show "Error 7"
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
Crossporting Guide :
Method 1 For Crossport :
Take MT6592 And MT6582 As Base And Port Rom Respectively.
Now Delete Below Folders/Files From Base Rom
➡️apps
➡️priv apps
➡️framework
➡️fonts
➡️media
➡️build.prop
➡️addons
And Then Replace Same Folder/Files From Port Rom
Now
➡️Copy All Bins From Base And Paste It In Port And Then Copy All Bins From Port Again And Replace In Base.
➡️Do The Same With Lib ( But Don't Copy These File : lib.android**, libjava**, libweb** )
➡️ Change Display Density In Build.prop
ro.sf.lcd_density=xxx
➡️Use Stock Boot Image
➡️Replace Storagelist.xml In Framework.Apk (Only If Not Boot)
➡️Compare Mount Points And Flash.
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
Method 2 For Crossport :
▶️ /system
Delete These Folders From Base Rom
-addon.d
-apps
-font
-framework
-media
-priv.app
-build.prop
And 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
After CrossPort You Found Some Bugs, Then You Have Fix That Bugs.
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
Credit :
-AhmadNaseerHK
-Sunmughan Swamy
-Samar Vispute
-All Dev's
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
Normal Port Guide For CM/Asop/Stock Based Rom :
Replace Below Files From Stock Rom To Port Rom
1. System Folder
system/etc
➡️Whole Folder (Bluetooth)
➡️Whole Folder (Firmware)
➡️Whole Folder (Wifi)
system/etc/permissions
➡️android.hardware.camera.xml
➡️android.hardware.microphone.xml
system/lib
➡️libcam.camadapter.so
➡️libcam.exif.so
➡️libcam.paramsmgr.so
➡️libcamalgo.so
➡️libcamdrv.so
➡️libcameracustom.so
➡️libfeatureio.so
➡️libimageio.so
➡️libimageio_plat_drv.so
➡️libdpframework.so
➡️libMali.so
system/lib/hw
➡️camera.default.so
➡️hwcomposer.mt65xx.so
system/Build.prop
ro.sf.lcd_density=xxx
Change Model And Brand
2. Boot
Extract Boot.img
➡️Replace Whole Kernel Folder
➡️Replace ueventd.rc
Edit Meta.inf
➡️ Change Mount Point In "Updaterscript" According To Your Device
➡️ Removed Assert Line If Show "Error 7"
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
Crossporting Guide :
Method 1 For Crossport :
Take MT6592 And MT6582 As Base And Port Rom Respectively.
Now Delete Below Folders/Files From Base Rom
➡️apps
➡️priv apps
➡️framework
➡️fonts
➡️media
➡️build.prop
➡️addons
And Then Replace Same Folder/Files From Port Rom
Now
➡️Copy All Bins From Base And Paste It In Port And Then Copy All Bins From Port Again And Replace In Base.
➡️Do The Same With Lib ( But Don't Copy These File : lib.android**, libjava**, libweb** )
➡️ Change Display Density In Build.prop
ro.sf.lcd_density=xxx
➡️Use Stock Boot Image
➡️Replace Storagelist.xml In Framework.Apk (Only If Not Boot)
➡️Compare Mount Points And Flash.
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
Method 2 For Crossport :
▶️ /system
Delete These Folders From Base Rom
-addon.d
-apps
-font
-framework
-media
-priv.app
-build.prop
And 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
After CrossPort You Found Some Bugs, Then You Have Fix That Bugs.
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
Credit :
-AhmadNaseerHK
-Sunmughan Swamy
-Samar Vispute
-All Dev's
↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️↔️
Post A Comment:
0 comments: