قالب وردپرس درنا توس
Home / Tips and Tricks / To unlock the bootloader on your OnePlus 6 «OnePlus :: Gadget Hacks

To unlock the bootloader on your OnePlus 6 «OnePlus :: Gadget Hacks



If you want to root your OnePlus 6, install TWRP, get Magisk and Xposed, or flash a custom ROM, you need to unlock your bootloader first.

Your bootloader is a piece of firmware that loads the operating system on your phone. Normally it is programmed to load only the official firmware of OnePlus – but if you unlock your bootloader, you can load firmware .

Once your boot loader is unlocked, you can create your phone Boot into a custom operating system. Most users use this privilege to cause the boot loader to load a custom recovery, such as TWRP. From there you just need to download a few files and tap some buttons to root your phone or install a custom ROM.

Disclaimers

Step 1: Back Up Important Data

First, make sure you have important files, such as your MP3 library or family photos secured to another device. If you've never done it before, it's easy on Android: just connect your phone to your computer with a USB data cable, and then open a file browser window on your computer. From there, navigate to your phone's internal storage and drag-and-drop all important files to your desktop.

Step 2: Enable Developer Options

Now you need to enable the Developer Options menu on your phone to access a setting. This will unlock your bootloader. Go to Settings -> About Phone, then scroll down and tap "Build Number" seven times in quick succession. When you're done, you'll see a message saying "You're a developer now."

Step 3: Enable OEM Unlock

Tap once on the back button to return to the main settings page. Scroll down to find the newly enabled Developer Options menu. Select it, scroll down and check the box next to "Unlock OEM" on the following page. Tap "Activate" in the popup and enter your phone's PIN when prompted.

Step 4: Enable Advanced Reboot

While still in the Developer Options menu, scroll down and enable the Advanced Reboot setting. This makes it much easier to get into fastboot mode.

Step 5: Boot into Fastboot Mode

If Advanced Reboot is enabled, hold down the On – / Off button pressed to enter the power menu. Select "Reboot" at the first prompt, then press "Bootloader" on the second and confirm your choice. If your phone goes into fastboot mode, go ahead and connect it to your computer via a USB data cable, but leave it in the Fastboot main menu.

Step 6: Install Fastboot on Your Computer

It is now time to ADB your computer and to install Fastboot. We recommend installing the latest official version of Google, as there is a new command that older tools like Minimal ADB & Fastboot do not yet have. If you have not already done so, see the instructions below for the complete installation instructions.

Step 7: Open a Command Window in the Right Directory

In this next section, most people struggle with tools like ADB and Fastboot: Opening a Command Window for the Right Directory

The easiest way I've found is to find the platform-tools folder in your Fastboot installation directory. For Windows users, this is usually found at C: Program Files (x86) Android android-sdk platform-tools . For Linux and Mac users, the location of the folder is different, so use your computer's search function to find the platform-tools folder.

Copy the location from the address bar above once you have found the Platform Tools folder of your file browser (eg Windows Explorer). Then open a command prompt or a terminal window. On Windows, press the Windows key on your keyboard, type "cmd" and press Enter. On Linux or Mac, open "Terminal" in your application folder.

Once the command window is open, you must change the directories in the platform-tools folder before you can use the fastboot command to unlock the command Bootloader. Enter "cd" followed by a space and insert the location for your platform-tools folder:

Step 8: Verify the connection

Next, make sure everything is connected correctly by typing the following command at the command prompt and then pressing Enter:

  fastboot devices 

Note: Linux and Mac users probably need a dot and add a slash at the beginning of all commands listed here (eg ./fastboot devices ).

If this returns a string of letters and numbers followed by the word "fastboot," you're fine. Otherwise, make sure your USB cable is properly connected and / or visit the Fastboot instructions in Step 6 and Step 7.

Step 9: Unlocking the Bootloader [19659009] Now is the time to unlock your bootloader. Type the following command, and then press Enter on your keyboard:

  fastboot oem unlock 

Note: Do not forget the period and the slash if you are using Mac or Linux.

At this point, a new screen should appear on your phone asking if you want to unlock your bootloader. Use the volume keys to highlight Unlock the Bootloader, and then press the power button to select it. At this point, your phone automatically restarts and wipes itself, then your bootloader unlocks.

Picture of Dallas Thomas / Gadget Hacks

Give your phone that long After 15 minutes to complete the deletion, just re-run the initial setup, just like You did it after the first unpacking of your phone. At this point your bootloader is officially unlocked, you can now start flashing custom firmware files!

Please note that your phone will display a message stating that the bootloader is unlocked and that software integrity can not be guaranteed. "This is completely normal and does not affect the operation of your phone.

Cover Picture and Screenshots of Dallas Thomas / Gadget Hacks

Source link