Nexus 5X

if the phones boot looping you can try a battery but with this phone the nand has probably popped off the board partly and applying pressure over the chip will normally get it booted long enough for data recovery.