repair of pop up camera and system bug

my oneplus 7 pro pop up camera malfuctioned and if i update it to android 10, all of the camera is no longer usable. will mentain in black screen

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 1
crwdns2934285:0crwdne2934285:0