Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- downgrade to http://bigota.miwifi.com/xiaoqiang/rom/r3/miwifi_r3_all_55ac7_2.11.20.bin
- put miwifi_r3_all_55ac7_2.11.20.bin on usb and rename to miwifi.bin with usb in router hold reset until led is flashing
- then release and wait until solid blue then login
- Get SSH/dropbear access
- Log-in into the router and grab the value of the stok URL parameter (for instance: "9c2428de4d17e2db7e5a6a337e6f57a3")from your browsers' address bar.
- Replace the <STOK> placeholder--change value and delete these<>
- OLD_PASSWORD is your admin password you'd set while setting up the router or can be reset from Mi Wifi app
- #####################COMMAND################################
- * http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/web/home#router
- * http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/xqnetwork/set_wifi_ap?ssid=Xiaomi&encryption=NONE&enctype=NONE&channel=1%3Bnvram%20set%20ssh%5Fen%3D1%3B%20nvram%20commit
- * http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/xqnetwork/set_wifi_ap?ssid=Xiaomi&encryption=NONE&enctype=NONE&channel=1%3Bsed%20%2Di%20%22%3Ax%3AN%3As%2Fif%20%5C%5B%2E%2A%5C%3B%20then%5Cn%2E%2Areturn%200%5Cn%2E%2Afi%2F%23tb%2F%3Bb%20x%22%20%2Fetc%2Finit.d%2Fdropbear
- * http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/xqnetwork/set_wifi_ap?ssid=Xiaomi&encryption=NONE&enctype=NONE&channel=1%3B%2Fetc%2Finit.d%2Fdropbear%20start
- * http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/xqsystem/set_name_password?oldPwd=<OLD_PASSWORD>&newPwd=<NEW_PASSWORD>
- ###################END_COMMAND############################
- Start telnetd on the router: not neccesary
- ################COMMAND##########################
- http://192.168.31.1/cgi-bin/luci/;stok=<STOK>/api/xqnetwork/set_wifi_ap?
- ssid=whatever&encryption=NONE&enctype=NONE&channel=1%3B%2Fusr%2Fsbin%2Ftelnetd
- ##############END_COMMAND#######################################
- put kernel1.bin and rootfs0.bin on fat formated usb drive and insert into xiaomi *****from pptp52
- ###########################
- in ssh or telnet:
- ############################COMMAND#############################
- cd /extdisks/sda1
- cp kernel1.bin /tmp
- cp rootfs0.bin /tmp
- cd /tmp
- nvram set flag_last_success=1
- nvram set boot_wait=on
- nvram set uart_en=1
- nvram commit
- mtd write kernel1.bin kernel1
- mtd write rootfs0.bin rootfs0
- reboot
- #########################END_COMMAND#########################
- for DLNA support flash eddiecz's sysupgrade via luci or ssh
- lede-1.2-r6190-79e0f2f-ramips-mt7620nand-miwifi-r3-squashfs-sysupgrade.tar
- from: https://rfid-shop.cz/index.php?route=product/product&language=en-gb&path=65&product_id=67 **registration required
- #############################################################
- If you want to revert back to stock fw while on LEDE:
- insert usb stick (FAT/FAT32) with stock fw renamed to miwifi.bin
- fw_setenv flag_last_success 0
- power off the device
- hold the reset button and power on the device, keep holding the reset button until yellow led starts blinking.
- *******recover_by_flashing_kernel0_to_SDRAM_over_TFTP*********option 2 via tty serial
- download kernel0 from: https://drive.google.com/drive/folders/0B1VOQQ-_EIXKVTFmVWZHcFM4NGc
- **********sources_of_instructions********
- https://dev.ptpt52.com/rom/
- https://forum.lede-project.org/t/xiaomi-mi-wifi-3-support/2252/254
- https://github.com/ptpt52/lede-source/issues/1
- https://wiki.openwrt.org/toh/xiaomi/mir3
- https://wiki.openwrt.org/toh/xiaomi/mini
- *******recover_by_flashing_kernel0_to_SDRAM_over_TFTP*********
- download kernel0 from: https://drive.google.com/drive/folders/0B1VOQQ-_EIXKVTFmVWZHcFM4NGc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement