Install /e/ OS on a Pixel XL
TL;DR
Basically copying the steps from the /e/ OS Wiki, which copied its steps from the LineageOS Wiki.
The Rest of the Story
Prerequisites
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:
|
|
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:
- Open “Settings”, and select “About Phone”.
- Tap on “Build number” seven times.
- Go back to “Settings”, select “System”, then “Advanced”, and select “Developer options”.
- Scroll down, and check the “USB debugging” entry under “Debugging”.
- Plug your device into your computer.
- On the computer, open up a terminal/command prompt, and type adb devices.
|
|
- A dialog should show on your device, asking you to allow usb debugging. Check “Always allow from this computer”, and choose “OK”.
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
- Enable “OEM unlocking” by going to “Settings”, “System”, “Advanced”, and then “Developer options”.
- Tap “Enable” when presented with this pop-up
- Connect your Pixel XL to your computer via USB.
- On the computer, open a Terminal window, and type:
|
|
- Once the device is in fastboot mode, verify your computer finds it by typing:
|
|
- If you see `no permissions fastboot`, try running `fastboot` with the `sudo` command.
- Now type the following command to unlock the bootloader:
|
|
- 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.
- You will then be brought back to the bootloader screen, and you will see at the bottom: “Device is UNLOCKED”.
- 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.
- 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.
- 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:
e-0.7-p-YYYYMMDDXXXXX-dev-marlin.zip
- YYYY = Year
- MM = Month
- DD = Day
- XXXXX = random build number (I think)
As of this writing, the latest file is: e-0.7-p-2019110830006-dev-marlin.zip
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:
You will be presented with a screen that looks like this:
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:
|
|
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.
- twrp-3.3.1-3-marlin.img
- e-0.7-p-2019110429547-dev-marlin.zip
Here are the steps you will need to take in order install everything you downloaded onto your Pixel XL:
- Power on your Pixel XL.
- Once the phone has booted into the homescreen, connect your Pixel XL to your computer via USB.
- On the computer, open up a Terminal window, and type the following:
|
|
- Your Pixel XL should automatically reboot into the bootloader menu.
- Verify that your computer can still detect the Pixel XL whilst at the bootloader menu.
- In the Terminal window, type the following:
1
fastboot devices
- Your output should look something like this:
Note: If you see “no permissions fastboot”, try running fastboot as root using the
1
HTXXXXXXXX60 fastboot
sudo
command.
- In the Terminal window, type the following:
- 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:
Note: The file may not be named identically to what is shown in the command above, so adjust accordingly.
1
fastboot flash boot twrp-3.3.1-3-marlin.img
- Results from executing the fastboot command should look similar to this:
1 2 3 4 5
downloading 'boot.img'... OKAY [ 0.872s] booting... OKAY [ 1.051s] finished. total time: 1.923s
- In the Terminal, navigate to the directory where you downloaded the
- Your Pixel XL will return to the bootloader menu:
- 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
- Your Pixel XL will reboot, and then enter the TWRP recovery:
- At the TWRP main menu, tap “Wipe”
- 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.
- Return to the previous menu by tapping the “Back” button, and then the back triangle
- Now tap “Advanced Wipe”
- 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. - Now tap “Back”, then tap the back triangle twice to get back to the main menu.
- Tap “Reboot”, then tap “Recovery”, and “Swipe to Reboot”.
- The Pixel XL will reboot, and return to the TWRP main menu
- Tap “Advanced” on the TWRP main menu, then “ADB Sideload”
- Select “Wipe Dalvik Cache”, “Wipe Cache”, and then “Swipe to Start Sideload”.
- On your computer you now start the sideload of /e/ OS:
- In the Terminal, navigate to the directory where you downloaded the
e-0.7-p-2019110830006-dev-marlin.zip
file. - Type the following to push the file to your Pixel XL:
Note: The file may not be named identically to what stands in this command, so adjust accordingly.
1
adb sideload e-0.7-p-2019110830006-dev-marlin.zip
- You will see progress in the Terminal, and on your Pixel XL:
1
serving: 'e-0.7-p-2019110830006-dev-marlin.zip' (`~`XX%)
- In the Terminal, navigate to the directory where you downloaded the
- 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.
Conclusion
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.