Chosen Solution
I dropped my iPhone and the front and rear facing cameras were black. Thinking maybe the camera connecter cables have come undone I opened up the phone and connected the cables. After turning on the phone the camera worked, but then lines appeared in my pictures. If I gently tap the phone against my hand the lines disappear, Im not sure what is causing this. I have attempted to connect the camera connecter twice and Im still having this problem.
Due to the shock the camera may break, just order a new one and replace the old one You can order it from IFIXIT or elsewhere
replace both cameras and it will be perfect!