[Guide] Root Pixel XL Android 10.0 (Q)

Search This thread

Homeboy76

Senior Member
  • Aug 24, 2012
    2,525
    1,222
    they contacted me and said that it is not repairable on their end. he said he tried flashing factory images..same thing i did...he said that the firmware is corrupted. they cant fix it. i was just wondering if i flashed the stock image and then relocked the bootloader that it might fix it
    I don't think locking the bootloader will fix it but
    according to ubreakifix it is unrepairable so you have nothing to loose by trying to flash the stock image and then relocking the bootloader.
    Goodluck!
     
    Last edited:
    • Like
    Reactions: Rootmaster906

    Rootmaster906

    Senior Member
    Dec 2, 2020
    194
    9
    @Rootmaster906
    I don't think locking the bootloader will fix it but
    according to ubreakifix it is unrepairable so you have nothing to loose by trying to flash the stock image and then relocking the bootloader.
    Goodluck!
    but you never answered my one question...lol..about how it can be stable in fastboot and recovery mode, but only loops after a flash or when trying to boot into android or a simple reboot. why do you think ? its odd
     

    Homeboy76

    Senior Member
  • Aug 24, 2012
    2,525
    1,222
    but you never answered my one question...lol..about how it can be stable in fastboot and recovery mode, but only loops after a flash or when trying to boot into android or a simple reboot. why do you think ? its odd
    I had no clue why it was happening, that is why I referred you to ubreakifix. They are the experts on answering questions about why something does or does not work on Pixel phones. :)
     
    Last edited:
    • Like
    Reactions: Rootmaster906

    Rootmaster906

    Senior Member
    Dec 2, 2020
    194
    9
    I had no clue why it was happening, that is why I referred you to ubreakifix. They are the experts on answering questions about why something does or does not work on Pixel phones. :)
    i got phone back. decided to last ditch effort. was able to flash stock image nougat. works fine. when flashing twrp though, it goes into the bootloop. doesnt bootloop if i leave it on nougat firmare. does pixel sailfish require a copy partitions zip of some sort? i thought all a/b slot needed it.
     

    Homeboy76

    Senior Member
  • Aug 24, 2012
    2,525
    1,222
    i got phone back. decided to last ditch effort. was able to flash stock image nougat. works fine. when flashing twrp though, it goes into the bootloop. doesnt bootloop if i leave it on nougat firmare. does pixel sailfish require a copy partitions zip of some sort? i thought all a/b slot needed it.
    Pixel Partitions
    1. Google Gave Your Pixels two System Partitions, Use It To Deliver Dual Booting!
    2. HERE'S WHY THE GOOGLE PIXEL DOESN'T HAVE A CACHE PARTITION
    3. Help understanding A/B partitions
    These threads might help you understand copypartitions.
    1. While on Slot_A Flash copypartitions.zip??
    2. Is "Copy partitions zip" still needed when prepping for roms with official firmware?
     
    Last edited:
    • Like
    Reactions: Rootmaster906

    Rootmaster906

    Senior Member
    Dec 2, 2020
    194
    9
    have any idea where i can download the copy partitons zip for pixel 1st gen? and also, is it flashed prior to wipe or prior to rom flash? i have the phone in twrp now. lol. had to flash 3.3.1. tyvm for your help homeboy
     

    Homeboy76

    Senior Member
  • Aug 24, 2012
    2,525
    1,222
    have any idea where i can download the copy partitons zip for pixel 1st gen? and also, is it flashed prior to wipe or prior to rom flash? i have the phone in twrp now. lol. had to flash 3.3.1. tyvm for your help homeboy
    I think one of the links I posted has a link to download it. I don't know when it is flashed
     

    Rootmaster906

    Senior Member
    Dec 2, 2020
    194
    9
    I think one of the links I posted has a link to download it. I don't know when it is flashed
    Well I'm kind of making progress. Let me tell you what I did... I flashed a factory image of the latest one Android 10...after the flash it began to bootloop once again... I button combo into fastboot and went ahead and locked the bootloader... Chose reboot and every time it boots it boots right back into stock recovery...I factory reset it 3 to 5 times, reboot and once again reboots right back to stock recovery.. I took some pictures of the recovery logs in recovery...I am really adamant about fixing this issue as I have heard that a lot of people are experiencing it.. take a look at my pictures homeboy. to my surprise I am able to go back into fastboot and lock and unlock the bootloader at will. After looking at the pictures what do you think that the issue is?
     

    Attachments

    • 20210305_004015.jpg
      20210305_004015.jpg
      1.9 MB · Views: 14
    • 20210305_004010.jpg
      20210305_004010.jpg
      2.2 MB · Views: 12
    • 20210305_004005.jpg
      20210305_004005.jpg
      2.2 MB · Views: 9
    • 20210305_004000.jpg
      20210305_004000.jpg
      2.3 MB · Views: 8
    • 20210305_003941.jpg
      20210305_003941.jpg
      2.3 MB · Views: 7
    • 20210305_003934.jpg
      20210305_003934.jpg
      2.2 MB · Views: 10
    • 20210305_003829.jpg
      20210305_003829.jpg
      2.1 MB · Views: 11

    Homeboy76

    Senior Member
  • Aug 24, 2012
    2,525
    1,222
    Well I'm kind of making progress. Let me tell you what I did... I flashed a factory image of the latest one Android 10...after the flash it began to bootloop once again... I button combo into fastboot and went ahead and locked the bootloader... Chose reboot and every time it boots it boots right back into stock recovery...I factory reset it 3 to 5 times, reboot and once again reboots right back to stock recovery.. I took some pictures of the recovery logs in recovery...I am really adamant about fixing this issue as I have heard that a lot of people are experiencing it.. take a look at my pictures homeboy. to my surprise I am able to go back into fastboot and lock and unlock the bootloader at will. After looking at the pictures what do you think that the issue is?
    I admire your tenacity to get your Google Pixel fixed.

    I am not a Google Pixel technician, so I cannot help you fix your Google Pixel. My guide is for a Google Pixel XL operation not maintenance.

    Maybe your best resource is Google search.
    1. Google Pixel - XDA Developers Forums
    2. Welcome to the Google Pixel Help Community
    3. Fix a Pixel phone that's restarting or crashing
    4. Google Pixel Forum

    Have a nice day! :)
     
    Last edited:

    Rootmaster906

    Senior Member
    Dec 2, 2020
    194
    9

    X4c3

    Member
    Jul 4, 2020
    19
    0
    There is an installer for TWRP, "twrp-installer-3.3.1-0-marlin.zip" but because it doesn't follow the naming convention for all the previous releases "twrp-pixel-installer-marlin X.X.X" it appears at the bottom of the list of installers instead of the top.
    does it stays on stock android 10 or only for one time use?
     

    Homeboy76

    Senior Member
  • Aug 24, 2012
    2,525
    1,222
    does it stays on stock android 10 or only for one time use?
    Do #7 if you want to install twrp.
    - Using twrp-installer-3.3.1-3-marlin.zip and twrp-3.3.1-3-marlin.img

    Do #8 if you want to Boot (Temporarily install) twrp.
    - Using twrp-3.3.1-3-marlin.img
     
    Last edited:

    X4c3

    Member
    Jul 4, 2020
    19
    0
    Do #7 if you want to install twrp.
    - Using twrp-installer-3.3.1-0-marlin.zip and twrp-3.3.1-0-marlin.img

    Do #8 if you want to Boot (Temporarily install) twrp.
    - Using twrp-3.3.1-0-marlin.img
    Thanks I used the latest TWRP but was only able to boot to TWRP recovery once. Will try TWRP 3.3.1.0 now
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 17
      [Guide] Root Pixel XL Android 10 (Q) Unlock/Lock Bootloader + Install Stock Images/Custom kernels/Systemless Root
      December 2019

      Security Patch


      Introduction
      1. This Guide 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 XL'.
      2. This Guide also works for the Pixel owners: If, they download the correct files for their phone.
      3. This Guide is not for use with the Pixel 2, Pixel 2 XL, Pixel 3a, or Pixel 3a XL phones.


      Updates
      1. Factory/OTA Images - 12/02
      2. Magisk Stable - Magisk-22.0 02/23
      3. Magisk Beta - Magisk-22.0 02/23
      4. Magisk Canary - Magisk-22001
      5. TWRP - Waiting for T.R.W.P. for Android 10 (Q)
      6. SafetyNet - SafetyNetFix v1.1.1 01/16
      7. SDK Platform-tools - r31.0.2 April
      8. Custom Kernels
        • Waiting...
      9. Custom ROMs Android 10 (Q)
        • lineage-17.1 Nightly
        • [OFFICIAL][/PixelExperience 04/16
        • PegasusOS 04/20


      Disclaimers


      1. I assume no responsibility for the malfunctioning/bricking of your phone.
      2. The order of listed items i.e., Custom Kernels, Custom ROMS, etc. Does not indicate my preference for them. It is your responsibility to do the research before selecting an item.


      Prerequisites
      1. A Pixel XL phone with an unlocked bootloader.
      2. The latest Android 10 (Q) Factory or OTA Image: "marlin" for Pixel XL
      3. Computer - With the latest SDK Platform-Tools: r31.0.2installed.


      Other Guides
      1. [Guide] Pixel 4 XL Android 11 (R)
      2. [Guide] Pixel 4 XL Android 10 (Q)
      3. [Guide] Pixel 3 XL Android 11 (R)
      4. [Guide] Pixel 3 XL Android 10.0 (Q)
      5. Pixel XL Android 9.0.0 (Pie)


      Credits/Thanks/Recognitions
      1. @topjohnwu - Magisk Canary
      2. @sliding_billy - His help editing this thread.
      3. Those I may have, inadvertently, forgotten.


      Index
      (NOTE: Numbers 1-13 are not steps, they are individual sets of instructions).
      1. Open a Command Prompt/Boot Bootloader/Boot Recovery

        • Open Command Prompt on Computer
          1. Option 1 - Open File Explorer, click the platform-tools folder, press shift, right click, and select open command prompt here.
          2. Option 2 - Open File Explorer, click the 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.
          3. Notes:
        • Boot fastboot mode:
          • Power off phone, press and hold the power and volume down buttons until you see Start.
        • 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. Test 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.
            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 the phone to the Computer with USB cord.
          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/Return Phone to Stock/Lock Bootloader

        • Unlock Bootloader

          1. Backup your data/Internal storage
          2. Activate Developer Options: Tap Settings > System > About Phone > Tap Build Number 7 times or until you see you're a Developer.
          3. Tap back > Developer Options and toogle OEM Unlock on and, toggle USB Debugging on.
          4. Boot Bootloader
          5. Connect the phone to the Computer with USB cord.
          6. Open a Command Prompt on your computer and type fastboot flashing unlock and press enter.
            This will erase all user data from the device!
          7. You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.
          8. Allow the process to complete and then type fastboot reboot at the Command Prompt and press enter.
          9. When your phone reboots disconnect your usb cable.
            Note: After unlocking your bootloader, you'll see a warning: Your device software can't be checked for corruption. Please lock the bootloader. You will see this warning until, you relock the bootloader.


            Important: Do not relock your bootloader until you have returned the device to Stock.
            .
        • Return Phone to Stock

          1. Backup your data/Internal storage
          2. Settings > System > Advanced > Reset Options > Erase all data (factory reset)
          3. Log in
          4. Set up phone
        • Lock Bootloader

          1. Important: Do not relock your bootloader until you have returned the device to Stock..
          2. Boot bootloader
          3. Open a Command Prompt and type this at the Prompt: fastboot flashing lock
          4. You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.
          5. Allow the process to complete, then type this at the Command Prompt: fastboot reboot
          6. Set up your phone.
          7. Enable Developer Options: Settings > System > About phone > Tap Build number 7 times or until you see'You are a Developer. Tap Back > Developer options and toggle OEM Unlock off.
      4. Install/Update Factory Image

        • No new factory images for this device, the last Google Factory/OTA update was December 2019.:
          If you want the latest security update for this device, install a Custom ROM (see Custom ROMS)
      5. ADB Sideload

      6. Extract/Flash boot.img

        • Extract boot.img

          1. Download the latest Factory image to your phone.
          2. Use a File Explorer to extract the boot.img from the Factory Image.
          3. Extract the Factory Image file (marlin-opm-9.999999.999-99a-factory-a9a9999.zip) to a folder.
          4. Open the folder and, extract the Image file (image-marlin-aaa9.999999.999.99a.zip).
        • Flash boot.img

          1. Note: Flashing this file removes root.
          2. Open the folder you extracted the 'image file' to and copy the boot.img file to the platform-tools or to the folder that has fastboot in it.
          3. Boot Bootloader
          4. Connect the phone to the Computer
          5. Open a Command Prompt and type the following command at the prompt:
            fastboot flash boot boot.img --slot all
          6. Reboot
      7. Install T.W.R.P./Root/Reroot with Magisk and Pass SafetyNet.

      8. Boot T.W.R.P./Root/Reroot with Magisk and Pass SafetyNet.

      9. Root/Reroot with Magisk and Pass SafetyNet.

        • Important Note:

          1. Before you switch versions of Magisk (Beta or Canary) you must first un-install Magisk App (Open Magisk App ==> Tap Uninstall) because they are all signed with different keys.
          2. To Root, patch the boot.img with Magisk Beta, Canary Stable.
        • Download files:

          1. Magisk App - Download to your phone
          2. Custom kernels - Download to your phone - install with Kernel Manager
            Note:To remove kernels Open Magisk, tap Uninstall, tap Restore Images. This will remove root by restoring back the stock boot.img and dtbo.img.
          3. Kernel Managers - Download to your phone
        • Patch Boot Image

          1. Do #6 - Extract boot.img
          2. Install Magisk App
          3. Open Magisk App ==> Tap Menu ==> Settings ==> Update Channel ==> Set the channel to the channel that matches the Magisk App (Beta, Canary or Stable) you downloaded.
          4. Tap back and Press Install ==> Press Install again ==> Select Patch a File ==> Select the boot.img file you extracted from the latest factory image
          5. Tap the ✓ to select it
          6. Tap Lets Go
          7. When you see done, the boot.img has been patched (magisk_patched_xxxxxx.img), and stored in the download folder.
          8. The phone will reboot.
          9. Copy the patched boot.img file to your computer's Platform-tools folder or the folder that has fastboot.exe in it.
          10. Boot fastboot mode (#1)
          11. Connect the phone to the Computer with USB cord.
          12. Open a Command Prompt in the folder you copied the patched boot.img to.
          13. Type fastboot flash boot "name of patched boot".img without the quote marks at the Prompt and press enter.
          14. Type fastboot reboot at the Prompt and press enter.
            Important Note: If your phone boot loops: Flash the 'stock' boot.img to both slots: fastboot flash boot --slot all boot.img
          15. Pass SafetyNet: #12 Mods - Other
        • OTA Installation - Keep Root -- No Computer Needed
      10. Set Magisk App Update Chanel/Update Magisk

        • Set Magisk App Update Channel

          • Open Magisk App > Tap menu icon > Settings > Update Channel > Select Stable, Beta, Canary or Custom.
        • Update Magisk

          1. When Magisk App notifies you of an update:
          2. Tap install.
          3. Select, Direct Install (Recommended)
          4. When it finishes installing
          5. Tap, Save Log
          6. Log location: /storage/emulated/0/MagiskManager/logs/install_log_...
          7. Tap, Reboot
          8. Done!
      11. Custom ROMs for Pixel XL

      12. Mods
      13. Other: TWRP Backup

      2
      Well I'm kind of making progress. Let me tell you what I did... I flashed a factory image of the latest one Android 10...after the flash it began to bootloop once again... I button combo into fastboot and went ahead and locked the bootloader... Chose reboot and every time it boots it boots right back into stock recovery...I factory reset it 3 to 5 times, reboot and once again reboots right back to stock recovery.. I took some pictures of the recovery logs in recovery...I am really adamant about fixing this issue as I have heard that a lot of people are experiencing it.. take a look at my pictures homeboy. to my surprise I am able to go back into fastboot and lock and unlock the bootloader at will. After looking at the pictures what do you think that the issue is?
      I admire your tenacity to get your Google Pixel fixed.

      I am not a Google Pixel technician, so I cannot help you fix your Google Pixel. My guide is for a Google Pixel XL operation not maintenance.

      Maybe your best resource is Google search.
      1. Google Pixel - XDA Developers Forums
      2. Welcome to the Google Pixel Help Community
      3. Fix a Pixel phone that's restarting or crashing
      4. Google Pixel Forum

      Have a nice day! :)
      2
      hi guys I am not new to modding phones. However it has been a long time for me. I did have my 6p running on lineage for a while. But then I got the pixel xl and have had pixels ever since. I have not had a need to root or modd them. I currently have the 4xl and my wife has the 3a xl so I have this pixel xl sitting around. I want to get back into modding a little bit. I just need some guidance.
      Currently I have downloaded the latest sdk for windows I will need a little assistance with that for example how do I put adb and fastboot into the root directory so I dont have to go through typing all the file paths in. I also downloaded the latest stock .img so I have a clean install if anything goes crazy.
      Now I need to know where to start. I assume unlocking the bootloader is the same as the 6p. But after that do I install twrp then use that for magisk to get root? Once I have those questions answered I can probably take it from there. I would like to try out different roms and kernels and other mods. Sorry for the noob questions I just want to get it right. I always learn stuff on this fourm and thats why I love it.
      Start by reading the guide: Introduction, Disclaimers, Update(s), Prerequisites, and Index (Numbers 1 to 11).
      Why?
      ...how do I put adb and fastboot into the root directory so I dont have to go through typing all the file paths in.
      - There is a link in Prequisites c. (Need help installing or using SDK Platform-tools) that describes editing your Path Variable.

      "Now I need to know where to start. I assume unlocking the bootloader is the same as the 6p."
      - Assume nothing, several people have bricked their phone(s) assuming. Read #3 in the guide.

      "But after that do I install twrp then use that for magisk to get root?"
      - T.W.R.P. does not work with Android 10 to root: Read #9 to root.

      There is no need to apologize for the "noob questions". Everyone on XDA was a "noob" at some point in their life.
      2
      Hey, first off thanks for the guide. I have been experiencing the same boot issue that a few others have. I am on the latest version of everything, android sdk, latest factory image, latest magisk (tried both stable and canary). I can patch the boot.img with magisk and after i flash the magisk_patched.img, i reboot the phone and it sticks on the google "G" with the progress bar underneath it. I am on the same build number as the one I downloaded ending in 007.A1, using the same boot.img from it. When it hangs up, I can flash the same boot.img that I used magisk to patch and reboot the phone and it is back to normal and goes right to the lock screen. I could be wrong, but it appears that my issue is with the boot.img being patched with magisk somehow. Any advice or help is appreciated, thanks.

      edit: When it sticks on bootloop, i can still use a command prompt to "adb reboot fastboot" and then flash the stock boot.img and it boots normal.

      Were you rooted on the September factory image?
      Did you fastboot flash boot --slot all magisk_patched.img?
      SDK Platform-tools r29.0.5?
      Read this it might help.
      1
      Has anyone tried using the current TWRP and Magisk?

      Yes. Didn't work, just rebooted twice (I think) then booted directly into android.
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone