When you can't get the data off your broken Samsung Galaxy Mobiles due to the broken screen, black screen, damaged touch screen or can’t enter system, what you need is Dr.Fone for Android. It can help you copy contacts, whatsapp messages, photos, etc. from your phone to computer at ease.
Also works with other devices like:
Samsung Galaxy S3, Galaxy S4, Galaxy S5;
Samsung 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.
Then, 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].