It is possible to install OpenWrt from the web interface without opening the device. This requires some manual work, but has proven to work fine.
What you will need:
Steps to install OpenWrt:
python enable_sshd.py configure.binThis enables access to SSH on the HH40V. The installation now continues via SSH/SCP.
scp -O -o HostKeyAlgorithms=ssh-rsa -o KexAlgorithms=diffie-hellman-group1-sha1 -o UserKnownHostsFile=/dev/null openwrt-ath79-generic-alcatel_hh40v-squashfs-factory.bin root@192.168.1.1:/tmpscp -O -o HostKeyAlgorithms=ssh-rsa -o KexAlgorithms=diffie-hellman-group1-sha1 -o UserKnownHostsFile=/dev/null upgrade.sh root@192.168.1.1:/tmpchmod +x /tmp/upgrade.sh/tmp/upgrade.sh /tmp/openwrt-ath79-generic-alcatel_hh40v-squashfs-factory.binContents of /tmp/upgrade.sh
#!/bin/sh IMAGE_NAME="$1" if [ ! -e ${IMAGE_NAME} ]; then echo "Image file not found: ${IMAGE_NAME}" exit 1 fi . /lib/upgrade/common.sh fw_setenv bootcmd "bootm 0x9f150000" kill_remaining TERM sleep 3 kill_remaining KILL run_ramfs mtd write ${IMAGE_NAME} firmware sleep 2 reboot -f
carry out the following points after you have installed openwrt
1. find the interface name for the RNDIS-dongle
dmesg | grep RNDIS
[ 13.125657] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-1b000000.usb-1, RNDIS device, 1a:1a:1a:1a:1a:1c
2. go to OpenWrt-Web-Gui
https://192.168.1.1/cgi-bin/luci/admin/network/network
2.1. setup interface: wan
Protocol: DHCP client
Device: usb0
2.2 Save and Apply
To restore stock, you need a system image. Unfortunately, you can't backup without disassembling and soldering serial headers. However, a firmware upgrade can be downloaded from https://alcatelfirmware.com/alcatel-onetouch-hh40v. Look for the file Firmware/DownloadImage/uprade_hh40v_all.tar.gz. Inside, you will find the file “sysupgrade/firmware-system.bin”. This firmware-system.bin can be installed via TFTP recovery. The TFTP recovery also resets any U-Boot variables so it will boot normally.
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port
Until the media namespace is created, the following website contains more precise description: https://www.aboehler.at/doku/doku.php/projects:hh40v