Finally, I had enough time to read almost the whole discussion and to flash my device.
I report here a summary for new users in order to save their free time:
Enable SSH support
http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/misystem/set_config_iotdev?bssid=Xiaomi&user_id=longdike&ssid=-h%3Bnvram%20set%20ssh%5Fen%3D1%3B%20nvram%20commit%3B
http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/misystem/set_config_iotdev?bssid=Xiaomi&user_id=longdike&ssid=-h%3Bsed%20-i%20's/channel=.*/channel=%5C%22debug%5C%22/g'%20/etc/init.d/dropbear%3B
http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/misystem/set_config_iotdev?bssid=Xiaomi&user_id=longdike&ssid=-h%3B/etc/init.d/dropbear%20start%3B
http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/misystem/set_config_iotdev?bssid=Xiaomi&user_id=longdike&ssid=-h%3B%20echo%20-e%20'admin%5Cnadmin'%20%7C%20passwd%20root%3B
Change country code and other parameters
uci set luci.main.lang='en'
uci commit
nvram set CountryCode=EN
nvram set ssh_en=1
nvram set uart_en=1
nvram set boot_wait=on
nvram commit
Flash INT firmware
ubiformat /dev/mtd12 -f /tmp/r3600-raw-img.bin -s 2048 -O 2048
nvram set flag_ota_reboot=1
nvram commit
reboot
Now the router seems working well with latest INT firmware 3.0.22. I found a possible problem that I was not able to solve. If I try to use the router in repeater mode (wireless) I am not able to connect it to any other device.
I get the error: Couldn't test wireless repeater
Any idea?