Home Tech Android Easily Install the Copperhead OS or Stock Google OS on your Nexus 5x or Nexus 6P
Easily Install the Copperhead OS or Stock Google OS on your Nexus 5x or Nexus 6P

Easily Install the Copperhead OS or Stock Google OS on your Nexus 5x or Nexus 6P

1.57K
6
These instructions will show you how to install the Copperhead OS on your Nexus 5x or 6p using a Windows PC. It is tailored for those who have little or no experience flashing Roms. Here is Copperhead’s instructions for reference. If you want to flash the Google OS. Here is one method Here is another.  Also note, the Copperhead OS will not work on the Sprint network or Project Fi.

 

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 32bit will install to C: Program Files/Minimal ADB and Fastboot folder. (C: Program Files (x86)/Minimal ADB and Fastboot for 64bit windows). 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 (the shortcut on your desktop or C:\Program Files (x86)\Minimal ADB and Fastboot\MAF32.exe).

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.


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 mintes. 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. Apps can auto update.

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.


Further reading:

Copperhead with Google Play Store and Signal Messenger – TorProject’s Mission Improbable: Hardening Android for Security And Privacy.

 

(1569)

tags:

Comment(6)

    1. For the Radio, I would assume you could use the command: “fastboot flash radio” command. It should look something like this: fastboot flash radio radio-hammerhead-m8974a-1.0.25.0.23.img for example. Copperhead is good about using the most up to date official radio.

      The bootloader will display a notice with the fingerprint of the verified boot key since it isn’t the built-in OEM key. The signatures of the OS appear at the bottom of your screen when you boot the device:

      Nexus 5X fingerprint: 0AA1-7043-4D5F
      Nexus 6P fingerprint: 965E-780B-32FC-B686

      See: https://copperhead.co/android/docs/install

      I don’t think you can change the bootloader image without breaking the secure boot feature because you would be replacing files that are not signed. I never tried this either.

LEAVE YOUR COMMENT