[Android Stick & Console RockChip based Computers] Heatshiver:
This section only contains the TWRP files. Other necessary files are in the next section.

How To Get Into LOADER Mode

Loader mode is needed in order to flash ROMs. If you simply connect your Android TV Box with the a USB cable to your PC and power it on, you will only get ADB mode, which will not work.

Plug in the USB cable to a PC and the Android TV Box.

Press and hold the reset button. (On the Z4L/Z4 it will be located on the bottom of the box. On some others it will be in the A/V port, so use a toothpick or paperclip).

Plug in the power adapter while still holding the reset button.

4 seconds should pass before it is in Loader mode.

Let go of the reset button.

DO NOT TRY TO PUT A THIN OBJECT INTO THE Z4L/Z4! There is no back (at least on the Z4L), which means you can go straight into the area of the PCB and possibly destroy something or disconnect the antenna cable.

How To Flash Firmwares/ROMs

You can use either the Android Tool or the Batch Tool to flash IMG files. I prefer Android Tool since it provides more options, but I will explain how to use both.

Open the program of choice.

Switch to the "Upgrade Firmware" tab if using Android Tool.

Click the "Firmware" button (or the 3 dots button for "FW Path:" if using Batch Tool).

Navigate to your "update.img", or the IMG file for your firmware/ROM.

Select the IMG file.

Click "Open".

Click "Upgrade".

The Batch Tool can only do firmware/ROM IMG files, but Android Tool will allow you to flash BIN or entire extracted ROM files.

How To Flash Extracted Firmwares/ROMs

The Android Tool can be used to flash extracted firmwares and ROMs. You will notice that the software comes with a "rockdev" folder filled with IMG and other files. I have come across at least one ROM that was extracted and needed Android Tool in order to be flashed. For the purposes of this tutorial, ROM is interchangeable with firmware.

Open the "rockdev" file of Android Tool.

Go to the "Image" folder.

Replace all the files in the "Image" folder with the extracted IMG files from the ROMs "Image" folder.

Go back up one folder (into "rockdev").

Replace all the IMG files with the extracted IMG files from the ROMs root folder.

If you have any extra files from the ROM that are present in the "rockdev" folder, replace those as well.

For at least the Z4L, be sure that you have the Loader BIN file that is version 2.40!

Open Android Tool.

Put your Android TV Box into Loader mode.

The first tab will show you all the IMG, TXT, and BIN files that you should have from your ROM in the "rockdev" folder. The only file you may not have, but should already be in the folder, is "baseparamer.img". The one that comes with Android Tool will suffice.

Ensure all the check boxes for each IMG, TXT, and BIN file is checked.

Click "Run".

Note: NEVER FLASH AN EXTRACTED ROM ALONG WITH A TWRP RECOVERY! The box will boot immediately into TWRP, making it impossible to ever get to the ROM itself!

Once the process has completed, which should take no more than a few minutes, your Android TV Box will no longer state that is in Loader mode, and will either state no device is connected or "Found One ADB Device". If you see this, or at least that you were successful on the message prompt of Android Tool, then you can go ahead and disconnect everything and boot your box!

How To Flash TWRP Recovery

You will need the Android Tool for this. Download either Abdul's TWRP, Generic TWRP, or Specific TWRP. I have tested and used Abdul's TWRP on the Z4L, and it works without issue.

Change the name of the TWRP IMG to "recovery.img".

Go to "rockdev>Image" of the Android Tool folder.

Replace "recovery.img" with the renamed TWRP IMG.

Open Android Tool.

Uncheck every box except "Recovery".

Put your Android TV Box into Loader mode.

Click "Run".

TWRP is now installed. I am unsure for the other TWRP IMG files, but the Abdul variant will require a mouse in order to be used because the remote is not supported.

How To Root

If your Android TV Box is not prerooted, then you will need to use SuperSU. Download SuperSU from here. If you want to try the latest version, you can find it here. Ensure that you already have TWRP installed.

Place the SuperSU ZIP on your internal or external storage.

Boot into TWRP.

Click on Install.

Add a zip.

Find your SuperSU ZIP file.

Select it.

Flash the ZIP file.

You should now be rooted and can check with an app from the Play Store to verify. I have not tested this as I do not need it, so if any steps are different, please let me know and I will change accordingly.

How To Flash Firmwares/ROMs with a SD Card

You will need the Upgrade Disk Tool and a micro/SD card that is 4GB or more. For the purposes of this tutorial, ROM is interchangeable with firmware, and SD card is interchangeable with micro SD card.

Open the Upgrade Disk Tool (SD Firmware Tool).

Select your SD card from the dropdown menu.

Click the "Firmware" button.

Find your ROM's IMG file.

Select it.

Click "Open".

Click "Create".

Once done, ensure your Android TV Box is turned off.

Insert the SD card into your Android TV Box.

Power on the Android TV Box.

The process will take some time, but a notification of a successful completion will appear when done.

Turn off the Android TV Box.

Remove the SD card.

Power on the Android TV Box.

The Android TV Box should now be "upgraded" to the firmware or ROM you used.

I want to remind people that every time you flash a firmware or ROM, it will take around 10 minutes for the Android TV Box's initial boot into the Android OS.

I may also put some more information here about how to open the compiled IMG files and play around with the system IMG file inside, if people want to know (and I have time).