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
543 stars 120 forks source link

Unknown Error #3344

Open pestryy opened 1 year ago

pestryy commented 1 year ago

UBports Installer 0.10.0 (deb) Environment: Ubuntu 22.04.2 LTS Jammy Jellyfish linux 5.19.0-45-generic x64 NodeJS v18.12.1 Device: dipper (Xiaomi Mi 8) Target OS: Ubuntu Touch Settings: {"bootstrap":true,"wipe":true,"channel":"16.04/arm64/android9/devel"} OPEN-CUTS run: N/A Pastebin: https://snip.hxrsh.in/ubi-1687556872265

touch install and after reboot to fastboot my device over 1-2 seconds exit from foastboot and i dont see in my Pc over fastboot devices my phone mi8

Previous Errors:

Error: fastboot:format: Error: formatting failed: Error: {"error":{"code":1,"cmd":"fastboot format:ext4 system"},"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 system"},"stderr":"< waiting for any device >\nFAILED (Write to device failed (No such device))\nfastboot: error: Command failed"}
    at /opt/ubports-installer/resources/app.asar.unpacked/node_modules/promise-android-tools/lib/module.cjs:1250:15
    at /opt/ubports-installer/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 system"},"stderr":"FAILED (Write to device failed (No such device))\nfastboot: error: Command failed"}
stack trace: Error: formatting failed: Error: {"error":{"code":1,"cmd":"fastboot format:ext4 system"},"stderr":"FAILED (Write to device failed (No such device))\nfastboot: error: Command failed"}
    at /opt/ubports-installer/resources/app.asar.unpacked/node_modules/promise-android-tools/lib/module.cjs:1250:15
    at /opt/ubports-installer/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 /opt/ubports-installer/resources/app.asar.unpacked/node_modules/promise-android-tools/lib/module.cjs:1250:15
    at /opt/ubports-installer/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)
pestryy commented 1 year ago

image recycle formatting if press to ignore

pestryy commented 1 year ago
My environment data:
$ cat /etc/*-release | grep PRETTY
PRETTY_NAME="Ubuntu 22.04.2 LTS"
$ ubports-installer --version
0.10.0
$ adb --version
Android Debug Bridge version 1.0.41
Version 28.0.2-debian
$ fastboot --version
fastboot version 28.0.2-debian
Connecting the phone to the computer:

$ adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
26a80c15        device
I reload into the bootloader:
$ adb reboot bootloader
It's OK:
$ fastboot devices
26a80c15        fastboot

Start ubports-installer:

$ ubports-installer 
info: Welcome to the UBports Installer version 0.10.0!
info: device detected: dipper

I see a banner: image Then: image Then: image Then: image

pestryy commented 1 year ago

image