As this is still wonderfull EliteKernel I stay in this thread.
@ShadowElite: if you want me to delete this or move this out of here... just call...
OK guys. Then I try to sum up the needed steps:
Just to remember: This procedure with TA PoC Tool makes only sense if you have an working TA.img backup!
This all can be done also with other kernel de-re-pack tools. But I will only refer to TA PoC Tool here.
Files/tool to have:
boot_z3c.img (stock EliteKernel), kernel.elf (stock Kernel 291), working TA.img, TA PoC Tool (
https://xdaforums.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893)
1) use PoC with
boot_z3c.img and save following
files from OUT folder to main PoC folder:
boot.img-cmdline, boot.img-dt, boot.img-zImage.
Finish this PoC session. Don't mind about resulting kernel. It's not needed at this point.
2) use new session of PoC with
kernel.elf and your (working) TA.img: Say YES to Disable RIC, say NO to TWRP (if it comes up) -
DON'T PRESS KEY to FINISH at this point.. Keep this PoC session open.
3) Go to PoC folder and copy previously saved 3
files to OUT folder: boot.img-cmdline, boot.img-dt, boot.img-zImage - This is were you merge EliteKernel with stock ramdisk.
4) Back to CMD window and now PRESS KEY to repack kernel and finish PoC session...
5) Resulting Kernel is EliteKernel with (almost) stock ramdisk, RIC disabled, SELinux: permissive (as stock EK) , TA included and therefore FULL DRM support (as original!)
I left out init.d support here...
Reports are welcome