Sunxi-tools Windows |link| -
If compiling on MSYS2 feels complicated, you can use . However, USB passthrough in WSL1/WSL2 is non-trivial. The recommended approach:
Once your drivers are configured and your binaries are ready, open Windows PowerShell or Command Prompt to start interacting with your device. 1. Verifying Connection
Fix: Ensure that the compilation process bundled the necessary .dll files in the same folder as your .exe utilities, or add your MSYS2 bin folder to your Windows system PATH.
The linux-sunxi/sunxi-tools repository packages several distinct binaries, but Windows users primarily interact with two major components: Sunxi-tools - GitHub sunxi-tools windows
To change hardware settings like GPIO pins or DRAM parameters: : Drag your script.bin bin2fex.bat . This generates a script.fex file you can edit in Notepad. : Once edited, drag script.fex fex2bin.bat to create a new script.bin for your device. 2. Testing FEL Connection Open a Command Prompt in your tools folder and type: sunxi-fel --list --verbose Use code with caution. Copied to clipboard
Zadig is the standard tool for this job. It's a lightweight Windows utility designed to install open-source USB drivers like WinUSB.
For Windows users, is a "must-have but handle with care" utility. It is indispensable for low-level "fel" mode operations that GUI tools like PhoenixSuit can't handle. However, if you are doing heavy development, using these tools via WSL2 (with USBIPD for device attachment) often provides a more stable and feature-complete experience than the standalone Windows .exe versions. J-Rios/Sunxi-Tools-Win-src - GitHub If compiling on MSYS2 feels complicated, you can use
Download the .zip archive containing the Windows executables (including sunxi-fel.exe and libusb-1.0.dll ).
: Always ensure no SD card or SPI flash is interfering with the boot process if you are trying to force FEL mode.
Have you successfully used sunxi-tools on Windows? Share your setup below. This generates a script
Now came the real challenge: the tools themselves. Alex didn't want to spin up a heavy virtual machine, which often struggled with USB passthrough. Instead, he turned to community-maintained Windows builds like those found in the Sunxi-Tools-Win repository. He unzipped a folder containing sunxi-fel.exe fex2bin.exe
Entering FEL mode ensures the device is ready for communication. The typical method involves holding down a specific boot button while connecting the USB cable to the PC. For some boards, shorting specific pins on the SPI flash during power-up can also trigger the mode.
Windows can now communicate with the device using the compiled sunxi-tools binaries. Common Use Cases and Commands 1. Verifying the Connection
Fix: Ensure you run Zadig with Administrator privileges and temporarily disable strict antivirus software that blocks driver injection. Share public link
Working with Allwinner Devices on Windows: A Guide to sunxi-tools