Xiaomi mi wifi 3 support

They most likely dont flash directly but using kernel image.
I think I will update the instructions and also add recovery instructions since in last images you dont need to delete kernel0 but instead just set a flag and device will boot of kernel1 so you can recover using USB later.

1 Like

yes i did exactly what was told, didnt work for me
mtd write lede-ramips-mt7620-miwifi-r3-squashfs-kernel1.bin
mtd write lede-ramips-mt7620-miwifi-r3-squashfs-rootfs0.bin
nvram set flag_last_success=1
nvram commit
reboot

i did this through SSH and not using the bootloader, to provide some additional info

Well I know that it just loops since driver for NAND looks to be broken.
Since mine is bricked I cant do any further development.
You could have then followed this to recover from USB

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.

thank you i will try that right now, however yesterday seemed after flashing pandorabox through the bootloader using option 2 with tftp it didnt show me nothing after a further reboot in putty.

i saw it booting up pandorabox in the console but it had some errors it also named an error on rootfs0.

whats most likely is probably its the serials fault at first glance

Most likely they have changed rootfs0 size and location while your image did not change that

seems like the serial connection doesnt work anymore. when it boots it doesnt show the main led, the only leds working are those of the lan cables.

thought it was my serial adapter failing on me but when i short rx and tx it shows it isnt the serial adapter.

i didnt hookup the 3.3v since i thought that wasnt neccessairy, just rx/tx gnd

1 Like

What did you do?
3.3V should not be connected

to put the whole story in a nutshell.
i was on padavan, switched back to a stock devel version. did the ssh hack.
did dissent1 latest guide rootfs0 kernel1 ( so no kernel0 ) exactly as it was stated.
after i booted through serial flashed pandorabox through tftp (option2)
it showed booting but with errors.

after unplugging and replugging power it is now in this state:
the power leds dont turn on, only the lan leds and serial doesnt work.

i shorted the txrx of my serial adapter just to know that wasnt the fault and it worked..

so in other words serial on the router doesnt work anymore

That means that they have messed with serial.
Do you have anything outputted, any garbage?

no output at all, just blank

That is really weird.
Unfortunately I don't see a way to recover

crap, yes in my experience weird too. i thought flashing through tftp should erase all partitions and be functional since i used a rom which was suposed to be flashed this way on this device

Maybe device boots still, can you check if you get IP address over DHCP?

it also showed during the first bootlog on serial that it didnt. just retried and no still doesnt, even with manual input ip. no ssh or telnet either

Damn, then they must have really messed u-boots env flags

my bad there is some hope i just seen.

so because my solder is bad quality of ebay i just knot the cables in there i thought it was more safe than risking the solder cracking off and running through the board while it is operating.

i disconnected the serial and the power led is on.

im sure right now it will be fixable

Well, then you must have been shorting 3.3V and ground.

Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
9: Load Boot Loader code then write to Flash via TFTP.

You choosed 4

4: System Enter Boot Command Line Interface.

U-Boot 1.1.3 (Apr 15 2016 - 17:46:32)
MT7620 # fw_setenv flag_last_success 0
Unknown command 'fw_setenv' - try 'help'
MT7620 # fw_setenv flag_last_success 0
Unknown command 'fw_setenv' - try 'help'
MT7620 #

Well,after you flashed Padavan it will not work anymore.
Boot initframs LEDE image and from it flash kernel0 backup
https://drive.google.com/drive/folders/0B1VOQQ-_EIXKVTFmVWZHcFM4NGc?usp=sharing

And then you can use USB to recover

1 Like