If the device has a valid subscription, flash the device with program which will delete all data; If the device is out of subscription, flash the device with program which will not delete all data first; If the device is still stuck, the risk of using flash program will delete all data and flash the device with the program which will delete all data. Contact tech support for flash program.