Hi guys,
I'm testing openwrt for my Dlink DIR-2640 A1 since a couple of days and i'm really liking it.
But i want to have the option to revert back to the stock firmware
I tried to use this python script recommended on the wiki page to decrypt the stock firmware with no success.
Getting syntax error every time >>> ./dlink-dec.py -i </src/1.bin> File "<stdin>", line 1 ./dlink-dec.py -i </src/1.bin> ^ SyntaxError: invalid syntax
Some reported having to use a Windows based browser when encountering OpenWrt installation issues, so you can give that a try if encountering problem reverting to stock firmware as well.
Thanks for the answer but as mentioned on the wiki page
For newer devices, however, this isn't an option, as only encrypted SHRS firmwares are publicly available. If you own one of these devices and needs the firmware in unencrypted format to use with the emergency recovery mode, you'll have to resort to tools like dlink-decrypt in order to manually decrypt the SHRS firmwares provided by D-Link.