Difference between revisions of "Template:Unlock Bootloader"

From WebOS-Ports
Jump to navigation Jump to search
m (Herrie moved page Template:Unlock Bootloader to Template:Fastboot OEM Unlock without leaving a redirect)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Unlocking the device ==
+
== Unlocking the device (bootloader) ==
 
<!-- note: requires device_is_nexus_device and device_oem_unlock_command -->
 
<!-- note: requires device_is_nexus_device and device_oem_unlock_command -->
Once fastboot is installed:
+
First, the bootloader must be unlocked.
{{#if:{{{device_is_nexus_device|}}}|{{note|note=Unlocking the bootloader on a Nexus device will automatically wipe all device data.}}}}
+
<!--Once fastboot is installed:-->
#Enable USB debugging on the device.
+
<!--{{#if:{{{device_is_nexus_device|}}}|{{note|note=''Be aware that this process will perform a factory reset on your {{{device_name}}}, make sure to back up anything required first.''}}}}-->
#Connect the device to the computer through USB.
+
<!--Still required? #Enable USB debugging on the device.-->
#From a terminal on a computer, type the following to boot the device into fastboot mode:
+
 
#:<code>$ adb reboot bootloader</code>
+
# Download and install the Android SDK for your platform from here: [http://developer.android.com/sdk/index.html  Android SDK]
#From the same terminal, type the following command to unlock the bootloader (under Linux, you must be root):
+
# Open a Terminal and: <code>cd to <sdk>/tools/</code>
#:<code>{{#if:{{{device_is_nexus_device|}}}|$ fastboot oem unlock|{{{device_oem_unlock_command|'''WIKI ERROR: not set!'''}}}}}</code>
+
# Run: <code>./android</code> to start the Android SDK Manager
#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.
+
# Use it to install the latest version of 'Android SDK Platform-tools'
#If the device doesn't automatically reboot, reboot it from the menu. It should now be unlocked.  {{#if:{{{device_is_nexus_device|}}}|You can confirm this is the case if you see an unlocked icon at the bottom of the Google boot screen during reboots.}}
+
# Close the Android SDK Manager
# Since the device resets completely you need to re-enable USB debugging.
+
# In your Terminal window,: <code>cd to <sdk>/platform-tools/</code>
 +
<!--# Power off the {{{device_codename}}} and activate the bootloader (hold Vol. Up + Vol. Down + Power)-->
 +
# Power off the {{{device_name}}} and activate the bootloader ({{{device_recovery_boot_steps}}})
 +
# Connect it via USB
 +
# In your Terminal window, run: <code>./fastboot devices</code>
 +
# If your device shows up, proceed to the next step. Otherwise, follow the instructions in [http://forum.xda-developers.com/showthread.php?p=20381664 this thread]
 +
# In your Terminal window, run: <code>./fastboot oem unlock</code>
 +
# A warning will appear on your {{{device_name}}}, prompting you to unlock your bootloader.
 +
# Use the Volume Up and Volume Down buttons to navigate and the Power button to confirm your selection.
 +
# Reboot Device

Latest revision as of 11:19, 17 November 2013

Unlocking the device (bootloader)

First, the bootloader must be unlocked.

  1. Download and install the Android SDK for your platform from here: Android SDK
  2. Open a Terminal and: cd to <sdk>/tools/
  3. Run: ./android to start the Android SDK Manager
  4. Use it to install the latest version of 'Android SDK Platform-tools'
  5. Close the Android SDK Manager
  6. In your Terminal window,: cd to <sdk>/platform-tools/
  7. Power off the {{{device_name}}} and activate the bootloader ({{{device_recovery_boot_steps}}})
  8. Connect it via USB
  9. In your Terminal window, run: ./fastboot devices
  10. If your device shows up, proceed to the next step. Otherwise, follow the instructions in this thread
  11. In your Terminal window, run: ./fastboot oem unlock
  12. A warning will appear on your {{{device_name}}}, prompting you to unlock your bootloader.
  13. Use the Volume Up and Volume Down buttons to navigate and the Power button to confirm your selection.
  14. Reboot Device