Iphone x max keyboard issues.
Recently my iphone x max has been having issues. Parts of the keyboard not working like tyghvb keys. Some phantom touching and apps opening. I think it may be water damage or maybe software? I updated ios, factory reset and it didnt help. I backed up my phone and tried to restore / update ios on itunes and it keeps giving me errors like 1667 , 4010, 0xE80000065. Thanks for the help. I hope its not beyond repair cause this phone is otherwise in mint condition and I think a replacement would be expensive since warranty ran out.
iPhone XS Max, iOS 13