Adding OpenWrt support for Xiaomi AX3600

Hi folks,
My router is currently with firmware 1.0.17 and I want to test 1.0.67 and the 160Mhz support added back in 1.0.50.
If i do that can I easily downgrade back to 1.0.17 or any other version that you can get the ssh access without the need of serial adapter?

So, after messing around with u-boot to fix the ubi error 22 in the previous post I had power outage while editing the ubi partition.... as some of you guessed I'm now the proud owner of a dead AX3600. with the only chance of turning it back to a router being some soldering sheningan with the flash chip.
therefore, unless someone has suggestions, my fun with this router ends here.

Did you try to use the Xiaomi repair tool? I suspect it works via early boot to recovery the router but havent tried it:

http://www1.miwifi.com/miwifi_download.html

I suspect that could have been helpful before I erased completely the firmware.
but I'll give it a try! thanks!

edit: it doesn't help with a completely erased firmware.

Since ignorance, some of this could not solve your problem? the same you can directly load the firmware on the ROM chip

ROM

Finally got my AX3600. Instead of multiple commands for web-injections, you can use one command which will fetch the script from https://dev.melmac.net/ax3600.sh and run it on the router:

http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/misystem/set_config_iotdev?bssid=gallifrey&user_id=doctor&ssid=-h%0Acurl%20--insecure%20https%3A%2F%2Fdev.melmac.net%2Fax3600.sh%20%7C%20ash%0A

Still need to replace the <STOK> in the link with the actual authentication token from the web management URL. It sets the root password to password.

3 Likes

thanks, but that level of soldering is way over my capacity. also I don't think I can find the firmware anywhere...

Hey Otem,
You need to Patch the latest Firmware to keep SSH, see https://github.com/geekman/xqrepack

1 Like

I believe that in the command to change the password it should have a backslash instead of foward slash, right? Anyway, thanks for the script!

1 Like

In my blurry morning eyes I read that as melkur.net and we all know what's hiding in that, tapping the power of The Source..code (yikes, morning puns are bad)!

You're totally right! Fixed.

1 Like

open case, connect ttl

2 Likes

just wondering what's happening with support for this device. There was a point when this thread was very active. Is it possible to get support eventually?

5 Likes

It's now happening here: IPQ807x SoC Investigation / Status [WIP]

7 Likes

OpenWrt support: Not supported.
https://openwrt.org/inbox/toh/xiaomi/xiaomi_ax3600

Any chance to get the global firmware, patch it for SSH support and flash it on a chinese ax3600?

No, at the moment. They not released the international firmware yet

Once you get SSH access I believe you can stop the "auto updates" by going to the /etc/config folder and modifying the vas and/or vas_user config files accordingly.

I am personally very interested in making useful modifications to the factory firmware such to be able to easily add/enable OPENWRT features/packages without actually waiting for official OPENWRT support.

Any suggestions or modifications for getting OPKG fully functional and working on root@XiaoQiang (maybe in the /tmp directory) could give us some good alternatives prior to the much anticipated official OPENWRT support.

1 Like

For this kind of hardware that can actually be unlocked and supported it's better to put effort in helping with openwrt support than trying to hack the original firmware to add openwrt packages

2 Likes

root@XiaoQiang:/etc/config# cat vas_user

config settings 'services'
option auto_upgrade '1'

root@XiaoQiang:/etc/config# cat otapred

config ota 'settings'
option enabled '1'
option auto '0'
option plugin '0'
option spauid '20200912'
option spau '1'
option spauic '22'

root@XiaoQiang:/etc/config# cat vas

config settings 'services'
option auto_upgrade '-1'
option news_bar '-3'
option invalid_page '-3'
option ad_filter_resolve '-3'
option ad_on_off '-3'
option shopping_bar '-3'
option baidu_video_bar '-3'
option UPIF '-3'
option service_aggre '-3'
option security_page '-3'

config rule 'countrycode'
option auto_upgrade 'CN'
option news_bar 'CN'
option invalid_page 'CN'
option ad_filter_resolve 'CN'
option ad_on_off 'CN'
option shopping_bar 'CN'
option baidu_video_bar 'CN'
option UPIF 'CN'
option service_aggre 'CN'
option security_page 'CN'

config service 'invalid_page'
option on 'matool --method setKV --params invalid_page_status on; /etc/init.d/http_status_stat on'
option off 'matool --method setKV --params invalid_page_status off; /etc/init.d/http_status_stat off'
option status 'uci get http_status_stat.settings.enabled 2>/dev/null'

config service 'security_page'
option on 'matool --method setKV --params security_page_status on;'
option off 'matool --method setKV --params security_page_status off;rm /etc/config/securitypage/enable.tag; /etc/init.d/securitypage stop'

config service 'auto_upgrade'
option on 'uci set otapred.settings.auto=1; uci commit otapred'
option off 'uci set otapred.settings.auto=0; uci commit otapred'
option status 'uci get otapred.settings.auto 2>/dev/null'

config service 'news_bar'
option on 'matool --method setKV --params news_bar on; /usr/bin/trmd -f; /usr/bin/trmd'
option off 'matool --method setKV --params news_bar off; /usr/bin/trmd -f; /usr/bin/trmd'

config service 'ad_filter_resolve'
option off 'sed -i '''/ad_filter.sh/d''' /etc/crontabs/root;uci set otapred.settings.plugin=0;uci commit'

config service 'ad_on_off'
option on 'matool --method setKV --params ad_on_off on;/usr/bin/trmd -f; /usr/bin/trmd;uci set security.common.ad_on_off=1;uci commit security; /etc/init.d/securitypage restart'
option off 'matool --method setKV --params ad_on_off off;/usr/bin/trmd -f; /usr/bin/trmd;uci set security.common.ad_on_off=0;uci commit security; /etc/init.d/securitypage restart'

config service 'shopping_bar'
option on 'matool --method setKV --params gouwudang_status on; /usr/bin/trmd -f; /usr/bin/trmd'
option off 'matool --method setKV --params gouwudang_status off; /usr/bin/trmd -f; /usr/bin/trmd'

config service 'baidu_video_bar'
option on 'matool --method setKV --params baidu_video_bar on; /usr/bin/trmd -f; /usr/bin/trmd'
option off 'matool --method setKV --params baidu_video_bar off; /usr/bin/trmd -f; /usr/bin/trmd'

config service 'UPIF'
option off '/etc/init.d/wrsst stop;uci delete otapred.settings.updateurl&&uci commit'

config service 'service_aggre'
option off 'matool --method setKV --params service_aggre_status off; /etc/init.d/http_event_proxy off'