Skip to content

D-Link DAP-1360 D1 3.0.0 stock firmware

Pre-release
Pre-release

Choose a tag to compare

@kiper292 kiper292 released this 04 Jul 12:03
· 18 commits to master since this release

1. Stock Firmware Analysis

Firmware File

  • File: 2017.10.13-15.40_DAP_1360D1_3.0.0_release.bin
  • Size: 3,268,486 bytes (3.12 MB)
  • Format: Realtek proprietary (cr62 header)

Firmware Structure

Offset Size Content
0x000000 0x777 Boot header (cr62 format)
0x000777 varies LZMA compressed kernel
0x090000 varies Fake SquashFS (padding)
0x100000 2,219,910 Real SquashFS rootfs

Flash Layout (from /proc/mtd)

Partition Offset Size Description
boot 0x000000 64 KB RTL-Boot bootloader
MAC 0x010000 64 KB MAC address storage
config 0x020000 64 KB NVRAM config
kernel 0x030000 1 MB Linux kernel
rootfs 0x130000 2.8 MB SquashFS rootfs
Linux 0x030000 3.8 MB Combined kernel+rootfs
ALL 0x000000 4 MB Full flash

2. Stock Rootfs Contents

VERSION

NAME: DAP_1360D1
VERSION: 3.0.0
SYSBUILDTIME: Fri Oct 13 15:48:58 MSK 2017
VENDOR: D-Link Russia
BUGS: support@dlink.ru

Kernel Modules (extracted from rootfs)

  • gpiom.ko (38,960 bytes) — GPIO manager for DAP_1360D1 profile
  • nf_conntrack_rtsp.ko (10,840 bytes)
  • nf_conntrack_sip.ko (24,632 bytes)
  • nf_nat_rtsp.ko (8,240 bytes)
  • nf_nat_sip.ko (11,160 bytes)

WiFi Driver Status

  • RTL8192CD driver is COMPILED INTO THE KERNEL (not a module)
  • No separate WiFi .ko file exists
  • WiFi driver is proprietary Realtek binary (not open source)

Key Libraries

  • libdhal.so (459,160 bytes) — D-Link HAL
  • libresident_cli.so (69,552 bytes) — D-Link management
  • libnvram.so (4,420 bytes) — NVRAM access
  • libiw.so.29 (32,356 bytes) — Wireless extensions
  • libcivetweb.so (83,632 bytes) — HTTP server
  • libaxtls.so.1.2 (84,796 bytes) — TLS library
  • libjansson.so.4.9.0 (52,252 bytes) — JSON library
  • libzebra.so.0.0.0 (275,136 bytes) — Routing daemon

Key Binaries (from rootfs)

  • /bin/busybox (419,608 bytes) — BusyBox v1.26.2
  • /sbin/init — System init
  • /usr/sbin/anweb — D-Link web server
  • /usr/sbin/resident — D-Link management daemon
  • /usr/sbin/iwcontrol — Wireless control
  • /usr/sbin/locdns — Local DNS
  • /usr/sbin/tinysvcmdns — mDNS

Flash Partitions for DAP-1360

bootloader: 0x000000-0x010000 (64KB, ro)
mac: 0x010000-0x020000 (64KB)
config: 0x020000-0x030000 (64KB)
kernel: 0x030000-0x130000 (1MB)
rootfs: 0x130000-0x400000 (2.8MB)