Chosen Solution

Hi! I have an iphone xs max with face id not working. I bought it second hand with a already cracked screen. Here is what I know: face id fails to detect a face during the setup process. Keeps sending the two messages: move iphone a little lower/higherAnimoji works perfectlyFlood illuminator also worksProximity sensor and autobrightness are functionallyAttention worksFront camera works (without any blur)Back camera and portrait mode worksPhone has liquid indicator is not red.Phone is up to date (iOS 13.5.1)

It a possibility that the front camera or the earpiece speaker/proximity sensor cable is damaged or been changed. They are paired to the motherboard and if one is not original face Id won’t work.

Check the dot projector Troubleshooting iPhone X Face ID Not Working ‘Move iPhone a Little Lower/Higher’

Here comes the latest dot projector repair technique for Face ID move iPhone a little lower/higher iPhone XS Max Face ID Not Working Fixed - Dot Projector Repair