Chosen Solution
My nikon D5100 only works in live mode and I am not sure how to repair it
it may be that the mirror has fallen out.
IF mirror has no issues, then there are two chances :
- Auto focus sensor has problem (Located below the mirror - bottom side of camera )
- Prism assembly has problem