Template:Fastboot oem unlock

From CyanogenMod
Jump to: navigation, search

Unlocking the device

  1. Configure your computer for fastboot.
  2. Enable USB debugging on the device.
  3. Connect the device to the computer through USB.
  4. From a terminal on a computer, type the following to boot the device into fastboot mode:
    $ adb reboot bootloader
  5. Once the device is in fastboot mode, verify your PC sees the device by typing fastboot devices
    • If you don't see your device serial number, and instead see "<waiting for device>", fastboot is not configured properly on your machine. See fastboot documentation for more info.
    • If you see "no permissions fastboot", try running fastboot as root.
  6. From the same terminal, type the following command to unlock the bootloader:
    $ ERROR: unlock command not set in device template!
  7. A disclaimer will display on the device that must be accepted. Use the volume keys to cycle through the options. Pressing the power button should confirm your selection.
  8. If the device doesn't automatically reboot, reboot it from the menu. It should now be unlocked.
  9. Since the device resets completely, you will need to re-enable USB debugging on the device to continue.