Monday 27 February 2017

ROM Porting Guide Lineage OS For any MTK 6592 Phone Full Tutorial



Requirments

1 Download The LinageOS Zip File From Dicription
2 Needed system folder and boot.img of stock rom
3 Carlivimagekitchen to extract boot.img
4 Notepad++ for text editing
5 7zip for unziping and ziping file and folder

Tutorial Video



Process

      BOOT.IMG
1 Rename bootstock.img and bootport.img
1 Unpack both bootstock.img and bootport.img
2 Copy kernel from bootstock to bootport
3 open init.rc from ramdisk folder of bootstock
  with notepad++
4 open init.mt6592.rc from ramdisk folder of
  bootported with notepad++
5 Replace #camera from init.rc to init.mt6592.rc
6 Repack bootport, copy it again to port folder
    SYSTEM Folder
1 replace these file from stock to port
  system/lib/lib3a.so
            /libaudio.primary.default.so
            /libcam.exif.so
            /libcam.paramsmgr.so
            /libcamalgo.so
            /libcamdrv.so
            /libcameracustom.so
            /libdpframework.so
            /libfeatureio.so
            /libimageio.so
  system/lib/hw/audio.primary.default.so
               /hwcomposer.mt6592.so
2 now open META-INF/com/google/android/
  updator-script and change mouting point
3 now edit system/build.prop
4 create zip file and flash to your flash

   For Fixing Bugs 

  For Wifi replace system/etc/wifi folder
  For bluetooth    system/etc/bluetooth
  For Network problem system/bin/gsm0710muxd
                                /gsm0710muxdmd2
                                /rild
                                /rildmd2

2 comments: