Selasa, 02 Desember 2014

Porting rom ( MT6589 TO MT6582 to MT6572 )

Selamat malam menjelang dini hari menjelang pagi buta menjelang pagi yg cerah.
Porting rom dari device lain part 2
Porting rom ( MT6589 TO MT6582 to MT6572 )
(atau sebaliknya)
Read this carefully & apply the way i say!
* extrack rom port dan di namain folder PORT!
* extrack rom stock dan di namain folder Stock
*perhatikan baik baik
*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
* buka build.prop dan cari line di bawah
ro.mediatek.platform=MT65xx
ganti dengan jenia cpu ente
Contoh
ro.mediatek.platform=MT6589
* buka META-INF/google/android dan buka updater-script di editor text
* 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 cpu]
Contoh
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
contoh
#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
yg di bawah itu buay ke cpu kita dari device lain.
* silakan di coba semoga bermanfaat