maybe it‘s possible. we can install some app in XiaoMi official firmware
using XiaoMi official firmware ,we can still install some software by mounting overlay which about 20MB storage avaliable , if you can read chinese ,click https://www.right.com.cn/forum/thread-4060726-1-1.html
I try to translate below. Thank those who found the way,and write it.
############################
How to Mount overlay
Mount the overlay (read and write), easy to install the openwrt software package (the one with the page should not be displayed)
Because AX6 does not need to change the partition table like ax3600, (not so much flash), there is no need to flash uboot, the risk is lower, and there is 20M of free space at your disposal.
for ax3600 if you want to use all flash storage here https://www.right.com.cn/forum/forum.php?mod=viewthread&tid=4037482
i am tired to translate
But please prepare the firmware and Xiaomi router repair tools first, and do telnet curing to prevent your careless mistakes (I have careless mistakes during my test, and I repeat the operations 8 times. The reset of this machine sometimes does not seem to be able to restore the factory...)
But overall there is no risk
It does not remain alive after updating the official firmware, please do the following steps 1~5 again
- Create a file /etc/init.d/miwifi_overlay, (you can vi /etc/init.d/miwifi_overlay, i, paste, :wq), the content is as follows
#!/bin/sh /etc/rc.common
START=00
. /lib/functions/preinit.sh
start() {
[ -e /data/overlay ] || mkdir /data/overlay
[ -e /data/overlay/upper ] || mkdir /data/overlay/upper
[ -e /data/overlay/work ] || mkdir /data/overlay/work
mount --bind /data/overlay /overlay
fopivot /overlay/upper /overlay/work /rom 1
#Fixup miwifi misc, and DO NOT use /overlay/upper/etc instead, /etc/uci-defaults/* may be already removed
/bin/mount -o noatime,move /rom/data /data 2>&-
/bin/mount -o noatime,move /rom/etc /etc 2>&-
/bin/mount -o noatime,move /rom/ini /ini 2>&-
/bin/mount -o noatime,move /rom/userdisk /userdisk 2>&-
return 0
}
- chmod 755 /etc/init.d/miwifi_overlay
- /etc/init.d/miwifi_overlay enable
- sync
- reboot
After the restart, the partition can be read and written, please do it again after updating the officiall firmware which it's not is easy to be disabled
Test, install sftp:
opkg update
opkg install openssh-sftp-server
########