A potential reason to why your pictures are all black is that there is an error with the shutter mirror. Different ways to address this issue is to turn any of the special features off, to even shutting off the camera by taking out the battery that could cause the mirror to jump back in place. Another reason could be that the shutter is stuck. That issue can be resolved by changing the settings, or even using an object like a pen to try to open the shutter. For further information on this, go to [[Canon EOS Rebel T5 Troubleshooting|Troubleshooting Page]]