iPhone 7 Black Rear Camera
I googled this a lot, couldn't find a concrete solution. So yesterday after utilizing the flash as a flashlight at full brightness for half an hour doing some DIY outdoor work, and after rinsing it off quickly in the sink since it was dirty, I checked again the flashlight about an hour later, and it wouldn't turn on. Camera became dark as well, meaning the app will open but the rear facing camera just shows completely black and will not take any pictures nor videos.
Today I opened the iPhone 7 and replaced camera with a new one, but to no avail, the problem still happens.
-I suspected water came inside because outer camera glass became very foggy from the inside.
-The phone had been opened before (got it second hand, been using for 3 months without a problem) it was missing the metal shielding of the display connector brackets. Probably why the water resistance didn't hold out so well.
-Humidity had gotten inside, the screen got damp spots which I fixed leaving the screen for a day in rice. I also did this with the affected rear camera. Didn't seem like a big deal, the logic board didn't seem to have any humidity on simple inspection.
-Replacing rear camera doesn't seem to have helped at all. Front facing camera works perfectly.
-When going to camera app in video mode, in the corner where the flash icon is sometimes replaced with a warning saying "The iphone needs to cool down before you can use the flash". This sometimes happens, sometimes it shows the normal flash icon, however physically the LED doesn't turn on ever.
-Flash doesn't work at all, 3rd party apps have the same issue both with camera and flash.
What I have done:
-Soft reset and restarted iPhone several times.
-Hard reset with itunes and update to latest version (twice)
-Replaced camera with working one, to no avail
-Inspected for damage (the old camera seemed to have gotten damp) however logic board seemed fine (didn't remove it and inspect both sides though)
Could it be the logic board? If so, could removing it and drying it in rice help? Didn't try that since it didn't seem wet. If it isn't the logic board, what else could it be? Could the prolonged usage of the LED at maximum brightness have damaged something maybe?
Any help is infinitely appreciated! Have a nice day!