When I try to use the factory image from the linksys website I get the error "The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform."
I've had a good look around the google and only found info on how to revert back from OpenWRT.
Can someone please explain to me how to revert back to stock firmware or direct me to some instructions.
I have not tried with that router, but a "format check" override "--force" was added recently to the sysupgrade commandline command:
Usage: /sbin/sysupgrade [<upgrade-option>...] <image file or URL>
/sbin/sysupgrade [-q] [-i] <backup-command> <file>
-d <delay> add a delay before rebooting
-f <config> restore configuration from .tar.gz (file or url)
-i interactive mode
-c attempt to preserve all changed files in /etc/
-n do not save configuration over reflash
-p do not attempt to restore the partition table after flash.
-T | --test
Verify image and config .tar.gz but do not actually flash.
-F | --force
Flash image even if image checks fail, this is dangerous!
-q less verbose
-v more verbose
-h | --help display this help
Probably that router specialists like @cybrnook know better, but I guess that it might work with downloading the image with wget to /tmp and the using the "sysupgrade --force " from command line.
(But I have no idea if the OEM image e.g. contains some OEM header that should be removed, or somethin like that.)
Sorry for being such a noob but how do I run commands on lede? do I need to use putty or can I do it through the gui? ditto for transferring files to the router I really jumped into this without knowing much.
This is what I have been looking for myself. I have flashed over both partitions and I am understanding the process of forcing the flash but I am not sure how to get the file to the tmp location and checking that it is there.
I am trying to use putty to force the reimage of the stock firmware. But the problem is I don't know how to transfer the img file from my computer to the routers tmp file. I am using a Raspberry Pi and putty to access the router. Any ideas would be greatly appreciated
So I got it fixed. I ended up having to use SCP in windows because I found it was a little easier for a noob to follow. I started by resetting the router to default just so I didn't have passwords to deal with. So with SCP I moved a .img file into the tmp file folder of the router remembered the exact name of the file. Then I went in through putty and forced a system upgrade with the cmd "sysupgrade -F /tmp/(img file name)" then hit enter and it did the upgrade. The I logged into the reset router and it was the stock image so I can start all over again..
About WRT1900AC v2, was running LEDE reboot 17.01.2.
Did a sysupgrade to LEDE reboot 17.01.4.
Discovered afterwards running on partition 2. Started to have bugs with my IP phone line. Discovered on the forum how to run back on partition 1 . Phone line running OK with LEDE reboot 17.01.2.
Now I would like to install Linksys OEM firmware on partition 2.
While running on partition 2, I copied the Linksys OEM firmware to the router's tmp folder using WinSCP.
I believe I have to do it again because I am now running on partition 1. If afterwards I open putty and run the force command sysupgrade, will the Linksys OEM firmware be on partition 2 ?
I don't want to alter in any way LEDE reboot 17.01.2 on partition 1.
Some guidance needed here. Thank you.