Ruiji ew3200gx pro original mtd7

G’day, does anyone have this router that could Back up firmware(mtd7) partitions with:
dd if=/dev/mtd7 of=/tmp/firmware.bin
and then download the firmware.bin image via SCP. Then share it please.

My router is bricked and I have tried everything, only thing I can manage is getting the luci recovery page up but unable to get any working sysupgrade file to work.

I did not keep a backup of the original kernel.bin file. Any help appreciated.
Thanks
SJ

Do you have access to google like I do?

Thanks brada, so I can just use Luci’s flash firmware to flash this firmware?

if you can get to LuCI, in what way is the device "bricked" ?

commit message has it?
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=ce8a33b021a703b1933f627835f6cdc88c0ecdd3

I have tried to flash the router with openwrt, connected via serial and transferred the .. kernel.bin openwrt file vie tftp. I can then log into the router accessing the recovery Luci screen at 192.168.1.1. However when I then navigate to the firmware upgrade section in Luci and use the system > Backup/Flash Firmware. The router just hangs while upgrading. Then I loose ethernet connection and can’t connect again. In putty over the serial output it gives “wrong image format or can’t get kernel image!’

I have tried to flash it with several sysupgrade images but same issue.

Tried executing the same via ssh instead?

https://openwrt.org/docs/guide-user/installation/sysupgrade.cli

1 Like

I did once and had the same wrong boot format can’t get kernel lernel… same error message. I will give it another go.

Frollic I also followed this thread where you commented.

This fella changed the dts …. I had a go at compiling my own images but it does not work… with my limited experience.
My issue sounds similar…. Farked if I know… let me give the cli another go tomorrow morning and we go from there. Thx for your help frollic.

wasn't the issue in the other thread related to a new flash layout or something ?

Yeah it was from my limited knowledge.

Then I guess it's a no go, unless that layout change have been added to Openwrt.

So from what I can understand is, the original Ruiji firmware has a certain partition layout on the memory, and then when you replace that original firmware with openwrt it must place the openwrt firmware code sections in the same sections/ partitions? This is why in the previous threat this guy was able to flash it because he analysed the Ruiji firmware boot layout partitions and then changed the openwrt dts to match that of the Ruiji firmware?

without reading the old thread, yes, the openwrt layout needs to match the layout of the stock fw.

There are 2 versions of firmware

Thanks , can you post link to both firmware versions please.

Thanks

Check first answer v301 and v219?

Frollic I found a router tar.gz backup file that I saved from the original firmware. So the question is will this contain the sysupgrade.bin file I would need? If so is there anyone that can extract it as I have tried everything I could think of in windows and linux commands on an old laptop.

Thanks
SJ

Run strings on unpackked image and download matching version from web?

Thanks, I am near giving up as the time spent trying to get it going is not worth while. The one thing I did pickup is that the dts partition outlay has changed since the previous post where the person had to alter the dts to match. Those loading addresses now match what he changed his dts file to.
So does the snapshot images change when the official release dts files are updated? I a, thinking maybe the original snapshot verion may work if that has not changed. Seems there must be different v1 hardware’s out there due to non of the images I try via tftp or scp works.