Macbook restarts when logging in

bootdiagnosticmacbook prorecoverysingle-user

My Macbook Pro (Mid-2015, Mojave) restarts after I type my password to log in.
The progress bar fills to about three-quarters before this happens.

I have tried:

  1. Resetting PRAM
  2. Resetting SMC
  3. Running Diagnostics (holding 'd' on startup) [only says battery not at peak capacity]
  4. Running fsck in single-user mode (cmd-s on startup) [all ok]
  5. Booting into recovery mode (cmd-r on startup) – causes macbook to go into infinite boot loop. Mac logo appears, then immediately reboots.
  6. Booting into safe mode – login bar fills all the way, then macbook restarts.

Does anyone have any further ideas of what I could try? Thanks!!

Best Answer

Try discharging the battery (plug in an iPhone or iPad or whatever and drain the battery by charging it). Then reset the PRAM and SMC. Finally start up in verbose mode (hold V while booting) and try to capture what gets displayed (iPhone or iPad video works well).

After the battery has been effectively dead for a day (it should be dead enough that when you hit the power button it only shows a "plug in charger" pictogram, give it a little charge and there's a good chance your Mac will act properly. If not, the verbose console log will be useful.