From ed720c49a665a730f795023d9daf944a72cc13c3 Mon Sep 17 00:00:00 2001
From: Daniel Micay
android-tools
provides fastboot and other useful
- tools not required for installation such as adb. android-udev
- provides udev rules allowing fastboot and adb to work in local sessions
- without root. Install both of these packages and skip the section
+ tools not required for installation such as adb. Skip the section
below on using the standalone platform-tools releases.android-sdk-platform-tools-common
provides
- udev rules allowing fastboot and adb to work in local sessions without root.
- The udev rules in Debian and Ubuntu are out-of-date, but it has the necessary
- entries for Pixel phones. The adb and fastboot packages are currently both
- broken and far too out-of-date to be any use, so avoid those. The version
- check in the flashing script will prevent accidentally using these.
On Linux, in order to run the fastboot
command as non-root you'll
+ need udev rules to properly set up the USB device.
On Arch Linux:
+ +sudo pacman -S android-udev+ +
On Debian and Ubuntu:
+ +sudo apt install android-sdk-platform-tools-common+ +
The udev rules on Debian and Ubuntu are very out-of-date but the package has + the rules needed for Pixel phones since the same USB IDs have been used for many + years.
+Connect the phone to the computer if you haven't already.
+Connect the phone to the computer. On Linux, you'll need to do this again if + you didn't have the udev rules set up when you connected it.