[Guide] MTK Rom Porting


MTK Rom Porting Guide
lllllllllllllllllllllllllllllllllllllll

  • Works For Any MTK Device
  • User Friendly
  • Easy To Use
  • Less Chance Of Break
Preparing
::::::::::::::
Porting
---------
  • Unzip/Extract all files using 7-Zip (Stock Rom & Port Rom)
  • Note: If downloaded PORT ROM is SP flash tool flashable and not recovery flashable then extract system.img using ext2explore or dsixda's Android Kitchen.
  • Rename stock ROM (original rom of your phone) as STOCK and port rom (which you want to port) as PORT

  • a) Open folder system/bin in STOCK and copy files pq and vold (use ctrl key to select multiple files)
    b) Open folder system/bin in PORT and paste pq and vold (Select Copy and Replace for both files)
  • a) open folder system/etc in PORT and delete folders bluetooth, firmware and wifi
    b) open folder system/etc in STOCK and copy folders bluetooth, firmware and wifi
    c) open folder system/etc in PORT and paste folders bluetooth, firmware and wifi

  • a) open folder system/lib in PORT and delete folder egl and hw
    b) open folder system/lib in STOCK and copy folder egl and hw
    c) open folder system/lib in PORT and paste folder egl and hw

  • a) open folder system/lib in STOCK and copy all files which starts with libaudio
    b) open folder system/lib in PORT and paste all libaudio files

  • a) open folder system/lib in STOCK and copy following files:
    libcamalgo.so
    libcamdrv.so
    libcameracustom.so
    libdpframework.so
    libsensorservice.so
    libsync.so
    libvcodecdrv.so
  • b) open folder system/lib in PORT and paste all files

  • a) open folder system/usr/keylayout in STOCK and copy file Generic.kl
    b) open folder system/usr/keylayout in PORT and paste file Generic.kl

  • a) open folder system in PORT and delete folder vendor
    b) open folder system in STOCK and copy folder vendor
    c) open folder system in PORT and paste folder vendor

  • Open build.prop in PORT and search line ro.sf.hwrotation=
    [ex: If value is 0 then change it to 180 as Walton Primo GM mini,Bloom have flipped screen.]

    -In build.prop search lines
    -ro.product.locale.language=
    -ro.product.locale.region=
    -For English change it to
    -ro.product.locale.language=en
    -ro.product.locale.region=US
  • Open MTK Boot.img Tools Folder.

  • Copy  Base/boot.img to Stock Folder & Port/boot.img to Port Folder.
  • Unpack Both Boot.img
  • Copy kernel (zImage) File From Stock Folder & Replace it in Folder.
  • Copy uvented.rc From Stock Replace in Port.
  • Compare default.prop and fstab of Both Stock & Port.
  • Repack Port Boot.img.Rename boot-new.img to boot.img
  • Replace Ported New Boot.img to Cyanogenmod 12.1 Port Folder.
  • Open Port/META-INF/com/google/android/updater-script With Notepad+
  • Edit system/data/cache Mount Point (mmcblk0p) as Your Device.You Can Know Your Mount Points Using MTK Droid Tools
  • Compress/zip META-INF, system and boot.img using 7-Zip as port.zip and flash using any custom recovery.
    First boot may take 2-3 minutes�



[Guide] MTK Rom Porting [Guide] MTK Rom Porting Reviewed by Unknown on 4:19 AM Rating: 5

No comments:

Powered by Blogger.