htw

[TUTORIAL] Porting ROM ( MT6589 TO MT6582 TO MT6572 )

Now i want to share How to Pott ROM Mediatek

Lets go to Guide !!!

* extrack rom port and rename it to folder PORT!
* extrack rom stock and rename it to folder Stock

*Be Attention !!
*Copy and replace file Stock to PORT--

from
*system/vendor
*system/usr
*system/lib/modules
*system/lib/hw
*system/lib/libncurses.so
*system/etc/firmware
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
*system/etc/bluetooth

* Now Open build.prop and search for this line

ro.mediatek.platform=MT65xx

Replace with your chipser

Example

ro.mediatek.platform=MT6589

* Open META-INF/google/android and open updater-script with Notepad++ or whatever text editor

* Add this line between the lines of "set_perm"

set_perm(0, 0, 0644, "/system/vendor/lib/hw/gralloc.mt65xx.so");

[Replace the mt65xx with your chipset]

Example

set_perm(0, 0, 0644, "/system/vendor/lib/hw/gralloc.mt6589.so");

* Now Go back to the Rom folder and Take the boot.img and decompile it with any bootimg-unpack tool!

* Now delete the zimage and rename boot.img-ramdisk to PORT-Ramdisk

* Now Do the Same for Stock boot.img and open the folder named PORT-ramdisk and copy all the files from PORT-ramdisk to boot.img-ramdisk of your Stock boot.img

* Now Go to boot.img-ramdisk and open init.rc

* Now find these lines and replace with your cpu
‪#‎Create‬ Chip Property
on early_property:ro.hardware=mt6589
setprop ro.mtk.hardware mt6589

on early_property:ro.hardware=mt6589
setprop ro.mtk.hardware mt6589

Example

#Create Chip Property
on early_property:ro.hardware=mt6582
setprop ro.mtk.hardware mt6589

on early_property:ro.hardware=mt6572
setprop ro.mtk.hardware mt6589



* Try this on, Originally from xda
SHARE

Sohanur Rahman Sobuz

Hi. I’m Sohanur Rahman Sobuz. I’m CEO/Founder of DroidBuzzz™. I actually created this blog for Symphony W72 User cause there is No Custom Rom for it. Thats Why I started Porting Custom ROM and Publish here. In the Meantime many Visitors have come to my blog thats why I publish other phone's rom too. Actually I am not a Dev.

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 Comments:

Post a Comment

Search This Blog

What do you think about this website? You can choice multiple answer

Subscribe Us

Join the team! By Submitting your email address: