Error code: 18005
Upgrade unsuccessfully because the version of the upgraded file was incorrect. Please check the file name.
I tried to serve the file in TFTP mode, changed the name appropriately, and it downloaded it (I watched in wireshark), but a few moments later it booted to normal firmware.
Right, I assumed the regional metadata would somehow be in there, since there are two versions of the file on the snapshots, one for EU and one with no region code, which I assumed was US. Is there anything useful I can do with this file or does someone who knows what they're doing with the build need to make a further patch and get it rebuilt overnight?
Than there is something else missing other than regional metadata.
For example I now checked and TP Link did not change HWID from v1 like author of commit did.
Building another image for you to test
the version on the router is 160509 which is what is listed on the factory firmware download page, but then there's a big number 1474506175401q on the zip file, which makes me think there could concievably be a difference between my firmware and the latest thing on the factory site... any sense in upgrading the factory firmware first?
yeah, no dice. it took the factory file, but after that it still gives the same error message when I try to give your file, either US or generic.
I'm sure this is just some simple check they are doing to see that the file has some particular info at some particular spot that indicates it's for this router and US version etc... but very hard to debug as you say. I'm sure a serial console would help here.
Who wrote the support patch? And what did they test it on? Is there someone we can tag here to request more info?
I see that though at 0x44 if it's zero based addressing, just altered your US image to add that there. Any reason I shouldn't flash it? Are those bytes in use by the lede image?
well I guess I'm adventurous, I tried it, but no dice.
what if I just replace the first 45 bytes with the bytes from the stock factory firmware which says "TP-LINK Technologies ver 1.0 etc etc? any reason these bytes are critically important to function of LEDE or are they just labels?