Welcome to all android developers, porters and users you can find your needed

Sunday 26 March 2017

[GUIDE] How to port Custom Rom for MTK6572 KitKat

Porting Guide for Kitkat MTK6572

Note:
it must be same MTK6572 and same Kitkat

What do you need:
  • Stock rom
  • Port rom (must be MTK6572 and Android 4.4.2)
  • 7zip
  • notepad++
  • knowledge about porting
  • Brain
Step 1: stock and port rom
  • Create a 2 folder name it as stock and port
  • Extract your stock rom place in stock folder same as port rom place in port folder
Step 2: bin Folder copy and replace the following files
  • boot_logo_updater
  • ipod
  • linker
  • logwrapper
  • pq
  • sdcard
  • vold
Step 3: etc folder delete and copy the following folder and files
  • bluetooth
  • firmware
  • mddb
  • security
  • wifi
  • apns-conf.xml
Step 4: copy and replace the following files in lib folder
  • libaudio.primary.default.so
  • libaudiocompensationfilter.so
  • libaudiocomponentengine.so
  • libaudiocustparam.so
  • libaudiodcrflt.so
  • libaudioeffect_jni.so
  • libaudioflinger.so
  • libaudio-resampler.so
  • libaudiosetting.so
  • libaudioutils.so
  • libcam.paramsmgr.so
  • libcamalgo.so
  • libcamdrv.so
  • libcameracustom.so
  • libdpframework.so
  • libfeatureio.so
  • libipod.so
  • libMali.so
  • libsensorservice.so
  • libshowlogo.so
  • libsync.so
  • libvcodecdrv.so
Step 5: vendor folder
  • vendor - delete and replace
Step 6: xbin folder copy and replace the following files
  • dexdump
  • showmap
  • tcpdump
Step 7: Open build.prop search line or add and edit

  • ro.sf.lcd_density=160 (3.5 inch) 240 (4.0 inch)
  • ro.sf.hwrotation=0  or 180 (for fix rotation)
Step 8: META-INF folder
  • You can use the META-INF of Port rom
  • Open META-INF / com/google / android / updater-script and edit this line
Your mount point must be mmcblk0p4 for system like this:
  • format("ext4", "EMMC", "/dev/block/mmcblk0p4");
  • mount("ext4", "EMMC", "/dev/block/mmcblk0p4", "/system");
Your mount point must be mmcblk0p6 for data like this:
  • mount("ext4", "EMMC", "/dev/block/mmcblk0p6", "/data");
Step 9: boot and logo
  • Replace your stock Boot.img and logo.bin to port rom
Share:

0 comments:

Post a Comment

Contact

Name

Email *

Message *

Total Pageviews

Use the Translator

Reports

If you find a post and have dead link please comment and I will reupload

All Chipset

Blog Archive

Theme Support

Need our help to upload or customize this blogger template? Contact me with details about the theme customization you need.