Google Pixel XL Unlock Bootloader/ADB Push/Manual OS Install/Powershell

ToolPunk

Senior Member
Sep 10, 2011
87
9
0
!Disclaimer! READ EVERYTHING... and then read everything again... If you do/don't follow everything and brick your phone oops, don't know what to tell you.

Started on Android 9.0 When building this guide.

1.) Make sure you have no SIM in your device
2.) Factory Reset your device
3.) In the setup wizard, skip !EVERYTHING!
4.) Enable Developer Options in settings and then enable USB debugging
5.) Connect your phone to PC
6.) Open Powershell in adb directory (shift right click) and type: .\adb shell pm uninstall --user 0 com.android.phone
7.) Restart your device
8.) Connect to WiFi, Open Chrome and go to google.com (or any other website)
9.) You can now Enable OEM unlocking in Developer Options
10.) Open Powershell in adb directory (shift right click) and type: .\adb reboot bootloader
11.) In Powershell type .\fastboot oem unlock

You are now ready to Push via adb

**Because of so many getting, .img Missing Errors" trying to install using the Flash-All Scripts**

The easiest way to move foward from here is to extract your Android OS image into a folder. Afterwards, extract your image zip within that folder. Rename any files that need to be Pushed to something simple without removing the file type .img. Open PowerShell in this folder containing ALL the files you need with (shift right click)

The order of installation is Important so please Read Carefully!

1.) .\fastboot flash bootloader <bootloader file name here>.img

2.) .\fastboot flash radio <radio file name here>.img

After flashing the Bootloader/Radio, you Need! to reboot the bootloader as shown below, Don't Skip This Step!

3.) .\fastboot reboot-bootloader

!Now! You can move on to the rest of the files

4.) .\fastboot flash recovery recovery.img (If Exists)

5.) .\fastboot flash boot boot.img

6.) .\fastboot flash system system.img

7.) .\fastboot flash system_other system_other.img (If Exists)

8.) .\fastboot flash vendor vendor.img (If Exists)
*****************SeeBelow*******************
9.) .\fastboot reboot

You Should now be running your choice of Android!!

**If you are installing 8.1 and older pls follow these additional steps**
8.5) .\fastboot reboot-bootloader
.\fastboot flash aboot aboot.img
.\fastboot flash apdp apdp.img
.\fastboot flash bootlocker bootlocker.img
.\fastboot flash cmnlib32 cmnlib32.img
.\fastboot flash cmnlib64 cmnlib64.img
.\fastboot flash devcfg devcfg.img
.\fastboot flash hosd hosd.img
.\fastboot flash hyp hyp.img
.\fastboot flash keymaster keymaster.img
.\fastboot flash modem modem.img
.\fastboot flash pmic pmic.img
.\fastboot flash rpm rpm.img
.\fastboot flash tz tz.img
.\fastboot flash xbl xbl.img

Side Notes:
Going from Android Q to 8.1 I got a Black Screen after the Non moving google logo screen on boot. Afterwards, the phone seemed completely dead and would not turn on. I held Volume Down+Power for almost a minute and it finally booted into Fastboot. I went through the steps again and this time I noticed the Non moving google logo screen had a lock at the bottom. I tapped it a few times and it then told me my install had an issue and I needed to do a factory reset. I chose to do so and it completed and rebooted with no issues.
 
Last edited:
  • Like
Reactions: Thaiban

sidhaarthm

Senior Member
Mar 1, 2009
392
82
58
London, U.K.
I've just bought myself a brand new Pixel 1 XL - 128GB Factory Unlocked. Sadly I wasn't aware of all these issues with OEM unlocking via the Developer Menu. Not knowing the drawbacks, I casually breezed through all the upgrades and reached 10.0 (QP1A.191005.007.A3) state. It was then I realised I cocked up...:crying: because no matter what combination of instructions I try in this (and other) threads, I simply cannot get the greyed out menu to budge! :(:confused: I have tried at least a dozen factory resets, countless adb removals, with/without WiFi, with/without SIM, with/without Google sign in, with/without Safe Mode, with/without Guest User Profile delete and so on.... all to no avail:crying:

I am lost at the moment... I'm sure there's other in the same boat as me. I really do hope there is a solution for all of us out there.. any one have any ideas? :mad:
 

djared704

Senior Member
Jul 12, 2018
114
77
38
Los Pringles, California
I've just bought myself a brand new Pixel 1 XL - 128GB Factory Unlocked. Sadly I wasn't aware of all these issues with OEM unlocking via the Developer Menu. Not knowing the drawbacks, I casually breezed through all the upgrades and reached 10.0 (QP1A.191005.007.A3) state. It was then I realised I cocked up...:crying: because no matter what combination of instructions I try in this (and other) threads, I simply cannot get the greyed out menu to budge! :(:confused: I have tried at least a dozen factory resets, countless adb removals, with/without WiFi, with/without SIM, with/without Google sign in, with/without Safe Mode, with/without Guest User Profile delete and so on.... all to no avail:crying:

I am lost at the moment... I'm sure there's other in the same boat as me. I really do hope there is a solution for all of us out there.. any one have any ideas? :mad:
Have you tried adb pm uninstall android.phone?