If you are a developer, a tinkerer, or an embedded Linux enthusiast working with Allwinner chips (like the A64, H3, H5, H6, or the newer D1), you know the pain of flashing and debugging. For years, the standard tool was PhoenixSuit or LiveSuit. While functional, these tools are notoriously bulky, often bloated with outdated drivers, and frustrating to run on modern versions of Windows.
Enter SunxiTools Windows Portable.
This utility is rapidly becoming the go-to solution for the modern maker. In this post, we’ll explore what it is, why you should use it, and how to get started.
Hardware engineers often prefer Windows for schematic design (Altium, Eagle). With SunxiTools Portable, they can test firmware builds without leaving their native OS.
"Portable" means exactly that. You download the executable (or the small zip folder), extract it, and run it. It doesn’t write massive registry keys or install adware. It is perfect for keeping on a USB thumb drive so you can fix devices on the go.
Windows will not recognize FEL mode natively.
Sunxi-tools is a collection of command-line utilities designed for managing devices based on Allwinner SoCs (like those found in many single-board computers and tablets).
While these tools are natively built for Linux, they are available for Windows as portable binaries, allowing you to interact with hardware in FEL mode without a full installation. 🛠️ Key Utilities Included
sunxi-fel: The most used tool; allows USB communication with the bootloader.
sunxi-fex2bin: Converts .fex configuration files into binary .bin format.
sunxi-bin2fex: Decompiles binary files back into readable .fex text. sunxi-nand-part: Manages partitions on NAND flash storage.
sunxi-bootinfo: Reads information from Allwinner boot headers. 🚀 Common Use Cases
Unbricking: Recovering devices that won't boot from SD or internal flash.
Booting over USB: Sending a kernel or U-Boot directly to RAM via FEL mode.
Hardware Tweaking: Modifying GPIO settings or voltage tables via FEX files. Flashing: Writing images directly to SPI or NAND storage. 💻 How to Use on Windows
Download: Grab the latest portable .zip or .7z from a reputable source like GitHub.
Drivers: You must install the Zadig driver (WinUSB) for your device while it is in FEL mode.
CMD/PowerShell: Open a terminal in the folder containing the .exe files.
Run: Use commands like sunxi-fel.exe version to verify the connection.
📍 Note: Ensure your device is in FEL mode (usually triggered by holding a specific button during power-up) for sunxi-fel to detect it.
Streamlining Allwinner Development: A Guide to Sunxitools for Windows sunxitools windows portable
If you’ve ever delved into the world of Allwinner-based single-board computers (SBCs) or tablets, you’ve likely encountered the need for low-level hardware manipulation. Whether it’s dumping a bootloader, tweaking the FEX configuration, or unbricking a device via FEL mode, Sunxitools is the industry-standard toolkit.
While natively built for Linux, having a Windows Portable version of Sunxitools is a game-changer for developers who need to switch between machines without the overhead of a full Linux subsystem or virtual machine. What is Sunxitools?
Sunxitools is a collection of open-source utilities designed specifically for Allwinner "sunxi" family chips (like the A10, A20, H3, and H6). The suite primarily includes:
sunxi-fel: The most critical tool. It allows communication with the device’s BROM via USB when the device is in "FEL mode."
sunxi-fex2bin / bin2fex: Utilities to compile or decompile FEX files, which define hardware pins and features on older Allwinner kernels.
sunxi-bootinfo: Used to read information from boot0 or U-Boot images. The Power of "Portable" on Windows
A portable version means no complex installers or registry changes. You simply download the binaries, drop them into a folder, and run them directly from the Command Prompt (CMD) or PowerShell. This is ideal for: Quick Debugging: Testing a device on a guest workstation.
Unbricking: Using a laptop to revive a tablet that won't boot into its OS.
Firmware Modding: Extracting and editing configuration files on the fly. Getting Started: FEL Mode on Windows
To use the most powerful part of the suite—sunxi-fel—on Windows, you usually need a specific USB driver.
Zadig Utility: Because Windows doesn't natively recognize FEL mode devices, you use Zadig to install the WinUSB driver for the "Unknown Device" that appears when your Allwinner board is plugged in while holding the FEL button.
Running the Tools: Once the driver is set, you can run commands like: sunxi-fel.exe ver Use code with caution. Copied to clipboard
This should return the chip ID (e.g., AWUSBFEX soc=00001623(A10) 00000001 ver=0001...), confirming your connection is live. Why Use It?
For years, Allwinner development was locked behind Linux-only workflows. A portable Windows build breaks that barrier. It allows hobbyists to interact with their hardware using the same tools the pros use, all within the familiar Windows environment. Whether you're a retro-handheld enthusiast or an IoT developer, having Sunxitools in your digital toolbox is essential.
Sunxi-tools is a collection of command-line utilities for interacting with ARM devices based on the Allwinner SoC family. While primarily designed for Linux, it can be used on Windows as a portable toolset for low-level device management, such as editing hardware configuration files or flashing firmware via USB. Key Utilities in the Portable Set
: The primary tool for communicating with Allwinner CPUs in FEL mode via USB. It allows you to read/write device memory and boot U-Boot images directly over OTG. sunxi-fexc (fex2bin / bin2fex)
: A compiler/decompiler for "FEX" files, which are Allwinner's hardware description binaries (typically script.bin sunxi-bootinfo
: Provides detailed information from Allwinner boot headers.
: Used for manipulating and testing GPIO (General Purpose Input/Output) settings.
Sunxi-Tools represents a critical suite of open-source software utilities designed for ARM-based Allwinner SoC (System on a Chip) devices. While these tools are natively built for Linux environments, the demand for a "Sunxi-Tools Windows Portable" version has grown significantly among hobbyists and developers who need to repair or modify tablets, development boards (like Orange Pi or Banana Pi), and retro gaming handhelds from a Windows machine. If you are a developer, a tinkerer, or
This guide explores how to access, set up, and use Sunxi-Tools on Windows without a complex installation process. 🛠️ What is Sunxi-Tools?
Sunxi-Tools is a collection of command-line utilities used to interact with Allwinner "sunxi" family devices. These tools are indispensable for low-level hardware manipulation and firmware recovery.
Sunxi-FEL: The most popular tool. It communicates with the device via USB when it is in "FEL mode" (a low-level bootloader state).
Sunxi-FEX2BIN: Converts FEX configuration files into binary (.bin) format for the hardware to read.
Sunxi-BIN2FEX: Decompiles binary configuration files back into human-readable text for editing.
Sunxi-Bootinfo: Reads information from Allwinner boot headers. 💻 Why Use a Portable Windows Version?
Most users looking for a portable version want to avoid installing heavy development environments like MSYS2 or Cygwin. A portable build allows you to:
Flash Firmware: Revive "bricked" devices by loading a new bootloader.
Read Hardware Info: Pull technical specifications directly from the chip.
Modify Settings: Edit peripheral configurations (like screen brightness or GPIO pins) via FEX files.
Zero Footprint: Run the tools from a USB drive without modifying Windows system registries. 🚀 How to Get Sunxi-Tools Windows Portable
Since there is no "official" .exe installer from the main Sunxi GitHub, users typically rely on pre-compiled binaries or lightweight environments. 1. Pre-compiled Binary Sets
Community members often provide "standalone" ZIP files containing the .exe files and necessary .dll dependencies (like libusb-1.0.dll).
Where to find: Search GitHub for "sunxi-tools-win32" or check the Orange Pi / Pine64 community forums. Setup: Simply extract the ZIP folder to your desktop. 2. The Driver Requirement (Zadig)
Even with portable software, Windows needs a way to "talk" to the Allwinner hardware.
Zadig Utility: This is a portable tool used to install the WinUSB driver.
Process: Put your device in FEL mode, open Zadig, select the "Unknown Device," and click "Replace Driver." This enables Sunxi-FEL to recognize the hardware. 📖 Basic Usage Guide
To use these tools, you will use the Command Prompt (CMD) or PowerShell. Open the folder containing your portable sunxi-fel.exe.
Hold Shift and Right-Click in the folder, then select "Open PowerShell window here."
Type ./sunxi-fel.exe version to check if your device is connected. Common Commands: Check Connection: sunxi-fel version Read Device ID: sunxi-fel sid Load U-Boot: sunxi-fel uboot u-boot-sunxi-with-spl.bin ⚠️ Important Considerations Open a command prompt inside the portable folder:
Security: Only download pre-compiled binaries from trusted community sources or reputable GitHub contributors.
FEL Mode: Most devices enter this mode by holding a specific button (often "Home" or "U-Boot") while plugging the device into your PC.
USB Ports: Use USB 2.0 ports if possible; some older Allwinner chips have stability issues with USB 3.0/3.1 controllers.
If you are ready to start, I can help you find the latest stable binary source or walk you through the Zadig driver installation step-by-step.
How to compile the latest version yourself using a lightweight script? Where to find FEX files for a specific Allwinner tablet?
Sunxi-tools is a collection of command-line utilities designed for hardware hacking and firmware management on devices using Allwinner "sunxi" SoCs (like the Orange Pi, NanoPi, or Pine64). While primarily a Linux-based toolkit, it is frequently used on Windows to modify hardware configurations or flash firmware directly over USB. Core Utilities
The toolkit is most commonly used for two specific tasks on Windows:
sunxi-fel: Allows you to interact with the processor's low-level "FEL" bootrom mode. This is used for booting images over USB or flashing internal memory without an SD card.
sunxi-fexc (bin2fex/fex2bin): Converts binary hardware description files (script.bin) found on boot partitions into human-readable text (.fex) and back. This is essential for tweaking board settings like GPIO pins or DRAM frequency. Using Sunxi-tools on Windows
Because there is no official "installer," Windows users typically rely on portable, pre-compiled binaries or manual compilation. 1. Drivers (Mandatory for USB)
To use sunxi-fel over USB, you must replace the default Windows driver with a compatible one (like WinUSB) using the Zadig tool.
Put your Allwinner device into FEL mode (usually by holding a specific button during power-up).
Open Zadig and find the device (often listed as USB Device (VID_1f3a_PID_efe8)). Select WinUSB and click "Replace Driver". 2. Portable Binaries
Pre-compiled versions are often found in community repositories rather than the main GitHub releases:
J-Rios Sunxi-Tools-Win: Provides simple batch files (bin2fex.bat) to automate file conversion without needing to type full commands.
Manual Compilation: If you need the latest features, you can compile the tools yourself using Code::Blocks and the MinGW toolchain, though this requires patching the code for Windows compatibility (e.g., adding mman-win32 support).
Open a command prompt inside the portable folder:
sunxi-fel.exe version
Expected output: AWUSBFEX SPL version ... or something similar. If you see No device found, redo Step 3.
Because the tool does not install drivers or services, it minimizes the risk of overwriting the very data you are trying to recover. This is critical for forensic recovery and DIY data rescue.