Chosen Solution

Earlier this week I left my phone in the sun, and after that my camera and speaker stopped working, so I replaced the cable, and it worked again, But after that I didn’t had auto brightness any more. I tried cleaning up a bit, didn’t work. I ordered a new cable, still didn’t work. I checked the old (original cable) , it works, but without camera and speaker. So I assume the problem lies in the replacement parts, or could it be Apple bricking my phone because I’m repairing it? I have no clue, but probably ifixit knows what to do? Should I order some more cables? Or does anyone here knows some legit cables? Do the cables of ifixit work?