ROM Android: fastboot unlock

From OnnoWiki
Revision as of 06:06, 25 December 2014 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Unlocking the device

{{#if:|Template:Note}} {{#if:|Template:Note}} {{#if:|Template:Note}}

  1. Make sure your computer has working fastboot and adb.
apt-get install android-tools-adb android-tools-fastboot
 
  1. Enable USB debugging on the device.
  2. Connect the device to the computer through USB.
  3. Cek apakah berhasil berkomunikasi dengan handphone
adb devices
adb devices -l
  1. From a terminal on a computer, type the following to boot the device into fastboot mode:
adb reboot bootloader
  1. Once the device is in fastboot mode, verify your PC sees the device by typing
fastboot devices
fastboot devices -l
    • 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.
  1. {{#if:|From the same terminal, type the following command to unlock the bootloader:
fastboot oem unlock

{{#if:

From the same terminal, type the following command to obtain your bootloader unlock code:

  1. $ ERROR: unlock command not set in device template!}}{{#if:|From the same terminal, type the following command to obtain your bootloader unlock token:
    $ fastboot oem get_identifier_token}}{{#if:||From the same terminal, type the following command to unlock the bootloader:
    $ ERROR: unlock command not set in device template!}}
  2. {{#if:|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.}}{{#if:|Visit the Motorola Bootloader Unlock website and follow the instructions there to obtain your unlock key.}}{{#if:|Visit the HTCDev Bootloader Unlock website and follow the instructions there to obtain your unlock key. If your device does not appear in the drop-down list, select All Other Supported Models.}}{{#if:||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.}}
  3. If the device doesn't automatically reboot, reboot it from the menu. It should now be unlocked. {{#if:|You can confirm this is the case if you see an unlocked icon at the bottom of the Google boot screen during reboots.}}
  4. Since the device resets completely, you will need to re-enable USB debugging on the device to continue.


Referensi