Difference between revisions of "ROM Android: fastboot unlock"

From OnnoWiki
Jump to navigation Jump to search
(New page: == Unlocking the device == <!-- note: this template requires one or more of the following to be defined: device_is_nexus_device, device_oem_unlock_command, device_motounlock, device_htcun...)
 
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
{{#if:{{{device_motounlock|}}}|{{note|note=Unlocking the bootloader on a Motorola device will automatically wipe all device data.}}}}
 
{{#if:{{{device_motounlock|}}}|{{note|note=Unlocking the bootloader on a Motorola device will automatically wipe all device data.}}}}
 
{{#if:{{{device_htcunlock|}}}|{{note|note=The {{{device_name}}} can be unlocked officially via the HTC Dev unlock program. This unlock method ''may'' have certain restrictions, such as not being able to flash a kernel via recovery (no longer applicable to 2013+ released devices) or no USB access to sdcard in recovery. Some devices, however, have no other method to install custom firmware.}}}}
 
{{#if:{{{device_htcunlock|}}}|{{note|note=The {{{device_name}}} can be unlocked officially via the HTC Dev unlock program. This unlock method ''may'' have certain restrictions, such as not being able to flash a kernel via recovery (no longer applicable to 2013+ released devices) or no USB access to sdcard in recovery. Some devices, however, have no other method to install custom firmware.}}}}
#Make sure your computer has working [[Fastboot|fastboot]] and [[Adb|adb]].
+
 
#Enable USB debugging on the device.
+
* Pastikan adb & fastboot terinstalasi dan berjalan dengan baik
#Connect the device to the computer through USB.
+
 
#From a terminal on a computer, type the following to boot the device into fastboot mode:
+
apt-get install android-tools-adb android-tools-fastboot
#:<code>$ adb reboot bootloader</code>
+
 
#Once the device is in fastboot mode, verify your PC sees the device by typing <code>fastboot devices</code>
+
* Aktifkan USB debugging di handphone
 +
* Sambungkan device ke komputer melalui USB
 +
* Cek apakah berhasil berkomunikasi dengan handphone
 +
 
 +
adb devices
 +
adb devices -l
 +
 
 +
* Dari terminal kompuputer, ketik perintah berikut
 +
 
 +
adb reboot bootloader
 +
 
 +
#Once the device is in fastboot mode, verify your PC sees the device by typing
 +
 
 +
fastboot devices
 +
fastboot devices -l
 +
 
 +
 
 +
* Yang perlu di explorasi
 +
 
 +
fastboot oem get-bootinfo
 +
fastboot oem get_identifier_token
 +
fastboot flash unlocktoken unlock_token.bin
 +
 
 +
 
 
#*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|fastboot]] documentation for more info.
 
#*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|fastboot]] documentation for more info.
 
#*If you see "no permissions fastboot", try running fastboot as root.
 
#*If you see "no permissions fastboot", try running fastboot as root.
 
#{{#if:{{{device_is_nexus_device|}}}|From the same terminal, type the following command to unlock the bootloader:
 
#{{#if:{{{device_is_nexus_device|}}}|From the same terminal, type the following command to unlock the bootloader:
#:<code>$ fastboot oem unlock</code>}}{{#if:{{{device_motounlock|}}}|From the same terminal, type the following command to obtain your bootloader unlock code:
+
 
 +
fastboot oem unlock
 +
 
 +
di Layar Evercoss A80A akan keluar peringatan bahwa fastboot oem unlock akan membuat garansi batal,
 +
kita diberikan pilihan untuk YES atau NO menggunakan tombol volume. Tekan Volume UP untuk YES.
 +
Sayang untuk Evercoss A80A unlock tidak berhasil,
 +
 
 +
(bootloader) Start unlock flow
 +
 +
FAILED (remote:
 +
Unlock failed - Err:0x7000
 +
)
 +
finished. total time: 8.724s
 +
 
 +
 
 +
* Tampaknya kita perlu tambah dengan unlock code
 +
 
 +
fastboot oem unlock xxxxx” (xxxxx is your device unlock code)
 +
 
 +
 
 +
 
 +
{{#if:{{{device_motounlock|}}}
 +
 
 +
From the same terminal, type the following command to obtain your bootloader unlock code:
 
#:<code>$ {{{device_oem_unlock_command|'''ERROR: unlock command not set in device template!'''}}}</code>}}{{#if:{{{device_htcunlock|}}}|From the same terminal, type the following command to obtain your bootloader unlock token:
 
#:<code>$ {{{device_oem_unlock_command|'''ERROR: unlock command not set in device template!'''}}}</code>}}{{#if:{{{device_htcunlock|}}}|From the same terminal, type the following command to obtain your bootloader unlock token:
 
#:<code>$ fastboot oem get_identifier_token</code>}}{{#if:{{{device_is_nexus_device|}}}{{{device_motounlock|}}}{{{device_htcunlock|}}}||From the same terminal, type the following command to unlock the bootloader:
 
#:<code>$ fastboot oem get_identifier_token</code>}}{{#if:{{{device_is_nexus_device|}}}{{{device_motounlock|}}}{{{device_htcunlock|}}}||From the same terminal, type the following command to unlock the bootloader:
Line 21: Line 67:
 
#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.}}
 
#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.}}
 
# Since the device resets completely, you will need to re-enable USB debugging on the device to continue.
 
# Since the device resets completely, you will need to re-enable USB debugging on the device to continue.
 +
 +
 +
 +
 +
 +
 +
 +
 +
How to unlock your phone
 +
 +
WARNING: Unlocking your phone does a factory reset. Everything will be erased.
 +
 +
    open terminal (command prompt for windows) and change to directory of the fastboot binary (or add to path...but if you can do that then why are you reading this)
 +
    power off your phone
 +
    Hold your volume up and down and power button, wait for a vibrate and let go of buttons. (if in windows, wait for drivers to install)
 +
    run:
 +
 +
    fastboot oem unlock
 +
 +
    choose yes on the unlock option on your phone screen.
 +
    press volume down till you get the "restart" option, then press power to select it.
 +
    phone will reboot a couple times then boot up.
 +
    Make sure phone has booted.
 +
 +
*YOUR PHONE IS NOW UNLOCKED*
  
  
Line 27: Line 98:
  
 
* http://wiki.cyanogenmod.org/w/Template:Fastboot_oem_unlock
 
* http://wiki.cyanogenmod.org/w/Template:Fastboot_oem_unlock
 +
* http://rootzwiki.com/topic/12013-how-to-step-by-step-oem-unlock-and-root/

Latest revision as of 12:32, 26 December 2014

Unlocking the device

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

  • Pastikan adb & fastboot terinstalasi dan berjalan dengan baik
apt-get install android-tools-adb android-tools-fastboot
  • Aktifkan USB debugging di handphone
  • Sambungkan device ke komputer melalui USB
  • Cek apakah berhasil berkomunikasi dengan handphone
adb devices
adb devices -l
  • Dari terminal kompuputer, ketik perintah berikut
adb reboot bootloader
  1. Once the device is in fastboot mode, verify your PC sees the device by typing
fastboot devices
fastboot devices -l


  • Yang perlu di explorasi
fastboot oem get-bootinfo
fastboot oem get_identifier_token
fastboot flash unlocktoken unlock_token.bin


    • 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

di Layar Evercoss A80A akan keluar peringatan bahwa fastboot oem unlock akan membuat garansi batal, kita diberikan pilihan untuk YES atau NO menggunakan tombol volume. Tekan Volume UP untuk YES. Sayang untuk Evercoss A80A unlock tidak berhasil,

(bootloader) Start unlock flow

FAILED (remote: 
Unlock failed - Err:0x7000 
)
finished. total time: 8.724s


  • Tampaknya kita perlu tambah dengan unlock code
fastboot oem unlock xxxxx” (xxxxx is your device unlock code)


{{#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.





How to unlock your phone

WARNING: Unlocking your phone does a factory reset. Everything will be erased.

   open terminal (command prompt for windows) and change to directory of the fastboot binary (or add to path...but if you can do that then why are you reading this)
   power off your phone
   Hold your volume up and down and power button, wait for a vibrate and let go of buttons. (if in windows, wait for drivers to install)
   run:
   fastboot oem unlock
   choose yes on the unlock option on your phone screen.
   press volume down till you get the "restart" option, then press power to select it.
   phone will reboot a couple times then boot up.
   Make sure phone has booted.
  • YOUR PHONE IS NOW UNLOCKED*


Referensi