When you can't get the data off your broken Samsung Galaxy phones due to the broken screen, black screen, touch screen not work or can’t enter system, what you need is Dr.Fone for Android. It extracts contacts, whatsapp messages, photos, etc. from your phone to computer at ease.
Also works with other devices like:
Samsung Galaxy S3, Galaxy S4 & S4 mini,Galaxy S5;
Samsung Galaxy Note II, Note 3, Note 4, Note Edge, Note 5.
If you lost data from your android phone,
the first thing, check out the backup, whether you have synced the data to Gmail account, or saved on your pc.
you should never add more data to your phone after data loss, cuz they
can take up more space, the lost data will be overwritten.
Last thing, you can try recovery methods, Recuva, you can also try professional android data recovery [mobikin.com] programs.
Like this, samsung photo recovery [mobikin.com].