OpenWrt Forum Archive

Topic: Invalid version 'UBNTXM.ar7240.OpenWrt.r29661'

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Im working with the 10.3.01 sdk and my flashes work fine.'

How ever on ubiquity devices you can either use the reset button or use a built in command called fwupdate. Fwupdate is pissy about the header in the image .

What im trying to do is change  header from
OPENUBNTXM.ar7240.OpenWrt.r29661
to
OPENXM.ar7240.OpenWrt.r29661

I found where the MAGIC part of the header is declared but i can;t find a way to "spoof" the version part of the header in the image file. Any help would be appreciated.

Note i cant just change the file beause there is some md5 like check called the crc that failes if I mess with the headers.

I found the solution to this ,

In /home/ethan/openWrtBuild/Backfire10.3.1/backfire/target/linux/ar71xx/image there is the make file for the images

grep for ubnt0-nano-m, in that line change ar7240 to ar7240.v5.3.5.

That line will trick the fwupdate program on AirOS into flashing its self with your open wrt flash file

The discussion might have continued from here.