[Working][Tested] How To Port Or CrossPort Roms For Meditek Devices

SHARE:

[Tested] How To Port/CrossPort Roms For Meditek Devices. Normal Port Guide Means MT6572 To MT6572 Or MT6582 To MT65982 Or MT6582 T...

[Tested] How To Port/CrossPort Roms For Meditek Devices.

Normal Port Guide Means MT6572 To MT6572 Or MT6582 To MT65982 Or MT6582 To MT6592 
Normal Port Guide For Nought Based Rom :

system/etc/firmware [Whole Folder]


Replace Below lib From Stock system/lib
  • libaudio.primary.default.so
  • libcamalgo.so
  • libcamdrv.so
  • libcameracustom.so
  • libdpframework.so
  • libfeatureio.so
  • libMali.so 
Replace Below lib From Stock system/lib/hw
  • hwcomposer.mt6592.so
In boot.img
  • Replace Kernel From Stock Boot.img To Port Boot.img
  • Replace Uneventd.rc From Stock Boot.img To Port Boot.img
  • Replace Cameralines From Stock/Boot.img/Ramdisk/Init.rc To Port/Boot.img/Ramdisk/Init.mt65xx.rc [If Not Work, Then Merge Cameralines]
Cameraline Look Like Below Lines

In Updater Script

  • Change Mount Point According To Your Device
  • Remove Assert Code [If Any]
[Assert Code Look Like Below Point]
assert(getprop("ro.product.device") == "IRISX8" || getprop("ro.build.product") == "IRISX8" || abort("E3004: This package is for device: IRISX8; this device is " + getprop("ro.product.device") + "."););
Normal Port Guide For CM12.1/13/Stock Based Rom :

Replace Below Files From Stock Rom To Port Rom


1. In 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 Display Density According To Your Device]
  • Change Model And Brand
2. boot.img (Extract boot.img)
  • Replace Whole Kernel Folder
  • Replace ueventd.rc (First Try Without This)
  • Edit Meta.inf
  • Change Mount Point In "updater-script" According To Your Device
  • Removed Assert Line If Show "Error 7" 
Crossporting Guide :
Method No - 1 : 

Base Rom May Be Stable Lineage 13/Lineage 14/Stock Rom According To Port Rom.
Port Rom Means Which Rom You Want To Crossport It For Your Device.

Delete These Folders/Files From Base Rom
  • addon.d
  • apps
  • font
  • framework
  • media
  • priv-app
  • build.prop
Replace These Folders/Files From Port Rom To Base Rom

For System/Bin

Step 1. Go To "base/system/bin" Select All Files
Step 2. Now Paste In port/system/bin (By Skip)
Step 3. Go To "port/system/bin" Now Select All Files
Step 4. Paste In base/system/bin (By Replace/Overwrite)

For System/Lib

Step 1. Go To "base/system/lib" Select All Libs Except Folders
Step 2. Now Paste In port/system/libs (By Skip)
Step 3. Go To "port/system/lib" Now Select All Libs Except lib.android**, libjava**, libweb**
Step 4. Paste In base/system/lib (By Replace/Overwrite)


After Crossport, Replace Stock To Crossported Rom

system/etc

  • etc/firmware (Whole Folder)
system/lib
  • libcam.exif.so
  • libcamdrv.so
  • libcameracustom.so
  • libfeatureio.so
  • libdpframework.so
  • libMali.so
system/Lib/Hw
  • camera.default.so
  • hwcomposer.mt65xx.so
  • sensorservice.so
Now Made Below Changes 
  • Change Display Density In Build.prop ro.sf.lcd_density=xxx
  • Use Stock Boot Image
  • Replace Storage_list.xml In framework-res.Apk (Only If Not Boot)
  • Compare Mount Points And Flash. 
Method No - 2 :

Delete These Folders From Base Rom

  • addon.d
  • apps
  • font
  • framework
  • media
  • priv-app
  • build.prop
Replace These Folders From Port Rom To Base Rom

system/bin

  • Merge Extra Bins
system/etc/permission (First Try Without This)

Delete Every Thing From Base Except Below Two Files.

  • Handheld_core_hardware.xml
  • Platform.xml
Copy All Files From Port To Base

system/lib

  • Merge Extra Libs.
Take These Libs From Port Rom And Replace It To Base Rom Lib Folder
  • libandroidserver.so
  • libanddoidruntime.so
  • libandroidfw.so
  • libwebview*
  • libjava*
Also Take storage_list.xml From Base Rom 

Boot.img

  • Use Base Rom Boot
  • Just Take Init.environ.rc Of Port Rom
Credit :
  • AhmadNaseerHK
  • Sunmughan Swamy
  • Samar Vispute
  • Raj Kumar
  • All Dev's

COMMENTS

BLOGGER: 7
Loading...
Name

Android Application,19,Android Applications [ Root ],10,Android Mod,5,Custom Recovery,8,Kitkat Kernel Based Rom,115,KitKat Rom,36,Launcher,6,Lava Iris X8,154,Lollipop Kernel Based Rom,18,Lollipop Rom,21,Marshmallow Rom,53,MIUI Themes,13,Must Have App,1,Nougat Roms,30,Porting Guide,4,Redmi 3S Prime,1,Stock Rom,2,Tech News,2,Tips And Tricks,18,Unbrick Guide,2,Wallpaper,1,Windows Software,1,
ltr
item
Attached2Android: [Working][Tested] How To Port Or CrossPort Roms For Meditek Devices
[Working][Tested] How To Port Or CrossPort Roms For Meditek Devices
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr6slqQQ_pz2ZkUmml5ibdeyLy7-JLUJsc5ORkYmeOJeuU-0ymK24GFHu-xbUfI6ZeVyGi75YLrCnCeYfoYV3EYbuOpHYykrpcjQwLdgcUudmW81lNMRyAZarf65YtQrTlvyV7KM8T4mr2/s640/A2A.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr6slqQQ_pz2ZkUmml5ibdeyLy7-JLUJsc5ORkYmeOJeuU-0ymK24GFHu-xbUfI6ZeVyGi75YLrCnCeYfoYV3EYbuOpHYykrpcjQwLdgcUudmW81lNMRyAZarf65YtQrTlvyV7KM8T4mr2/s72-c/A2A.jpg
Attached2Android
https://attached2android.blogspot.com/2017/06/workingtested-how-to-port-or-crossport.html
https://attached2android.blogspot.com/
https://attached2android.blogspot.com/
https://attached2android.blogspot.com/2017/06/workingtested-how-to-port-or-crossport.html
true
6171385439351585251
UTF-8
Loaded All Posts Not Found Any Posts VIEW ALL Read More Reply Cancel Reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not Found Any Post Match with Your Request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 Minute Ago $$1$$ minutes ago 1 Hour Ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago More than 5 Weeks Ago Followers Follow THIS PREMIUM CONTENT IS LOCKED Step 1: Share. Step 2: Click the Link You Shared to Unlock Copy All Code Select All Code All Codes Were Copied to Your Clipboard Can Not Copy the Codes / Texts, Please Press [ctrl]+[c] (or Cmd+c with Mac) to Copy