Creating an image file of my Nexus 5
The only way to create an image of your device is using the recovery mode, but a custom recovery flashed find on Internet. The default recovery is not able to do a backup of the device. Flash a custom recovery then do a backup in it.