-
Notifications
You must be signed in to change notification settings - Fork 0
en.Custom recoveries.Flashing
Flashing guide(s)
This process is the same across RVendor and SVendor, though the actual recovery used differs
-
A functional PC / laptop / whatever
- Windows 7 or newer
- Any recent Linux distro
- MacOS idk
-
An unlocked bootloader
-
An SD Card or USB OTG (optional, but might be a bit more complicated without)
-
A decent USB cable
-
Grab the following things
-
The recovery version you want to install
- You can grab one from the Index
-
The boot image of the current ROM
- For MIUI, you can grab one from the selene_bootimg Telegram channel
-
A vbmeta image
- You can grab one from your current fastboot ROM, or use this
Copy the recovery image and stock boot image to your device's SD Card or USB OTG
-
-
Put your device into fastboot mode
You only need to use one of these methods
-
Using hardware keys
- Power off the device
- Hold both the power button and the volume up button
- Release once you see the FASTBOOT logo on the screen
-
Using ADB
- Enable ADB in your device
- Launch command prompt / terminal, type
adb reboot bootloader
and press Enter - Wait for it to arrive at the FASTBOOT logo
-
-
On your PC, open your command prompt / terminal, use these commands
# note that the text behind the # symbols are just comments, you don't need to type them
# replace the *.img with your own file name / file path
# you can also drag and drop the file to the command prompt and it would automaticay insert the name for you
# disable verified boot
fastboot flash --disable-verification --disable-verity vbmeta vbmeta.img
# flash the recovery
fastboot flash boot recovery.img
# reboot to recovery
# since you just flashed the custom recovery, it would not boot back to system just yet
fastboot reboot
-
On your phone, now in custom recovery, follow these sequence
-
on TWRP
Install - Install image - the stock boot image - choose Boot - Swipe to flash
back
Install - the recovery image you copied in step 1 - choose Install recovery ramdisk - Swipe to flash
back
Other TWRP forks (OrangeFox, PBRP, SHRP) also follows roughly the same procedure
-
-
Profit
After step 5, you can test the recovery by rebooting to recovery and rebooting to system,
if it boots, that means you got a successful installation
to be added