iPhone 6S rear camera + flashlight problem


Does anyone know which signals are resposnible for flashlight in iphone 6s plus?

The problem isnt with the parts itself, rear camera is not working on 5 different cameras.

Phone was rescued after water damage.

Also rear camera is not working but the whole board seems fine under microscope. it was thoroughly cleaned.