This tool is still under development, bugreports are appreciated.
Snap:
- Open a terminal
- Run
snap install ubports-installer
to install - Run
ubports-installer
or select the icon in your application list to start the program
Deb:
- Download the latest
.deb
file from https://github.com/ubports/ubports-installer/releases/latest - Open the deb package with your software installation tool and follow the on-screen instructions
- Launch the program from your application list
Appimage:
- Download the latest
.AppImage
file from https://github.com/ubports/ubports-installer/releases/latest - Make the AppImage executable
- Run the file by double-clicking
- Download the latest
.dmg
file from https://github.com/ubports/ubports-installer/releases/latest - Open the file and follow the onscreen instructions
- Launch the program from the application list
- Install the universal adb driver or a device-specific driver
- Download the latest
.exe
file from https://github.com/ubports/ubports-installer/releases/latest - Launch the program and follow the on-screen instructions
Try a different USB cable and a different USB port on your computer. Cheap and old cables tend to loose connection during the installation.
Install the universal adb driver and try again.
We have contacted Microsoft about this problem, but they seem to think it's enjoyable. To dismiss the warning, click on "More Information", then select "Run anyway".
You might want to try using custom adb and fastboot binaries. For that, tick the "Custom tools" checkbox in the options and specify the path to adb and fastboot in the text-boxes below.
If the device not detected, you might be missing udev-rules.
- See if cat
/etc/udev/rules.d/51-android.rules
exists and contains the rules below. If not, add them to the file and runsudo service udev restart
.
SUBSYSTEM=="usb", ATTRS{idVendor}=="0e79", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0502", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0b05", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="413c", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0489", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="091e", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="24e3", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2116", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0482", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="17ef", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1004", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0409", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2080", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0955", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2257", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="10a9", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1d4d", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0471", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04da", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="05c6", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1f53", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04dd", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fce", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0930", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="19d2", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2ae5", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2a45", MODE="0666", GROUP="plugdev"
git clone https://github.com/ubports/ubports-installer.git
cd ubports-installer
./setup-dev.sh
npm start
npm run-script dist:linux
npm run-script dist:mac
npm run-script dist:win
Please note that the command line interface was created for testing purposes only and does not necessarily try to be user-friendly.
$ ./cli.js
Usage: cli [options]
Options:
-h, --help output usage information
-V, --version output the version number
-d, --device <device> Specify device
-c, --channel <channel> Specify channel (default: ubuntu-touch/stable)
-v, --verbose Verbose output
-b, --bootstrap Flash boot and recovery from bootloader