When my screen is not available

  1. Install adb (doc here)
  2. Reboot the device into recovery
  3. adb shell twrp wipe data (doc here)

    /!\ This command format only app data. Files are still present on internal storage.

  4. adb shell rm -rf /sdcard/* remove files from internal storage