If you reprogram the device, all user data is deleted.
Need to try the following options:
- With the connected charging, the device was turned off?
With another battery the device is switched off?
- The device itself was turned off or after a fall or falling into the water or something else?
If important contacts can a SIM card insert it in another machine and see there is something important or not.