Install /e/ OS on a Pixel XL


Basically copying the steps from the /e/ OS Wiki, which copied its steps from the LineageOS Wiki.

The Rest of the Story


First, you will need to have adb and fastboot installed on your system.

If you are using Linux Mint (or another Debian/Ubuntu-based distro), just open a terminal, and enter the following command:

sudo apt install adb fastboot

If you are on Windows, you can follow these instructions:

If you are on a Mac, you can following these instructions:

Next, you will need to enable Developer Options, and USB Debugging on your device. Here are the steps on an Android 9, Pixel XL that you will need to take:

  1. Open “Settings”, and select “About Phone”.
    About Phone
  2. Tap on “Build number” seven times.
    Build Number
    Developer Mode Enabled
  3. Go back to “Settings”, select “System”, then “Advanced”, and select “Developer options”.
    Developer Options
  4. Scroll down, and check the “USB debugging” entry under “Debugging”.
    USB debugging
    Allow USB debugging
    Successfully Enabled USB Debugging
  5. Plug your device into your computer.
  6. On the computer, open up a terminal/command prompt, and type adb devices.
adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
  1. A dialog should show on your device, asking you to allow usb debugging. Check “Always allow from this computer”, and choose “OK”.
    Alway allow USB debugging

Unlocking the Bootloader

Warning: After you complete the steps to unlock the bootloader, the phone will perform a Factory Reset! You will lose ALL the data on you phone, so be prepared!

Step 1 Caveats

There are several things to note about step 1 (one) below.

Firstly, I am preforming these steps on a straight out-of-the-box Pixel XL. That means the initial settings on the phone are the absolute defaults. For example, I have not updated to Android 10, even though I keep getting the notification.

Secondly, I had to be connected to Wi-Fi for the “OEM unlocking” option to be available, otherwise it was grayed out (i.e. disabled).

And thirdly, I need to mention, if you are having trouble with the “OEM unlocking” option not being available, then follow these instructions: [How-to] Unlock bootloader on Verizon Pixel/XL.

The Actual Steps

  1. Enable “OEM unlocking” by going to “Settings”, “System”, “Advanced”, and then “Developer options”.
    Developer Options
    OEM unlocking
  2. Tap “Enable” when presented with this pop-up
    Confirm to Enable OEM unlocking
  3. Connect your Pixel XL to your computer via USB.
  4. On the computer, open a Terminal window, and type:
adb reboot bootloader
  1. Once the device is in fastboot mode, verify your computer finds it by typing:
fastboot devices
- If you see `no permissions fastboot`, try running `fastboot` with the `sudo` command.
  1. Now type the following command to unlock the bootloader:
fastboot flashing unlock
  1. Use the volume up button on the side of the phone to highlight “Yes Unlock bootloader (way void warranty)”, then press the power button on the side of the phone to confirm.
  2. You will then be brought back to the bootloader screen, and you will see at the bottom: “Device is UNLOCKED”.
  3. Again, using the volume up/down buttons on the side of the phone, adjust to action selector to read “Power off”, and then press the power button on the side of the phone.
    Power off / Reboot device
  4. Wait for the phone to power off completely, and then turn the phone on again. This boot will take a while as the phone will be performing a factory reset.
  5. Since the device resets completely, you will need to re-enable USB debugging to continue

Download /e/ OS for the Pixel XL

Download the latest build of /e/ OS for your Pixel by going here.

To download the latest file, click on the link with the highest date. The files are formatted this way:

  • YYYY = Year
  • MM = Month
  • DD = Day
  • XXXXX = random build number (I think)

As of this writing, the latest file is:

Once you have downloaded the zip file, it's best to ensure the validity of the file. To do that, click on the “SHA256” link next to the file you downloaded:

Click on SHA256 link

You will be presented with a screen that looks like this:

/e/ OS SHA256 sum

Now open up a Terminal window, and navigate to the directory where you downloaded the zip file, and type the following command:

