Official TWRP for Redmi Note 8 Pro

Official TWRP

TWRP for Xiaomi Redmi note 8 Pro


I refer this tutorial from twrp.me and have already tested it. But, keep in mind This device hard bricks really easily for unknown reasons. Restoring device without spending real money is impossible as of now. Don't flash TWRP unless you are an advanced user who knows what he is doing.

Disclaimer:
Team Win strives to provide a quality product.  However, it is your decision to install our software on your device.  Team Win takes no responsibility for any damage that may occur from installing or using TWRP.

Status:
Support Status: Current
Maintainer: theimpulson
Code Name: begonia

WARNING: Updates break data decryption support in this device's TWRP.

Some Xiaomi Mi devices have bootloaders that require additional steps to unlock before you are able to flash custom images. This typically involves using MI Unlock Tool to apply & wait for certain time period to have your device unlocked.

You will need to follow the steps on Xiaomi's MIUI website in order to unlock your device.
Understand that unlocking your device will wipe all of your personal data, settings, and apps from its memory.


Download Links:

This device uses Android Verified Boot (AVB)
This means that installing TWRP or swiping to allow system modifications will prevent you from being able to boot. To bypass AVB's boot prevention, you will have to disable it or install a custom ROM that ships with disabled AVB.

To disable AVB via fastboot, grab the vbmeta image from the ROM you are on, and flash it with the following command:

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

AVB should be now disabled on your device.

Fastboot Install Method (No Root Required):


You will need the platform-tools from the Android SDK on your computer. Download the platform-tools as per your operating system.

Windows users will need proper drivers installed on their computer. You can try the simple FWUL adb/fastboot ISO or the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed

On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:

adb reboot bootloader

You should now be in fastboot mode.

Download the correct image file and copy the file into the same folder as your platform-tools. Rename the image to twrp.img and type:

fastboot flash recovery twrp.img

Click enter, than type :

fastboot reboot

Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.

Instructions on how you can flash stock ROMs again from official TWRP as some users were having issues while flashing. The process is pretty simple.


- First of all, grab the proper recovery firmware from Xiaomi's site. You can get it here or here. Make sure to download the proper variant as per your device and needs.

- Once downloaded, open it using an archive manager  and delete the compability.zip archive in it. This archive enforces version checks and is supposed to stop the flashing process if there is a mismatch of specified firmware requirements by OEM. Read more on it here.

- Now go navigate into META-INF directory or its sub-directories and locate updater-script which pass instructions on which partitions are supposed to be flashed. This script contains various assert which need to be removed. Find lines such as:

Code:
assert(set_emmc_writable("/sys/block/mmcblk0boot1/force_ro"),
       package_extract_file("preloader.img", "/dev/block/mmcblk0boot1"));

and

Code:
assert(set_emmc_writable("/sys/block/mmcblk0boot0/force_ro"),
       package_extract_file("preloader.img", "/dev/block/mmcblk0boot0"));

Remove all such lines.

Save the changes and now flash the build. It should flash successfully without any issues. Remember to disable AVB as it will render your device unbootable if you wish to flashback TWRP again.
Pentol Chan 🥰
Pentol Chan 🥰 Belom bootloop belom ganteng 🍻

Post a Comment for "Official TWRP for Redmi Note 8 Pro"