Only JTAG or soldering a new flash chip could. WARNING: Do not flash the CFE (mtd 0) by telnet/SSH unless the risk is understood, as this could render the router unbootable. The same can be done with the nvram, kernel, etc.
Connect a JTAG-Adapter cable to the router and use the following command: wrt54g -backup:cfe.