After this command, reboot:

su shell If shell returns "Permission denied," your ISP has locked the shell. You need to use the (Method 3). Step 3: Restore Huawei Factory Interface Once inside the shell, type:

When an ISP provides the HG8145v5, they flash their own custom firmware. This “customization” disables advanced features, restricts bridge mode, blocks DNS changes, and hides the full configuration menu. Consequently, you cannot replace the router, change certain firewall settings, or use your own ONT on the fiber line.

| Goal | Alternative Without Unlock | | :--- | :--- | | Use your own router | Put HG8145v5 in to your router. Set your router’s IP as the DMZ host. | | Change DNS (to 1.1.1.1) | Use IPv6 only or configure DNS on your computer/device, not the router. | | Port forwarding | This usually works even on locked ISP firmware (under Advanced > NAT). | | Remove ISP tracking | Use a VPN on all your devices. |

However, there is a catch: Your ISP locked it down.