Install recovery redmi 9 (lava)
WolfAURmanIf you use windows:
We will need:
- adb fastboot tools - here
- Any archiver. You can use 7zip - here
- Vbmeta - here
- A little free time.
- Necessary recovery
Download fastboot tools and unzip to the root of the C drive. After you have unpacked, go to cmd, enter:
cd /
After that, enter:
cd <your_folder_name>
After that, you should move vbmeta.img and the recovery you need to the folder that we unpacked to the root of the C drive
Note: We switch the device to fastboot mode. To do this, turn off the device, clamp the power button and vol- and hold it until the fastboot label appears. After connecting to the computer / phone. This is a must!
After you enter:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
After you enter:
fastboot erase recovery
After you enter:
fastboot flash recovery name_your_recovery.img
If you want to be immediately in recovery, enter:
fastboot reboot recovery
If you want to get there from the off state through a keyboard shortcut, then do the following - hold down the power button until the screen goes out. As it happened, immediately clamp vol+ and the power button.
If you use Linux:
We will need:
- Vbmeta - here
- Necessary recovery
- And also one package
Install this package:
android-tools
Example:
sudo pacman -S android-tools -y
Be sure to check here if there is a package for your system in the repositories.
On debian and its forks:
sudo apt install android-tools -y
Fedora, suse, etc.
sudo dnf install android-tools -y
After the package is installed, you also need to download vbmeta and recovery, and put them in any folder. In my example there will be Downloads.
cd ~/Downloads
Note: We switch the device to fastboot mode. To do this, turn off the device, clamp the power button and vol- and hold it until the fastboot label appears. After connecting to the computer / phone. This is a must!
After you enter:
sudo fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Note: you need to run on linux from sudo!
After you enter:
sudo fastboot erase recovery
After you enter:
sudo fastboot flash recovery name_your_recovery.img
To restart in recovery, hold down the power button until the screen turns off. As soon as this happens, immediately hold down vol+ and the power button.
If you use android:
We will need:
We issue the termux permission to access the memory:
termux-setup-storage
After updating the repositories and installing the android-tools package:
apt update && apt upgrade && apt install android-tools -y
After that, we put the recovery and vbmeta in the download folder (in my example, this folder will be) and enter the following:
cd storage && cd downloads
Note: We switch the device to fastboot mode. To do this, turn off the device, clamp the power button and vol- and hold it until the fastboot label appears. After connecting to the computer / phone. This is a must!
After you enter:
sudo fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Note: you need to run on linux/android from sudo!
After you enter:
sudo fastboot erase recovery
After you enter:
sudo fastboot flash recovery name_your_recovery.img
To restart in recovery, hold down the power button until the screen turns off. As soon as this happens, immediately hold down vol+ and the power button.