Before you begin, make sure you have:
GitHub repositories for huawei-honor-unlock-bootloader exist to circumvent this specific remote error. huawei-honor-unlock-bootloader github
Microsoft-owned GitHub frequently removes repositories containing Huawei "engineering tools" after a complaint from Huawei Technologies Co., Ltd. If a repo disappears while you are reading this, look for forks saved under odd usernames. Before you begin, make sure you have: GitHub
Conversely, the security argument is not without merit. The very tools used to unlock a phone for LineageOS can be used to unlock the same phone for a thief. A malicious actor with physical access to a locked phone could, in theory, use these scripts to disable factory reset protection. Furthermore, many of these repositories have been hijacked. A search for "unlock bootloader" often leads to malware-laced binaries, fake "DC unlocker" clones, or phishing scams asking for Huawei account credentials. The open-source nature of GitHub means that while the code can be audited, the intent of the fork cannot. Conversely, the security argument is not without merit