TWRP and VBMETA installation

TWRP and VBMETA installation

matt_zer01

For WindTWRP and VBMETA installation

For Windows Users:

For this you'll need Minimal ADB and Fastboot. It has been tested successfully a lot of times and doesn't give any issues at all.

Minimal ADB and Fastboot - here

(download and install it).
You'll then need to download the vbmeta file. it's important because, without it, your device won't even boot (don't worry, is way simpler and easy that you think :3)

You'll then need to choose your own custom recovery flavour: 

(quick note: there are also the TWRP by Redispade and the OrangeFox Recovery, made by other 2 amazing devs and passionate guys (love u <3). UPDATE: OrangeFox Recovery has been updated to support R for good now. So, if you intend to use KOSP / AEX / ArrowOS or any custom rom based on R, the latest OrangeFox unofficial can also be a nice alternative!)


Once you've downloaded both vbmeta and your chosen recovery, move BOTH FILES to the Minimal ADB and Fastboot folder (located in "C: \ programfiles(x86) \ minimal adb and fastboot"). Now, turn off the smartphone and press the Power + Volume Down button together to enter Fastboot mode;

1) Connect the smartphone to the PC;

2) Open Minimal ADB and Fastboot via the icon created on the desktop;

3) Check that the smartphone is detected writing in the cmd "fastboot devices". If it's recognized, an alphanumeric string should appear with the word "fastboot" near it;

3) Now, you can proceed. Type:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img;

4) After it finishes, write "fastboot flash recovery nameoftherecovery.img to start the installation of the TWRP (where the nameoftherecovery represents the name of the img file you've chosen to use. For example, SHRP(which is inside a .zip file) is called recovery.img

5) After the installation, write "fastboot reboot" and, quickly, keep the Volume + and power button key pressed to enter the custom recovery mode

6) After checking that your custom recovery is installed, restart the device.

For Linux Users:

Use sudo apt-get install android-tools-adb android-tools-fastboot on the terminal;

Remember: all fastboot commands needs to be given with su user. If it fails, then the terminal has not root privileges. to fix this, give in the terminal the command:
sudo su (and type your password afterwards)

You'll then need to choose your own custom recovery flavour: 

(quick note: there are also the TWRP by Redispade and the OrangeFox Recovery, made by other 2 amazing devs and passionate guys (love u <3). UPDATE: OrangeFox Recovery has been updated to support R for good now. So, if you intend to use KOSP / AEX / ArrowOS or any custom rom based on R, the latest OrangeFox unofficial can also be a nice alternative!)

After you've chosen your desired custom recovery, it's time to proceed to the installation.
1) Before everything, power off your device and connect it to your pc. Afterwards, keep pressing power and volume - to enter the fastboot mode. Then, open up your terminal and type:

sudo fastboot devices

2) To check if the device is recognized from the pc. You should see an alphanumeric string with the word "fastboot" near it;
Now, with the terminal move over the folder where your vbmeta and recovery are stored (here, for explaining purpose, I'm putting the command to go right over the download folder):

cd /home/user/download

3) Afterwards, let's start with installing vbmeta. type:

sudo fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
after that, you should see a "Success" after the command finishes.

4) Now you have to type the command for installing the recovery itself, which will be, in this case, for the SkyHawk Recovery:
sudo fastboot flash recovery recovery.img

Done! Now you can simply write:
sudo fastboot reboot
And then quickly keep pressing the volume + button to enter the recovery screen. Success!

For Mac Users:

Open your terminal and copy/paste this command:

bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)

In this way you're already sure your adb installation is where it's supposed to be. After it has done, just type:

./install.sh

Now you can continue with the installation without any issues :3

You'll then need to download the vbmeta file. it's important because, without it, your device won't even boot (don't worry, is way simpler and easy that you think :3)

Choose your own custom recovery flavour: 

(quick note: there are also the TWRP by Redispade and the OrangeFox Recovery, made by other 2 amazing devs and passionate guys (love u <3). UPDATE: OrangeFox Recovery has been updated to support R for good now. So, if you intend to use KOSP / AEX / ArrowOS or any custom rom based on R, the latest OrangeFox unofficial can also be a nice alternative!)

After you've chosen your desired custom recovery, it's time to proceed to the installation.
1) Before everything, power off your device and connect it to your pc. Afterwards, keep pressing power and volume - to enter the fastboot mode. Then, open up your terminal and type:

fastboot devices

2) To check if the device is recognized from the pc. You should see an alphanumeric string with the word "fastboot" near it;
Now, with the terminal move over the folder where your vbmeta and recovery are stored (here, for explaining purpose, I'm putting the command to go right over the download folder):

cd /home/user/download

3) Afterwards, let's start with installing vbmeta. type:

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
after that, you should see a "Success" after the command finishes.

4) Now you have to type the command for installing the recovery itself, which will be, in this case, for the SkyHawk Recovery:
fastboot flash recovery recovery.img

Done! Now you can simply write:
sudo fastboot reboot
And then quickly keep pressing the volume + button to enter the recovery screen. Success!

Report Page