From f63c74c8bd45d31be51ada9cac7b38a222cb0789 Mon Sep 17 00:00:00 2001
From: Daniel Micay
OEM unlocking needs to be enabled from within the operating system.
+ +Enable the developer options menu by going to Settings ➔ About phone and + pressing on the build number menu entry until developer mode is enabled.
+ +Next, go to Settings ➔ System ➔ Advanced ➔ Developer options and toggle on the + 'Enable OEM unlocking' setting. This requires internet access on devices with Google + Play services as part of Factory Reset Protection (FRP) for anti-theft protection.
+Connect the phone to the computer. On Linux, you'll need to do this again if + you didn't have the udev rules set up when you connected it.
+First, boot into the bootloader interface. You can do this by turning off the + device and then turning it on by holding both the Volume Down and Power buttons. + Alternatively, use ADB to reboot to the bootloader with the button below:
+ + + +Unlock the bootloader to allow flashing the OS and firmware:
+ + + +The command needs to be confirmed on the device and will wipe all data.
+