How to Install Custom Firmware on Antminer S21 / T21 with AML Controller

Technical guide created by DMF Miner Repair Center: How to Downgrade Antminer S21, T21, and L9 Controllers to Install Custom Firmware. Why do some Antminer controllers not allow custom firmware installation? In recent models such as Antminer S21, S21 XP, S21 Plus, T21 and L9, some firmware versions block the direct installation of custom firmware. In this technical guide from DMF Miner Repair Center, developed by Franklin López, you will learn the basic procedure for downgrading a locked Antminer controller, preparing a microSD card, loading the correct files, and then installing custom firmware using Hashcore Toolkit. Technical author: Franklin López — DMF Miner Repair Center. Specialist in ASIC repair, hashboard diagnostics, custom firmware, controllers and technical support for Antminer, Whatsminer and Avalon equipment. Technical warning: Downgrading a controller does not repair a damaged hashboard. If the equipment has faulty chips, no voltage domains, defective sensors, communication failures, or physical damage, a professional electronic diagnostic should be performed first. Why do some Antminer controllers need to be downgraded? Some recent Antminer controllers come with protected firmware. When you try to install custom firmware directly from Hashcore Toolkit, you may see a warning stating that the installed firmware is from after February 28, 2024, and that an earlier version must be installed first. This occurs because the factory firmware may prevent direct overwriting. In order to install DMF firmware or other compatible firmware, a downgrade, unlocking, or degradation process of the controller is first performed. Models related to this guide: Antminer S21. Antminer S21 Plus. Antminer S21 XP. Antminer S21 Pro. Antminer T21. Antminer L9. Compatible AML / Amlogic controllers. CVITEK controllers and other variants according to the available file. Required tools: Hashcore Toolkit. Compatible degradation files. Custom firmware compatible with your model. Functional Antminer controller. MicroSD with a maximum capacity of 16 GB. microSD to USB adapter. Windows computer. Stable Ethernet connection. Access to the DMF Resource Center. DMF Degradation Files ASIC Technical Software Step 1: Detect the controller with Hashcore Toolkit First, you must turn on the controller or ASIC device, connect it via Ethernet, and open Hashcore Toolkit. The tool should scan the network group and detect the connected miner. Open Hashcore Toolkit. Scan the network group. Locate the Antminer equipment. Confirm the detected model. Check the type of controller installed. DMF Tip: Before installing any files, identify whether your controller is AML/Amlogic, CVITEK, or another variant. The incorrect file may prevent normal startup. Step 2: Confirm firmware lock When attempting to install custom firmware on a protected controller, Hashcore Toolkit may display a message indicating that the installed version is later than February 28, 2024. That warning confirms that you must first downgrade the controller. The current firmware blocks direct overwriting. It does not allow installing custom firmware in the normal way. Requires loading a previous version or unlock file. The procedure must be done with compatible files. Step 3: Download the downgrade files from DMF. Go to the DMF Miner Repair Center website, access the Resource Center, and look for the section for files to downgrade ASIC controllers. There you will find ZIP packages for different families and controllers. Enter DMF Miner Repair Center. Open the Resource Center. Look for the firmware or controller downgrade section. Download the ZIP file corresponding to your model. Save the file in an easy-to-find location. Important: Do not download files from unknown sources. For S21, T21, L9 and recent variant controllers, using incorrect files can cause the controller to become locked or unresponsive. Step 4: Unzip the ZIP file Once you have downloaded the downgrade package, unzip the ZIP file. Inside you will find folders or files specific to different controllers and models. Right-click on the downloaded ZIP file. Select extract or decompress. Place the folder on the desktop. Do not change internal names. Do not mix files from different folders. Step 5: Choose the correct file according to the controller. To find out which file to use, check the installed controller type in Hashcore Toolkit. If the tool displays AML, you should look for the package corresponding to Amlogic. In the case shown in the video, the controller corresponds to an AML / Amlogic variant and the appropriate file may include compatibility for models such as S21 XP, S21 Plus, S21 Pro, S21 Immersion and S21 XP Immersion, depending on the available package. AML / Amlogic for compatible controllers. CVITEK for controllers of that architecture. Specific files for S21 / T21. Specific files for L9 where applicable. Step 6: Prepare the microSD To load the downgrade files you must prepare a microSD. It is recommended to use an 8 GB card or a microSD card of up to 16 GB, formatted in FAT32. Insert the microSD card into a USB adapter. Connect it to the computer. Format the drive in FAT32. Copy the correct files to the root of the microSD card. Eject the drive safely. DMF Tip: In the video procedure, three files are copied to the microSD card. These must be the files corresponding to the type of controller detected. Step 7: Install the downgrade file on the controller. With the microSD card prepared, insert the card into the controller and power on the device. During the process you should observe the LEDs on the controller. Turn off the controller. Insert the microSD card with the files. Re-energize the controller. Wait for the process to run. Observe the green LED as a sign of correct installation. Turn off the controller and remove the microSD card. DMF Warning: Do not interrupt the power supply during the degradation process. An interrupt can leave the controller in an unstable state. Step 8: Verify that the controller was degraded. After removing the microSD card, reconnect to the network and scan the device again using Hashcore Toolkit. If the procedure was performed correctly, the controller should appear with an older firmware or with an ID that allows custom firmware to be installed. In the video example, after downgrading the controller, the system appears as S19 XP, allowing for the subsequent installation of compatible custom firmware. Step 9: Install custom DMF firmware
