@echo off
if "%~1" neq "" (echo %~1) else (goto help)
del /q /f openwrt_for_breed*.bin >nul
del /q /f ~tempfile* >nul
del /q /f ~kernel* >nul
set size=0
copy /A %1 ~kernel0~
for %%I in (~kernel0~) do set/A size=4194304-%%~zI
fsutil file createnew ~tempfile %size%
copy /b ~kernel0~+~tempfile ~kernel0
del /q /f ~tempfile >nul
del /q /f ~kernel0~ >nul
for %%I in (%1) do set/A size=4194304-%%~zI
fsutil file createnew ~tempfile %size%
copy /b %1+~tempfile ~kernel1
del /q /f ~tempfile >nul
copy /b ~kernel0+~kernel1+%2 openwrt_for_breed.bin
del /q /f ~kernel* >nul
del /q /f ~tempfile* >nul
exit
:help
echo.
echo This will make OpenWrt binary file for using with Breed for Mi Router 3G.
echo Result file is Broken Kernel 4Mb + Kernel 4Mb + Rootfs0
echo.
echo Warning! You MUST add string in Breed for booting from 0x600000:
echo autoboot.command boot flash 0x600000
echo (see example at http://4pda.ru/forum/index.php?s=&showtopic=837667&view=findpost&p=71453185)
echo.
echo Usage:
echo create_openwrt_for_breed.cmd {kernel1 file} {rootfs0 file}
echo.
echo Example: %0
echo create_openwrt_for_breed.cmd xxx-kernel1.bin xxx-rootfs0.bin
echo.
UPnP doesn't work for me in 19.07.2.... I have already added the upnp application, flagged the start up option but no deal... not sure what's wrong, whether it's in OpenWRT itself or the specific version for the Xiaomi 3G...
It works fine here.
Except that 5ghz sucks bigtime when using it as both AP and mesh backhaul.
Background: When using this device as a repeater, and also using the 5G band as both client and AP, you need to manually set fragmentation threshold on client to 2347 or the tx speed will drop down to almost zero.
The same happens when you use the device as both as mesh device with the backhaul on 5G (meaning AP+mesh), only the manually setting the fragmentation threshold doesn`t fix it. If anyone found a workaround, please tell.
EDIT: Seems to work if I removed the manual fragmentation threshold setting. (Guess I was too proactive)
Hey, guys. Are there specific instructions about how to move from Padavan to OpenWRT. Also, can anyone recommend me builds with the bare minimum setup? I remember some people where making those available a couple of years ago.
is there any way I can keep stock rom while using openwrt just like I have padavan along with stock right now using breed? For some reason I am unable to update stock firmware(stable or dev), it just revert back to old one.
Hi there,
I did try to update xiaomi 3G (V1) from 18.06 to 19.07.03, I did so using luci and the sysupgrade file with the option set to keep settings. Now, I have no wireless at all - no 2,4Ghz nor 5 Ghz.
"device is not active"