How to Port mtk6582 roms for lenovo a3500
Sorry my bed english.
We need AndImgTool, notepad +, winrar or similar programs.
1. We unpack the firmware
2Pack the kernel with andimgtool
3 We change the folder portkernel to the stok folder kernel (if the firmware does not reach the boot animation in the ramdisk we change port uevented.rc to the stock uevented.rc
4 We pack boot.img (do not forget to rename new_boot.img in boot.img)
5 We are looking for the updater script and changing the lines with notepad +
format ("ext4", "EMMC", "/ dev / block / mmcblk0p5", "0", "/ system");
mount ("ext4", "EMMC", "/ dev / block / mmcblk0p5", "/ system",
mount ("ext4", "EMMC", "/ dev / block / mmcblk0p8", "/ data", "");
6If the firmware does not want to be installed (some symplinks falled) then we take updater binary and updater script from cyanogen mod13 from Kit-kat
7system-lib replace libmali.so from cyanogenmod 13 in port firmware
8system-lib-hw replace
hwcomposer.mt6582.so and graphlock6582 with replacement.
9Pack the firmware.
If the firmware hangs on the bootloop, then we drop the graphlock8xxx and hardwarecomposer 8xxx files into the system-lib-hw folder (these are in the official firmware 4.4.2)
Files for port rom take from cyanogenmod 13 from the cicadata.
To turn off the tablet when bootloop it is necessary to clamp the buttons power + keyplus + keyminus and press into the round hole for about 4 seconds (I use a needle).
This works when porting from the kernel 3.467 to 3.467
it can be ported from any mtk6582 device theoretically possible and with mtk6737,6735 just x32bit system except (sprout).
Do it at your own peril and risk.