Macbook pro 13" early 2015 freezes and shut down Macbook pro 13&quot; early 2015 freezing after login.
Tried solutions

Format and Reinstall OS
Apple Hardware diagnose
SMC and PRAM reset
Open in safe mode
Stopped using google chrome
Disabled Firevault

However, sometimes after trying for 2-3 days it suddenly starts working then again a few days later it back to freeze and shut down.
System Specs

8 GB ram
512 SSD
2.9 GHz
Dual core i5
I took it to the repair center and it was a hardware issue with one of the chips. They replaced it and now my MBP is back into action.