A comprehensive, cross-platform toolkit for Xiaomi Poco X3 Pro (vayu)
From stock firmware flashing to advanced Android and Linux utilities
Features β’ Installation β’ Usage β’ Roadmap β’ Contributing
Vayu Utils is a curated collection of utilities, scripts, and firmware resources designed specifically for the Xiaomi Poco X3 Pro (codename: vayu). This project aims to be a one-stop solution for device maintenance, recovery, customization, and optimization across multiple platforms.
- π― Device-Specific: Tailored exclusively for Poco X3 Pro
- π Cross-Platform: Native support for Linux, Windows, and Android
- π‘οΈ Safe & Tested: All tools thoroughly tested to minimize brick risk
- π¦ All-in-One: Everything you need in a single repository
- π Open Source: Transparent, community-driven development
- Complete firmware package (V14.0.3.0 Global)
- Multiple flashing modes:
- Clean flash (factory reset)
- Dirty flash (preserve data)
- Flash with bootloader relock
- Cross-platform scripts for Linux and Windows
- Automated process with error handling
π€ Android Utilities (Click to expand)
- Custom recovery installation tools
- TWRP/OrangeFox backup managers
- Magisk/KernelSU integration scripts
- Advanced partition management
- ROM migration assistants
- Boot image patchers
- System debloating tools
- Performance profilers
π§ Linux Tools (Click to expand)
- ADB/Fastboot installer scripts
- USB driver configuration helpers
- Device recognition automation
- Linux-specific optimization tools
- Udev rules generators
- Kernel module managers
- Performance monitoring utilities
π§ General Utilities (Click to expand)
- Device diagnostics suite
- Firmware integrity checkers
- Batch operation tools
- Backup/restore solutions
- Log analyzers
- Partition size calculators
- Anti-rollback protection checkers
vayu-utils/
βββ π stock_partitions/ # Stock firmware & flashing tools
β βββ V14.0.3.0_Global/
β βββ images/ # Partition images (boot, system, etc.)
β βββ flash_all.sh # π§ Linux: Clean flash
β βββ flash_all.bat # πͺ Windows: Clean flash
β βββ flash_all_except_storage.sh # π§ Dirty flash
β βββ flash_all_except_storage.bat # πͺ Dirty flash
β βββ flash_all_lock.sh # π§ Flash + relock bootloader
β βββ flash_all_lock.bat # πͺ Flash + relock bootloader
β
βββ π android_tools/ # [Planned] Android-specific utilities
βββ π linux_tools/ # [Planned] Linux system tools
βββ π windows_tools/ # [Planned] Windows utilities
βββ π scripts/ # [Planned] Universal scripts
βββ π docs/ # [Planned] Detailed documentation
βββ π recovery/ # [Planned] Recovery images & tools
Before using any tools, ensure you have:
| Requirement | Description | Link |
|---|---|---|
| Android Platform Tools | Latest ADB & Fastboot | Download |
| USB Drivers | Proper device drivers installed | Mi USB Drivers |
| Unlocked Bootloader | Required for most operations | Unlock Guide |
| Adequate Battery | Minimum 50% charge | - |
git clone https://github.com/itachi-re/vayu-utils.git
cd vayu-utils- Backup your data (clean flash will erase everything)
- Charge your device to at least 50%
- Enable USB Debugging (Settings β About Phone β tap MIUI Version 7 times β Developer Options β USB Debugging)
Method 1: Using ADB
adb reboot bootloaderMethod 2: Hardware Keys
- Power off device completely
- Hold Volume Down + Power until Fastboot logo appears
fastboot devices
# Should output: [device_serial_number] fastbootNavigate to firmware directory:
cd stock_partitions/V14.0.3.0_Globalπ§ Linux Users:
# Option 1: Clean flash (erases all data)
sudo chmod +x flash_all.sh
sudo ./flash_all.sh
# Option 2: Dirty flash (preserves user data)
sudo chmod +x flash_all_except_storage.sh
sudo ./flash_all_except_storage.sh
# Option 3: Flash and relock bootloader (β οΈ Use with caution)
sudo chmod +x flash_all_lock.sh
sudo ./flash_all_lock.shπͺ Windows Users:
# Option 1: Clean flash (erases all data)
flash_all.bat
# Option 2: Dirty flash (preserves user data)
flash_all_except_storage.bat
# Option 3: Flash and relock bootloader (β οΈ Use with caution)
flash_all_lock.bat| Warning | Details |
|---|---|
| π Bootloader Relocking | NEVER relock bootloader with custom ROMs or modified system. This will permanently brick your device. Only use flash_all_lock with complete, unmodified stock firmware. |
| πΎ Data Loss | flash_all scripts perform factory reset. All photos, apps, and personal data will be permanently deleted. Backup first! |
| β‘ Power Requirement | Ensure minimum 50% battery. Device shutdown during flashing can cause hard brick. |
| π― Device Compatibility | These tools are ONLY for Poco X3 Pro (vayu). Using on other devices will brick them. |
| π‘ Internet Connection | Some operations may download additional components. Ensure stable connection. |
| π§ Anti-Rollback | Check anti-rollback index before flashing older firmware. Mismatched ARB can brick device. |
Device not detected in Fastboot mode
Solutions:
- Try a different USB cable (use original if possible)
- Use USB 2.0 port instead of 3.0
- Reinstall USB drivers
- Run command prompt as Administrator (Windows)
- Check
fastboot devicesoutput - Disable VirtualBox/VMware USB controllers
Permission denied error (Linux)
Solutions:
- Run scripts with
sudo - Add user to plugdev group:
sudo usermod -aG plugdev $USER - Configure udev rules:
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="2717", MODE="0666", GROUP="plugdev"' | sudo tee /etc/udev/rules.d/51-android.rules sudo udevadm control --reload-rules
- Reboot and try again
Flashing fails midway
Solutions:
- Verify bootloader is unlocked:
fastboot oem device-info - Check file integrity (re-download if corrupted)
- Ensure adequate free space on PC
- Try different USB port
- Disable antivirus temporarily
- Use minimal ADB & Fastboot tools
Device stuck in bootloop after flash
Solutions:
- Boot into recovery and factory reset
- Re-flash using
flash_all.sh/bat(clean flash) - Flash stock recovery first, then complete firmware
- Check if firmware matches your region
Anti-rollback protection error
Solutions:
- Do NOT flash firmware with lower ARB index
- Check current ARB version before flashing
- Only flash firmware with equal or higher ARB
- Contact community for compatible firmware versions
- Stock firmware collection
- Cross-platform flashing scripts
- Basic documentation
- Firmware integrity verification tools
- Custom recovery installers
- Magisk integration scripts
- Partition backup utilities
- System debloater
- Performance optimizer
- ADB/Fastboot auto-installer
- Driver configuration wizard
- Udev rules generator
- Linux optimization suite
- GUI application (Python/Qt)
- Firmware migration tool
- Advanced diagnostics
- Automated backup system
- One-click root solutions
- Web-based tool dashboard
- ROM compatibility database
- Community script repository
- Tutorial video series
We welcome contributions from the community! Here's how you can help:
- π΄ Fork the repository
- πΏ Create a feature branch
git checkout -b feature/AmazingFeature
- π» Make your changes
- β Test thoroughly on your device
- π Commit with descriptive messages
git commit -m "Add: New recovery flashing tool" - β¬οΈ Push to your branch
git push origin feature/AmazingFeature
- π Open a Pull Request
- Test everything before submitting
- Document your code with clear comments
- Follow existing code style and structure
- Update README if adding new features
- Include safety warnings for potentially dangerous operations
- Specify compatibility (which firmware versions, etc.)
- π Report bugs and issues
- π‘ Suggest new features
- π Improve documentation
- π§ Submit new tools and utilities
- π§ͺ Test tools on different configurations
- π Translate documentation
- β Star the repository to show support
This project is licensed under the MIT License - see the LICENSE file for details.
- Stock firmware: Β© Xiaomi Inc.
- Android tools: Β© Android Open Source Project
- Platform tools: Β© Google LLC
- Xiaomi for device firmware and documentation
- Android Open Source Project for core tools
- Linux community for invaluable utilities
- XDA Developers for technical insights
- Contributors who make this project possible
- Testers who help ensure safety and reliability
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Maintainer: @itachi-re
- β Check Troubleshooting section
- β Search existing Issues
- β Verify you're using correct device (Poco X3 Pro - vayu)
- β Include error logs when reporting issues
Important Legal Notice
This project is provided "as is" without warranty of any kind. The maintainers and contributors are not responsible for:
- Bricked devices
- Data loss
- Warranty voidance
- Any damage resulting from use of these tools
By using these tools, you acknowledge:
- You understand the risks involved
- You have backed up your data
- You accept full responsibility for any consequences
- Your device warranty may be voided
Always proceed with caution and at your own risk. π