Ultimate Google Pixel 3 Unlock and Root Guide

The Google Pixel 3 is the latest device in the Pixel lineup from Google, and its one of the best pure Android experiences available. In this Appuals guide, we are going to show you how to root and unlock the Pixel 3 using a variety of methods you can choose from – we will also show you how to flash custom kernels, and some additional recommendations.

This guide is for the Pixel 3 and Pixel XL, with an aim towards the November 2018 Security Patch, though the downloads for each device may be different. This guide is not intended for the Pixel / Pixel XL / Pixel 2 / Pixel 2 XL phones! Proceed at your own risk!

Requirements

 

Unlocking the Bootloader

It is highly recommended to backup your data before proceeding, as unlocking the bootloader will erase all of your user data from your Pixel 3 device!

  1. Enable Developer Mode by going into Settings > System > About Phone > tap Build Number (7 times) until you see Developer Mode has been activated.
  2. Now go into Settings > Developer Options > enable both OEM Unlock and USB Debugging.
  3. Connect the phone to your computer via USB cable.
  4. Launch an ADB terminal (hold Shift + right click in your main ADB folder and choose ‘Open a Command Window here’).
  5. To make sure your Pixel 3 is recognized by ADB, type in the terminal: adb devices
  6. This should display your device’s serial number in the output prompt – if it says your device is not recognized, device offline, or displays no device at all, you may need to try reconnecting the USB, or troubleshooting your USB drivers (also accept the ADB pairing dialogue on your Pixel 3 screen).
  7. If your device is successfully recognized by ADB, type the following command into ADB terminal: adb reboot bootloader
  8. When your Pixel 3 device boots into Bootloader Mode, you can then type into ADB terminal: fastboot flashing unlock
  9. Then just follow the on-screen instructions to unlock your bootloader, and remember, all of your user-data will be reset!
  10. When the process is done, you type into ADB terminal: fastboot reboot

Root Downloads:

Root Pixel 3 with Magisk, Pass SafetyNet with TWRP

Important: Set a security PIN before installing TWRP (Settings > Security & location > Screen lock > PIN).

  1. Reboot your Pixel 3 to the Bootloader as we showed you in the unlocking guide above.
  2. Connect your USB cable and launch an ADB terminal.
  3. Copy twrp-3.2.3-1-crosshatch.img to the platform-tools folder (ADB) folder and rename it twrp.img, and also copy the TWRP installer.zip to your SD card.
  4. In the ADB terminal type: fastboot boot twrp.img
  5. When TWRP boots, disconnect the phone from your computer.
  6. If requested, swipe to allow modifications.
  7. Tap ‘Install’ and select twrp-pixel-installer-marlin-3.2.3-1.zip, swipe the slider to install.
  8. After TWRP has successfully flashed, choose ‘Reboot Recovery’.
  9. If you are re-rooting your Pixel 3, tap Install, select Magisk’s uninstaller.zip, and swipe the slider to install.

(Optional) If You Will Install a Custom Kernel

Despair

  1. Tap Install, select Despair R7(Pie).zip or Despair RB7(Boost).zip
  2. Tap Add more Zips, select Magisk-v17.3.zip – BETA
  3. Swipe Slider to Install
  4. Save Log
  5. Reboot System

Kirisakura_Bluecross

Note: You can install this kernel with ElementalX or Franco’s Kernel Manager. If you flash the kernel zip with ElementalX or Franco’s Kernel Manager, do not reboot automatically afterwards. Launch the Magisk Manager App and flash magisk.zip.

  1. Tap Install, select Kirisakura_Bluecross_1.7.2_Release.zip
  2. Tap Add more Zips, select Magisk-v17.3.zip – BETA
  3. Swipe Slider to Install
  4. Save Log
  5. Reboot System

HTML5 

  1. Tap Install, select HTML5_V52.zip
  2. Tap Add more zips, select Magisk-v17.3.zip – BETA
  3. Swipe Slider to Install
  4. Save Log
  5. Reboot System

Franken

  1. Tap Install, select FrankenKernel.P3XL.R2.zip
  2. Tap Add more Zips, select Magisk-v17.3.zip – BETA
  3. Swipe Slider to Install
  4. Save Log
  5. Reboot System

ElementalX

  1. Tap Install, select ElementalX-P3-1.01.zip
  2. Tap Add more Zips, select Magisk-v17.3.zip – BETA
  3. Swipe Slider to Install
  4. Save Log
  5. Reboot System

