{"id":16900009,"url":"https://github.com/runlevel5/redmi_ax6s_rb03_openwrt","last_synced_at":"2026-03-18T22:50:06.422Z","repository":{"id":142032848,"uuid":"560294542","full_name":"runlevel5/redmi_ax6s_rb03_openwrt","owner":"runlevel5","description":"How to install OpenWRT on Redmi AX6S (RB03 Chinese version)","archived":false,"fork":false,"pushed_at":"2022-11-01T07:18:36.000Z","size":8692,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T12:27:55.906Z","etag":null,"topics":["firmware","openwrt","redmi","xiaomi"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/runlevel5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-01T06:45:59.000Z","updated_at":"2024-06-17T07:48:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"d1cf6ec4-1840-4bc5-ba60-ba5f5932d15b","html_url":"https://github.com/runlevel5/redmi_ax6s_rb03_openwrt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runlevel5%2Fredmi_ax6s_rb03_openwrt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runlevel5%2Fredmi_ax6s_rb03_openwrt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runlevel5%2Fredmi_ax6s_rb03_openwrt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/runlevel5%2Fredmi_ax6s_rb03_openwrt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/runlevel5","download_url":"https://codeload.github.com/runlevel5/redmi_ax6s_rb03_openwrt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244610348,"owners_count":20480966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firmware","openwrt","redmi","xiaomi"],"created_at":"2024-10-13T17:51:16.820Z","updated_at":"2026-01-03T18:38:59.970Z","avatar_url":"https://github.com/runlevel5.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Install OpenWRT on Redmi AX6S (RB03 Chinese version)\n\nPlease note this tutorial is based on the [official tutorial](https://openwrt.org/toh/xiaomi/ax3200) but geared toward the RB03 (Chinese version)\n\nStep 1: Connect the router to your computer with the provided CAT5 cable\nStep 2: Enable SSH by telneting into it:\n\nFirstly we need to find out the telnet password. Download this [app](https://github.com/YangWang92/AX6S-unlock/raw/master/unlock_pwd.py), then run:\n\n```\nunlock_pwd.py \u003cS/N\u003e\n```\n\nwhich would return the telnet password\n\nNOTE: the Serial Number can be found at the back of the router\n\nSecondly telnet into it:\n\n```\ntelnet 192.168.31.1\nusername: root\npassword: the password in the first step\n```\n\nThirdly we enable SSH:\n\n```\nnvram set ssh_en=1\nnvram set uart_en=1\nnvram set boot_wait=on\nnvram commit\n```\n\nWhile you are at it, don't forget to udpate the password:\n\n\n```\npasswd root\n```\n\nOnce updated, please use this newly updated password instead of the generated one.\n\nThe SSH daemon might not be up, if so, please enable it:\n\n```\n# Start SSHd (dropbear)\n/etc/init.d/dropbear enable\n/etc/init.d/dropbear start\n```\n\nLastly we can test the SSH connection:\n\n```\nssh root@192.168.31.1\n```\n\nStep 3: Flash new firmware:\n\n```\n# Download firmware\ncd /tmp \u0026\u0026 curl -L http://downloads.openwrt.org/releases/22.03.2/targets/mediatek/mt7622/openwrt-22.03.2-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-factory.bin\n\n# SCP it to the router\nscp openwrt-22.03.2-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-factory.bin root@192.168.31.1:/tmp\n\n# Validate checksum\n\nssh root@192.168.31.1\ncd /tmp\nsha256sum openwrt-22.03.2-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-factory.bin\ncurl -Ls https://downloads.openwrt.org/releases/22.03.2/targets/mediatek/mt7622/sha256sums | grep -i factory | grep -i xiaomi\n\n# Set NVRAM flags\n## Run also first commented two lines if after flashing sysupgrade.bin image router restarts to stock firmware instead of OpenWRT\n# nvram set flag_boot_rootfs=0\n# nvram set \"boot_fw1=run boot_rd_img;bootm\"\nnvram set flag_boot_success=1\nnvram set flag_try_sys1_failed=0\nnvram set flag_try_sys2_failed=0\nnvram commit\n\n# Flash image\nmtd -r write openwrt-22.03.2-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-factory.bin firmware\n```\n\nOnce done, the router should reboot automatically. The new IP for the web GUI is 192.168.1.1.\nYou can login with browser (default password is blank), don't forget to set password\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunlevel5%2Fredmi_ax6s_rb03_openwrt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunlevel5%2Fredmi_ax6s_rb03_openwrt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunlevel5%2Fredmi_ax6s_rb03_openwrt/lists"}