I'm posting this as a warning and to find out if anyone else has had this happen to them, and whether they managed to get any data back.
My phone (Sony Xperia Z1 Compact) has been behaving strangely. Randomly turning itself off, being unable to charge or power on, boot loops. After eventually...