banner
田野放空

田野放空

认真扮演一个擅长白日做梦的普通人

redmi AX5 ssh open +uu accelerator plugin

This tutorial will guide you on how to unlock the Redmi AX5 and Xiaomi AX1800 SSH, and install the ShellClash plugin to achieve scientific internet access using Clash.

The Redmi AX5 and Xiaomi AX1800 can be considered as the same product with similar configurations but different designs. Both have a Qualcomm IPQ6000 CPU with a quad-core 1.2GHz processor. There is a significant performance difference compared to the Xiaomi AX3600 or Redmi AX6, so it is not highly recommended to purchase the AX5 and even less recommended to purchase the AX1800.

  1. Downgrade the Router

Use the provided downgrade firmware and select it in the common settings - system status - manually download firmware section in the router's backend. After downgrading, unlock SSH. When entering the backend configuration for the first time after downgrading, select not to update automatically, or disable system updates in the Xiaomi Wi-Fi App on your phone. (The current system, although not the latest, can still be used for mesh networking. Third-party OpenWrt is already on the way.)

  1. Obtain SSH Access

2.1 Obtain the Backend STOK

After logging into the Xiaomi router backend, the content after "stok=" in the browser's address bar is the STOK (selected part). Keep it for later use.

2.2 Obtain SSH

Replace "" with the value obtained in the previous step, and copy the modified URL to the browser to open it.

2.3 Change the Default SSH Password to "admin"

Replace "" with the value obtained in the previous step, and copy the modified URL to the browser to open it.

2.4 Connect to SSH

Now you should be able to connect to the Xiaomi AX1800 and Redmi AX5 via SSH. In the terminal, execute the following command (the password is "admin", it will not be displayed when entered, just press enter):

If you encounter this error (if not, you can ignore it, just press yes when prompted for the first time):

You can delete the specified line in this file. In my case, I can see that it is line 45, or you can directly delete this file:

rm -rf ~/.ssh/known_hosts

Install and Use ShellClash

Connect to the Xiaomi AX1800 or Redmi AX5 via SSH and execute the installation command:

sh -c "$(curl -kfsSl https://cdn.jsdelivr.net/gh/juewuy/ShellClash@master/install.sh)" && source /etc/profile &> /dev/null

Select option 1 to install to /etc, and then select option 1 to confirm the installation.

After installation, you can use the "clash" command to enter the configuration. Select option 4 to enable proxy for LAN devices (you can choose other options if you know what you're doing).

It is recommended to select option 1 to not proxy UDP, and then install the DashBoard panel for web-based control (select option 1).

It is recommended to select the Yacd panel for a better interface (select option 2), and then select option 1 for the installation directory.

Select option 1 to import the configuration file. If you don't have a Clash configuration file but have a subscription link for v2ray, ss, or trojan (provided by your service provider), you can select option 1 to generate a Clash configuration file online. If you already have a configuration file, you can select option 2 to import it.

Paste your subscription link (URL) and select option 1 to generate the configuration file. After generating the file, press 0 to return to the previous menu.

Press 1 to immediately start the Clash service.

You can now access http://192.168.31.1:9999/ui to switch nodes and select rules. You can also select option 4 to enable auto-start on boot.

If the "clash" command cannot be executed after entering, you need to execute the following command first:

source /etc/profile

UU Accelerator Plugin

Prerequisites:

  1. The router firmware has been flashed with the development version.
  2. SSH access is enabled.
  3. Download the NetEase UU Host Acceleration app.

Click on the "Install Router Plugin" option in the app. It will show that the router device is not supported. However, since we have SSH access, we can install it using SSH.

  1. Access the router's internal system via SSH:
  1. Run the UU Router Plugin installation command. For detailed instructions, refer to the OpenWrt installation method in the UU Accelerator (the "opkg update" step may fail, but as long as the other steps succeed, it should be fine).

Step 3: Host Acceleration App

After opening the app and logging in, your AX5 will be recognized as an OpenWrt router's network. Follow the on-screen instructions to proceed.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.