The UBports Installer is available on all major operating systems. Klick the buttons below to start the download, or check out the latest GitHub release for alternative packages and release notes.WindowsmacOSLinux
Alternatively, you can install the snap package on any Linux distribution:
snap install ubports-installer
Manually install Ubuntu Touch
Please make sure you read the full instructions before proceeding. Making mistakes can damage your device, but if you follow the instructions carefully, you will be fine. The installation will delete all data stored on your device. Please back up everything you might need in the future before installing. If you need help with the installation, you can ask members of the community on telegram, matrix or the forum.
What kind of a PC do you use?
You will need a PC running Linux, Windows or macOS to install Ubuntu Touch on your phone. Please select your operating system to continue.
You are running Linux.
You will need to install fastboot and adb to follow these instructions. On Ubuntu, this can be done by opening a terminal window and running the following command:
sudo apt install adb fastboot
It is recommended to create a new temporary directory for the installation, so you can easily delete the downloaded files after the installation. This should do the trick:
mkdir /tmp/ubuntutouchinstall cd /tmp/ubuntutouchinstall
You are running Windows.
Create a new temporary folder for the installation and navigate your console there.
You are running macOS.
Install adb and fastboot.
It is recommended to create a new temporary directory for the installation, so you can easily delete the downloaded files after the installation. Run this in a the terminal:
mkdir /tmp/ubuntutouchinstall cd /tmp/ubuntutouchinstall
Download Ubuntu Touch
Run these commands to download all the Ubuntu Touch installation files and check their integrity.
wget http://cdimage.ubports.com/devices/recovery-FP2.img -O recovery.img && echo "534cc2da2add4a2bd8136b01069ed7dbe432076659fd4780910b6910b916f77b recovery.img" | sha256sum -c
wget http://cdimage.ubports.com/devices/splash-FP2.img -O splash.img && echo "2bf76ec909af34d9896a954cd6c4ed5ad114d6053e59b7a856325b4fcfca43cd splash.img" | sha256sum -c
mkdir pool gpg
wget https://system-image.ubports.com//pool/ubports-420bfa80c833e7736e0197d969b5cd981f18eee1215ad3bfae6d82aab9105f03.tar.xz -O pool/ubports-420bfa80c833e7736e0197d969b5cd981f18eee1215ad3bfae6d82aab9105f03.tar.xz && echo "a959960b307d565d6352e47b8bc9514a2d40ccefc26a7271adf1a71cfb55851a pool/ubports-420bfa80c833e7736e0197d969b5cd981f18eee1215ad3bfae6d82aab9105f03.tar.xz" | sha256sum -c
wget https://system-image.ubports.com//pool/ubports-420bfa80c833e7736e0197d969b5cd981f18eee1215ad3bfae6d82aab9105f03.tar.xz.asc -O pool/ubports-420bfa80c833e7736e0197d969b5cd981f18eee1215ad3bfae6d82aab9105f03.tar.xz.asc && echo OK
wget https://system-image.ubports.com//pool/device-e8d46fc155131783d99bfa5c05b1062ec95d1c3324875e16de71e947aecafe1b.tar.xz -O pool/device-e8d46fc155131783d99bfa5c05b1062ec95d1c3324875e16de71e947aecafe1b.tar.xz && echo "d72d3fd2fc78fcfb3dfee5a241f5f8ff67be6d5b9d52c9449fd3833f8e42be6f pool/device-e8d46fc155131783d99bfa5c05b1062ec95d1c3324875e16de71e947aecafe1b.tar.xz" | sha256sum -c
wget https://system-image.ubports.com//pool/device-e8d46fc155131783d99bfa5c05b1062ec95d1c3324875e16de71e947aecafe1b.tar.xz.asc -O pool/device-e8d46fc155131783d99bfa5c05b1062ec95d1c3324875e16de71e947aecafe1b.tar.xz.asc && echo OK
wget https://system-image.ubports.com//pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz -O pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz && echo "5b6e870acf8944330acb2a9dad6f5270bd06c377603a3115f805290e989ab421 pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz" | sha256sum -c
wget https://system-image.ubports.com//pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz.asc -O pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz.asc && echo OK
wget https://system-image.ubports.com//ubports-touch/16.04/stable/FP2/version-7.tar.xz -O pool/version-7.tar.xz && echo "55fe809f33497295e1731a5b7cc7bacf062c7db977adce1c6be49b46a13ed00e pool/version-7.tar.xz" | sha256sum -c
wget https://system-image.ubports.com//ubports-touch/16.04/stable/FP2/version-7.tar.xz.asc -O pool/version-7.tar.xz.asc && echo OK
wget https://system-image.ubports.com/gpg/image-signing.tar.xz -O gpg/image-signing.tar.xz && echo OK
wget https://system-image.ubports.com/gpg/image-signing.tar.xz.asc -O gpg/image-signing.tar.xz.asc && echo OK
wget https://system-image.ubports.com/gpg/image-master.tar.xz -O gpg/image-master.tar.xz && echo OK
wget https://system-image.ubports.com/gpg/image-master.tar.xz.asc -O gpg/image-master.tar.xz.asc && echo OK
If all files downoaded successfully and the checks read "OK", you can continue with the installation.
Enable developer mode
Your device needs to be in developer mode to continue with the installation. What operating system is the device running right now?
Connect your device to your computer and run the following command to see if the adb connection works:
You should see something like this:
List of devices attached 0123456789ABCDEF device
If your device does not show up, disconnect your device and plug it back in again, or run the following command and try again:
Unlock the bootloader
First, you need to reboot your device to bootloader mode. Press and hold the volume down and power buttons until the phone reboots. Now, connect your phone to your computer and run the following commands to wipe the internal memory.
sudo fastboot oem unlock sudo fastboot format cache sudo fastboot reboot-bootloader
If you want to erase the data on the device, run these commands:
sudo fastboot format userdata sudo fastboot format system
sudo fastboot flash recovery recovery.img
sudo fastboot flash splash splash.img
Now reboot the device to recovery mode. Press and hold the volume up and power buttons until the phone reboots. Create a new text file called "commandfile" with the following content:
format system load_keyring image-master.tar.xz image-master.tar.xz.asc load_keyring image-signing.tar.xz image-signing.tar.xz.asc mount system update ubports-420bfa80c833e7736e0197d969b5cd981f18eee1215ad3bfae6d82aab9105f03.tar.xz ubports-420bfa80c833e7736e0197d969b5cd981f18eee1215ad3bfae6d82aab9105f03.tar.xz.asc update device-e8d46fc155131783d99bfa5c05b1062ec95d1c3324875e16de71e947aecafe1b.tar.xz device-e8d46fc155131783d99bfa5c05b1062ec95d1c3324875e16de71e947aecafe1b.tar.xz.asc update keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz.asc update version-7.tar.xz version-7.tar.xz.asc unmount system
We will now send all the installation files to the device.
adb shell "mount -a" # You might see some errors from this command, that's ok.
adb shell "mkdir -p /cache/recovery"
adb push pool/ubports-420bfa80c833e7736e0197d969b5cd981f18eee1215ad3bfae6d82aab9105f03.tar.xz /cache/recovery/
adb push pool/ubports-420bfa80c833e7736e0197d969b5cd981f18eee1215ad3bfae6d82aab9105f03.tar.xz.asc /cache/recovery/
adb push pool/device-e8d46fc155131783d99bfa5c05b1062ec95d1c3324875e16de71e947aecafe1b.tar.xz /cache/recovery/
adb push pool/device-e8d46fc155131783d99bfa5c05b1062ec95d1c3324875e16de71e947aecafe1b.tar.xz.asc /cache/recovery/
adb push pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz /cache/recovery/
adb push pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz.asc /cache/recovery/
adb push pool/version-7.tar.xz /cache/recovery/
adb push pool/version-7.tar.xz.asc /cache/recovery/
adb push gpg/image-signing.tar.xz /cache/recovery/
adb push gpg/image-signing.tar.xz.asc /cache/recovery/
adb push gpg/image-master.tar.xz /cache/recovery/
adb push gpg/image-master.tar.xz.asc /cache/recovery/
adb push commandfile /cache/recovery/ubuntu_command
Moment of truth!
Run this to start the installation process:
adb reboot recovery
Your device will now reboot and install the operating system. Enjoy exploring Ubuntu Touch!
If you want to help make Ubuntu Touch better, we would love to welcome you on our team of volunteers. Many different skills are needed, and wokring in a friendly open-source community can be a fun and engaging hobby. If you want, you can also support us financially to help cover the costs of developing Ubuntu Touch.
Thank you for being a part of this awesome journey!
Fairphone 2 (FP2)
The ethical pioneer
Ubuntu Touch on the Fairphone 2: a perfect combination of a secure and open source OS on a sustainable and ethical device. So not only is the Fairphone 2 a modular device, it also guarantees the users' privacy with Ubuntu Touch. No more 'forced services' that extract your personal and private data and spy on you.
Ubuntu Touch on your Fairphone is a free and open source mobile operating system and is a great alternative to iOS. Ubuntu Touch keeps your Fairphone 2 secure, because everything unsafe is blocked by default and the OS is virtually free of viruses and other malware that can extract your private data.
You can learn more about the Fairphone 2 and the story behind this device here.
The Fairphone 2 is available on fairphone.com.
|16.04/devel||Jun 16 2019|
|16.04/rc||Jun 12 2019|
|16.04/stable||May 11 2019|