قالب وردپرس درنا توس
Home / Tips and Tricks / To decrypt the bootloader on your OnePlus 5 and install TWRP Recovery «OnePlus :: Gadget Hacks

To decrypt the bootloader on your OnePlus 5 and install TWRP Recovery «OnePlus :: Gadget Hacks



The OnePlus 5 had been in the public's hands for only 20 hours before the XDA developers released a custom recovery image for it. The installation process is simple enough, but it can be a little confusing if you redesign Android.

If you're an old soul, you'll be glad to know that there is nothing new or otherwise to install TWRP on the OnePlus 5. Just unlock your bootloader and then flicker the TWRP image with fastboot. This makes it incredibly easy to flash a root ZIP file like Magisk, and we'll show you how to do that with a separate tutorial linked to it at the end. But if that sounds like I'm speaking in another language, read on and everything will be clear.

Requirements

Step 1: Enable & # 39; OEM Unlocking & # 39; and start the bootloader mode

Before You If you want to start changing the OnePlus 5, you must unlock the bootloader. Otherwise, you are completely excluded from the system partition. However, before you can unlock the bootloader, you need to enable a single option in your phone's Settings menu.

Go to the "Developer Options" menu at the bottom of the settings and then enable the "OEM Unlock" option. Then it's time to boot the phone into bootloader mode.

Turn off the device completely. Then turn the phone back on by pressing and holding the volume up and down buttons for about ten seconds until the bootloader menu appears. Release the volume and power buttons and release the phone in this menu.

Step 2: Unlock Your Boot Loader

If your phone is in boot loader mode, connect it to your computer using the USB data cable Open a command prompt or a terminal window. You must change the directories to the platform-tools folder in your ADB and Fastboot installation directory. This can be done with the cd command, where is the full directory path.

For Windows users, this directory is usually located at "C: Program Files (x86) Android android" -sdk platform-tools "(without the quotes, of course) .For Mac and Linux users, this location hangs depending on where you extracted the ADB folder when you installed the utility, so look for your hard disk drive for the platform-tools folder.

At the Command Prompt or Terminal Window Type the following command in the correct directory :

  fastboot flashing unlock 

Note: Linux, Mac, and Windows PowerShell users must add a period and a slash ( ./ ) B. ./ Fastboot flashes unlock [19659015] How to Unlock the Bootloader on Your OnePlus 5 & Install TWRP Recovery ” width=”532″ height=”532″ style=”max-width:532px;height:auto;”/>

Image via puu.sh

Press Enter after typing The command will be displayed and your phone will be confirmed g is displayed. Use the volume buttons to select "Yes" and press the power button to confirm. This command unlocks your phone's bootloader, which also erases all your data. Your device will display a screen indicating that your data is being deleted and will then reboot to the operating system when it is complete.

At this point, you need to re-set up your device and re-enable developer options and USB debugging. Before proceeding with step 3, make sure you do that.

Step 3: Download the latest version of TWRP

After enabling USB debugging again, download the latest version of TWRP for the OnePlus 5 on your computer

Power on Download the latest image and then restart the phone in Bootloader mode.

Next, type the following command in the Command Prompt or Terminal window, and then add a single space to the end, but do not press Enter.

  fastboot flash recovery 

Note: Linux, Mac, and Windows PowerShell users probably need to add a period and a slash ( ./) ) to the above command, eg ./ fastboot flash recovery ) [19659025] How To Unlock the Bootloader on Your OnePlus 5 & Install TWRP Recovery ” width=”532″ height=”532″ style=”max-width:532px;height:auto;”/>

Image via puu.sh

After that, open the folder on your computer where TWRP has been downloaded Then drag and drop the IMG file into the Command Prompt or Terminal Window command. This completes the file name and full location for you. Once the entire download path is visible, press Enter and wait for the blinking to complete.

Step 4: Reboot to TWRP and Permanent Recovery

This step is perhaps the most important: Make sure TWRP is considered your stick new custom restore Use the volume slider in the Bootloader menu to select "Recovery Mode" on your phone and confirm with the on / off button. This will start your phone in TWRP. When TWRP starts up, a screen will appear asking you to enable system changes. Swipe the bar at the bottom to hold TWRP and avoid it being replaced by the recovery interface at the next reboot.

At this point, you can start flashing ZIP and Mods with TWRP. The interface is completely touch-based so that even beginners should feel at home immediately. When you're ready to roam your phone, use the "Do not miss" link at the bottom of this article to get started.

Step 5: Decrypt the memory (some users)

If you boot TWRP and tap the "Install" button, you should be able to see the files on the phone memory. If you do not see any files, you must decrypt the storage partition on your phone. Download this disabling encryption file to your computer:

Next, you need to clear the data on your phone. This should not cause additional data loss because your existing files were deleted when you unlocked your bootloader in step 2. In the main menu of TWRP, tap "Delete" and select "Format data" in the following screen. Type "Yes" at the prompt, and then tap Enter on the keyboard. This will erase any existing encrypted data on your phone.

Next, you need to move the No Verity ZIP file from your computer to your phone. If you're using Windows, you can simply connect your phone to your PC with a USB cable and then drag-and-drop the file to your phone's memory using Windows Explorer (your phone will appear in the left pane of Windows Explorer). , Then, on the TWRP main menu, tap "Install", then select the ZIP file and drag the slider to blink it. Then tap on "Restart System".

If you are using Mac or Linux, you must use ADB to load the ZIP file. Open a terminal window and then switch to the platform-tools folder as described in . Step 1. Enter "./adb sideload" into the terminal and add a space. Drag and drop the No Verity ZIP file into the command window that contains the full file path. Then in TWRP tap on "Advanced" and select "ADB Sideload". Swipe the slider on the screen and press Enter on the keyboard of your computer to send the sideload command. Restart your phone after you are done.

Now you can use TWRP to flash any ZIP file – including the Magisk ZIP, which acts as your root root phone and gives you Access to Magisk modules to easily make changes to the software of your phone.

Do not Miss: How to Root Your OnePlus 5 with Magisk

Cover image and screenshots of Kevin M./Gadget Hacks

Source link