Huawei Linux Doctor
Repository: https://github.com/lnfiniware/Infinifix
Release: v0.3 (beta)
InfiniFix is a terminal-first doctor for Huawei and Honor laptops on Linux. It detects common breakages, builds a safe fix plan, and applies fixes with backups and verification.
The default flow is safe:
- dry-run preview first
- timestamped backups before any config write
- command logs
- post-apply verification
- rollback path
Final message after apply:
All done. One step left: reboot now or later.
Advanced-only actions (--all):
- firmware flashing (
fwupdmgr update) - Huawei-WMI DKMS installation
- bootloader/kernel cmdline edits
- Firmware update flow with
fwupd - Intel SOF audio issues (
Dummy Output, missing cards, DSP mode toggles) - PipeWire + WirePlumber service sanity
- Huawei WMI basics (threshold permissions, reinstate service)
- Kernel module and firmware sanity checks
- Debian / Ubuntu / derivatives (
apt) - Fedora / RHEL-like (
dnf) - Arch (
pacman) - openSUSE (
zypper)
git clone https://github.com/lnfiniware/Infinifix.git
cd infinifix
sudo ./scripts/install.shInstall options:
sudo ./scripts/install.sh --prefix /usr --app-root /opt/infinifix
sudo ./scripts/install.sh --no-desktopRun commands:
infinifix doctor
infinifix doctor --all --yes
infinifix report
sudo infinifix apply
sudo infinifix apply --all --yes
sudo infinifix revert
infinifix statusDry-run works globally:
infinifix --dry-run applyv0.3 beta highlights:
doctor --all --yesautomation pathapply --all --yesnon-interactive advanced mode- execution lock to prevent overlapping runs
- report sanitization for safer sharing
- safer audio defaults: GRUB DSP kernel parameter moved to advanced mode
Desktop launcher (optional, terminal app):
- App name:
InfiniFix - Action: launches
infinifix doctorin terminal
- Backups:
/var/lib/infinifix/backups/<timestamp>/ - Reports:
/var/log/infinifix/reports/<timestamp>.tar.gz - State file:
/var/lib/infinifix/state.json - Probe helper:
/usr/libexec/infinifix/probe(or/usr/lib/infinifix/probeon some layouts)
Rollback:
sudo infinifix revertinfinifix/
src/infinifix/ # Python orchestrator + modules
src/cpp/ # Hardware probe helper
scripts/ # Installer and distro shell helpers
packaging/ # Debian/RPM/Arch/openSUSE packaging skeletons
docs/ # Design + support docs
assets/ # Brand and README-only media
- Huawei and Honor are trademarks of their respective owners.
- This project does not ship Huawei logos by default.
- Firmware updates may change hardware behavior; read device notes before applying
--all.
See CONTRIBUTING.md.
See SECURITY.md.
MIT, see LICENSE.
See CHANGELOG.md.