I'm still rather confident that flashing via push-button tftp is likely to just work.
With tftp, the router accept of firmware but doesn't install it. I'm searching about a way to bypass the currunt firmware and install a new one.
Tried about 5 times now. Here's the steps i followed. Give me a 5 minutes please. I will post the exact method with screenstots.
In that case, as you're basically blind, serial console access will be the easiest way out.
Four screws on the bottom, a little prying to unhinge the clasps, 3.3V based (unpopulated) 4-pin serial connector pretty much in the middle of the board, between spi-nor and SOC.
Router pulled the file restarted. and nothing. Still in the same version it was on. To check if the method is correct, I selected the same version as the router's in, it get's sucessfully installed. I'm saying it was successfull bc it behaved the same when i tried using the gui.
Same version: Takes about 15 or 20 seconds. - Get installed
Any other version including overwrt: takes about 5 seconds - Not installed.
I'm confuced about this. Is there some kind of firmware lock to feep me from selecting any other version?
Found the port. How do i do it? Can you give me the way to it?
have you tried http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-tl-wdr3500-v1-squashfs-factory.bin
?
You need a 3.3V(!) based USB-to-serial adapter. These sell for ~1.30-1.50 EUR/ USD delivered via the slow boat from abroad - or starting around a fiver from a domestic distributor (cp2102, ch340g tend to be fine. (typically) counterfeit ft232rl may cause grief on windows, but tend to be fine if you run linux).
Follow the pinout on the device page of your router, GND to GND, RX to TX, TX to RX. If you don't see any output, reverse rx/ tx - never connect Vcc/ 3.3V (unless you really know what you're doing and why).
First just have a look what the upgrade procedure (both GUI based and push-button tftp recovery) has to say about the OpenWrt factory image, that will give you hints why it rejects the factory image.
In order to flash OpenWrt, I'd interrupt the bootloader by typing the 'magic' tpl
password at the right time (repeat it during earliest boot, until you end on the u-boot shell). Then tftpboot
the initramfs image, use bootm
to boot into it - and then use sysupgrade
on the RAM-booted initramfs image.
There are more detailed descriptions about general serial console related things, as well as more specific advice for your device in the wiki. tl-wdr3500, tl-wdr3600 and tl-wdr4300 are very, very similar in terms of hardware, so most of the advice given there applies to all of them (apart from the actual firmware images/ names, of course), e.g. https://openwrt.org/toh/tp-link/tl-wdr4300_v1#de-brick_or_oem_installation_using_the_tftp_and_rs232_serial_method does apply.
I got my hands on one and yup... it's picky. Revision 1.0 as well.
Bytes transferred = 8126464 (7c0000 hex)
original_product_id = 35000001
original_product_ver = 01
original_resvered_id = 01
recovery_product_id = 35000001
recovery_product_ver = 01
recovery_resvered_id = 00
auto update firmware: product id verify fail!
Autobooting in 1 seconds
## Booting image at 9f020000 ...
Since I had it open already, I did the initramfs install, by spamming tpl
in U-boot, then usual TFTP boot, but remembering to use 0x82000000 as load address, because the initramfs images grew recently.
Maybe upgrading to latest stock firmware beforehand (or downgrading) could help, otherwise OpenWrt's image header needs adjustment in the reserved_id
field.
Thank you so much. Sorry for the late reply as I wanted to wait for my converter to arrive. I just successfully installed open wrt using cp2102 ttl converter. I followed the guide you posted via a link and few hichups here and there and installed it on the first try. Thanks man. However there's one thing bugging me a bit. i get "Bad gateway" message (Screenshot attached) constently in any page and i have to refresh the interface to load the page again. So when i saved any setting it sometimes throw that error and lose any values I made. I Reflashed via luci firmware upgrade page but it doesn't go away. Is it normal or is there something I can do about it?
When Luci is acting up, the first thing to try is clearing the browser cache.
Tried that but it didn't make a change. Tried two browsers. all acting the same. (Edge and Firefox)
If you installed/removed some luci component it may help re-flashing sysupgrade with same version. Luci/System/Backup+flash fw
I just installed openwrt. Haven't installed/ uninstalled anything.