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
539 stars 119 forks source link

appimage is unable to flash the device: Failed to access device. libusb error: -3 #3811

Open rplevka opened 1 month ago

rplevka commented 1 month ago

running on Fedora 40, appimage version of the installer:

https://pastebin.com/1av2WiYD

after the device is detected and prepared, installer is unable to write the recovery to the device:

Detecting device...\",\"stderr\":\"libusb: error [get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/005/065, errno=13\\nlibusb: error [get_usbfs_fd] libusb requires write access to USB device nodes\
\nERROR: Failed to access device. libusb error: -3\"}
\n    at /tmp/.mount_ubportrW5rSk/resources/app.asar.unpacked/node_modules/promise-android-tools/lib/module.cjs:117:20\n    at ChildProcess.exithandler (node:child_process:430:5)\n    at ChildProcess.emit (node:events:513:28)\n    at maybeClose (node:internal/child_process:1091:16)\n    at Socket.<anonymous> (node:internal/child_process:449:11)\n    at Socket.emit (node:events:513:28)\n    at Pipe.<anonymous> (node:net:313:12)"}

As a workaround, I used snapd version that worked