This repository provides a method to install OpenWrt on a factory-flashed TP-Link ER605 hardware version 2 router.
:warning: Use at your own risk. Your device may become bricked if you do something wrong or as a result of a bug.
The initramfs image is based on OpenWrt version 23.05.0. If you would like to build your own initramfs image, see the files in the image-build-files directory. The initramfs image needs to be 5,242,880 (0x00500000) bytes or smaller in size to fit into the factory kernel UBI volume.
:warning: After the install, you will NOT be able to use the recovery mode of the ER605 to flash a factory image to recover from a bad install. You will need to use ubiformat to reflash your mtd3 (firmware) partition if you ever want to restore to the default firmware.
ssh -o hostkeyalgorithms=ssh-rsa
if your ssh client complains no matching host key type
and use -o KexAlgorithms=+diffie-hellman-group1-sha1
if it complains no matching key exchange method found
. Follow the steps below for the firmware version you have installed:root
and the “root password” generated in the previous step.enable
command followed by the debug
command. When you are prompted for a password, enter the “CLI debug mode password” generated in the previous step. cd /tmp
curl -o er605v2_write_initramfs.sh https://raw.githubusercontent.com/chill1Penguin/er605v2_openwrt_install/main/er605v2_write_initramfs.sh
curl -o openwrt-initramfs-compact.bin https://raw.githubusercontent.com/chill1Penguin/er605v2_openwrt_install/main/openwrt-initramfs-compact.bin
chmod +x er605v2_write_initramfs.sh
md5sum openwrt-initramfs-compact.bin
./er605v2_write_initramfs.sh openwrt-initramfs-compact.bin