WRT3200ACM - Need major help with going back to OEM firmware


#1

hi I need help with going back to my OEM firmware wasted so much time did everything but no luck
please if someone can help I will be really thankful.
here are the details
|Hostname|LEDE|
|Model| Linksys WRT3200ACM|
|Firmware Version|LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.290.79498-d3f0685)|

I use LEDE LuCI for update software but it comes with an error message like this ": The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform."

would not even update to OpenWRT latest version starts to update but will never finish.

then i tried to boot from different boot_part but no luck it says no boot_part Defined

I try to do through Putty below is the error message

root@LEDE:~# sysupgrade -n -F \temp\*.img
Image metadata not found
Image check 'fwtool_check_image' failed but --force given - will update anyway!
killall: watchdog: no process killed
Sending TERM to remaining processes ... logd rpcd netifd odhcpd uhttpd dnsmasq ntpd ubusd askfirst
Sending KILL to remaining processes ... askfirst
Switching to ramdisk...
Performing system upgrade...
## Error: "boot_part" not defined
cannot find target partition

#2

Try

cd /tmp
wget http://downloads.linksys.com/downloads/firmware/FW_WRT3200ACM_1.0.6.186168_prod.img
sysupgrade -F -n /tmp/FW_WRT3200ACM_1.0.6.186168_prod.img

#3

no luck same error

root@LEDE:/tmp# sysupgrade -F -n /tmp/FW_WRT3200ACM_1.0.6.186168_prod.img
Image metadata not found
Image check 'fwtool_check_image' failed but --force given - will update anyway!
killall: watchdog: no process killed
Sending TERM to remaining processes ... logd rpcd netifd odhcpd uhttpd ntpd dnsmasq ubusd askfirst
Sending KILL to remaining processes ... askfirst
Switching to ramdisk...
Performing system upgrade...
## Error: "boot_part" not defined
cannot find target partition

#4

If in CLI running

/usr/sbin/fw_printenv -n boot_part

yields the above error it sounds like your env has been messed up somehow. You will probably need a ttt-serial connection to reset.


#5

i just find out after installing Luci Advance Reboot that both boot_part has same firmware installed. anyone knows how to erase one

Partition Status Firmware/OS (Kernel) Action
1 Alternative LEDE (Linux 4.4.92)
2 Alternative LEDE (Linux 4.4.92)

#6

One of your partitions should be labelled current, the above command will tell you that partition number; i.e. the partition that you are currently running. When you flash it will go to the other partition.


#7

that command gives me error saying

root@LEDE:~# /usr/sbin/fw_printenv -n boot_part
## Error: "boot_part" not defined
root@LEDE:~#

#8

Here is a hint:

#!/bin/sh
#hacked from /lib/upgrade/linksys.sh

cur_boot_part=`/usr/sbin/fw_printenv -n boot_part`
target_firmware=""
if [ "$cur_boot_part" = "1" ]
then
    target_firmware="kernel2"
    fw_setenv boot_part 2
    fw_setenv bootcmd "run altnandboot"
elif [ "$cur_boot_part" = "2" ]
then
    target_firmware="kernel1"
    fw_setenv boot_part 1
    fw_setenv bootcmd "run nandboot"
fi
# re-enable recovery so we get back if the new firmware is broken
fw_setenv auto_recovery yes
echo "$target_firmware"
reboot

you could try setting one or the other as per the above. But I would suggest a serial connection may be in order given what you are seeing.