Easily Install the Copperhead OS or Stock Google OS on your Nexus 5x or Nexus 6P
Prepare your Computer
1. Make sure you have the correct drivers installed on your PC for your phone. If you can write files to and from your PC and phone, connected with the USB cable you should be good. If not you can get the drivers here.
2. Download and install the Minimal ADB and Fastboot latest version. Default windows 64bit will install to:
C: Program Files/Minimal ADB and Fastboot folder.
Default installation for 32bit Windows:
C: Program Files (x86)/Minimal ADB and Fastboot
Allow for the shortcut on your Desktop during install, this will make things easier.
3. Download and install 7zip. We will be using this to extract the .tar files.
4. Download the Copperhead OS for the version for your phone. This should be the tar.xz file (latest date). You can also Download the Google stock OS if you want to revert back to stock. This tutorial is assuming you are flashing Copperhead OS over the the stock android OS and is not the method to flash the Google OS. Here is one method to flash the Google OS. Here is another.
5. Now extract all the files using 7zip:
- Right click on the downloaded Copperhead OS tar.xz file and with 7zip: open archive.
- You will see a .tar file. Drag that .tar file to your desktop.
- Now right click on that .tar file and with 7zip: open archive.
- You will see a folder. Drag that folder to your desktop.
- Now open the folder, there should be six files in it.
- Now drag all the files (from inside the folder) and drop them into your:
C:\Program Files (x86)\Minimal ADB and Fastboot folder.
This folder should now look like this below:
Prepare Your Phone
6. Now prepare your phone to be flashed with the new OS. Plug your phone into your computer using its USB cable. On your device, go to Settings, About Phone, scroll down and keep clicking Build Number until is says “You are a developer!“. Go back, click Developer Options, Turn on USB Debugging.
Also in Developer Options, Turn on OEM unlocking:
On your phones screen it should now prompt you to allow USB debugging with your computer. Check Always allow from this computer, click OK.
7. Now your phone is ready to be booted into fastboot mode. Power off your phone. With the USB cable still plugged into your phone and your computer, turn on your phone by holding the power and volume down buttons simultaneously. Your phone should show a dead android robot; you are now in Fastboot mode.
Unlock the Bootloader
8. Now you need to unlock the bootloader. Open Minimal ADB and Fastboot by clicking the shortcut on your desktop or C:\Program Files (x86)\Minimal ADB and Fastboot\MAF32.exe
or in newer versions it will be:
C:\Program Files (x86)\Minimal ADB and Fastboot\cmd-here.exe
Once the command prompt is open,
Type fastboot oem unlock then hit enter.
If that does not work, use the command fastboot flashing unlock
On your phone you will be asked if you want to unlock the bootloader. Use the up and down volume buttons to move and select yes by pressing the power button.
Your DEVICE STATE should now say its unlocked.
(your device might look different)
Flash the ROM
9. Now you are ready to install the Copperhead OS. Keep the Minimal ADB and Fastboot screen open. Now go to the folder C:\Program Files (x86)\Minimal ADB and Fastboot. Drag and drop the file flash-all.bat on to the Minimal ADB and Fastboot command line screen as seen below. The path should now appear in the Minimal ADB and Fastboot screen. Press ENTER to run the install operation.
10. The OS installation will take approximately 2 minutes. After Copperhead OS is installed, your phone will reboot. This will take approximately one minute.
Lock the Bootloader
11. Once rebooted, shutdown the phone. We need to lock the bootloader. Once more, boot into fastboot mode by holding the power and the volume down button. Open Minimal ADB and Fastboot and type fastboot oem lock to lock the bootloader. If that does not work use the command fastboot flashing lock. You will be prompted to confirm the lock. Using the volume up and down buttons select Yes and press the power button to accept.
YOU ARE DONE! Post comments or questions below.
Some recommended apps to have:
Aptoid app market – For functionality in addition to the pre-installed f-droid market.
Our Aptoid app store – Follow us when you have Aptoid installed for useful apps recommended by us.
Amazon Underground app store – For functionality in addition to the pre-installed f-droid market. A place to buy paid apps which you would normally buy on the PlayStore.
Kimset Smarter Wifi Manager – Manages your wifi radio. Keeps your wifi turned on or off based on known locations.
Copperhead’s Noise messenger – A fork of the Signal messenger, enables you to communicate with Signal users securely.
ApkTrack – Even though you are using an alternative app market, you always want to assure you are using the most up to date apps. This checks your apps against the current version offered at the Google Play Store.