PLEASE HELP! Rear camera wont work. It's about to get HULKSMASHED!

My rear camera somehow exploded in my pocket. So when I would use it the picture would be real blurry. So I figured the camera itself was bad. So I ordered a camera online and replaced it myself. When I would open the camera app it would immediately fault out. Giving a camera fail error message. After doing research I found out there were multiple cameras for the s7. Samsung and sony. So I ordered the exact sony hero with 2 lines of code camera . I replaced the camerA and still getting a camera fail message as soon as I turn on the camera. I dont know what else to do. Please Help!!!

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

crwdns2934109:0crwdne2934109:0

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