I'm attempting to force sysupgrade to revert my router back to an OEM firmware.
My dual partition router had oem firmware on part 1 and openwrt on part 2. I accidently flashed my first partition to openwrt as well. I've been in a headache trying to revert my first partition today.
I'm not too tech savy but this has been my attempt so far. (I'm on mac os)
copied oem firmware to /tmp
ssh in, cd to /tmp (success)
sysupgrade -n -F linksys.img
an error pops up saying image not found.
Any help with this? I have a short time frame to get this done and sent on its way. Any help would be appreciated.
If LuCi extension lists it, the flashing should be successful (or you still have the vendor firmware in the other partition)
try turning the router off and on 3x via button or switch partition via the Luci boot partition menu, to enable the other partition for booting.
after a few more attempts of the switch method i was able to boot up the second partition (i just flashed from) in advanced boot it still says the first partition is linksys/unknown (compressed).
i’m so confused. i thought i just did a successful sysupgrade to the first partition. after following your advice it went through and the connection dropped but the first partition is still not working
only thing i’ve done is from the second partition (openwrt) i flashed openwrt again (in attempt to install a clean image) and ended up overriding the 1st partition (linksys wrt) via LuCI. i got back to the second partition and attempted to flash the linksys wrt back on the first partition and ended up where i am now.
in attempt to fix this, i followed the wrt32x ‘return to stock firmware’. Luci isn’t an option for it says ‘due to missing/incompatible metadata in OEM images, sysupgrade must be forced via the command line’
so i attempted a sysupgrade via ssh. ssh in, cd to tmp, put in the correct command, it said it upgraded and the connection closed but nothing happened. first partition still states linksys/unknown (compressed)