MacBook Pro freezes during login
My MacBook Pro freezes completely during or right after the login screen.
First I was thinking that only my Keyboard and Trackpad wasn’t working, but when I was looking for the time after a while and I saw that it was incorrect so the screen is also completely frozen.
If I’m fast enough sometimes I can run a task after login in, but it freezes directly about 10-20 seconds after start up.
In Safe Mode everything works perfect and smooth like you would normally expect.
Only the graphics are slower and no sound allowed what is normal in Safe Mode, But no issues or flashing screen.
Apple Diagnostics are also perfect, zero hardware issues shown.
The strange part is when I plug an HDMI cable in before starting the Mac with HDMI connected bypasses the freezing issue!
The Retina display and External TV works together without problems, everything is responsive keyboard trackpad screen , just like normally.
But the second that you remove the HDMI cable from the Mac it freezes directly and you need to force shut down the Mac.
Already formatted the whole SSD inside, installed High Sierra, Mojave Clean install, but nothing changes. Even tried to start Sierra on External SSD with USB and works until the Login and freezes like the internal SSD.
Maybe malware, virus?
Please Help and thanks in advance !