AX3600 problem after install OpenWrt

Hello, i install openwrt via this instruction: https://openwrt.org/toh/xiaomi/ax3600
before i install it i use this https://docs.google.com/document/u/0/d/14wylcOZzRMbXyP0_6ABJ8cocRNGhkLiGJprVpvioy44/mobilebasic

and now i have problem with router:

  1. cant enter to login page 192.168.1.1 i get: ERR_CONNECTION_REFUSED (cant enter to router)
  2. cant download recovery file because i dont have Internet in router
  3. when i download (on pc) miwifi_r3600_firmware_5da25_1.0.17.bin and renamed it to C0A81F02.img later i copy that to router in tmp/tftp folder - and press reset button to blink orange led) - router reset but still openwrt
login as: root
root@192.168.1.1's password:


BusyBox v1.36.0 (2023-04-17 11:14:43 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r22575-10eb3fa35a
 -----------------------------------------------------
root@OpenWrt:~#

i cant use nvram and sudo option because i have option

root@OpenWrt:~# nvram
-ash: nvram: not found
root@OpenWrt:~# sudo
-ash: sudo: not found
root@OpenWrt:~#

can u tell me how recovery that device to official firmware or how install correct openwrt ?

when i write: cat /proc/mtd i get

root@OpenWrt:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "0:sbl1"
mtd1: 00100000 00020000 "0:mibib"
mtd2: 00300000 00020000 "0:qsee"
mtd3: 00080000 00020000 "0:devcfg"
mtd4: 00080000 00020000 "0:rpm"
mtd5: 00080000 00020000 "0:cdt"
mtd6: 00080000 00020000 "0:appsblenv"
mtd7: 00100000 00020000 "0:appsbl"
mtd8: 00080000 00020000 "0:art"
mtd9: 00080000 00020000 "bdata"
mtd10: 00100000 00020000 "pstore"
mtd11: 023c0000 00020000 "ubi_kernel"
mtd12: 0d240000 00020000 "rootfs"

miss mtd13 and others

when i put to router file .ubi and write:

ubiformat /dev/mtd12 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_a
x3600-initramfs-factory.ubi -s 2048 -O 2048

i get:

root@OpenWrt:~# ubiformat /dev/mtd12 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_a
x3600-initramfs-factory.ubi -s 2048 -O 2048
ubiformat: error!: please, first detach mtd12 (/dev/mtd12) from ubi0
root@OpenWrt:~#

and if i use ubidetach -p /dev/mtd12 get:

root@OpenWrt:~# ubidetach -p /dev/mtd12
ubidetach: error!: cannot detach "/dev/mtd12"
           error 16 (Resource busy)
root@OpenWrt:~#

i try download orginal firmware miwifi_r3600_firmware_5da25_1.0.17.bin and rename to: C0A81F02.img
and copy it to tftp folder on router ... later i make reset by button ... (orange led starts blink) nothing happend .. still OpenWrt without login page ;/

please help me ....

It looks like you followed some other process to install OpenWrt.... you should be following the guide on the page you linked.

The recovery process that you'll most likely want to use is provided in the tftp section of that same page.

I do exacly what write in https://openwrt.org/toh/xiaomi/ax3600#install_the_firmware

I miss unlock SSH because i have unlocked before (with that https://docs.google.com/document/u/0/d/14wylcOZzRMbXyP0_6ABJ8cocRNGhkLiGJprVpvioy44/mobilebasic - i use that software near 4months

Propobly its problem because i copy to putty that command:

ubiformat /dev/mtd13 -y -f /tmp/openwrt-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi -s 2048 -O 2048 && nvram set flag_boot_rootfs=1 && nvram set flag_last_success=1 && nvram commit

and that should be 4 command ...
but its strange because i make after reboot sysupgrade and done correct

TFTP i try but cant copy file to router .... when I add it manually (by scp)... to the /tmp/tftp directory and hit the reset button (when led orange light blink) - it doesn't restore the firmware

i try do this today Xiaomi AX3600 install guide :
first fw_printenv to check - all looks goods but i cant open web site (login page)

root@OpenWrt:~# fw_printenv
bootcmd=tftp
bootdelay=5
SN=29010/E0RV32138
ethaddr="00:AA:BB:CC:DD:10"
ipaddr=192.168.31.1
serverip=192.168.31.100
stdin=serial
stdout=serial
stderr=serial
wl0_ssid=Xiaomi_A435_5BCA_5G
wl1_ssid=Xiaomi_A435_5BCA
wl0_radio=1
wl1_radio=1
no_wifi_dev_times=0
uart_en=1
telnet_en=1
flag_boot_type=2
flag_ota_reboot=0
boot_wait=on
color=101
CountryCode=PL
miot_did=377037064
miot_key=G82FZgBUEESznyBj
wl2_ssid=Xiaomi_A435
nv_wan_type=pppoe
flag_boot_success=1
mode=Router
model=R3600
nv_pppoe_name=r(login)pppoe2
nv_pppoe_pwd=N(pass)0
Router_unconfigured=0
nv_sys_pwd=c3a4525a520d788a59bfc257ca2ffedac2f89d6b
nv_wifi_ssid=s252
nv_wifi_enc=mixed-psk
nv_wifi_pwd=12348765
nv_wifi_ssid1=s252_5G
nv_wifi_enc1=mixed-psk
nv_wifi_pwd1=12348765
restore_defaults=0
ssh_en=1
nv_device_id=d6efef64-9d14-7116-9fde-5e3bf7b8980b
nv_channel_secret=SP2WEFyEvUlWH9YYYVtpaF0WlTFDc8sCpe2wFc+FRWM=
nv_wan_dns1=8.8.8.8
nv_wan_dns2=1.1.1.1
flag_boot_rootfs=0
flag_last_success=0
flag_try_sys1_failed=8
flag_try_sys2_failed=8

later i want restore :

root@OpenWrt:~# fw_setenv flag_last_success 1
root@OpenWrt:~# fw_setenv flag_boot_rootfs 1
root@OpenWrt:~# ubiformat /dev/mtd12 -y -f /tmp/xiaomi1.0.67.ubi
**ubiformat: error!: please, first detach mtd12 (/dev/mtd12) from ubi0**

and i want ubidetach and have:

root@OpenWrt:~# ubidetach -f -p /dev/mtd12
ubidetach: unrecognized option: f
Use -h for help
root@OpenWrt:~# ubidetach -F -p /dev/mtd12
ubidetach: unrecognized option: F
Use -h for help
root@OpenWrt:~# ubidetach -F -p /dev/mtd12

finaly its busy ... how to release the device?

root@OpenWrt:~# ubidetach -p /dev/mtd12
ubidetach: error!: cannot detach "/dev/mtd12"
           error 16 (Resource busy)

i can give access to that router (via other pc) - can someone help to solve problem ?

and one more , in fw_printer write i have 192.168.31.1/24 addresses but i get from dhcp 192.168.1.1 and after try to enter www / login page i have ERR_CONNECTION_REFUSED

i add to network 3addresses (routing)
192.168.0.1/24 (current internet) , 192.168.1.1/24 (router ax3600 dhcp) and 192.168.31.1/24 (fw settings)

please before you try to install OpenWrt revert to the stock firmware via tftp.
If you installed some other firmware before it could be problematic and hard to debug what went wrong.

when i use TFTP and configure pc and application like here Xiaomi ax3600 bricked - #112 by sqrwv

after make reset ... led blink orange , later it lights steadily orange and then lights up white

applicaton TFTP see nothing in TFTP Server and in DHCP Server i see 192.168.31.2 ....

Firewall in windows is off

Before you run tftpd64, make sure there is only 1 ethernet cable connecting the computer eth port to the router and the router is powered off. Other ethernet cables must not be connected.

This way, when you power on the router (while pressing reset button), you make sure the IP 192.168.31.2 from tft64 dhcp server will be given to the router and not to some other device in the LAN.

In my case, I read I connected the computer ethernet port to the ax3600 LAN1 port. Try that way.

1 Like

Thanks for help ... work ... I did it wrong because I held the reset button on the device when it was turned on ... and it would have to be on the device when it was turned off ... I uploaded the original soft ... miwifi_r3600_firmware_5da25_1.0.17.bin

so to make openwrt now, all you need to do is unlock SSH access and start installation?

Please follow the wiki instructions:
https://openwrt.org/toh/xiaomi/ax3600#installation

1 Like

I do this now and have the same problem like before

  1. I install Chinese OEM firmware version 1.0.17, available (http://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/r3600/miwifi_r3600_firmware_5da25_1.0.17.bin)

  2. i active ssh with that option https://openwrt.org/toh/xiaomi/ax3600#tab__javascript_method

  3. Later step by step i do this: https://openwrt.org/toh/xiaomi/ax3600#install_the_firmware

  4. In last steps mean sysupgrade i get:

login as: root
BusyBox v1.36.0 (2023-04-17 11:14:43 UTC) built-in shell (ash) _______                     ________        > __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r22575-10eb3fa35a
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# service wpad stop
root@OpenWrt:~# service
Usage: service <service> [command]
/etc/init.d/boot                   enabled         stopped
/etc/init.d/bootcount              enabled         stopped
/etc/init.d/cron                   enabled         stopped
/etc/init.d/dnsmasq                enabled         running
/etc/init.d/done                   enabled         stopped
/etc/init.d/dropbear               enabled         running
/etc/init.d/firewall               enabled         stopped
/etc/init.d/gpio_switch            enabled         stopped
/etc/init.d/led                    enabled         stopped
/etc/init.d/log                    enabled         running
/etc/init.d/network                enabled         running
/etc/init.d/odhcpd                 enabled         running
/etc/init.d/packet_steering        enabled         stopped
/etc/init.d/sysctl                 enabled         stopped
/etc/init.d/sysfixtime             enabled         stopped
/etc/init.d/sysntpd                enabled         running
/etc/init.d/system                 enabled         stopped
/etc/init.d/umount                 enabled         stopped
/etc/init.d/urandom_seed           enabled         stopped
/etc/init.d/urngd                  enabled         running
/etc/init.d/wpad                   enabled         stopped
root@OpenWrt:~# sysupgrade -n /tmp/openwrt-ipq807x-generic-xiaomi_ax3600-squashf
s-sysupgrade.bin
Mon Apr 17 11:21:16 UTC 2023 upgrade: Commencing upgrade. Closing all shell sess                                                                                                                                                             ions.

on the router, after the above steps, the SYSTEM diode lights steadily in white, the INTERNET diode flashes white ... dont have internet

the computer will receive addresses from the network 192.168.1.1/24, the router has the address 192.168.1.1 but it cannot be accessed via web again ... ERR_CONNECTION_REFUSED if i try enter to 192.168.1.1
something wrong with that 2files here https://openwrt.org/toh/xiaomi/ax3600#firmware_download

It's because openwrt snapshot images don't have luci gui.
You need to install luci, ssh to the router and do:

opkg update
opkg install luci
1 Like

Use version 22.03.4 - not SNAPSHOT. SNAPSHOT does not have web GUI.

This router recently made into snapshots, there's no stable releases yet.

@RomineK
Also install attended sysupgrade, from LUCI web gui or from CLI:

opkg install luci-app-attendedsysupgrade

You can use it to upgrade snapshots and it will include all packages you use including luci.

  • Then failure when browsing to 192.168.1.1 is expected behavior. I'm not sure why OP notes it as a symptom
  • :spiral_notepad: OP must first have LuCI installed :wink: opkg update && opkg install luci
  • Use the firmware selector to include an image with LuCI

Here: https://firmware-selector.openwrt.org/?version=SNAPSHOT

1 Like

It's in my previous post, howto install luci.
We replied at the same time. :slight_smile:

@RomineK
It's also in the ax3600 install instructions:

1 Like

Ooo, I understand that you want to say that I did everything correctly, but for the GUI/www to be displayed, I need to install some lucy? :slight_smile: it's great to be a layman and not read everything ... I restored the OEM twice and I did everything right, only the www interface was missing

u know any installataion of OpenWRT on AX3600 with LuCI include?

To install LuCi need internet on the router? is the installation already included in the snapchat version?
if I need the Internet, I need to know how to change the settings using the console so that the router has the Internet?

https://openwrt.org/docs/guide-user/luci/luci.essentials here nothing write about it :slight_smile: then i think i need Internet in router.

@RomineK

To solve the issue that you don't have internet after you install the snapshot if you don't configure the router, you can do this:

PS: I replied to wrong user, now can't fix it, it says I'm posting the same msg.

1 Like

(It takes a few mins - but you can copy, delete, then reply correctly.)

1 Like

Which of these 4 links do I need to install in the router to have LuCI? https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=ipq807x%2Fgeneric&id=xiaomi_ax3600

1 , 2 , 3 or 4 .. or several ?

  1. I installed from the links above - it has the same name and size...
  2. is the sysupgrade from the links above (the same name and size)

so it turns out that KERNEL? do i understand it right? and how do i install it? same as upgrading to this version of sysupgrade?

i know how install factory version and how made sysupgrade (this: https://openwrt.org/toh/xiaomi/ax3600#firmware_download)

i dont know how add LuCi if dont have Internet in router ?

or i dont know how change internet configuration without web interface to take Internet in router? edit: i write more maybe i have fiber (pppoe) Internet 1gb/s with name and password to connect (ip take dynamic)

sorry for asking but i am newbie

Press here: https://firmware-selector.openwrt.org/?version=SNAPSHOT

Type AX3600 in model and select Xiaomi AX3600.

Open Customize installed packages and/or first boot script and add luci at the end of the Installed Packages list, separated by a space like the others. (Example: ... urngd wpad-basic-mbedtls luci)

Press Request Build.

Go to Custom Downloads and download sysupgrade, then use that file: openwrt-4cb0b7dad2f8-ipq807x-generic-xiaomi_ax3600-squashfs-sysupgrade.bin to sysupgrade.

It's the snapshot sysupgrade.bin but it will have luci added.

1 Like