Chosen Solution

fans turn to max at once, when I first start the macbook. after a while, 30- 60mins the macbook just shuts down. for no reason. after smc reset, everything is fine again…

The computer is protecting itself from damage. Probably from some component overheating. See if you can find a hot spot.

Try the Apple Hardware Test, might turn something up.