As per README, you add the bundle-ids for all Lilu plugins you're using.
ig-platform-id is configuration for the framebuffer kext. There is no hard/fast rule about which one to use for a given device (it depends more on your specific laptops port layout).
There is a patch in my plists that swaps 0204 for 0105 (as one example). Refer to the KextsToPatch section of guide plists:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
I am so frustrated with this problem now. So many things to try and I don't know where to begin. As I googled many people have this problem too and they refer to it as a "black screen" issue (I thought the computer hangs, but it's not). I want to start over. Can you please tell me what to do step by step? So there are 3 things you mentioned
1. Lilufriend: Sorry for my lack of knowledge, I don't know how to add the plug-ins as described in Readme. They did not really tell me how to do it. So I am attaching a screenshot of all my installed kext in L/E, If you don't mind, can you please customize Lilufriend.kext for my case? Or at least can you show me how to add those? I have PlistEditor Pro but have no idea what to do.
2. ig-platform-id: As my attached file, I am using 0x59160000, and a described when boot with HDMI internal screen black, and external screen works as a DP with sound. Can you somehow check my iroreg for my specific laptop case see if you can find me a suitable ig-platform-id?
3. Framebuffer patch: I believe the patch you included in your pre-configured config.plist is for 0x591b0000, how can I customize that patch for 0x59160000? Again, please check my ioreg, I believe I only have @1 and @2, so there is no 0306.
4.I have downloaded and installed WhateverGreen.kext, doesn't seems to help anything, should I remove it?
And finally, should I try all the above at the same time, or is one of them enough to get the solution fixed?
Sorry, I know it's a lot for you, but I am lost and really want to fix this problem. Thank you.
P.s: the debug file is when I have HDMI cable hot-plugged.
Edited: do you think the coming macOS Mojave will fix this problem itself do I still have to patch this in config.plist? If it is easier to fix, I will just wait for Mojave to come out and update it. Thanks.