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

Search This thread

bug6810

Senior Member
Mar 10, 2015
73
11
Applying OTA

Heyas, so my pixl xl is alredy rooted, running stock 8 and I want to apply the OTA 8.1. I have the latest TWRP installed (the ADB sideload function seems to not be working). What exactly are the steps I need to do to install the update? I greatly appreciate any and all help! Thanks!
 

greyhd

Senior Member
Apr 27, 2012
1,839
661
Heyas, so my pixl xl is alredy rooted, running stock 8 and I want to apply the OTA 8.1. I have the latest TWRP installed (the ADB sideload function seems to not be working). What exactly are the steps I need to do to install the update? I greatly appreciate any and all help! Thanks!

I usually use the fastboot method and install the update minus the "w", the steps are in the OP(Step 5).
 
Last edited:
  • Like
Reactions: bug6810

mochamoo

Senior Member
Oct 16, 2010
509
132
BOO! Thanks for the smarts. What makes it TWRP flashable?

Start reading the OP. The download from the factory image page is a IMAGE file not a ZIP. It isn't flashed via twrp at all. You would use twrp to flash a custom kernel and then magisk/supersu for root.

---------- Post added at 12:09 AM ---------- Previous post was at 12:00 AM ----------

Just got the January update installed using flash-all.bat with w removed. The SU install fails. Using the SU called out on the first page.

SuperSU hasn't been reliable with 8.1 it seems. and development since Chainfire "retired" has been lacking. I would just use magisk instead. Development is active there. See the OP for links.

https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/page1177

edit: I see that I have my threads mixed up. This is the 8.0 thread :) I'd still say to switch to magisk either way.
 
Last edited:
  • Like
Reactions: bschatzow

bug6810

Senior Member
Mar 10, 2015
73
11
ota

So what EXACTLY are the steps to install the OTA? The /4 files that are supposed to be moved from the zip? I unzip it and cannot find the files. I flashed the full rom less the -w and cannot install superuser after. I get a failed message. Thanks
 

Homeboy76

Senior Member
  • Aug 24, 2012
    2,574
    1,249
    So, I can install the January OTA using step 5 with the -w step? Just confirming. Thanks!
    Sorry, I didn't notice the 'OTA'

    ------------------------------------------------------------------------------------

    So what EXACTLY are the steps to install the OTA? The /4 files that are supposed to be moved from the zip? I unzip it and cannot find the files. I flashed the full rom less the -w and cannot install superuser after. I get a failed message. Thanks
    You can try 'Root with Magisk's via sideloading, without installing TWRP'. SuperSU v2.8.2 SR5 doesn't work with TWRP' 3.2.1-0.

    Please note, I removed it from the OP because most people Do #4 - Install Factory Image and Keep or Wipe Data.

    However, if you have a compelling need to use the 'OTA image'

    Go to [Guide] Pixel XL Android 8.1.0 (OREO)
    click Items Removed from OP and Do #1.

    Edit: Updated Items Removed from OP, they are "examples of what doesn't work". So, do not use them.
     
    Last edited:

    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