| Error Message | Cause | Solution | | :--- | :--- | :--- | | Device unauthorized | USB debugging not confirmed on phone. | Check phone screen and tap "Allow." | | Waiting for any device | Driver failure. | Reinstall Google USB drivers in Device Manager. | | Flashing is not allowed in Lock State | Bootloader locked. | Run fastboot oem unlock (wipes data) first. | | Sahara communication failed | EDL mode driver mismatch. | Manually set Qualcomm HS-USB QDLoader 9008 in Device Manager. | | Invalid sparse file format | Corrupted firmware file. | Re-download the stock ROM and extract it fresh. |