Can someone please suggest what I can do to resolve the above and get a HDMI signal?
The 'getedid' script can be used to workaround scenarios where the TV is powered on after the RPi board. It does not perform any other magic to make connections work. There is normally no need to use it, and it can complicate troubleshooting.
Start over with a fresh/clean SD card to remove getedid changes and because most of what's added to config.txt and cmdline.txt is no longer supported or incorrect.
- Add video=HDMI-A-1:1920x1080M@60D to kernel boot params in cmdline.txt
- Connect the RPi4 micro-HD cable to the port nearest the PSU connector
- Connect the HDMI cable to the newer LG TV
The video= param will force the kernel DRM connector state to 1080p@60 to avoid issues with 4K modes the TV (or cheap cables) don't like. Does that solve the problem?
NB: CEC control will only work on the HDMI-A-0 connector nearest the PSU, it is not supported on HDMI-A-1.