Chosen Solution

The rear camera of my iPhone 7 shows color horizontal lines. The front camera works well. I have changed two working cameras, but still the same problem. I think it should be the problem of the connector on the motherboard. But what I should do? if I want to repair by myself. Thanks for the help.

You need to. 1.       Check the connector for damage under magnification. 2.       Diode mode connector and compare with a known good board. 3.       Check pullup resistors. (Could be a noisy data line) you may need an oscilloscope. Let us know what you find.