I just bought an iphone xs that was apple logo every 5s. I've tried mode reset for it, but in my laptop said "error code 4013". After researching online, I've tried to put new xs screen without face ID cable plug in. Fortunately, my macbook can restores and make it work again. But after set it up like new phone, Face ID is no working anymore. So, I've tried turn off, plug in face id cable, the phone was apple logo keep off and on like before. Now, I'm sure, I cannot plug in face ID cable(inside phone) when reset it because it will be apple logo on&off forever. My phone now works good, but no Face ID anymore.