For Rom ported from Mediatek processor device MT65xx generally meet the same steps:
1. Porting of the same processor eg MT6577 then we must look for the same rom from the MT6577
2. Resolution of the same and the same Android version
3. boot.img can use the stock boot.img or combined between the source and kernel ramdisk stock, this case occurs when we want ported rom Lewa, S3 and S4. To unpack boot.img we use mtk-tools. Why should it be dismantled because we must mereplase bootclasspath contained in the ramdisk.
4. Patch multiple files in the following folder with the files contained in the stock:
system / lib / hw
system / lib / modules
system / etc / firmware
5. If there are problems in audio, do:
Copy the contents of the system / lib of stock and delete folders in it, then find the file there frills audio. The search results are copied to the rom portingan us
6. For the camera do the same as step 5 by searching the file name camera.
If the problem persists also do copy the following files:
system / lib / libcamalgo.so
system / lib / libcameracustom.so
system / lib / libmhaldrv.so
If they, too, add the blue line in init.rc located in ramdisk boot.img (must dismantle first boot.img)
#Camera
chmod 0660 / dev / camera-sysram
chmod 0660 / dev / camera-isp
chmod 0660 / dev / camera-eis
chmod 0660 / dev / camera-fdvt
chmod 0660 / dev / camera-resmgr
chmod 0660 / dev / kd_camera_hw
chmod 0660 / dev / kd_camera_flashlight
chmod 0660 / dev / FM50AF
chmod 0660 / dev / MT9P017AF
chmod 0660 / dev / OV8825AF
chmod 0660 / dev / A8141AF
chown system camera / dev / camera-sysram
chown system camera / dev / camera-isp
chown system camera / dev / camera-eis
chown system camera / dev / camera-fdvt
chown system camera / dev / camera-resmgr
chown system camera / dev / kd_camera_hw
chown system camera / dev / kd_camera_flashlight
chown system camera / dev / FM50AF
chown system camera / dev / MT9P017AF
chown system camera / dev / OV8825AF
chown system camera / dev / A8141AF
7. If the carrier signal is problematic copy modem.img located in system / etc / firmware to port stock rom
8. If the camera can not autofocus libcameracustom.so copy of the system / lib / modules
9. If the Wifi / Bluetooth problematic mtk_stp_wmt copy that is located in the / system / lib / modules
10. If your device has a physical home button copy Generic.kl located in system / usr / keylayout
11. If there is no navigation bar add the following line to build.prop file that is located in the system
qemu.hw.mainkeys = 0
12. In the MT6577 processor, there are two types of chipsets is mt6220 and mt6228, stay fit patches wrote the following guidelines
FMRadio
system / etc / firmware / mt6620_patch_e3_hdr.bin
system / etc / firmware / mt6620_patch_e6_hdr.bin-> if MT6628, must patch Jugal mt6628_fm _ * _ *. bin
system / etc / firmware / WMT.CFG-> Config antenna, without this will not clear fm radio keterimanya
system / lib / modules / mtk_fm_drv.ko
system / lib / libfmcust.so
Wi-Fi & BT
system / lib / modules / mtk_stp_wmt.ko
system / lib / modules / mtk_wmt_wifi.ko -> After patching, Wi-Fi and bluetooth can be turned on and off
system / lib / libbluetooth_mtk.so
system / lib / libbluetoothem_mtk.so -> displays the Engineering MTK MT6628 if not in the patch.
system / etc / firmware -> if MT6628, must patch also WIFI_RAM_CODE_ *
GPS
system / xbin / libmnlp
build.prop
fmradio.driver.chip = 1 -> if MT6628 fox to 3
mediatek.wlan.chip = MT6620 -> if MT6628 change the last digit to 8
mediatek.wlan.module.postfix = _mt6620 -> if MT6628 change the last digit to 8
updater-script
symlink ("wlan_mt6620.ko", "/system/lib/modules/wlan.ko"wink; -> if MT6628 change the last digit to 8
13. To ported LewaOs
Jelly Bean MT6628 MT6589 based SoC
LeWa_AMOI_N828_JB2
Jelly Bean MT6628 MT6577 based SoC
LeWa_Jiayu_G2S_JB_ROM
LeWa_Lenovo_S890_JB_ROM
LeWa_ZTE
0 komentar
Post a Comment