قالب وردپرس درنا توس
Home / Tips and Tricks / How to Install TWRP Recovery on the Essential PH-1 «Android :: Gadget Hacks

How to Install TWRP Recovery on the Essential PH-1 «Android :: Gadget Hacks



Modders have few tools that are more important than TWRP. TeamWin Custom Restore makes flashing mods like Magisk, Xposed, and custom ROMs incredibly easy, and allows you to root your phone at the touch of a button. In addition, it can make complete backups of your phone in case you mess up. For this reason, for Essential users, this should be the first mod you add.

The process is a bit more complicated due to the seamless updates on the Essential PH-1. The double partitions make TWRP a bit more complex than previous phones. But thanks to the friendly policy of Essential over modders, the process is not too difficult and with our guide you have this essential tool on your phone in no time.

What You Need

Step 1: Unlock Your Bootloader

Before you can flash custom firmware on your Essential PH-1, you need to unlock your bootloader. This is as easy as enabling the "OEM Unlock" option in the Developer Options and sending two fastboot commands while the phone is in bootloader mode ( fastboot flashing unlock_critical then fastboot flashing unlock ). For detailed instructions, see the following link:

If you start the phone while the boot loader is unlocked, an appropriate screen appears. Image by Jon Knight / Gadget Hacks

Step 2: Download the TWRP Files

Because Essential supports PH-1 Seamless Updates (A / B partitions), you must download two files to install TWRP : a ZIP and an IMG. First, download the ZIP file from your phone using the following link:

Next, you need to download the IMG file to your computer. Click the following link from your desktop or laptop to download it.

To make things easier, you must move the .img file to the folder platform-tools within your ADB and Fastboot installation directory. For Windows users who followed Method 1 in our ADB Installation Guide, you can find them at C: Program Files (x86) Android android-sdk platform-tools .

If you have used another ADB installation method on Windows, or if you are using Linux or Mac, you must locate your platform-tools folder by searching on your computer's hard disk. Once you have found it, move the TWRP IMG file from your download folder to the platform-tools folder.

Step 3: Switching to a PIN or Password

This version of TWRP can decrypt the memory partition of your phone, but you will need your passcode. Since gestures are harder to enter with the included keyboard, we suggest keeping a PIN or password.

To change to a PIN or password, go to Settings and select "Security & Location". Select "Screen lock" and after entering your current passcode, select either PIN or password.

Step 4: Reboot to Boot Loader

Now connect your phone to the USB cable with your computer. Open the Command Prompt (Windows) or Terminal (macOS and Linux) on your computer. If you are using Windows, you can do this by pressing the Windows key on your keyboard, then typing "cmd" and pressing Enter. If you're on Mac or Linux, just open the Terminal app from the Applications folder.

When the command window is open, you must now change directories to folder platform-tools . This can be done by entering "cd ", where represents the full location of your Platform Tools folder. However, if you need further assistance, read the guide at the following link for complete instructions on how to proceed.

Now enter the following command at the command prompt or terminal:

  adb reboot bootloader 

After about 10 seconds, the phone should boot into bootloader mode. You should see a screen like the one below, indicating that you can now enter fastboot commands.

Image of Jon Knight / Gadget Hacks

Step 5: Check the Fastboot Connection

First make sure that Your fastboot connection works by typing the following command:

  Fastboot Devices 

Note: Linux, Mac, and Windows PowerShell users probably need to add a period and a slash ( ./ ) to the front of all the commands listed here, eg ./ fastboot devices )

If you see a bunch of numbers and letters and see the word "fastboot", your link will work and you can proceed If not, check your ADB and Fastboot installation and check your USB cable. I would also recommend changing USB ports on your computer (or even switching computers) as this sometimes fixes problems.

Step 6: Find Your Current Boot Slot

Once you've made a connection, enter the following command:

  Fastboot getvar current slot 

Note: Linux , Mac and Windows PowerShell users must enter ./fastboot getvar actual-slot here.

This displays the current boot slot of your phone. You may receive a FAILED response. If you do, re-enter the code and try again until the current slot is displayed. The slot will be either "A" or "B", but make a note of it as you will need this information later.

Step 7: Flashing TWRP image file

Now you are ready to flash the base TWRP image file. The tricky part here is that you want to flash TWRP on the inactive partition. In other words, the opposite of the value you got in step 6 above.

If your active boot slot was "A", enter the following command to flash the TWRP image in slot B:

  fastboot flash boot_b twrp -3.2.3-0-mata.img [19659023] On the other hand, if your active boot slot was "B", enter this command to flash TWRP in slot A: 

  fastboot flash boot_a twrp-3.2.3-0-mata.img 

After that you must You set the slot you just flashed TWRP to as the active boot slot. To do this, copy the following command, but do not press Enter

  fastboot --set-active = slot 

Now replace the word "slot" in the above command with the slot in which you flashed TWRP. For example, if your active slot was originally "A" and you flashed TWRP with the first command on top of the "B" slot, you would type fastboot - set-active = b to "B" Slot active. After making this setting, press Enter to send the command. If done correctly, it should look similar to the following screenshot.

Step 8: Install the TWRP ZIP File

Now the TWRP Image File Is Installed On a slot, you need the .zip file use to install TWRP in both slots. If your phone is still on the bootloader screen, use the volume keys to highlight "Recovery Mode," and then press the power key to select it. This will start your phone in TWRP.

Enter your password or PIN and select the check mark in the lower right corner to decrypt the memory and allow TWRP to access files on your hard drive. Once you get to the main menu, select "Install" and select "Download" from the list of folders. Select the TWRP-ZIP file you downloaded in step 2 and swipe the blue checkbox to the right to confirm.

Once you are done, select Back until you reach the main screen of the TWRP to return. Select "Reboot" to enter a submenu. Along the bottom, the text should be "Current Slot: X", where X stands for the slot you are on. Since you are currently in the slot opposite the operating system, you should now reboot on the other side because TWRP is installed on both slots.

Restart the slot you were originally on (the opposite of the slot) You are currently on) with the appropriate button. Your phone will restart and you will be returned to the Android lock screen.

And that was & # 39; s. With TWRP installed in both slots, you can take advantage of the extra features of custom recovery. You now have a decision to make. Are you rooting with Magisk or another tool like SuperSU? Do you keep the stock ROM or use a custom ROM? You have the choice.

Do Not Miss: The Ultimate Guide to Using TWRP: The Only Custom Restore You'll Ever Need

Cover Picture and Screenshots of Jon Knight / Gadget Hacks

Source link