Now i want to share How to Pott ROM Mediatek
* 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
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
0 Comments:
Post a Comment