Things You Will Need
Booting TWRP
Copy recovery.img to the root of a microSD card Safely eject the microSD card Unplug power from the TV box Plug the microSD card into the Amlogic based TV box While holding the reset button on the TV box (sometimes hidden inside the AV port) with a toothpick or unfolded paperclip, plug in the power cord Continue holding the reset button for 10-15 seconds TWRP recovery should load
Installing TWRP (optional)
Only install TWRP if it is required by a custom ROM, otherwise, booting to it from microSD when needed will suffice
With the device in TWRP recovery, select Install from the main menu Select Install Image from the lower right Select Storage from the lower right > Select MicroSD Card > Click OK Select recovery.img from the listing Select Recovery from the partition listing Click and drag the slider to the right to begin flashing The flash should complete in just a few seconds Once completed successfully, power off the Android TV box Remove the microSD card While holding the reset button, power the TV box back on Continue holding the reset button for 10-15 seconds TWRP recovery should load, this time from the recovery partition