Fastboot oem unlock


How to Unlock Bootloader via Fastboot on Android

Unlocking the bootloader via Fastboot is the easiest thing to do. But not all Android devices support straightforward bootloader unlocking. Many manufacturers put up a setup on their devices to let users unlock bootloader only when they request a bootloader unlock token. This way the manufacturer gets to know that bootloader has been unlocked on the device and thus disables warranty on it.

This guide has bootloader unlocking steps for the devices that support direct bootloader unlocking without the interference of a manufacturer. For your information, most Motorola’s, Sony, LG (flagships only) doesn’t support direct bootloader unlock. It’s okay if you’re not sure about your device though, you can still give with the Fastboot bootloader unlock process shared below. If it passes, good. If it fails, no harm will be done.

To unlock bootloader via Fastboot you’ll need a PC and ADB with Fastboot setup, which can be tricky for some, but we’ll guide you through. Also, make sure your device is at-least 20% charged before you attempt to unlock bootloader.

Note: Unlocking the bootloader will completely wipe/delete all data on your device. Including photos, videos, movies, documents, apps, games, basically everything. So make you backup the important files before unlocking the bootloader.

  1. Setup ADB and Fastboot on your PC.
  2. Enable USB debugging and OEM Unlock on your Android device.
  3. Connect your device to the PC with a USB cable.
  4. Open a command window on your PC.
  5. Boot your device into bootloader mode using the following command:adb reboot bootloader

    └ You may get a request to authorize USB debugging on the device, accept it.

  6. Once your device is in bootloader mode, issue the following command to unlock bootloader:fastboot flashing unlock

    If the above command doesn’t work, run this command (older devices need this): fastboot oem unlock

  7. (Not applicable for all) If you get a confirmation screen on your device. Press Volume Up button to highlight Yes and press Power button to select it. This will begin the bootloader unlocking process, which shouldn’t last more than a couple of minutes.
  8. Once the bootloader is unlocked, your device will reboot into bootloader mode. You need to boot it into the system now using the command below:fastboot reboot
  9. During reboot, your device will go through a factory reset and then finally boot into system.

That’s all. Your Android device’s bootloader is now unlocked.

Happy Androiding!

www.theandroidsoul.com

Unlock Bootloader Of Any Android Via Fastboot Commands (2018)

In this guide, you will learn How easily you can Unlock Bootloader Of Any Android Using Fastboot Commands. It is a very simple and easy method. You don’t need to have technical knowledge. Anyone can Unlock Bootloader Of Any Android just by issuing few fastboot commands. So just follow the guide to get your device’s bootloader unlocked.

If you want to root your device or want to install a custom recovery, ROMs, Kernel & MODs then you have to unlock the bootloader of the android device first. After Unlocking the bootloader, you can Flash modified system, boot, kernel, custom recovery(TWRP/CWM) or other .img files on your device.

Unlocking Bootloader is now a very simple process.You can do this by just issuing some fastboot commands.The process is same for most of the devices but there are Companies like Sony, Motorola, Huawei and other OEMs officially allow users to unlock the bootloader on their devices. You have to first get a unlock password from the manufacturer Website, then you can easily unlock the bootloader by issuing few ADB & Fastboot command.

Detailed Guide: Root Any Android Phone With SuperSu Zip + APK

Full List Of ADB and Fastboot Commands > The Most Useful ADB & FastBoot Commands for Android 2017

Here we will be using a windows computer, so make sure you have one.

Note: Unlocking bootloader will completely wipe your device’s data(Everything like music, photos, videos & apps).So we highly recommend taking backup of your important data. So take a backup of your apps and data.Guide How to Backup Important Data On Android (Non rooted users)

[/mks_pullquote]

Related:

Warning:

rootmygalaxy.net will not be held responsible for any kind of damage occurred to your Android Device while following this tutorial.Do it at your own risk.

Pre-Requirements

*Make sure there is at least 60% battery left on your smartphone before begin started this process

→ Unlock Bootloader Of Any Android Using Fastboot Commands

How To Unlock Bootloader Of Any Android Using Fastboot Commands

