User Tools

Site Tools


Huawei HG8245H

The HG8245 is currently not officially supported!

FIXME Any text with a light background (like this text) provides guidance for creating the Details Page. When you have filled in correct/useful information (instead of any template that's there) remove the text, as well as the <WRAP> that encloses it.


Getting started with a new Device Page

  1. This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that you have to fill it with life and information.
  2. There are several "fixme" tags with text on a light background (like this text) throughout this template. As you fill in the page, remove those tags so that people can judge its completeness.
  3. When there are no more "fixme" tags left, delete this one too, along with the <WRAP> that encloses it.

Keep the articles modular

  • Please include only model specific information, omit bla,bla and put everything generic into separate articles
  • If you have no time to write certain stuff, link to generic.overview
  • basic.config should lead the way, do not explain this again
  • DO NOT provide a complete howto here! Instead groom the general HowTos.

Supported Versions

Experimental Versions

None at this time.

Hardware Highlights


Flash Layout

FIXME Find out flash layout, then add the flash layout table here (copy, paste, modify the example).

Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.

OEM easy installation

FIXME The instructions below are for Broadcom devices and only serve as an example. Remove / modify them if they do not apply to this particular device!

This section deals with

  • How you install OpenWrt from a device freshly opened
  • The steps required such as reset to factory defaults if the device has already been configured

Note: Reset router to factory defaults if it has been previously configured.

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


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.


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

cd /tmp
wget http://
sysupgrade /tmp/


If sysupgrade does not support this router, use mtd.

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

cd /tmp
wget http://
mtd write /tmp/ linux && reboot


Failsafe mode

Basic configuration

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

Specific Configuration

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Network interfaces

The default network configuration is:

Interface Name Description Default configuration
vlan0 (eth0.0) EXAMPLE LAN ports (1 to 4) EXAMPLE None
vlan1 (eth0.1) EXAMPLE WAN port EXAMPLE DHCP

Switch Ports (for VLANs)

FIXME Please fill in real values for this device, then remove the EXAMPLEs

Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.

Port Switch port
Internet (WAN) EXAMPLE 4


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.

FIXME Please fill in real values for this device, then remove the EXAMPLEs

The Huawei HG8245H has the following buttons:

EXAMPLE Reset reset
EXAMPLE Secure Easy Setup ses
EXAMPLE No buttons at all. -



Brand Huawei
Model HG8245H
Versions rev_a
Device Type other
Availability Available
Comments - general
OpenWrt Support
Supported Since Revision
Supported Since Release -
Supported Current Release -
Instruction set ARM
Sub Instruction Set ARMv7
Bootloader U-Boot
Target ¿
System-On-Chip ARM
Flash MB 128
RAM MB 128
Ethernet 100M ports 4
Ethernet Gbit ports 4
Modem No
Comments - network ports 1 Fiber connector
WLAN 2.4GHz b/g/n
WLAN 5.0GHz -
WLAN Hardware
Detachable Antennas -
Comments - WLAN
USB ports 1x 2.0
SATA ports -
Serial Yes
Comments - USB & SATA ports Two possible USB ports unpopulated
LED count 12
Button count 3
Power supply
Forum Topic URL http://¿
WikiDevi URL http://¿
OEM device homepage URL
Firmware OEM Stock URL
Firmware OpenWrt Install URL http://¿
Firmware OpenWrt Upgrade URL http://¿
Edit the underlying data View/Edit data


Insert photo of front of the casing

Insert photo of back of the casing

Backside label:
Insert photo of backside label

Opening the case

Note: This will void your warranty!

There is only one screw under the sticker at the bottom. It is around the middle of sticker, you can find the hole by tapping the sticker with your finger. Peel off the sticker carefully, and remove that screw.

There are locking ears around the top edge of the bottom case beneath the top cover. Use a credit card, or guitar pick to stress one corner of the top case while push back the two closest ears to the inside direction of the device. The first corner could be little bit tricky, but after that the rest is easy.

Main PCB:


The serial port is the J8. Pin 1 is the closest to the SoC (at the silkscreen this pin has a square outline). Pinout:

Pin Function
1 RX
2 NC/unknown
3 3V3
5 TX

Serial connection parameters
for Huawei HG8245H
EXAMPLE 115200, 8N1


The JTAG connector is the J32.

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

Bootloader Mods

Currently none.

Hardware mods

Currently none.


OEM bootlog

HuaWei StartCode 2012.02 (Sep 30 2013 - 07:10:37) NAND: Nand(Hardware): 128 MiB startcode select the uboot to load the high RAM is :8080103c startcode uboot boot count:-1030307456 use the main slave_param area from flash, the RAM data is not OK!!! Use the UbootA to load first Use the UbootA to load success U-Boot 2010.03 (R13C10 Apr 22 2014 - 18:01:00) DRAM: 128 MB Boot From NAND flash Chip Type is SD5115T NAND: Special Nand id table Version 1.23 Nand ID: 0x2C 0xF1 0x80 0x95 0x04 0x00 0x00 0x00 NAND FLASH Enter Low Driver Mode Nand(Hardware): Block:128KB Page:2KB Chip:128MB*1 OOB:64B ECC:4Bytes 128 MiB Using default environment In: serial Out: serial Err: serial PHY power down !!! [main.c__5577]::CRC:0xa3c1ca20, Magic1:0x0, Magic2:0x0, count:0, CommitedArea:0x0, Active:0x0, RunFlag:0x0 0x000000020000-0x000008000000 : "mtd=1" UBI: attaching mtd1 to ubi0 slave_paramA in flash, CRC:0xa3c1ca20, Magic1:0x0, Magic2:0x0, count:0, CommitedArea:0x0, Active:0x0, RunFlag:0x0 MAGIC1: 0x0, MAGIC2: 0x0, the magic is error!!! slave_paramB in flash, CRC:0xa3c1ca20, Magic1:0x0, Magic2:0x0, count:0, CommitedArea:0x0, Active:0x0, RunFlag:0x0 MAGIC1: 0x0, MAGIC2: 0x0, the magic is error!!! Slave struct initializtion success!! Start from main system(0x0)! CRC:0xa3c1ca20, Magic1:0x5a5a5a5a, Magic2:0xa5a5a5a5, count:0, CommitedArea:0x0, Active:0x0, RunFlag:0xffffffff Main area (A) is OK! CRC:0xe33b8857, Magic1:0x5a5a5a5a, Magic2:0xa5a5a5a5, count:0, CommitedArea:0x0, Active:0x0, RunFlag:0xffffffff Bootcmd:ubi read 0x85c00000 kernelA 0x1ee61c; bootm 0x85c00054 BootArgs:noalign mem=114M console=ttyAMA1,115200 ubi.mtd=1 root=/dev/mtdblock11 rootfstype=squashfs mtdparts=hinand:0x100000(startcode)ro,0x7f00000(ubifs),-(reserved) pcie0_sel=x1 maxcpus=0 user_debug=0x1f panic=1 U-boot Start from NORMAL Mode! ## Booting kernel from Legacy Image at 85c00054 ... Image Name: Linux- Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2024840 Bytes = 1.9 MB Load Address: 81000000 Entry Point: 81000000 Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Kernel Early-Debug on Level 0 V: 0xF1100000 P: 0x00010100 S: 0x00001000 T: 0 V: 0xF110E000 P: 0x0001010E S: 0x00001000 T: 0 V: 0xF110F000 P: 0x0001010F S: 0x00001000 T: 0 V: 0xF1104000 P: 0x00010104 S: 0x00001000 T: 0 V: 0xF1180000 P: 0x00010180 S: 0x00002000 T: 0 V: 0xF1400000 P: 0x00010400 S: 0x00001000 T: 12 early_init 72 [arch/arm/mach-sd5115h-v100f/core.c] sd5115_map_io 223 [arch/arm/mach-sd5115h-v100f/core.c] smp_init_cpus 163 [arch/arm/mach-sd5115h-v100f/platsmp.c] sd5115_gic_init_irq 88 [arch/arm/mach-sd5115h-v100f/core.c] sd5115_timer_init 471 [arch/arm/mach-sd5115h-v100f/core.c] sd5115_clocksource_init 451 [arch/arm/mach-sd5115h-v100f/core.c] twd_base : 0xF1180600 sd5115_timer_init 491 [arch/arm/mach-sd5115h-v100f/core.c] smp_prepare_cpus 174 [arch/arm/mach-sd5115h-v100f/platsmp.c] hi_kernel_wdt_init 207 [arch/arm/mach-sd5115h-v100f/hi_drv_wdt.c] sd5115_init 314 [arch/arm/mach-sd5115h-v100f/core.c] sd5115_init 320 [arch/arm/mach-sd5115h-v100f/core.c] sd5115_init 320 [arch/arm/mach-sd5115h-v100f/core.c] sd5115_init 327 [arch/arm/mach-sd5115h-v100f/core.c] sd5115_init 330 [arch/arm/mach-sd5115h-v100f/core.c] Linux version (root@vL10t193037) (gcc version 4.4.6 (GCC) ) #1 SMP Tue Apr 22 18:04:14 CST 2014 CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Machine: sd5115 Memory policy: ECC disabled, Data cache writealloc sd5115 apb bus clk is 100000000 PERCPU: Embedded 7 pages/cpu @c04d9000 s4448 r8192 d16032 u65536 pcpu-alloc: s4448 r8192 d16032 u65536 alloc=16*4096 pcpu-alloc: [0] 0 [0] 1 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 28956 Kernel command line: noalign mem=114M console=ttyAMA1,115200 ubi.mtd=1 root=/dev/mtdblock11 rootfstype=squashfs mtdparts=hinand:0x100000(startcode)ro,0x7f00000(ubifs),-(reserved) pcie0_sel=x1 maxcpus=0 user_debug=0x1f panic=1 PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 114MB = 114MB total Memory: 111636k/111636k available, 5100k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xc7800000 - 0xd0000000 ( 136 MB) lowmem : 0xc0000000 - 0xc7200000 ( 114 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc002b000 ( 140 kB) .text : 0xc002b000 - 0xc0396000 (3500 kB) .data : 0xc03aa000 - 0xc03c6640 ( 114 kB) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation. RCU-based detection of stalled CPUs is enabled. NR_IRQS:160 Calibrating delay loop... 1294.33 BogoMIPS (lpj=6471680) Security Framework initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok Init trace_clock_cyc2ns: precalc_mult = 312500, precalc_shift = 8 Brought up 1 CPUs SMP: Total of 1 processors activated (1294.33 BogoMIPS). hi_wdt: User-Mode! hi_wdt: Init sucessfull! NET: Registered protocol family 16 id:0x51152100 ACP ON! ACP bus = 200M! L2cache cache controller enabled check_res_of_trace_clock: sched_clock() high resolution Serial: dw uart driver uart:0: ttyAMA0 at MMIO 0x1010e000 (irq = 77) is a AMBA/DW uart:1: ttyAMA1 at MMIO 0x1010f000 (irq = 78) is a AMBA/DW console [ttyAMA1] enabled pcie0 sel: 0x1, pcie1 sel:0x0,pcie0 memsize:0xa00000, pcie1 memsize:0xa00000. PCIE0 Device Link Up val = 0x00008038, loop = 2. PCI: bus0: Fast back to back transfers disabled pci 0000:00:00.0: BAR 0: assigned [mem 0x40000000-0x40007fff 64bit] pci 0000:00:00.0: BAR 0: set to [mem 0x40000000-0x40007fff 64bit] (PCI address [0x40000000-0x40007fff] bio: create slab <bio-0> at 0 vgaarb: loaded usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb cfg80211: Calling CRDA to update world regulatory domain Switching to clocksource timer1 NET: Registered protocol family 2 IP route cache hash table entries: 128 (order: -3, 512 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 3, 32768 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered UDP hash table entries: 128 (order: 0, 4096 bytes) UDP-Lite hash table entries: 128 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. squashfs: version 4.0 (2009/01/31) Phillip Lougher JFFS2 version 2.2. © 2001-2006 Red Hat, Inc. msgmni has been set to 218 io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) brd: module loaded mtdoops: mtd device (mtddev=name/number) must be supplied Spi id table Version 1.22 Spi Flash Controller V300 Device Driver, Version 1.10 Special nand id table Version 1.33 Hisilicon Nand Flash Controller V301 Device Driver, Version 1.10 Nand ID: 0x2C 0xF1 0x80 0x95 0x04 0x00 0x00 0x00 Nand(Hardware): Block:128KB Page:2KB Chip:128MB OOB:64B ECC:4Bytes NAND device: Manufacturer ID: 0x2c, Chip ID: 0xf1 (Micron MT29F1G08ABAEA) NAND_ECC_NONE selected by board driver. This is not recommended !! 3 cmdlinepart partitions found on MTD device hinand Creating 3 MTD partitions on "hinand": 0x000000000000-0x000000100000 : "startcode" 0x000000100000-0x000008000000 : "ubifs" 0x000008000000-0x000008000000 : "reserved" mtd: partition "reserved" is out of reach -- disabled UBI: attaching mtd1 to ubi0 UBI: physical eraseblock size: 131072 bytes (128 KiB) UBI: logical eraseblock size: 126976 bytes UBI: smallest flash I/O unit: 2048 UBI: VID header offset: 2048 (aligned 2048) UBI: data offset: 4096 UBI: attached mtd1 to ubi0 UBI: MTD device name: "ubifs" UBI: MTD device size: 127 MiB UBI: number of good PEBs: 1016 UBI: number of bad PEBs: 0 UBI: max. allowed volumes: 128 UBI: wear-leveling threshold: 512 UBI: number of internal volumes: 1 UBI: number of user volumes: 14 UBI: available PEBs: 288 UBI: total number of reserved PEBs: 728 UBI: number of PEBs reserved for bad PEB handling: 20 UBI: max/mean erase counter: 19/12 UBI: image sequence number: 1230169803 UBI: background thread "ubi_bgt0d" started, PID 36 PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled). CSLIP: code copyright 1989 Regents of the University of California. SLIP linefill/keepalive option. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver hiusb_start_hcd sucessful! hiusb-ehci hiusb-ehci.0: HIUSB EHCI hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1 hiusb-ehci hiusb-ehci.0: irq 71, io mem 0x10a40000 hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver hiusb-ohci hiusb-ohci.0: HIUSB OHCI hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2 hiusb-ohci hiusb-ohci.0: irq 70, io mem 0x10a50000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected Netfilter messages via NETLINK v0.30. ip_tables: (C) 2000-2006 Netfilter Core Team arp_tables: (C) 2002 David S. Miller TCP cubic registered NET: Registered protocol family 17 VFS: Mounted root (squashfs filesystem) readonly on device 31:11. Freeing init memory: 140K -=# DOPRA LINUX 1.0 #=- -=# EchoLife WAP 0.1 #=- -=# Huawei Technologies Co., Ltd #=- mount file system Loading the kernel modules: Loading module: rng-core Loading module: nf_conntrack nf_conntrack version 0.5.0 (4000 buckets, 16000 max) CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or sysctl net.netfilter.nf_conntrack_acct=1 to enable it. Loading module: xt_mark Loading module: xt_connmark Loading module: xt_MARK Loading module: xt_limit Loading module: xt_state Loading module: xt_tcpmss Loading module: nf_nat Loading module: ipt_MASQUERADE Loading module: ipt_REDIRECT Loading module: ipt_NETMAP Loading module: nf_conntrack_ipv4.ko Loading module: iptable_nat.ko Making device instances: Setting console log message level: Setting hostname: Settingup the sysctl configurations: Setting up interface lo: Running local startup scripts. ******************************************* --== Welcome To IAS WAP ==-- --== Huawei Technologies Co., Ltd. ==-- ******************************************* IAS WAP Ver:V800R013C10SPC163B001 IAS WAP Timestamp:2014/04/22 14:48:16 ******************************************* Start init IAS WAP basic module .... current lastword info:Add=0xc7b01000;max_num=300;Add1=0xc7b01000;Add2=0xc7b06000;Add3=0xc7b0b000; Log hem magic invalid! Init IAS WAP basic module done! soft lockup args:snap=150; release=50; dump flag=1; UBIFS error (pid 103): mount_ubifs: fenghe.linux4.3 : space_fixup = 0 Set kmsgread process pid to:93; Rootfs time stamp:2014-04-22_18:11:03 SVN label(ont):User init start...... Loading the SD5115V100 modules: SYSCTL module is installed PIE module is installed GPIO module is installed SPI module is installed I2C module is installed DP module is installed MDIO module is installed TIMER module is installed UART module is installed HW module is installed ifconfig eth0 hw ether 44:55:B1:DB:DC:93 Loading the EchoLife WAP modules: LDSP COMMON For LDSP Install Successfully... GPIO For LDSP Install Successfully... HIGHWAY For LDSP Install Successfully... ------ SOC is 5115 T PILOT ------ <ldsp>board version is 6 <ldsp>pcb version is 1 <ldsp>orig board version is 6 CHIPADP-SD5115 BASIC For LDSP Install Successfully... CHIPADP-SD5115 EXT For LDSP Install Successfully... I2C For LDSP Install Successfully... LSW L2 For LDSP Install Successfully... LSW L3 For LDSP Install Successfully... DEV For LDSP Install Successfully... [DM]:ae_chip[0]=6,ae_chip[1]=255,ae_chip[2]=255,ae_chip[3]=0 [DM]:board_ver=6,pcb_ver=1 hw_dm_init_data successfully... hw_dm_pdt_init successfully... hw_feature_init begin... hw_feature_proc_init begin... hw_feature_data_init begin... ac_cfgpath is not null,acTmpBuf=/etc/wap/customize/dthu_ft.cfg.....! ac_hard_cfgpath is not null, acTmpBuf=/mnt/jffs2/hw_hardinfo_feature.bak.....! ac_cfgpath is not null,acTmpBuf=/etc/wap/customize/spec_dthu.cfg.....! ac_hard_cfgpath is not null, acTmpBuf=/mnt/jffs2/hw_hardinfo_spec.bak.....! hw_feature_init Successfully... pots_num=2 usb_num=1 hw_route=1 l3_ex=1 ipv6=1 Read MemInfo Des: 1117 SPI For LDSP Install Successfully... UART For LDSP Install Successfully... BATTERY For LDSP Install Successfully... OPTIC For LDSP In

OpenWrt bootlog




toh/huawei/huawei_hg8245h.txt · Last modified: 2015/12/16 13:26 by tmomas