I own an Xiaomi MIR3G -and i have installed "Breed boot-loader". Actually the documentation is very poor on this boot loader but i have understood that i can dual boot flashing 2 firmware.
I would like to install as:
Primary Boot - OpenWrt 18.06.1 (as is evolving the most)
Secondary Boot - Newer vesrion of OpenWrt or PandoraBox or Padvan just for testing
Now, i was able to install them as in the breed web interface you have to choose in which partition 1 or 2 you want to install the firmware but i have no clue how to switch from one to the other and if that configuration is actually possible.
I found this thread because I flashed my Xiaomi 3g router with Openwrt LEDE and LuCI. After experiencing wifi problems, I installed Breed bootloader for flashing Padavan or Pandora. But since i flashed this bootloader, impossible to install any firmware. I can enter in Breed bootloader, I can flash padavan or Openwrt, the installation progression goes till 100%. When I reboot nothing happend as I have not flashed anything.
I have no access to ssh but only to Telnet. How did you managed to fix your router as you had the same issue.
Thanks for your help.
Hi. I have face problem like @Testeur, do all step like you do: Flash developement rom, boot ok, router boot to xiaomi firmware
I flash padavan again, but now all lan ports are no connect. How i can connect to ssh after breed to restore mtd to bootloader? tks.
Tks for your reply.
Seen like that i flash firmware to a wrong partition(1 and 2)
Now my router can only run stock firmware correcly.
All lan port will not work if i flash padavan or oprnwrt or pandorabox
I want to restore like out of box but breed still there. How i can restore stock bootloader and quit of breed? Breed only acept telnet.
I want to restore via failsafe but when i press reset after power on, it boot to breed
Wait your helps. Tks you
No matter. Router can boot from any partition (autoboot.command points Breed to boot partition). For example, I always flash Padavan to both partitions.
Hmmm... maybe you just have wrong crimped cable? I met reviews that alternative firmware does not work with cables crimped crossover. Only straight will work.
If you don't have backup, created BEFORE Breed flashing, you cannot restore stock bootloader. But you can ask someone to share mtd1 partition backup. mtd1 on stock firmware = bootloader
This is mtd1 from my backup (from stock firmware)
you can flash this via Breed (to Bootloader partition)
or from stock firmware via mtd write /tmp/mtdblock1.bin Bootloader (issued in SSH consiole)
Did anyone manage to get the stable builds to run on breed? I wasn't able to get it booting and via serial found it stopped after "init done" and then the router would go dead (temp) and had to turn off & back on again, tried to flash a merged kernel1+rootfs0 image from 4pda forums, only for it to result in erasing the default MAC addresses.
Now luckily had a backup of all MTD partitions from OpenWRT before I installed breed so got the bootloader back, but still can't get OpenWRT installed, resulting in the same error. I'd like to restore all the MTD partitions but I thought to ask for a method before trying it and maybe corrupting the u-boot itself.
I can either-
Install breed, make a combined binary image from the backups and do full firmware flash via it such that breed won't install itself again, but the normal u-boot will be overwritten and if it fails then basically a near dead router unless soldering stuff, with SPI boot to try. another issue is how to combine the binary backups I have to a single image? I could try to make a new script from the merged binary script from 4pda, but I'd like assurance since it'll be the first try.
Using the u-boot that is present now, restore all the partitions back. Not sure if I can via tftp or Kermit uart commands and how to flash it. I'll need full flash over read-only partitions as well since my MAC is gone & only there via backup.
Using breed again but to first flash the other partitions if uboot doesn't allow a flash of read-only partitions, then restore the uboot and reboot.
Get OpenWRT (snapshots?) to work/flash from breed and boot to connect. Then use breed to restore the MAC backups.
Restore to stock dev Xiaomi firmware with breed; get ssh access and dowload openwrt firmware to usb.
flash by these command:
mtd write / extdisks /sda1 /mir3g-squashfs-kernel1.bin kernel1
mtd write /extdisks/sda1/mir3g-squashfs-rootfs0.bin rootfs0 mtd of erase kernel0
Dont use command on openwrt homepage after install breed, it will not work
Did that in past but didn't work. Might've not done properly.
So flash the xiaomi dev on first partition 2 then partition 1 via breed, then boot normally and use mtd right?
I may have found the MAC i had by bdata & config backup i had using hex editor. So maybe that won't be needed to flash & can just set values by breed.
Also what do u mean by command won't work? The UART connection or the SSH? If it won't then what about snapshots cuz they require terminal & "opkg depends" & "opkg whatdepends" type commands won't be able to be used