Plasma/Mobile/FlashingKubuntuPhonePreparation: Difference between revisions
(Created page with "=How to flash Kubuntu Phone on Nexus 5= Useful information can be found here: * https://wiki.ubuntu.com/Touch/Devices#Server_at_http:.2BAC8ALw-system-image.tasemnice.eu * ht...") |
No edit summary |
||
Line 84: | Line 84: | ||
Select "Yes" on the phone using volume keys, confirm pressing the power key once. | Select "Yes" on the phone using volume keys, confirm pressing the power key once. | ||
Continue [[Plasma/Mobile/FlashingKubuntuPhone|here...]] |
Revision as of 12:40, 18 July 2015
How to flash Kubuntu Phone on Nexus 5
Useful information can be found here:
- https://wiki.ubuntu.com/Touch/Devices#Server_at_http:.2BAC8ALw-system-image.tasemnice.eu
- http://schier.co/post/how-to-root-nexus-5-in-ubuntu-linux
Prerequisites
The device must be connected to the Linux host with the USB cable all the time, unless told to reconnect.
Configure the host device
Install Android tools.
On Ubuntu do:
sudo apt-get install android-tools* ubuntu-device-flash phablet-tools
Useful information can be found here:
- https://wiki.ubuntu.com/Touch/Devices#Server_at_http:.2BAC8ALw-system-image.tasemnice.eu
- http://schier.co/post/how-to-root-nexus-5-in-ubuntu-linux
Prerequisites
The device must be connected to the Linux host with the USB cable all the time, unless told to reconnect.
Configure the host device
Install Android tools.
On Ubuntu do:
sudo apt-get install android-tools* ubuntu-device-flash phablet-tools
Connect the device and type:
lsusb
an output like this will come out:
Bus 004 Device 010: ID 18d1:4ee1 Google Inc. Nexus 4 / 10
18d1 is the vendor id, 4ee1 is the product id.
Numbers may change with other devices.
Create /etc/udev/rules.d/51-android.rules with:
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666" SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee1", SYMLINK+="android_adb" SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee1", SYMLINK+="android_fastboot"
replace vendor and product identifiers with yours.
Now Reload uev's rules to make these changes effective:
sudo udevadm control --reload-rules
Reconnect your device.
Type:
sudo adb devices
your device will be listed.
- Unlock the device
Go to the bootloader:
- Power off the phone
- Keep volume down and power pressed together until the bootloader is shown (the bootloader has an android with the lid open like this: )
From the Linux host type:
sudo fastboot oem unlock
Select "Yes" on the phone using volume keys, confirm pressing the power key once.
Continue here...