Proton

  1. Tap Install, select ProtonKernel-pixel3-v2.zip
  2. Tap Add more Zips, select Magisk-v17.3.zip – BETA
  3. Swipe Slider to Install
  4. Save Log
  5. Reboot System

If You Will Not Install a Custom Kernel

  1. Tap Install, select Magisk-v17.3.zip – BETA
  2. Swipe Slider to Install
  3. Save Log
  4. Reboot System

Root/Reroot with Magisk – Pass SafetyNet with T.W.R.P, without installing it

Do not download twrp-pixel3-installer-crosshatch-3.2.3-1.zip!

  1. Reboot to Bootloader.
  2. Connect the phone to the Computer with USB cord.
  3. Copy twrp-3.2.3-1-crosshatch.img to the platform-tools folder or folder that has fastboot in it and rename it twrp.img.
  4. Open an ADB terminal on your computer.
  5. At the ADB terminal type: fastboot boot twrp.img
  6. When TWRP boots, disconnect the phone from computer.
  7. Swipe to allow modifications.
  8. If you are rerooting, tap Install, select Magisk’s uninstaller.zip, Swipe the slider to install.

Root/Reroot with Magisk – Pass SafetyNet With patched_boot.img

Note: This method requires you have extracted and patched your boot.img!

  1. Use a File Explorer to extract the boot.img from the Factory Image.
  2. Extract the Factory Image file (crosshatch-pda1a.999999.999-factory-99a9a99a.zip) to a folder.
  3. Open the folder and, extract the Image file (image-crosshatch-aa9a.999999.999.zip).
  4. Copy the boot.img to your SD card.
  5. Activate Developer Mode.
  6. Install latest Magisk Manager APK.
  7. Launch Magisk Manager and go to Settings.
  8. Set the update channel to the version of Magisk you are going to install, for example, Magisk-17.3.zip – set the channel to Beta, Magisk-17.4.zip – set the channel to Canary, etc.
  9. Connect to mobile data or WiFi.
  10. When you see the Install prompt, tap Install until you see ‘Patch Boot Image’. Tap Patch Boot Image.
  11. Select the boot.img you extracted from the latest Factory Image
  12. When it finishes, copy the patched_boot.img to your main ADB folder.
  13. Reboot your Pixel 3 to the Bootloader Mode.
  14. Open an ADB terminal on you computer and type: fastboot flash boot –slot a patched_boot.img
  15. When it finishes, type: fastboot flash boot –slot b patched_boot.img
  16. Reboot your Phone.

Returning Pixel 3 to Stock and Re-Locking Bootloader

Warning! Do not re-lock your bootloader until after you have already returned your Pixel 3 to stock!

Return Phone to Stock

  1. Backup your data
  2. Backup your data/Internal storage
  3. Settings > System > Advanced > Reset Options > Erase all data (factory reset)

Lock Bootloader (Google Pixel 3 XL)

  1. Reboot to Bootloader.
  2. Open an ADB terminal and type this at the prompt: fastboot flashing lock
  3. You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.
  4. Allow the process to complete, then type this at the ADB terminal: fastboot reboot
  5. Enable Developer Options: Settings > System > About phone > tap ‘Build Number’ 7 times.
  6. Go to Settings > Developer Options > disable OEM Unlock.
  7. Install Factory Image keep or wipe data
  8. Backup your data
  9. Download the appropriate “crosshatch” factory image for Pixel 3 XL to your computer.
  10. Extract the factory Image to your ADB platform-tools folder.

If You Will Keep Data

  1. Open the folder you extracted the factory image to and edit the flash-all.bat file to remove -w from this command: fastboot -w update image-crosshatch-aa9a.999999.999.zip
    Warning: If you do not remove the -w, your phone’s data will not only be erased, but also your internal storage!
  2. Reboot to your bootloader and connect your Pixel 3 to your PC via ADB.
  3. Open an ADB terminal on your computer and type: flash-all
  4. Reboot your Pixel 3 when the process is complete.
ABOUT THE AUTHOR

Kamil Anwar


Kamil is a certified MCITP, CCNA (W), CCNA (S) and a former British Computer Society Member with over 9 years of experience Configuring, Deploying and Managing Switches, Firewalls and Domain Controllers also an old-school still active on FreeNode.