Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It’s a fully touch driven user interface , no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
STEP BY STEP HOW TO FLASH TWRP:
Make sure you have your Bootloader unlocked; (please check the guide in this Forum) Download a TWRP from your choice; Reboot your phone into fastboot mode; (Power Off your phone, turn it on with Power and Vol+ for a few secs) Connect the Smartphone to a PC/Laptop; Place the TWRP .img file on the adb folder Open a prompt command there and type fastboot boot *name-twrp*.img (where you replace twrp for the twrp file name) That will reboot your phone and boot into TWRP; Go to Advanced > Flash Current TWRP After that is done, if you were using a custom kernel, reflash it now; If you were using magisk, reflash it now
Updating to a newer build:
Download new build to internal storage; Go to Advanced > Install Recovery Ramdisk; Select the new image; After that is done, if you were using a custom kernel, reflash it now; If you were using magisk, reflash it now.
https://github.com/TeamWin/android_device_xiaomi_star https://github.com/TeamWin/android_device_xiaomi_mars https://github.com/TeamWin/android_device_xiaomi_sm8350-common