If TWRP asks for a password and you cannot decrypt data, you may need to (Wipe > Format Data > type "yes") to remove encryption. Building a Device Tree
Patch the stock boot.img via Magisk app, then flash the patched image via TWRP.
: There is currently no official TWRP image for the Oppo A5 2020 on the Official TWRP Device List .
TW_DEVICE_VERSION := R11.1 TW_INCLUDE_REPACKTOOLS := true TW_INCLUDE_LIBRESETPROP := true TW_USE_MODEL_HARDWARE_ID := true TW_NO_LEGACY_PROPS := false