Yes, there was a memleak issue in this cm11 rom when we ported it using stock kitkat kernel to Elife E3 clone , and the issue was fixed by replacing the same file... Glad to see you back on this project
I can confirm those 2 issues with my kernel and AOSP source for my device - Lenovo A820.
Initially, I had a huge mem leak with "original" gralloc lib. So hyperion70 gave me an idea to replace that file. I took it from bq Aquaris 5 stock KK rom and it worked.
The second issue was about AEE_HANG DETECT. It was a problem if the ROM does not have this functionality, but the kernel has it enabled (it is the case with all default 6589 kernels).
Since CyanogenMod does not have it (as opposed to leaked MT6589 AOSP source), it is probably causing this problem.
The other case when kernel has it disabled and ROM enabled was fine. So IMO it is better to disable this in the kernel config and I even removed that function completely from the source.
It was leading to random reboots, as mentioned in this thread.
Btw, this is how I fixed the random reboot issue on the CM11 port for A820 someone else did - disabled the hang detect in kernel.
I still can't boot the compiled CM11. There must be something I'm missing.
I didn't know you have the same issue, otherwise would have reported the fix much earlier.
PS: Actually used the gralloc from the kernel source on github: https://github.com/bq/aquaris-5/tree/aquaris-5/mediatek/platform/mt6589/hardware/gpu/user
#include /* * Your warranty is now void. * * I am not responsible for bricked devices, dead SD cards, * thermonuclear war, or you getting fired because the alarm app failed. Please * do some research if you have any concerns about features included in this ROM * before flashing it! YOU are choosing to make these modifications, and if * you point the finger at me for messing up your device, I will laugh at you. * * Submitting bug reports on nightly builds is the leading * cause of male impotence. */
su setprop persist.radio.multisim.config dsds
su setprop persist.radio.multisim.config none