[GUIDE] Pixel XL Android 8(OREO) Unlock/Install Stock Images + Kernels/Recovery +

Search This thread

Homeboy76

Senior Member
  • Aug 24, 2012
    2,574
    1,249
    [Guide] Pixel XL Android 8.0.0 (OREO) Unlock/Lock Bootloader + Install Stock Images/Custom kernels/TWRP Recovery/Systemless ROOT + November Security Patch
    Other Pixel XL Guides:
    Android 9.0.0 (Pie), Android 8.1.0 (Oreo), Android 7.1.2 (Nougat)

    Intro
    This thread is for Pixel XL owners that want to Root their phone, and enjoy the benefits of rooting it without installing a Custom ROM. However, for those that just can't live without a Custom ROM, take a look at 'Custom ROMs for Pixel/Pixel XL'.

    This Guide also works for the Pixel: If, you download the correct files for the Pixel.

    Disclaimer
    I assume no responsibility for the malfunctioning/bricking of your phone.

    Prerequisites
    Need help installing Android SDK or using SDK Platform tools:

    Credits/Thanks/Recognitions


    Index
    1. Command Prompt/Boot Bootloader/Boot Recovery

      1. Open Command Prompt on Computer
        • Option 1 - Open File Explorer, click the platform-tools folder, press shift, right click, and select open command prompt here.
        • Option 2 - Open File Explorer, click platform-tools folder, highlight the directory information in the address bar or click the folder (left side of address bar) to highlight it type 'cmd' and press enter.
        • Note: If your computer only has 'open powershell here' in the context menu and you do not want to change it or add open 'command prompt here' use option 2.
      2. Boot Bootloader:
        • Power off phone, press and hold the power and volume down buttons until you see Start.
      3. Boot Recovery
        • Power off phone, press and hold the power and volume down buttons until you see Start. Use volume up/down button until you see Recovery mode. Press power button.
    2. Testing ADB (Android Debug Bridge)/fastboot

      • ADB
        1. Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.
        2. Open a Command Prompt on your computer.
        3. Type this at the prompt to test ADB.
          Code:
          adb version
          It should return a version number for ADB.
      • fastboot
        1. Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.
        2. Open a Command Prompt on your computer.
        3. Boot Bootloader
        4. Connect your phone to your Computer with USB cable.
        5. Type this at the prompt and press enter to test fastboot.
          Code:
          fastboot devices
          It should return your device serial number.
    3. Unlock Bootloader

      • Backup your data and Internal storage
      • Activate Developer Options: Tap Settings > System > About Phone > Build number. Tap Build Number until you see you're a Developer. Tap back > Developer Options. Enable OEM Unlock and, USB Debugging.
      • Boot Bootloader
      • Connect your phone to your Computer via USB cable.
      • Open a Command Prompt on your computer.
      • Type the following at the prompt:
        Code:
        fastboot flashing unlock
        This will erase all user data from the device!
      • You should see a screen on your phone asking you to confirm this action, use the volume keys to scroll and the power key to make your selection.
      • Allow the process to complete and then issue this command:
        Code:
        fastboot reboot
      • When your phone reboots disconnect your usb cable.

        Note: After unlocking your bootloader, you'll be greeted with a warning that reads 'Your device software can't be checked for corruption. Please lock the bootloader' You will receive this warning until, you relock the bootloader.

        Important: do not repeat do not relock your bootloader unless your phone is fully stock. You must flash the factory image first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see #13 of this guide for instructions on how to return to stock and lock the boot loader.
    4. Install Factory Image and wipe data

      • Backup your data and Internal storage
      • Download the appropriate Factory/System Image for your phone and carrier.
      • Unzip factory Image
      • Copy the following files to the Platform Tools folder on your Computer
        1. flash-all.bat
          • Verify -w is present in flash-all.bat. Example: fastboot -w update image-marlin-aaa9.999999.999.zip
        2. bootloader-marlin-9999-999999-9999999999.img
        3. radio-marlin-9999-999999-9999999999.img
        4. image-marlin-aaa9.999999.999.zip
      • Boot Bootloader
      • Connect phone to Computer with USB cable
      • Open a Command Prompt on your computer.
      • Type the following and press enter.
        Code:
        flash-all
    5. Install Factory Image and keep data

      • Important: If upgrading to Android8/Oreo from Android7/Nougat 7.x.x. Do #4 - Install Factory Image and wipe data
      • Backup your data and Internal storage
      • Download the appropriate Factory Image for your phone and carrier.
      • Unzip factory Image
      • Copy the following files to the Platform Tools folder on your Computer
        1. flash-all.bat
          • Edit flash-all.bat: remove -w
        2. bootloader-marlin-9999-999999-9999999999.img
        3. radio-marlin-9999-999999-9999999999.img
        4. image-marlin-aaa9.999999.999.zip
      • Boot Bootloader
      • Connect phone to Computer with USB cable
      • Open a Command Prompt on your computer.
      • Type the following and press enter.
        Code:
        flash-all
    6. Install Custom Kernel

      1. Flash with TWRP

        • Important: Set Pin before installing TWRP: Setting > Security > Pin.
      2. Flash with Flashfire

        • Warning: "FlashFire is an extremely powerful application, it should be used with caution. Data loss, soft-bricks, and even hard-bricks are possible if used incorrectly. Unless you are an expert user, consult FlashFire's website and this thread before doing anything potentially destructive."
        • Backup your data and Internal storage
        • Install Application:
          • Install Flashfire Application from Google's Play Store
        • Open Flashfire Grant Root
        • Tap Plus Sign (+)
        • Tap Flash ZIP or OTA
        • Locate/Navigate to ZIP File location
          1. ElementalX-P-2.03.zip
          2. Kirisakura-Harmony-O-2.12_3.18.84.zip
          3. Sharkey.R3.marlin.zip
        • Tap file
          1. ElementalX-P-2.03.zip
          2. Kirisakura-Harmony-O-2.12_3.18.84.zip
          3. Sharkey.R3.marlin.zip
        • Check the Restore boot and recovery images box
        • Tap Checkmark (Top right corner)
        • Verify before you Flash
          • Flash ZIP or OTA - Has the file you want to flash and ✓ Restore boot and recovery images is present.
            If not repeat 2. Flash with Flashfire d through h above.
          • EverRoot - ✓ Inject SuperSU is present.
            If not, Tap EverRoot Select Inject SuperSU
          • Reboot should default to ✓ Normal.
        • Tap Flashfire symbol to Flash file
    7. Root with SuperSU

      • Important: Set Pin before installing TWRP: Setting > Security > Pin.
      • Backup your data and Internal storage
      • Download files:
      • Copy the following file to the platform-tools folder:
        • twrp-3.2.0-0-marlin.img and Rename it twrp.img
      • Boot Bootloader
      • Connect device/phone to Computer
      • Open a Command Prompt on your computer.
      • Type the following command at the prompt and press enter.
        Code:
        fastboot boot twrp.img
      • When TWRP boots on your phone, tap the Install button, and select
        twrp-pixel-installer-marlin-3.2.0-0.zip
      • Reboot Recovery
      • Tap the Install button, and select
        SR5-SuperSU-v2.82-SR5-20171001224502.zip
      • Swipe the slider to install.
      • Reboot System.
      • Note: Install BusyBox to/sbin/supersu/xbin.
    8. Root with SuperSU - Pass Safetynet

      • Important: Set Pin before installing TWRP: Setting > Security > Pin.
      • Note: If you did #6 - Install Custom Kernel or #7 - Root with SuperSU, above you already have root. Start at m..
      • Backup your data and Internal storage
      • Download files:
      • Copy the following file to the platform-tools folder:
        • twrp-3.2.0-0-marlin.img and Rename it twrp.img
      • Boot Bootloader
      • Connect device/phone to Computer
      • Open a Command Prompt on your computer.
      • Type the following Command at the prompt and press enter.
        Code:
        fastboot boot twrp.img
      • When TWRP boots on your phone, tap the Install button, select twrp-pixel-installer-marlin-3.2.0-0.zip
      • Reboot Recovery
      • Tap the Install button, select SR5-SuperSU-v2.82-SR5-20171001224502.zip
      • Swipe the slider to install.
      • Reboot System.
      • Boot Recovery
      • When TWRP boots on your phone, tap the Install button, Select
        UPDATE-suhide-v1.09-20171001222116.zip
      • Swipe the slider to install.
      • Reboot System
      • Note: Install BusyBox to /sbin/supersu/xbin.
    9. Root with Magisk - Pass SafetyNet

      • Important: I haven't tested Magisk 14.5 or Magisk Manager 5.4.3. If you have problems redo #9 substitute Magisk 14.3 for Magisk 14.5 and Magisk Manager 5.4.0 for Magisk Manager 5.4.3.
      • Important: Set Pin before installing TWRP: Setting > Security > Pin.
      • Install TWRP, Custom Kernel, Magisk, and Busybox.
      • Backup your data and Internal storage
      • Download files:
      • Flash boot.img.
        1. Use a File Explorer to extract the contents of your factory image. Open the folder it creates and, extract the second archive (image-marlin-aaa9.999999.999.zip)
          Then open the folder it creates and copy the boot.img file and paste it into the platform-tools folder.
        2. Boot Bootloader
        3. Connect the device/phone to your Computer
        4. Open a Command Prompt on your computer.
        5. Type the following command at the prompt:
          Code:
          fastboot flash boot --slot all boot.img
        6. When it finishes, leave the command prompt window open, leave your phone in bootloader mode and connected to the Computer.
      • Copy the following file to the platform-tools folder:
        • twrp-3.2.0-0-marlin.img and Rename it twrp.img
      • Type the following Command at the prompt and press enter.
        Code:
        fastboot boot twrp.img
      • When TWRP boots on your phone, tap the Install button, select
        twrp-pixel-installer-marlin-3.2.0-0.zip
      • Swipe the slider to install
      • Reboot Recovery
      • Tap Install, select Custom kernel (Optional)
        Note: If you do not want to install a Custom Kernel go to n below.
        1. ElementalX-P-2.03.zip
        2. Kirisakura-Harmony-O-2.12_3.18.84.zip
        3. Sharkey.R3.marlin.zip
      • Swipe slider to install
      • Reboot System
      • Boot Recovery
      • Tap Install, select Magisk-v14.5 (1456).zip
      • Swipe slider to install.
      • Reboot System
      • Install BusyBox (Optional)
        1. Open Magisk Manager, tap Menu, tap Modules, verify Busybox for Android NDK is checked.
    10. Root with Magisk - Pass SafetyNet without installing TWRP
      thanks stryker09


      • Important: Set Pin before using TWRP: Setting > Security > Pin.
      • Backup your data and Internal storage
      • Read/Do (as applicable) #1 - Command Prompt/Boot Bootloader/Boot Recovery; #2 - Testing ADB (Android Debug Bridge)/fastboot; #3 - Unlock Bootloader; #5 - Install Factory Image and keep data; and Tips and Tricks -OTA Installation Tips
      • Download files:
        1. TWRP 3.2.0-0 for Google Pixel XL to your Computer.
        2. [BETA] Magisk v14.5 (1456) by topjohnwu
          • Magisk-v14.5 (1456).zip to your Phone.
      • Flash boot.img.
        1. Use a File Explorer to extract the contents of your factory image. Open the folder it creates and, extract the second archive (image-marlin-aaa9.999999.999.zip)
          Then open the folder it creates and copy the boot.img file and paste it into the platform-tools folder.
        2. Boot Bootloader
        3. Connect the phone to your Computer via USB cable.
        4. Open a Command Prompt on your computer.
        5. Type the following command at the prompt:
          Code:
          fastboot flash boot --slot all boot.img
        6. When it finishes, leave the command prompt window open, leave your phone in bootloader mode and connected to the Computer.
      • Copy the following file to the platform-tools folder:
        • twrp-3.2.0-0-marlin.img and Rename it twrp.img
      • Type the following Command at the prompt and press enter.
        Code:
        fastboot boot twrp.img
      • When TWRP boots up, tap Install, select Magisk-v14.5 (1456).zip
      • Swipe Slider to Install
      • Reboot System
      • Install BusyBox (Optional)
        • Open Magisk Manager, tap Menu, tap Modules, verify Busybox for Android NDK is checked.
    11. Custom ROMs for Pixel XL
    12. Other - TWRP Backup

      • Boot Recovery.
      • Tap Backup and select Partitions to backup
        1. Boot
        2. System Image
        3. Vendor Image
        4. Data (Optional)
      • Swipe Slider to backup
      • Reboot System
      • Your backup will be stored in /Storage/Emulated/0/TWRP/...
    13. Return to Stock and Lock Bootloader

      • Return to Stock
        1. Backup Internal storage
        2. Download the appropriate factory image for your phone and carrier.
        3. Unzip factory Image
        4. Copy the following files to the Platform Tools folder on your Computer
          • flash-all.bat
            • Verify -w is present in flash-all.bat. Example: fastboot -w update image-marlin-aaa9.999999.999.zip
          • bootloader-marlin-9999-999999-9999999999.img
          • radio-marlin-9999-999999-9999999999.img
          • image-marlin-aaa9.999999.999.zip
        5. Boot Bootloader
        6. Connect phone to Computer with USB cable
        7. Open a Command Prompt on your computer.:
        8. Type the following command at the prompt, and press enter.
          Code:
          flash-all
      • Lock Bootloader

        1. Phone
        2. Boot Bootloader
        3. Connect your phone to your Computer with USB cable.
        4. Computer
        5. Open a Command Prompt on your computer.
        6. Type the following command at the prompt:
          Code:
          fastboot flashing lock
        7. When it finishes the bootloader is locked.
        8. The next step won't be needed if your Pixel XL reboots into system after bootloader relock.
        9. You need to boot into system now, either press Power button to reboot OR issue the following command:
          Code:
          fastboot reboot
    14. Audio Mod
     
    Last edited:

    grifforama

    Senior Member
    Dec 9, 2009
    1,592
    141
    Hi, step 3, first code should be fastboot flash bootloader bootloader.img and not fastboot flashbootloader bootloader.img
    (i.e there is a gap between flash and bootloader)
     

    encephalon9986

    Senior Member
    Jan 7, 2008
    257
    51
    30
    OnePlus 8
    To root mine all I did was chainfires boot-to-root. Then you can install and substratum theme with O support. I'm using the Swift black theme. You have to install only 5 at a time or it won't work. It says in the description for the app. My Android O is blacked out now and I'm happy.
     

    jaxenroth

    Senior Member
    Apr 28, 2011
    814
    152
    Langhorne, PA
    1503423760773.jpg I flashed SU from TWRP, booted into system, from there adb'd back to BL and booted TWRP again and flashed aroma installer.
     

    Neverendingxsin

    Senior Member
    Dec 21, 2009
    2,173
    1,182
    Virginia
    Is the aroma installer necessary for just being stock rooted with adaway? Or would I just fastboot boot twrp then flash latest SuperSU and reboot?

    Sent from my Nexus 6P using Tapatalk
     

    Homeboy76

    Senior Member
  • Aug 24, 2012
    2,574
    1,249
    To root mine all I did was chainfires boot-to-root. Then you can install and substratum theme with O support. I'm using the Swift black theme. You have to install only 5 at a time or it won't work. It says in the description for the app. My Android O is blacked out now and I'm happy.

    Yeah, there's more than one way to root, I prefer Chainfire's SuperSU. Thanks for the Substratum information.

    Which Substratum theme engine and version did you use?
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 44
      [Guide] Pixel XL Android 8.0.0 (OREO) Unlock/Lock Bootloader + Install Stock Images/Custom kernels/TWRP Recovery/Systemless ROOT + November Security Patch
      Other Pixel XL Guides:
      Android 9.0.0 (Pie), Android 8.1.0 (Oreo), Android 7.1.2 (Nougat)

      Intro
      This thread is for Pixel XL owners that want to Root their phone, and enjoy the benefits of rooting it without installing a Custom ROM. However, for those that just can't live without a Custom ROM, take a look at 'Custom ROMs for Pixel/Pixel XL'.

      This Guide also works for the Pixel: If, you download the correct files for the Pixel.

      Disclaimer
      I assume no responsibility for the malfunctioning/bricking of your phone.

      Prerequisites
      Need help installing Android SDK or using SDK Platform tools:

      Credits/Thanks/Recognitions


      Index
      1. Command Prompt/Boot Bootloader/Boot Recovery

        1. Open Command Prompt on Computer
          • Option 1 - Open File Explorer, click the platform-tools folder, press shift, right click, and select open command prompt here.
          • Option 2 - Open File Explorer, click platform-tools folder, highlight the directory information in the address bar or click the folder (left side of address bar) to highlight it type 'cmd' and press enter.
          • Note: If your computer only has 'open powershell here' in the context menu and you do not want to change it or add open 'command prompt here' use option 2.
        2. Boot Bootloader:
          • Power off phone, press and hold the power and volume down buttons until you see Start.
        3. Boot Recovery
          • Power off phone, press and hold the power and volume down buttons until you see Start. Use volume up/down button until you see Recovery mode. Press power button.
      2. Testing ADB (Android Debug Bridge)/fastboot

        • ADB
          1. Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.
          2. Open a Command Prompt on your computer.
          3. Type this at the prompt to test ADB.
            Code:
            adb version
            It should return a version number for ADB.
        • fastboot
          1. Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.
          2. Open a Command Prompt on your computer.
          3. Boot Bootloader
          4. Connect your phone to your Computer with USB cable.
          5. Type this at the prompt and press enter to test fastboot.
            Code:
            fastboot devices
            It should return your device serial number.
      3. Unlock Bootloader

        • Backup your data and Internal storage
        • Activate Developer Options: Tap Settings > System > About Phone > Build number. Tap Build Number until you see you're a Developer. Tap back > Developer Options. Enable OEM Unlock and, USB Debugging.
        • Boot Bootloader
        • Connect your phone to your Computer via USB cable.
        • Open a Command Prompt on your computer.
        • Type the following at the prompt:
          Code:
          fastboot flashing unlock
          This will erase all user data from the device!
        • You should see a screen on your phone asking you to confirm this action, use the volume keys to scroll and the power key to make your selection.
        • Allow the process to complete and then issue this command:
          Code:
          fastboot reboot
        • When your phone reboots disconnect your usb cable.

          Note: After unlocking your bootloader, you'll be greeted with a warning that reads 'Your device software can't be checked for corruption. Please lock the bootloader' You will receive this warning until, you relock the bootloader.

          Important: do not repeat do not relock your bootloader unless your phone is fully stock. You must flash the factory image first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see #13 of this guide for instructions on how to return to stock and lock the boot loader.
      4. Install Factory Image and wipe data

        • Backup your data and Internal storage
        • Download the appropriate Factory/System Image for your phone and carrier.
        • Unzip factory Image
        • Copy the following files to the Platform Tools folder on your Computer
          1. flash-all.bat
            • Verify -w is present in flash-all.bat. Example: fastboot -w update image-marlin-aaa9.999999.999.zip
          2. bootloader-marlin-9999-999999-9999999999.img
          3. radio-marlin-9999-999999-9999999999.img
          4. image-marlin-aaa9.999999.999.zip
        • Boot Bootloader
        • Connect phone to Computer with USB cable
        • Open a Command Prompt on your computer.
        • Type the following and press enter.
          Code:
          flash-all
      5. Install Factory Image and keep data

        • Important: If upgrading to Android8/Oreo from Android7/Nougat 7.x.x. Do #4 - Install Factory Image and wipe data
        • Backup your data and Internal storage
        • Download the appropriate Factory Image for your phone and carrier.
        • Unzip factory Image
        • Copy the following files to the Platform Tools folder on your Computer
          1. flash-all.bat
            • Edit flash-all.bat: remove -w
          2. bootloader-marlin-9999-999999-9999999999.img
          3. radio-marlin-9999-999999-9999999999.img
          4. image-marlin-aaa9.999999.999.zip
        • Boot Bootloader
        • Connect phone to Computer with USB cable
        • Open a Command Prompt on your computer.
        • Type the following and press enter.
          Code:
          flash-all
      6. Install Custom Kernel

        1. Flash with TWRP

          • Important: Set Pin before installing TWRP: Setting > Security > Pin.
        2. Flash with Flashfire

          • Warning: "FlashFire is an extremely powerful application, it should be used with caution. Data loss, soft-bricks, and even hard-bricks are possible if used incorrectly. Unless you are an expert user, consult FlashFire's website and this thread before doing anything potentially destructive."
          • Backup your data and Internal storage
          • Install Application:
            • Install Flashfire Application from Google's Play Store
          • Open Flashfire Grant Root
          • Tap Plus Sign (+)
          • Tap Flash ZIP or OTA
          • Locate/Navigate to ZIP File location
            1. ElementalX-P-2.03.zip
            2. Kirisakura-Harmony-O-2.12_3.18.84.zip
            3. Sharkey.R3.marlin.zip
          • Tap file
            1. ElementalX-P-2.03.zip
            2. Kirisakura-Harmony-O-2.12_3.18.84.zip
            3. Sharkey.R3.marlin.zip
          • Check the Restore boot and recovery images box
          • Tap Checkmark (Top right corner)
          • Verify before you Flash
            • Flash ZIP or OTA - Has the file you want to flash and ✓ Restore boot and recovery images is present.
              If not repeat 2. Flash with Flashfire d through h above.
            • EverRoot - ✓ Inject SuperSU is present.
              If not, Tap EverRoot Select Inject SuperSU
            • Reboot should default to ✓ Normal.
          • Tap Flashfire symbol to Flash file
      7. Root with SuperSU

        • Important: Set Pin before installing TWRP: Setting > Security > Pin.
        • Backup your data and Internal storage
        • Download files:
        • Copy the following file to the platform-tools folder:
          • twrp-3.2.0-0-marlin.img and Rename it twrp.img
        • Boot Bootloader
        • Connect device/phone to Computer
        • Open a Command Prompt on your computer.
        • Type the following command at the prompt and press enter.
          Code:
          fastboot boot twrp.img
        • When TWRP boots on your phone, tap the Install button, and select
          twrp-pixel-installer-marlin-3.2.0-0.zip
        • Reboot Recovery
        • Tap the Install button, and select
          SR5-SuperSU-v2.82-SR5-20171001224502.zip
        • Swipe the slider to install.
        • Reboot System.
        • Note: Install BusyBox to/sbin/supersu/xbin.
      8. Root with SuperSU - Pass Safetynet

        • Important: Set Pin before installing TWRP: Setting > Security > Pin.
        • Note: If you did #6 - Install Custom Kernel or #7 - Root with SuperSU, above you already have root. Start at m..
        • Backup your data and Internal storage
        • Download files:
        • Copy the following file to the platform-tools folder:
          • twrp-3.2.0-0-marlin.img and Rename it twrp.img
        • Boot Bootloader
        • Connect device/phone to Computer
        • Open a Command Prompt on your computer.
        • Type the following Command at the prompt and press enter.
          Code:
          fastboot boot twrp.img
        • When TWRP boots on your phone, tap the Install button, select twrp-pixel-installer-marlin-3.2.0-0.zip
        • Reboot Recovery
        • Tap the Install button, select SR5-SuperSU-v2.82-SR5-20171001224502.zip
        • Swipe the slider to install.
        • Reboot System.
        • Boot Recovery
        • When TWRP boots on your phone, tap the Install button, Select
          UPDATE-suhide-v1.09-20171001222116.zip
        • Swipe the slider to install.
        • Reboot System
        • Note: Install BusyBox to /sbin/supersu/xbin.
      9. Root with Magisk - Pass SafetyNet

        • Important: I haven't tested Magisk 14.5 or Magisk Manager 5.4.3. If you have problems redo #9 substitute Magisk 14.3 for Magisk 14.5 and Magisk Manager 5.4.0 for Magisk Manager 5.4.3.
        • Important: Set Pin before installing TWRP: Setting > Security > Pin.
        • Install TWRP, Custom Kernel, Magisk, and Busybox.
        • Backup your data and Internal storage
        • Download files:
        • Flash boot.img.
          1. Use a File Explorer to extract the contents of your factory image. Open the folder it creates and, extract the second archive (image-marlin-aaa9.999999.999.zip)
            Then open the folder it creates and copy the boot.img file and paste it into the platform-tools folder.
          2. Boot Bootloader
          3. Connect the device/phone to your Computer
          4. Open a Command Prompt on your computer.
          5. Type the following command at the prompt:
            Code:
            fastboot flash boot --slot all boot.img
          6. When it finishes, leave the command prompt window open, leave your phone in bootloader mode and connected to the Computer.
        • Copy the following file to the platform-tools folder:
          • twrp-3.2.0-0-marlin.img and Rename it twrp.img
        • Type the following Command at the prompt and press enter.
          Code:
          fastboot boot twrp.img
        • When TWRP boots on your phone, tap the Install button, select
          twrp-pixel-installer-marlin-3.2.0-0.zip
        • Swipe the slider to install
        • Reboot Recovery
        • Tap Install, select Custom kernel (Optional)
          Note: If you do not want to install a Custom Kernel go to n below.
          1. ElementalX-P-2.03.zip
          2. Kirisakura-Harmony-O-2.12_3.18.84.zip
          3. Sharkey.R3.marlin.zip
        • Swipe slider to install
        • Reboot System
        • Boot Recovery
        • Tap Install, select Magisk-v14.5 (1456).zip
        • Swipe slider to install.
        • Reboot System
        • Install BusyBox (Optional)
          1. Open Magisk Manager, tap Menu, tap Modules, verify Busybox for Android NDK is checked.
      10. Root with Magisk - Pass SafetyNet without installing TWRP
        thanks stryker09


        • Important: Set Pin before using TWRP: Setting > Security > Pin.
        • Backup your data and Internal storage
        • Read/Do (as applicable) #1 - Command Prompt/Boot Bootloader/Boot Recovery; #2 - Testing ADB (Android Debug Bridge)/fastboot; #3 - Unlock Bootloader; #5 - Install Factory Image and keep data; and Tips and Tricks -OTA Installation Tips
        • Download files:
          1. TWRP 3.2.0-0 for Google Pixel XL to your Computer.
          2. [BETA] Magisk v14.5 (1456) by topjohnwu
            • Magisk-v14.5 (1456).zip to your Phone.
        • Flash boot.img.
          1. Use a File Explorer to extract the contents of your factory image. Open the folder it creates and, extract the second archive (image-marlin-aaa9.999999.999.zip)
            Then open the folder it creates and copy the boot.img file and paste it into the platform-tools folder.
          2. Boot Bootloader
          3. Connect the phone to your Computer via USB cable.
          4. Open a Command Prompt on your computer.
          5. Type the following command at the prompt:
            Code:
            fastboot flash boot --slot all boot.img
          6. When it finishes, leave the command prompt window open, leave your phone in bootloader mode and connected to the Computer.
        • Copy the following file to the platform-tools folder:
          • twrp-3.2.0-0-marlin.img and Rename it twrp.img
        • Type the following Command at the prompt and press enter.
          Code:
          fastboot boot twrp.img
        • When TWRP boots up, tap Install, select Magisk-v14.5 (1456).zip
        • Swipe Slider to Install
        • Reboot System
        • Install BusyBox (Optional)
          • Open Magisk Manager, tap Menu, tap Modules, verify Busybox for Android NDK is checked.
      11. Custom ROMs for Pixel XL
      12. Other - TWRP Backup

        • Boot Recovery.
        • Tap Backup and select Partitions to backup
          1. Boot
          2. System Image
          3. Vendor Image
          4. Data (Optional)
        • Swipe Slider to backup
        • Reboot System
        • Your backup will be stored in /Storage/Emulated/0/TWRP/...
      13. Return to Stock and Lock Bootloader

        • Return to Stock
          1. Backup Internal storage
          2. Download the appropriate factory image for your phone and carrier.
          3. Unzip factory Image
          4. Copy the following files to the Platform Tools folder on your Computer
            • flash-all.bat
              • Verify -w is present in flash-all.bat. Example: fastboot -w update image-marlin-aaa9.999999.999.zip
            • bootloader-marlin-9999-999999-9999999999.img
            • radio-marlin-9999-999999-9999999999.img
            • image-marlin-aaa9.999999.999.zip
          5. Boot Bootloader
          6. Connect phone to Computer with USB cable
          7. Open a Command Prompt on your computer.:
          8. Type the following command at the prompt, and press enter.
            Code:
            flash-all
        • Lock Bootloader

          1. Phone
          2. Boot Bootloader
          3. Connect your phone to your Computer with USB cable.
          4. Computer
          5. Open a Command Prompt on your computer.
          6. Type the following command at the prompt:
            Code:
            fastboot flashing lock
          7. When it finishes the bootloader is locked.
          8. The next step won't be needed if your Pixel XL reboots into system after bootloader relock.
          9. You need to boot into system now, either press Power button to reboot OR issue the following command:
            Code:
            fastboot reboot
      14. Audio Mod
      3
      I can confirm Homeboy's section "Root with SuperSU - Pass Safetynet" with the updated TWRP's and suhides fully works with October 2017 Patch. Latest update, Check. On device TWRP zip working in Android 8.0, Check. Root, Check. Hide root so you can use Android Pay and hide root from specific apps, Check. Best phone experience ever, and I'm happy to say Oreo battery life is great.
      3
      Kind of....there are two ways to install Magisk.

      1. Use TWRP (either installed or booted into)
      2. No TWRP at all. Use the Magisk manager to modify boot.img and then fastboot flash the modified img.

      In either case installing TWRP, custom kernel and busy box would be optional.

      OTA function wouldn't work with custom kernel or recovery.

      That's my understanding!

      Actually

      3. Some are gaining root via #2 and then flashing magisk.zip via flash fire....for updates.

      Sent from my marlin using XDA Labs

      I forgot the Flashfire option (Damn, Damn, Damn :)) , thanks for the reminder.:good:

      I'll try all three so I have the facts straight before updating the OP. :):):)

      Edit: Testing complete, sticking with this method of installing Magisk 14.3:
      Install TWRP, Custom Kernel, Magisk, and Busybox


      Individuals wanting the OTA or Flashfire option can refer to Post 1 - #10 Root with Magisk, remain Stock, Pass SafetyNet and, Receive OTA Updates Thanks, LeMoise or Tips and Tricks - OTA Installation Tips
      2
      im sorry to ask a stupid question like this. but im coming from the POS nexus 6P to the pixel XL. I've attempted to follow multiple websites for flashing twrp to the device, it seems theres a few variations around. is there not a twrp.zip available for the pixel xl? because the RC2 i tried from TWRP site does not work at all. either it just doesnt stick and i get the "no command" dead android screen, or it freezes at the main TWRP screen and never goes into the actual button choices.Did google essentially put a lock on the pixel devices so that we can't install a recovery zip on the phone like we could on all other google devices?. What if you're not near a computer and you have to do an emergency flash, backup, recovery or something else?
      also what is the deal with the slot A and slot B??

      thanks

      First, your questions are not stupid. Google, changed the game with the Pixel/Pixel XL. Fortunately, there are several XDA developer's that are working furiously to provide the tools needed to tame the Pixel/Pixel XL. They have built or modified Kernel's, SuperSU, Magisk and twrp to work with the Pixel/Pixel XL. Then Google changed the game again by upgrading the os from Nougat 7.1.2 to Oreo.

      The bright side is we have custom Kernel's and modded twrp and Magisk that work. The modded twrp has to be fastbooted every time you want to use it.

      Some have reported the installation of a Kernel and SuperSU via Flashfire (see #6).

      There are lots of article's that you can 'google' for a more in-depth answer to your questions.
      2
      Yes, that's the latest for September update. Great kernel and Dev.
      #6 updated