Reboot the HP Prime and hold these three keys c f o. This will get you into the factory test menu, and you can format the drive. Once you see the "EA656 DIAGNOSTIC" Screen Menu.
eg.
Reset to factory defaults
4 for FLS Utility
3 for Format Disk C then E
Once finished, press J to back out into the main menu and press 9 to reset and reboot.