Transfer boot.img and the Magisk.apk file over to your TV using a FAT32-formatted USB flash drive or via an ADB push command: adb push boot.img /sdcard/Download/ Use code with caution. Install and open the on your TV. Inside Magisk, click Install next to the Magisk header. Click Select and Patch a File .
If you are uncomfortable with the technical steps above, some users try one-click rooting tools. While they are easier, on newer Android TV security patches. Apps to research: KingRoot or TowelRoot (use with caution).
Unlocking the bootloader is a mandatory prerequisite for flashing custom recovery files.
Go back to Settings > Developer Options and enable OEM Unlocking and USB Debugging .
Xiaomi does provide an official bootloader unlock tool for Mi TVs (it is reserved for phones). However, some users have succeeded via Amlogic USB Burning Tool and modifying the bootloader partition — high risk.
Obtain required files
If you brick the TV:
Reboot your TV into (Usually by holding down the Volume Down + Power buttons on the remote while plugging in the TV). Connect the TV to your PC.
Gaining root access is not a path to be taken lightly. It can , cause significant system instability, or even "brick" the television, turning it into an unresponsive piece of hardware. Most explorers of the digital realm find that simply [enabling Unknown Sources] to sideload applications provides enough freedom to satisfy their requirements without the extreme risks associated with a full root. Summary of the Path
Download the latest package from the official Android Developer website.
Turn on your Mi TV and navigate to (the gear icon). Go to Device Preferences > About .
adb shell su # only if already rooted — catch-22 dd if=/dev/block/boot of=/sdcard/boot.img