• Unlocking the bootloader on HTC. Unlocking the bootloader on HTC One M7

    Method 1 of 3 (official)

    What is needed to Unlock Bootloader HTC

    1. Install proprietary program HTC on PC HTC Sync - to install drivers

    Instructions on how to Unlock Bootloader HTC

    2. Register on this site

    3. Receive e-mail confirmation of registration in your mail

    4. Registration is completed and now enter your created NikName and password

    5. Go to the HTC Dev Bootloader website page

    6. Select the drop-down menu in the right corner All Other Supported Models or your smartphone model, then click Begin to Unlock Bootloader

    7. Confirm your commitment

    9. Turn off HTC smartphone and remove the battery and reinsert

    10. Then press (not press and release, but hold) the Volume Down button and the On/Off button

    11. You must get into special menu, release the buttons.

    12. Then use the volume keys to move to the Bootloader item and select the Bootloader menu item with the On/Off button.

    13. Now connect your HTC smartphone to the PC and wait for the driver to install if they are not installed

    a) If you installed the ADB installer

    In the start menu, find the program Command Prompt - Processor Windows commands. Run command line

    Enter the following commands at the command prompt

    cd/ cd adb

    b) Or if you chose the branded Adb Run

    Launch ADB RUN and go to the Manual -> ADB menu

    15. Enter the following command:

    fastboot oem get_identifier_token

    and press the Enter button

    16. Copy the resulting list

    17. Paste this code into the HTC web page

    18. A file will be sent to the email address that was specified during registration. Unlock.code.bin, which must be placed in the folder ADB (C:/adb) or C:/adb/progbin if ADB RUN

    fastboot flash unlocktoken Unlock_code.bin

    20. Pick up your smartphone and use the Volume button and the ON/OFF button to select Yes Unlock

    ATTENTION!

    IN latest models HTC does not need to do this procedure, since it no longer exists, so if you do not see the menu below, your smartphone may already be new!

    22. Unlocking completed, you can receive Root is right A!

    Method 2 NEW from 3 (simplification of the official one)

    This method is a simplification of the first method, more precisely, an automation of the first, you do not need to enter anything manually, nor any commands, you need the ADB RUN program! First, you still need to register on the HTC DEV website and get an Unlock file (described in detail in the first method).

    2. Connect your HTC smartphone to your computer

    Select the All Other Supported Models drop-down menu in the right corner or your smartphone model, then click Begin to Unlock Bootloader

    Confirm your commitment

    6. Select an item in Adb Run - Make Personal HTC Identifier_Token, after which you will see a code that needs to be copied

    7. Paste this code into the HTC web page and press SUBMINT

    9. Take the received message from your mail Unlock_code.bin

    10. Select an item Firmware Unlock_code.bin

    11. A request will appear Copy file Unlock_code.bin in the opened folder- after a few seconds a window will open in which you need to put the Unlock_code.bin file and then close this window yourself and press the Enter button

    12. A request will appear Flash Unlock_code.bin- after which the file firmware will begin Unlock_code.bin to unlock HTC bootloader.

    13. After a few seconds the smartphone will reboot, your HTC is unlocked!

    Special attention!

    In some HTC devices, you need to manually confirm the unlock request (some smartphones have it, some don’t). Don’t be lazy to look and press the UNLOCK button!

    Possible errors when unlocking Bootloader HTC

    160 - Unlock failed, try again

    173 - On at the moment, technical work is ongoing on the HTC website, please try later (next day)

    Method 3 of 3 (not official)

    The easiest, but not a guarantee that it will work 100%! But still, if there is an opportunity, why not try?

    In order to unlock bootloader htc you need to:

    Option 1

    2. Go to menu

    3. Go to menu Bootloader Unlock and Lock (Nexus), do not pay attention to what it says Nexus

    4. Select Lock Bootloader

    5. Restart your HTC smartphone

    Option 2

    1. Put your smartphone into Bootloader mode

    2. Go to menu Manual Command and Unlock Bootloader

    3. Go to menu A.D.B.

    4. Write the following command

    fastboot oem lock

    5. Restart your HTC smartphone



    Unlocking the bootloader on your smartphone is the first step to speed it up and install it custom firmware. And, contrary to popular belief, this feature is supported on most devices. Below is the official method to unlock the bootloader operating system.

    Not every phone will allow you to do this.

    There are two types of phones in this world: Those that allow you to unlock the bootloader and those that do not.

    The ability to unlock the bootloader depends on your smartphone manufacturer, model, and even your operator. All Nexus smartphones allow you to unlock the bootloader, and many phones from Motorola and HTC will allow you to unlock the bootloader in the same way as on the Nexus.

    Other smartphones, as well as operators, do not provide the ability to unlock the bootloader in an official way. In this case, you will have to wait until the developers find vulnerabilities with which you can get root rights and download custom firmware into your phone. If you have such a smartphone, then, alas, this article will not help you.

    The best way to find out which category your smartphone belongs to is to look at a specialized website. If you have an HTC or Motorola smartphone, then you can also check the unlocking capability on the HTC and Motorola websites. If the bootloader of your smartphone cannot be unlocked using the official method, then only the unofficial unlocking or root method, which can usually be found on the XDA Developers forum, will help you.

    Step 0: Back up everything you want to keep

    Before you begin, it should be noted that this process will erase all of your data. Therefore, if you have any Important files, be it photos, music, videos or anything else, then now is the time to save everything to your computer. In addition, if you have any application settings that you want to save, then use the function backup to create a backup of your settings, and also save it on your computer.

    Here's another tip: since I know I'll want to root my smartphone, I always unlock the bootloader as soon as I buy a new device. This way I don't waste time customizing the phone to suit myself only to delete all the data after a couple of days.

    When you save everything important files, then you can start.

    Step 1: Android installation SDK and drivers for your phone

    You will need two things for this process: Android Debug Bridge, which is a command line for PC that you can use to communicate with your phone, and a USB driver for your device. If you installed them earlier, then you need to update them to the latest version.

    Let's give brief instructions for installation:

    • 1. Go to the Android SDK download page and scroll down to “SDK Tools Only”. Download ZIP file for your OS and unpack the archive.
    • 2. Launch SDK Manager and uncheck all items except “Android SDK Platform-tools”. If you are using a Nexus phone, you can also select Google USB Driver" to download Google drivers.
    • 3. After installation is complete, you can close the SDK manager.
    • 4. Install USB drivers for your phone. You can find them on the website of the smartphone manufacturer (eg Motorola or HTC)
    • 5. Restart your computer if necessary.

    Turn on your phone and connect it to your computer with via USB cable. Open the tools folder in your Android SDK installation folder and Shift+Right Click on an empty area. Select “Open a Command Prompt Here” and run the following command:
    adb devices
    If it appears serial number, then your phone is detected and you can continue further. Otherwise, make sure you follow all the given steps correctly.

    Step 2: Enable USB Debugging

    Next, you will need to enable several options on your phone. Go to your phone settings and select "About phone". Scroll down to Build Number and click on this item 7 times. A message should appear indicating that you are logged into developer mode.

    Return to home page settings, you should have a new item “For Developers”. Enable “OEM Unlocking” if this option exists (if it doesn't, don't worry - only some phones have this option).

    Then enable “USB Debugging”. Enter a password or PIN if required.

    Once you do this, connect your phone to your computer. You will see a window on your phone asking “Do you want to enable USB debugging?” Check the “Always allow this computer” checkbox and click OK.

    Step 3: Obtain an unlock key (not for Nexus phones)

    If you have a Nexus smartphone, then proceed to the next step.

    Go to the smartphone manufacturer's website to obtain an unlock key (for example, for Motorola, open this page or this one for HTC), select your device (if required) and drive or create a new account.

    Further in this step there may be differences for different phones, but there should be instructions on the steps on the manufacturer’s website. It will be as follows: first, turn off the phone and boot into fastboot mode. On different phones there are different ways, but most often you need to press and hold the power button and volume down key for 10 seconds. Release the buttons and you should be in fastboot mode ( HTC users You will have to use the volume down key to get to the Fastboot item and use the power key to select this item).

    Connect your phone and PC using USB cable. Your phone must somehow notify you of the connection. Open the tools folder in your Android SDK installation folder and Shift+Right Click on an empty area. Select “Open a Command Prompt Here” and enter the unlock command provided by the manufacturer (for Motorola this is fastboot oem get_unlock_data command , for HTC fastboot oem get_identifier_token).

    Long strings of characters will appear on the command line. Copy these characters and make one line of them without spaces and on the website, paste the resulting text into the appropriate field. If your smartphone can be unlocked, you will receive an email with a key or file, which we will use in the next step. If your device cannot be unlocked, you will also be notified about this. If you still want to go all the way and use the unofficial method, then you will need the developers website.

    Step 4: Unlock

    Now you are ready to unlock. If your phone is still in fastboot mode, run the command below. If not, then turn off your phone and boot into fastboot mode. There are different methods on different phones, but most often you need to press and hold the power button and volume down key for 10 seconds. Release the buttons and you should be in fastboot mode (HTC users will have to use the volume down key to get to the Fastboot item and use the power key to select this item). Connect your phone and PC with a USB cable.

    Open the tools folder in your Android SDK installation folder and Shift+Right Click on an empty area. Select “Open a Command Prompt Here”.

    To unlock your device, you will need to run one simple command. For most Nexus devices, this command is:
    fastboot oem unlock
    If you have new version Nexus, for example, Nexus 5X or 6P, then the command will be slightly different:
    fastboot flashing unlock
    If you do not have a Nexus smartphone, then the manufacturer’s website will indicate the command you need. For Motorola devices, this is the command fastboot oem unlock UNIQUE_KEY, where UNIQUE_KEY is the code sent to you by email. For HTC, this is the command fastboot oem unlocktoken Unlock_code.bin, where Unlock_code.bin is a file received from the HTC manufacturer.

    After running the command, the phone may ask if you really want to unlock. use Volume key to confirm.

    When unlocking is complete, use the OSD menu to reboot your phone (or run the fastboot reboot command on your computer). If everything is done correctly, then when you boot the phone you will see a message that the bootloader is unlocked, and then the Android OS will load. It is important to boot Android first before doing anything like installing a custom recovery.

    Congratulations on being unlocked! For now you won't notice any differences, but now you can install a custom recovery, get root rights or install a custom firmware.

    Detailed instructions for unlocking the bootloader on HTC One M8 for subsequent installation of custom recovery and firmware.

      Drivers and programs

    Attention!

    Any change to the system this device will lead to blocking of OTA updates, i.e. the smartphone will no longer be able to install updates received over the air. Also, unlocking the bootloader leads to full formatting internal memory device and reset to factory settings. It is strongly recommended to save everything necessary files from your phone to your computer or in the cloud.

    Installation instructions

      Create a folder in the root of the C:\ drive named " Android».

      Disable fast loading on a smartphone.
      To do this you need to go to " Settings", select menu " Nutrition" and uncheck the "".

      Open a command line and go to the created one Android folder command " cd c:\Android\"(commands are written without quotes).

      Connect your phone to your computer using a USB cable.

      Make sure that the computer finds the device via ADB.
      To do this you need to enter " adb devices" to the command line. When a request appears on the phone for permission to debug via ADB on this computer you must press " Ok", while selecting the item " Always allow from this computer" If the device is visible, the text “ List of devices attached" and a list of all devices (for example, xxxxxxx device). If instead of “device” it says “offline” or the list is empty, then you need to update ADB, check the drivers/cord, change USB port/computer.

      Reboot your smartphone into bootloader mode.
      To do this, enter “ adb reboot bootloader »or turn it off, then turn it on, while simultaneously holding down the Power button and the Volume Down key. After downloading, select Fastboot. If everything is done correctly, the phone will go into Fastboot mode USB.

      Check the availability of the device in bootloader mode by entering the command " fastboot devices" If the device is connected correctly, the device identifier with the word “fastboot” will be displayed (for example, “xxxxxxx fastboot”). If nothing is displayed or “waiting for devices...”, then you need to update the drivers, change the USB port, or try to do these steps on another computer.

      Go to the HTCDev website and select “ All Other Supported Models", then click on the button " Begin Unlock Bootloader».

      In the pop-up window that appears, check the boxes next to both items.

      At the command line enter " fastboot oem get_identifier_token».

      Copy the text as shown on the HTCDev website in step 9.

      Paste the identifier into the field provided and confirm by clicking on the button " Submit».

      To the one specified during registration mailbox you will receive a letter with the file “ Unlock_code.bin».

    From this instruction you will learn how to unlock the bootloader (unlock) on HTC smartphones.

    How to unlock HTC bootloader using the official method

    Important! Unlocking the bootloader will erase all data from the internal memory (SMS, contacts, applications), so first make a backup copy .

    How to unlock HTC bootloader: instructions

    1. Download and install proprietary utility HTC Sync. Drivers will be installed along with it.

    3. Go to the website htcdev.com.

    4. At the top, click " Register» and go through the registration process.

    6. At the top of the site there is a login form. Log in with the account you created.

    7. After that, open the page htcdev.com/bootloader.

    8. Right in " Supported Devices» select your model. Only new devices are listed, so if you have an older device and it doesn't appear in the list, select " All Other Supported Models" Then click " Begin Unlock Bootloader».

    9. In the next window, confirm your choice.

    10. Check the boxes and click " Proceed to Unlock Instructions».

    11. Then instructions will appear in English, which we will translate. Don't close the HTC Dev website!

    12. Turn off the device and remove the battery.

    13. Then press and hold the “ Volume down" And " Enable».

    14. You should be in bootloader mode.

    15. Use the volume keys to navigate through the menu. Go to " Fastboot" and click the " On" to select this item.

    16. Now connect the device to your computer via a USB cable.

    17. In step 4 you need to download binary file for your operating system. We choose the latter option and download the Windows binary.

    18. Agree to the license by checking the box and clicking “ Download Fastboot Binaries».

    19. At the bottom of the instruction page, click the “ Proceed to Step 5».

    19. Now on your computer, press the keyboard shortcut “ Win» + « R" and and enter " cmd" in the window " Execute" Then click " OK».

    20. Great! You are taken to the command line. Now enter the following and click " Enter»:

    cd c:/adb

    21. In the next line, enter and press “ Enter»:

    adb devices

    22. Then enter this command and click " Enter»:

    fastboot oem get_identifier_token

    23. After this, you will have a list from which you need to copy a fragment. It begins:

    <<<< Identifier Token Start >>>>

    And it ends:

    <<<<< Identifier Token End >>>>>

    To copy something on the command line, you need to right-click and select " Flag" Then select the fragment shown below and right-click again to copy it.

    24. Paste the copied code into the “ My Device Identifier Token" and click " Submit».

    25. The file “ Unlock.code.bin", which must be downloaded to your computer and placed in a folder A.D.B. (C:/adb).

    fastboot flash unlocktoken Unlock_code.bin

    27. After this, your phone will reboot and the question “ Unlock bootloader?" Use the volume keys to select " Yes» and confirm your choice with the power button.

    This is how the whole process of unlocking the bootloader on HTC smartphones happens.

    How to Bootloader HTC with HTC Bootloader Unlock

    All HTC devices have a locked bootloader for security purposes, but installing custom Recovery , device firmware or obtaining Root rights it needs to be unlocked. For this you can use HTC program Bootloader Unlock, which will significantly simplify the entire process.

    1. Download HTC Bootloader Unlock from official website and install.

    2. Connect your smartphone to your computer by activating USB debugging in the “ For developers ».

    3. Open HTC Bootloader Unlock. At this time, your smartphone screen should prompt you to allow debugging from your computer if you are connecting to it with debugging enabled for the first time.

    4. Wait until HTC Bootloader Unlock detects your device and installs it if necessary necessary drivers. After this, the buttons should light up green and become active.

    5. Click "" and wait for the process to complete.

    6. At the end, just click " Finish».

    This completes the entire process. As you can see, everything is very simple and this method It’s much easier and more convenient than unlocking Bootloader in the official way using ADB.

    This method is a simplification of the first method, more precisely, an automation of the first, you do not need to enter anything manually, no commands, you need a program!

    First, you still need to register on the site HTC DEV and get the Unlock file (described in detail in the first method).

    2. Connect your HTC smartphone to your computer;

    3. Download the program, install it and launch it;

    4. B adb program RUN go to item;

    Manual Command and Unlock Bootloader -> HTC Menu ->Unlock Bootloader


    5. Select Go to Unlcok Bootloader HTC Site- after which the HTC website will open, register there and select your model;

    6. Select item in -, after which you will see a code that needs to be copied:

    7. Paste this code into the HTC web page and click SUBMINT:

    9. Take the received message from your mail Unlock_code.bin;

    10. Select an item Firmware Unlock_code.bin;

    11. A request will appear Copy file Unlock_code.bin in the opened folder- after a few seconds a window will open into which you need to move the file Unlock_code.bin and then close this window yourself and press the button Enter;

    12. A request will appear Flash Unlock_code.bin- after which the file firmware will begin Unlock_code.bin to unlock HTC bootloader;

    13. After a few seconds the smartphone will reboot, your HTC is unlocked!

    Special attention!

    In some HTC devices, you need to manually confirm the unlock request (some smartphones have it, some don’t). Don’t be lazy to look and press the UNLOCK button!

    Possible errors when unlocking Bootloader HTC

    • 160 - Unlock failed, try again
    • 173 - At the moment, technical work is being carried out on the HTC website, try again later (the next day)

    Detailed instructions for unlocking the bootloader on HTC Desire 816 for subsequent installation of custom recovery and firmware.

      Drivers and programs

    Attention!

    Any change in the system on this device will lead to blocking OTA updates, i.e. the smartphone will no longer be able to install updates received over the air. Also, unlocking the bootloader leads to a complete formatting of the device’s internal memory and a reset to factory settings. It is strongly recommended to save all necessary files from your phone to your computer or in the cloud.

    Installation instructions

      Create a folder in the root of the C:\ drive named " Android».

      Disable fast boot on your smartphone.
      To do this you need to go to " Settings", select menu " Nutrition" and uncheck the "".

      Open a command prompt and go to the created folder Android team « cd c:\Android\"(commands are written without quotes).

      Connect your phone to your computer using a USB cable.

      Make sure that the computer finds the device via ADB.
      To do this you need to enter " adb devices" to the command line. When a request appears on your phone for permission to debug via ADB on this computer, you must click “ Ok", while selecting the item " Always allow from this computer" If the device is visible, the text “ List of devices attached" and a list of all devices (for example, xxxxxxx device). If instead of “device” it says “offline” or the list is empty, then you need to update ADB, check the drivers/cord, change the USB port/computer.

      Reboot your smartphone into bootloader mode.
      To do this, enter “ adb reboot bootloader»or turn it off, then turn it on, while simultaneously holding down the Power button and the Volume Down key. After downloading, select Fastboot. If everything is done correctly, the phone will go into Fastboot USB mode.

      Check the availability of the device in bootloader mode by entering the command " fastboot devices" If the device is connected correctly, the device identifier with the word “fastboot” will be displayed (for example, “xxxxxxx fastboot”). If nothing is displayed or “waiting for devices...”, then you need to update the drivers, change the USB port, or try to do these steps on another computer.

      Go to the HTCDev website and select “ All Other Supported Models", then click on the button " Begin Unlock Bootloader».

      In the pop-up window that appears, check the boxes next to both items.

      At the command line enter " fastboot oem get_identifier_token».

      Copy the text as shown on the HTCDev website in step 9.

      Paste the identifier into the field provided and confirm by clicking on the button " Submit».

      A letter with the file “ Unlock_code.bin».

      Enter " fastboot flash Unlock_code.bin" and press Enter.