Cross Porting

REQUIREMENTS-

  • -Carliv image kitchen
  • -Winrar or 7zip
  • -notepad++

START-


  • Case 1-So NOW ,i am taking example of cm12.1 for MT6582(unite_2) porting for  MT6572(Karbonn_A52+)
  • 1.Modify Mount points from stock rom to port.(mt6582\META-INF\com\google\android\updater-script)
  • 2. PORT boot.img
  • unpack both images using carliv image kitchen
  • and replace all files except ramdisk folder from stock to port.
  • then open ramdisk folder and replace a file named ueventd.rc from stockboot.img to portboot.img.
  • NOW the tricky thing here...
  • Rename all files having other chipset name like your stockboot.img, SEE SCREENSHOT
  • now open  init.mt65xx.rc in with notepad++...
  • -find for mt6582 and replace with mt6572 as shown in SCREENSHOT
  • UNPACK portboot.img and copy to port rom folder...

  • 3.Port system folder(Replace listed files from stock to port)
  •  -system/lib/hw/hwcomposer.mt6572.so
  • -system/lib/hw/gralloc.mt6572.so
  • -system/lib/libmali.so
  • -system/etc/firmware/
  • 4.Edit build.prop
  • compare density and hw rotation 
DONE! REPACK ROM AND FLASH... 

No comments