User Tools

Site Tools


toh:hiwifi:gee:hiwifi_gee_hc5661

HiWiFi/Gee HC5661/HC5761/HC5861

Supported Versions

Hardware Highlights

ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSB
HC5661MediaTek MT7620A58016128integratedb/g/n-5-No-
HC5761MediaTek MT7620A58016128¿¿¿¿¿¿¿
HC5861MediaTek MT7620A58016128¿¿¿¿¿¿¿

Installation

Generally speaking. there is NO easy way to install OpenWRT on HiWiFi 5661/5761 devices manufactured after middle 2014, since then HiWiFi locked the U-Boot to accept factory firmware images only. To determine whether the U-boot is locked, look at the stock firmware version number.

VersionStatus
below 0.9005 Unlocked
0.9005 - 0.9006 Locked but can workaround
0.9007 + Locked

For unlocked u-boot, flash the firmware via tftp.

For versions between 0.9005 and 0.9006, download http://www.iptvfans.cn/hiwifi/HC5661-9005-downgrade-ssh.zip, unpack and flash the image via tftp. This is a factory image with SSH enabled, login with root:admin and flash openwrt with sysupgrade.

For locked u-boot, you have to follow HiWiFi's official unlocking procedure. Unfortunately, most steps require some knowledge about Chinese language..

If you live in China, with a Chinese cellphone number.

  1. Register a HiWiFi account at www.hiwifi.com, and add your cellphone number to the account
  2. Bind your device to the account, login into app.hiwifi.com. At the bottom of the router information page, there is an "Advanced" section, clicked and choose to enable "Developer Mode"
  3. Follow the instructions
  4. When "Developer Mode" is enabled, go to the app market, there is now a "Developer Mode" app in the marked, install it, and you get a working ssh on 1022 port

Flash Layout

0x000000000000-0x000000030000 : "u-boot"
0x000000030000-0x000000040000 : "hw_panic"
0x000000040000-0x000000050000 : "Factory"
0x000000050000-0x0000001b0000 : "kernel"
0x0000001b0000-0x000000fd0000 : "rootfs"
0x000000ce0000-0x000000fd0000 : "rootfs_data"
0x000000fd0000-0x000000fe0000 : "hwf_config"
0x000000fe0000-0x000000ff0000 : "bdinfo"
0x000000ff0000-0x000001000000 : "backup"
0x000000050000-0x000000fd0000 : "firmware"

OEM installation using the TFTP method

Specific values needed for tftp

FIXME Enter values for "FILL-IN" below

Bootloader tftp server IPv4 address FILL-IN
Bootloader MAC address (special) FILL-IN
Firmware tftp image Latest OpenWrt release (NOTE: Name must contain "tftp")
TFTP transfer window FILL-IN seconds
TFTP window start approximately FILL-IN seconds after power on
TFTP client required IP address FILL-IN

Upgrading OpenWrt

generic.sysupgrade

FIXME These are generic instructions. Update with your router's specifics.

LuCI Web Upgrade Process

Terminal Upgrade Process

If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:

  • sysupgrade
  • mtd

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

  • Login as root via SSH on 192.168.1.1, then enter the following commands:

cd /tmp
wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
sysupgrade /tmp/xxx.abc

mtd

If sysupgrade does not support this router, use mtd.

  • Login as root via SSH on 192.168.1.1, then enter the following commands:

cd /tmp
wget http://http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Debricking

Failsafe mode

Basic configuration

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Specific Configuration

Network interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & WiFi 192.168.1.1/24
vlan0 (eth0.1) LAN ports (1 to 4) None
vlan1 (eth0.2) WAN port DHCP
wlan0 WiFi Disabled

Switch Ports (for VLANs)

Note: OpenWRT's support for MT762X switch is incomplete, tagging doesn't work, the ports are always in access mode.

Port Switch port
Internet (WAN) 1
LAN 1 2
LAN 2 3
LAN 3 4
LAN 4 5
CPU port 0

Buttons

hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.

The HiWiFi/Gee HC5661 has the following buttons:

BUTTON Event
Reset reset

Hardware

Info

General
Brand HiWiFi/Gee
Model HC5661
Versions
Device Type WiFi Router
Availability Available
Comments - general
OpenWrt Support
Supported Since Revision https://dev.openwrt.org/changeset/47113
Supported Since Release ¿
Supported Current Release DD trunk
Unsupported
Hardware
Instruction set MIPS32
Sub Instruction Set MIPS32 24K/E series
Bootloader U-Boot
Target ramips
System-On-Chip MediaTek MT7620A
CPU MHz 580
Flash MB 16
RAM MB 128
Network
Ethernet 100M ports 5
Ethernet Gbit ports -
Switch
Modem No
VLAN Yes
Comments - network ports
Wireless
WLAN 2.4GHz b/g/n
WLAN 5.0GHz -
WLAN Hardware
Detachable Antennas -
Comments - WLAN
Interfaces
USB ports -
SATA ports -
Serial Yes
JTAG No
Comments - USB & SATA ports
Misc
LED count 3
Button count 1
Power supply
Links
Forum Topic URL
WikiDevi URL
OEM device homepage URL http://www.hiwifi.com/j1s
Firmware OEM Stock URL
Firmware OpenWrt Install URL
Firmware OpenWrt Upgrade URL https://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/openwrt-ramips-mt7620-hc5661-squashfs-sysupgrade.bin
Edit the underlying data View/Edit data

Photos

Front:
Insert photo of front of the casing

Back:
Insert photo of back of the casing

Backside label:
Insert photo of backside label

Opening the case

Note: This will void your warranty!

FIXME Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, …

  • To remove the cover and open the device, do a/b/c

Main PCB:
Insert photo of PCB

Serial

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

FIXME Replace EXAMPLE by real values.

Serial connection parameters
for HiWiFi/Gee HC5661
EXAMPLE 115200, 8N1

JTAG

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port

Bootloader Mods

Hardware mods

NOTE: As a beginner, you really should inform yourself first about soldering in general, and then obtain some practical experience, before doing anything to your device that you'll later regret!

Bootlogs

OEM bootlog

COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE


OpenWrt bootlog

COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING


Notes

Space for additional notes, links to forum threads or other resources, …

Tags

How to add tags

FIXME Adjust the list of tags below to this device, then remove this fixme.

toh/hiwifi/gee/hiwifi_gee_hc5661.txt · Last modified: 2016/02/07 01:01 by tmomas