Note: Be sure to change the file name to the name of the file you downloaded. As stated before, the exact file name used in this post is only valid for the time of this post.


Now compare the two outputs to be sure they match:


Should Match above Terminal Output

Download TWRP Recovery

The version of LineageOS on which /e/ OS is based, has a built-in recovery. However, in order to install /e/ OS to begin with you will have to flash a temporary recovery called TWRP

Download the latest version of TWRP for the Pixel XL by going here.

The version used in this tutorial is: twrp-3.3.1-3-marlin.img.

Putting It All Together

By now you should have two files:

Note: Exact file versions may be different. Please remember to download the latest version of each file.

  1. twrp-3.3.1-3-marlin.img

Here are the steps you will need to take in order install everything you downloaded onto your Pixel XL:

  1. Power on your Pixel XL.
  2. Once the phone has booted into the homescreen, connect your Pixel XL to your computer via USB.
  3. On the computer, open up a Terminal window, and type the following:
adb reboot bootloader
  1. Your Pixel XL should automatically reboot into the bootloader menu.
    Bootloader Menu
  2. Verify that your computer can still detect the Pixel XL whilst at the bootloader menu.
    • In the Terminal window, type the following:
      fastboot devices
    • Your output should look something like this:
      HTXXXXXXXX60    fastboot
      Note: If you see “no permissions fastboot”, try running fastboot as root using the sudo command.
  3. Now you can temporarily flash the TWRP recovery onto your Pixel XL by doing the following:
    • In the Terminal, navigate to the directory where you downloaded the twrp-3.3.1-3-marlin.img file.
    • Type the following to push the file to your Pixel XL:
      fastboot flash boot twrp-3.3.1-3-marlin.img
      Note: The file may not be named identically to what is shown in the command above, so adjust accordingly.
    • Results from executing the fastboot command should look similar to this:
      downloading 'boot.img'...
      OKAY [  0.872s]
      OKAY [  1.051s]
      finished. total time: 1.923s
  4. Your Pixel XL will return to the bootloader menu:
    Bootloader Menu
  5. Use the volume down button on the side of the phone to change the selection to “Recovery mode”, then push the power button on the side of the phone to select that option
  6. Your Pixel XL will reboot, and then enter the TWRP recovery:
  7. At the TWRP main menu, tap “Wipe”
  8. Now tap “Format Data”, and continue with the formatting process by typing “yes” then tapping the check mark on the keyboard. This will remove encryption as well as delete all files stored on the internal storage.
  9. Return to the previous menu by tapping the “Back” button, and then the back triangle
  10. Now tap “Advanced Wipe”
  11. Select all of the options, and then “Swipe to Wipe”
    Note: If you see Error opening: '/data/media' (No such file or directory), you can continue, don’t worry.
  12. Now tap “Back”, then tap the back triangle twice to get back to the main menu.
  13. Tap “Reboot”, then tap “Recovery”, and “Swipe to Reboot”.
  14. The Pixel XL will reboot, and return to the TWRP main menu
  15. Tap “Advanced” on the TWRP main menu, then “ADB Sideload”
  16. Select “Wipe Dalvik Cache”, “Wipe Cache”, and then “Swipe to Start Sideload”.
  17. On your computer you now start the sideload of /e/ OS:
    • In the Terminal, navigate to the directory where you downloaded the file.
    • Type the following to push the file to your Pixel XL:
      adb sideload
      Note: The file may not be named identically to what stands in this command, so adjust accordingly.
    • You will see progress in the Terminal, and on your Pixel XL:
      serving: ''  (`~`XX%)
  18. Now tap “Reboot System”, then “Swipe to Reboot”, and your Pixel XL will boot into your newly installed /e/ OS. Follow the on-screen instructions to set up you Pixel XL, and you're ready to start experimenting.


There you have it, you now have the privacy-respecting /e/ OS on your Pixel XL. Proceed to the bonus content if you want to root your Pixel XL. If you do not want to root your device, then you are done!

Help you found this helpful!

End of Line.