ubports / ubports-installer

A simple tool to install Ubuntu Touch on UBports devices
https://github.com/ubports/ubports-installer/releases
GNU General Public License v3.0
534 stars 119 forks source link

Unable to flash ROM in fastboot #3713

Open Blackcityhenry opened 5 months ago

Blackcityhenry commented 5 months ago

UBports Installer 0.10.0 (snap) Environment: Ubuntu Core 20 linux 5.4.0-172-generic x64 NodeJS v18.12.1 Device: beryllium (Xiaomi Poco F1) Target OS: Ubuntu Touch Settings: {"bootstrap":false,"channel":"16.04/arm64/android9/stable"} OPEN-CUTS run: N/A Pastebin: N/A

Manually wipe Data, Cache, system in Halium. Start UBports and ignore every steps in fastboot.

Previous Errors:

Error: fastboot:format: Error: formatting failed: Error: {"error":{"code":1,"cmd":"fastboot format:ext4 system"},"stderr":"< waiting for any device >\nFAILED (Status read failed (No such device))\nfastboot: error: Command failed"}
stack trace: Error: formatting failed: Error: {"error":{"code":1,"cmd":"fastboot format:ext4 system"},"stderr":"< waiting for any device >\nFAILED (Status read failed (No such device))\nfastboot: error: Command failed"}
    at /snap/ubports-installer/462/app/resources/app.asar.unpacked/node_modules/promise-android-tools/lib/module.cjs:1250:15
    at /snap/ubports-installer/462/app/resources/app.asar.unpacked/node_modules/promise-android-tools/node_modules/cancelable-promise/dist/CancelablePromise.js:27:18
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: fastboot:format: Error: formatting failed: Error: {"error":{"code":1,"cmd":"fastboot format:ext4 cache"},"stderr":"< waiting for any device >\nFAILED (Write to device failed (No such device))\nfastboot: error: Command failed"}
stack trace: Error: formatting failed: Error: {"error":{"code":1,"cmd":"fastboot format:ext4 cache"},"stderr":"< waiting for any device >\nFAILED (Write to device failed (No such device))\nfastboot: error: Command failed"}
    at /snap/ubports-installer/462/app/resources/app.asar.unpacked/node_modules/promise-android-tools/lib/module.cjs:1250:15
    at /snap/ubports-installer/462/app/resources/app.asar.unpacked/node_modules/promise-android-tools/node_modules/cancelable-promise/dist/CancelablePromise.js:27:18
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: fastboot:flash: Error: Flashing failed: {"error":{"code":1},"stderr":"fastboot: error: Command failed"}
stack trace: Error: Flashing failed: {"error":{"code":1},"stderr":"fastboot: error: Command failed"}
    at /snap/ubports-installer/462/app/resources/app.asar.unpacked/node_modules/promise-android-tools/lib/module.cjs:1121:15
    at /snap/ubports-installer/462/app/resources/app.asar.unpacked/node_modules/promise-android-tools/node_modules/cancelable-promise/dist/CancelablePromise.js:27:18
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)