→ First read the Pre-Requirement section carefully.

  • Connect your android to your PC with USB cable
  • Now go to ADB & fastboot folder and Open the command window there(Right click on the empty space inside the folder then select “Open command window here” or “Open PowerShell Window Here” option to launch a command window
  • Now reboot into the bootloader by issuing the following commands. (Make sure your device is detected by your PC)
adb reboot bootloader

  • Now Check fastboot connectivity by giving the command below.If your device is connected properly then it should return device code.
fastboot devies

  • Once in the bootloader, issue the following fastboot command to unlock the bootloader. (This will unlock your phone and wipe all data of your device)
fastboot oem unlock

  • Done!!! Reboot the phone and boot into your unlocked device. Use command:
fastboot reboot

  • To check the bootloader status, issue the command given below. It should return “True” on unlock status.
fastboot unlock-info

If you use Mac or Linux machine, use the code: “./fastboot oem unlock” for iOS and “sudo fastboot oem unlock” on Linux.

If you have any question related to this post, feel free to leave that in the comment section

rootmygalaxy.net

Step-by-Step Guide: Unlock Android bootloader via Fastboot Command

The new Android device comes with the locked bootloader; You can’t flash recovery like twrp or other .img files until you unlock the bootloader. But after Unlock Android bootloader you can able to flash any recovery, moded images file even you can root the device. In this guide, we will share How to Unlock Bootloader via Fastboot Command.

Unlocking bootloader is an easy thing any Android user can do that with this guide, but not all the Android phone’s support directly Unlocking bootloader via fastboot. Manny Android Vendor like Huawei, LG, HTC, Motorola, Sony doesn’t support direct bootloader unlock you have to request the unlock code via their official website then you can unlock. But you can still unlock Google, Oneplus and many Android devices by fastboot OEM unlock command. In This page Follow the steps to learn How to Unlock Android bootloader via Fastboot Command.

Note: Unlocking the bootloader will completely reset your device. So first backup App’s, Contacts, Messages before start the process.

Also Check: How to Unlock Bootloader of Huawei Phones Official Method

After Unlock Bootloader you can able to install TWRP Recovery, Rooting Installing custom ROM’s and customize the device.

Also, you can unbrick the device by the flash boot.img, system.img, recovery.img, userdata.img. You can flash the full factory image on Google Nexus and pixel device after unlocking the bootloader.

1. First Enable USB Debugging Mode And OEM Unlock On your Devices and Install Android Driver on your pc.

2. Download and setup Latest Minimal ADB And Fastboot Tools you can install complete package or Download Latest Minimal ADB And Fastboot tool and unzip it.

3. Connect your Android Device to the pc and open Cmd Window on “platform-tools” folder by Hold Shift + Mouse Right Button ⇒ Open Command Window Here.

4. Now boot your Android device into bootloader mode by using the following command, or you can do it manually by Volume Up or Down + Power Key.

adb reboot bootloader

5. Now check device connected or not via this command.

fastboot device

If show “waiting for any device” then re-install the driver, Or install it manually via the device manager.

6. Once your device connected, paste the following command to Unlock Bootloader via Fastboot Command.

fastboot oem unlock

Note:- Some device’s need to confirm the unlocking. Press Volume Up button to confirm the unlock and press the Power button to select it.

Source: android.stackexchange.com

7. Once bootloader unlock is done, you can check it’s unlocked or not by the following command.

fastboot unlock-info or fastboot oem device-info

8. You can reboot the device anytime by following this command

fastboot reboot

First boot needs a few minutes because the device will go through the factory reset. So wait until the normal boot.

Note: Linux user, use the code: “sudo fastboot OEM unlock” and mac user “./fastboot OEM unlock”

Comment below if you were getting any error we can help you.

AndroidFastboot Commandoem unlock

Nitya is a co-founder of gizdev.com, who really wants to help people. Learned almost everything by himself, started blogging at an early age. He likes to try out every Custom ROM, Mods On His Device

www.gizdev.com

Fastboot Commands: A Beginner’s Guide

Fastboot is a powerful tool bundled with Google Android SDK and also an engineering protocol that helps to write data directly to your phone’s flash memory. Since it directly writes to the phone’s flash memory, It can start on your device even before Android OS loads, even under the scenario when Android isn’t installed at all.

The phone needs to be booted into “Bootloader mode” to use the Fastboot commands. It enables access on all your device partitions. Hence, one can patch those partitions by flashing firmware, recoveries, bootloader etc.

Fastboot is most commonly used for unlocking the bootloader or to establish communication with hardware when the software has failed or bricked. If you are familiar with rooting and modding your android phone, you must have heard a lot about ADB and fastboot. If you are new to this scene, we’d recommend checking our beginners guide to rooting.

Popular Fastboot Commands

When you’re working on the bootloader mode, ADB commands will no longer work, as the device is not booted into Android OS. Hence, the Android debugging tools can’t communicate to the phone. As mentioned above, the Fastboot commands would work even if the OS isn’t booted, provided your device is booted into Bootloader/Fastboot mode. These are probably the most useful tools available which will come to rescue when you brick your device or when you want to replace your device partitions.

To execute the below mentioned commands, you’ll also need to have Fastboot installed on your computer system, You can follow our guide to install ADB and Fastboot for the installation. Now that you have Fastboot working on your system, you can check the below commands. To make it easier, we’ve added a short description, syntax and an example.

Before you begin executing the commands:

Fastboot devices command

Type Fastboot devices in the command prompt and result should be a serial number, similar to the adb devices command. If entering this command shows your device name with a serial number, it implies that your phone is good to go for fastboot operations. However, if the result is empty then you might want to check the fastboot installation and drivers.

Syntax:

fastboot devices

Fastboot OEM unlock command

The Fastboot OEM unlock command is the most popular command, it is your key to unlock the bootloader of your device. Although this command works with most of the devices, it won’t work for some brands. If your OEM enables fastboot mode, then you will be able to unlock your phone with this command.

Brands such as Google Pixel, Google Nexus, OnePlus, HTC, Motorola, and etc. usually support bootloader unlock with this command. If you own a different device, you’d have to follow separate guides to do the trick. Also, unlocking the bootloader voids the warranty for some brands, so only unlock if you are willing to risk your warranty.

Syntax:

fastboot oem unlock

PS: Running the unlock command in the command prompt will wipe your entire data on the phone. So please proceed carefully. We won’t be held responsible for your data loss!

Fastboot OEM lock command

The Fastboot OEM unlock command is opposite of the OEM unlock command. Using this command, you can lock your bootloader and go back to the stock factory mode.

Just for information: This command could help you with your warranty even after you’ve unlocked it. Because in most parts of the world, the representatives at service centers think that a locked bootloader means the device wasn’t unlocked. Although there are ways to find out if a device was previously unlocked, most of the service centers don’t get that far. But if they find out, don’t blame us!

Syntax:

fastboot oem lock

Fastboot Flash command

The Fastboot flash command would help you to flash ZIP files. Companies like OnePlus, release the flashable ZIP file of the upcoming firmware for their testers. So, one can simply download the ZIP file, place it in the folder on their PC, open Command window from that folder and flash the zip. Normally, fastboot images are flashed in this way.

Note: It is always recommended to place the zip files in the same folder of your ADB binaries so that you do not need to specify the path or you can alternatively open the command window from that particular folder.

Syntax:

fastboot flash %FILENAME.ZIP%

Example:

fastboot flash newfirmware.zip

Fastboot Flash Recovery command

The Fastboot flash recovery is a powerful fastboot command which is used to flash recovery images. This will patch your recovery partition with a new image. When we install a custom recovery such as TWRP on our device, this is the command we use. This would replace the stock recovery with the custom recovery.

Syntax:

fastboot flash recovery %FILENAME.IMG%

Example:

fastboot flash recovery twrp.img

Fastboot Flash Boot command

The boot image contains the kernel of your device. You can use the Fastboot Flash boot command to replace the stock kernel with a custom kernel of your choice. This command would replace the boot partition of your device. It might look simple, but could be risky if you flash a wrong boot image. There are chances that your device might not boot or might get stuck in a Bootloop. The only way to recover if you mess up with this would be flashing the stock boot image.

Syntax:

fastboot flash boot %FILENAME.IMG%

Example:

fastboot flash boot bootimage.img

Fastboot Erase command

As the name says, this command would erase items from your device. By using the Fastboot erase command you’ll be able to wipe data from different partitions on your device. This command is generally used before flashing a new ROM, as it wipes the existing data and makes space for the new files to be written. This command deletes all your data from the partitions you’ve mentioned in the command, so it’s always a good idea to take a backup before you run it.

Syntax:

fastboot erase %PARTITION NAME%

Example:

fastboot erase system fastboot erase boot fastboot erase cache fastboot erase userdata fastboot erase recovery

Fastboot Format command

If you want to completely format the flash partitions of your device, you can use Fastboot format command. This will allocate new blocks of data to your device partition and that makes it different from fastboot erase command. A full backup of device data is always recommended as it can wipe your entire data.

Syntax:

fastboot format %PARTITION NAME%

Example:

fastboot format system fastboot format boot fastboot format cache fastboot format userdata fastboot format recovery

Fastboot Reboot/reboot-bootloader commands

The Fastboot reboot command will help you to boot your device normally to OS. On entering the reboot command you’ll be booting the system partition of your device. Whereas the reboot-bootloader command will take you back to bootloader mode followed by a reboot.

Syntax:

fastboot reboot fastboot reboot

-

bootloader

Conclusion

Because of its powerful nature, OEMs do not enable fastboot mode for all phones. Although It’s enabled for most of the smartphones (Almost all). Some popular manufacturers which enable the fastboot mode for their devices are Google Pixel, Nexus, OnePlus, Motorola, HTC, Xiaomi, ASUS, Sony, Huawei, etc. The Android community developers also help you with ways to unlock it if there’s no official method available (for some devices.) With little knowledge about the commands and right hardware, Fastboot could be a great utility and knowing its commands could be helpful!

android.tutorials.how

What is OEM and How to Enable OEM Unlocking on any Android device? [Tutorial]

OEM is one of the most discussed topics in Android community. Mostly we would see discussions over how to unlock OEM or unlock the bootloader. Not to forget the highly discussed ‘how to root’ for Android devices. So what exactly is OEM and why is it kept locked? OEM stands for Original Equipment Manufacturer and it is kept locked to either prevent unlocking the bootloader of the device or prevent installing custom ROMs or packages onto the device.

You may ask, ‘what is bootloader’? Well, a bootloader is a software that runs when your device turns on. It packages the instructions to boot operating system kernel. And you need to unlock the bootloader to enable OEM (in case your device doesn’t provide the OEM Unlock Option)

Again, OEM is that permission which if granted will give the super user access to anyone. And one can do lots of modifications in his Android device. Even if your device is stolen, no one can steal the data unless OEM is unlocked. Sounds fascinating..? Well, now you have a basic idea of OEM, let’s see how to unlock OEM in Android devices in detail.

Availability of OEM Unlocking Options

Wel, not every Android device allows the unlocking of OEM.Devices running on Android 5,6 or Android 7.0 Nougat there is an option for unlocking OEM provide by the manufacturer.

We can unlock the OEM by enabling the developer option which is a hidden option.

How to unlock OEM in Android devices running on Android Lollipop, Marshmallow and Nougat

Step-1  Go to Settings > About Device

Step-2 In “About Device” section, scroll down to “Build number”

Step-3 Tap on “Build Number” for 7 times in quick succession.

Go to Settings>About Device>Build Number

Step-4 A message will flash saying “You are now a developer”.

Flash message appears when you enable Developers Option

Step-5 Go to Settings.You will see a new option called “Developer options”.

Developer Options Now Visible

Step-6 Tap on “Developer Options”

Step-7 Scroll down to “OEM Unlocking” option. Enable it.

Enable the OEM Unlocking Option

That’s it… You have successfully unlocked the OEM in your device !!! That was cool, wasn’t it?And pretty simple too.

But like we mentioned, not all devices allow OEM Unlocking option. Manufacturers like Samsung, Nexus, HTC, Motorola etc. provide this option to unlock OEM.

But what about those devices that have no such options to unlock the OEM. And is it possible to unlock OEM by any other methods.? Well, let’s check that out.

How To Unlock OEM in Android devices using USB Debugging and Fastboot

Yes! It is very much possible to Unlock OEM in the Android devices that do not provide an option for that. We will use a method called USB Debugging and by using Fastboot.

BUT FIRST OF ALL, TAKE A FULL BACKUP OF YOUR DATA BEFORE PERFORMING ANY MODIFICATION ON YOUR DEVICE.

And AndroidSage will not be responsible for any kind of loss of data or problem occurring due to modification on your device. It’s your sole choice to perform the modding.

So, let’s get started. We will start by installing USB drivers and ADB files on the PC.

Step-1  Download the 15 second ADB installer and run the .exe file to perform the setup.

ADB Installer

Step-2 After setup is completed, you will see ADB folder on your C drive (C:\adb).

Step-3  Connect your phone to the PC and click Start>Device Manager. Now here you will see your device listed under the portable device.

Step-4 Right-click on ADB Interface and select update driver software.

Step-5 Then a new window will display. Click on the “Browse my computer for driver software”.

Step-6 Then next screen will display. Click on “Let me pick from a list of device drivers on my computer” and click Next.

Step-7 On the next screen select  “Android Device” and click Next.

Step-8 Now ADB drivers are installed on the PC. Select “Android ADB Interface” and click Next.

Step-9 Finally, ADB and USB drivers are now installed. To check it is working or not connect your phone to the PC and open command prompt in your ADB folder.

Step-10 In command prompt type, C:\ADB > ADB devices. On pressing “Enter” it will display the list of attached devices.

Steps To Unlock the Bootloader of Android phones

Next step is to unlock the bootloader in order to unlock the OEM.

As mentioned before:

  • upon unlocking the bootloader, all data will be wiped out of your device.
  • And the warranty of your device will also expire.
  • Carefully follow all the steps, else your device will hard brick.

Step-1 On your device Go to Settings > About Phone > Build number

Step-2 Tap on the build number 7 times, to enable Developer Options.

Step-3 Yet again go to Settings > Developer Options > USB Debugging                                                        enable USB Debugging.Tap on OK button.

Step-4 Now we will Boot the Android device in Fastboot mode.

Step-5 Connect your device to the PC with USB cable.

Step-6 Open Command Prompt in the C:\ ADB folder.

Step-7 Type this command  C:\ADB > ADB reboot bootloader. Press Enter.

Step-8 Again type C:\ADB > fastboot devices

Step-9 Now type this command C:\ADB>fastboot OEM unlock.

Step-10  Again type this command, C:\ADB>fastboot  OEM device-info.

Step-11 See that Device tampered and Device unlocked are set to true.

Step-12 Again run command C:\ADB > fast boot reboot and  Press Enter.

Well, there you go. Now the OEM is unlocked. (along with the bootloader)

OEM/Bootloader Unlocking: Pros And Cons

Yup..OEM/Bootloader unlocking has its own set of Pros and Cons. Let’s take a look.

Pros

  • You get super user access and unlock features on your device.
  • You can install custom ROMs.
  • No one can access your data without your pattern, PIN, or password.

Cons

  • If you will not follow the steps properly, your device will hard brick.
  • When you will unlock Bootloader, your existing data will be wiped out.
  • If your device is stolen, someone might install custom ROM even though he can’t                   access your data.And will use that to wipe out your data.

Therefore, now you know how to unlock OEM in Android devices, you might try it out. But, if you really have some purpose like installing custom ROMs, we recommend to mod your device. Else, don’t do it out of curiosity and it might render your device useless. Create a backup, follow the steps carefully. Have a happy and safe tweaking.

www.androidsage.com

Unlock Bootloader | Using Fastboot on Any Android

Here’s how you can unlock bootloader via fastboot on any Android device. Once you unlock bootloader, you can then flash SuperSU or Magisk to acquire root. Unlocking bootloader helps you install custom ROMs, apply themes, flash various MODs, etc. In this guide, we will help you unlock Bootloader of Android devices via Fastboot.

Unlocking Bootloader on Android devices is one of the easiest things to do if you have the proper tools and a good guide. But the problem with unlocking bootloader on Android device is that not all OEMs and carriers make it easy to unlock the bootloader. A few manufacturers, for some of their devices, make it mandatory to request a code from them to unlock bootloader. Without the unlock code, you would never be able to unlock bootloader.

Contents

  • Unlock Bootloader on Android
  • Steps to Unlock Bootloader via Fastboot

Unlock Bootloader on Android

There are many advantages when you unlock bootloader on your Android device. An Android device with unlocked bootloader gives you are a lot more control over your device than ever. Unlocked bootloader enables a user to root their Android device by flashing a root package such as SuperSU Zip or Magisk Zip. Unlocked bootloader also opens the gates to install custom ROMs on your Android device. This comes in handy especially when you own an older device which is way past the manufacturer’s update cycle. The custom ROMs helps you in always keeping your device updated with the latest version of Android.

There was a time when unlocking the bootloader on an Android device used to be very tough. You would need some sort of a key to even begin the process of bootloader unlock. That’s right. I still remember trying to unlock the bootloader of my Sony Xperia. You had to visit a website and follow a bunch of special instructions on that website to be able to get the bootloader unlock code.

But fortunately, these days, many manufacturers support direct bootloader unlock. So, what exactly do we mean by ‘direct’? Well, in the direct method, you would not need any special code from your manufacturer to unlock the bootloader on your Android device. You could simply execute a couple of lines of command by connection your device to a computer and then you should be good to go!

In this guide, we will concentrate on the device that allows to easily unlock bootloader without the need for any type of code from the manufacturers.

You can simply execute some fastboot commands (we will come to that in a bit) and your device bootloader will be unlocked.

Heads up: Unlocking bootloader on your Android device will completely wipe your device. All your data will be lost. Please do make a complete backup of your device before proceeding. Here’s a guide on how to backup your device: Guide to Backup Your Android Device Without Root.

  1. Make sure you have made a complete backup of your Android device before proceeding with the next steps. This procedure will completely wipe all the data on your device.
  2. You need the latest version of ADB and Fastboot installed on your PC. Download and Install ADB and Fastboot on your PC.
  3. In order to unlock bootloader on your Android, you first need to prep your device by changing a couple of option on it.
    1. Go to Settings > About Phone > Tap on ‘Build number‘ for 5 or 6 times.
    2. Go back to Settings > Developer options > Tap on Enable OEM Unlocking. Tap ‘OK‘.
    3. Next, tap on ‘Enable USB Debugging‘ > Tap ‘OK‘.

      If you need more detailed help with this, you can visit this link: Enable USB debugging and OEM Unlock on your Android device.

  4. Go to the folder where ABD and Fastboot are installed on your device.
  5. Open a command prompt from inside the folder.└ Hold down shift and right clock on the empty space inside the folder. Select ‘Open command window here’ or ‘Open PowerShell window here’. Either of them will work just fine.
  6. Once the command window opens up, connect your Android device to your PC via USB Cable.
  7. In the command prompt, copy paste and execute the below command:adb devices
  8. If this is the first time connecting your device to PC, you might get a prompt on your phone which asks ‘Allow USB Debugging?’. Tap on the checkbox which says ‘Always allow from this computer‘ and tap OK.
  9. Now execute the below command in the command prompt/power shell window to reboot your device into bootloader mode:adb reboot bootloader
  10. Once your device is in bootloader mode, execute the following command in command prompt/power shell window:fastboot oem unlock

    If you are using a Google Nexus or Google Pixel device, use the below command:

    fastboot flashing unlock
  11. [Not applicable to all devices] You might get confirmation screen on your device. If you do, use the volume buttons to select Yes and press the Power button to confirm the selection.
  12. Once the bootloader unlock process completes, your device will again reboot into bootloader mode. Execute the following command to reboot your device:fastboot reboot
  13. Now your device will reboot into Android OS.

Note that the first boot after unlocking the bootloader will always take longer than usual; it is absolutely normal and we request you to please be patient. During this process, you might see that your data is being formatted and your device may even reboot a couple of times.

Upon successful boot, you might be taken to the device setup process, as all the data on your device is completely wiped clean. Go ahead and set up your device. This is the easiest way to unlock bootloader via Fastboot on Android devices.

Follow ThemeFoxx on Facebook and Twitter to get all the latest updates.

Need help? Drop a comment below!

www.themefoxx.com


Смотрите также