2K, Wi-Fi 2.4 + 5 GHz, mains power, price at time of writing. Notes that
only 2.4 GHz has been confirmed with this firmware.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LSC Smart Connect outdoor camera (Action article 3225728), with a warning
to check the board since retailers change hardware under the same name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GUIDE.md: step-by-step for others (compatibility check, backup, build,
four install methods, settings, recording, Wi-Fi, updates, restore,
troubleshooting). IMAGE_CONTENTS.md: partition-by-partition audit of what
the build changes and where every input comes from.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
variants/rtsp.sh assembles the complete firmware: DTB with a 24 MB ION
heap for 2304x1296, Tuya-free APP with the SDK runtime, rebuilt RTSP
server, dropbear, OTA, Wi-Fi and camcfg tools, DATA partition, patched
env, and stages full.bin, partitions and both SD install sets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stock U-Boot reads ht_recover_fw.conf from the SD card at every boot
(format reverse-engineered from the binary). The installer runs from a
temporary rootfs while the original APP is intact, dumps the full 8 MiB
to the card, then installs and restores the stock rootfs; ENV is written
last so every earlier step is restartable.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
env-patch.py edits a U-Boot env image (CRC32 + NUL-separated vars), used
to bake mtdparts, the SD-update bootcmd and the build id into full.bin.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Validates values, stores only overrides in /data/camcfg.conf (survives
firmware updates), merges them over the image defaults, keeps ONVIF in
sync and restarts the stream.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wifi-set changes the network without reflashing (hex-encoded SSID),
wifi-connect tries new -> previous -> build default, and a switch that
fails reverts automatically.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
build-deps.sh builds mtdflash and dropbear (static musl) and the patched
RTSP server (uClibc-ng 1.0.30, ABI-compatible with the camera's 1.0.31).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Patch for the SDK RTSP sample: [auth]/[server] in rtsp.ini (Digest auth
is built into librtsp_server), configurable enc_level, larger ring buffer
for 8 Mbps. ak_record.c adds continuous + motion recording to MPEG-TS with
configurable split, pre-roll and quotas, using the hardware motion grid.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mtdflash: static, verified MTD writer (per-block skip/erase/write/read-back,
validates all images before writing, refuses U-Boot/env without -f).
fwupdate + ota.sh flash a running camera over SSH; make-sd-update.sh builds
a camupdate.env that the new bootcmd applies from the SD card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fetch-deps.sh downloads the Anyka SDK runtime and RTSP sample
(Link-WQS/ANYKA_130L_SDK), the matching venc kernel modules (OpenIPC) and
Bootlin toolchains, all pinned to commits and checked against
deps.sha256. Nothing vendor-owned is stored in the repository.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Strips the Tuya stack from APP and repartitions via mtdparts (the DTB has
no partition table), adding a jffs2 DATA partition for settings and the
overlay.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stock layout, Tuya daemons disabled, telnetd + serial root shell,
Wi-Fi auto-join and a bind-mount overlay so any file can be made
writable.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
split.sh carves a dump into partitions using a layout file, build-image.sh
reassembles them (reproduces the stock dump byte-for-byte), repack-fs.sh
rebuilds squashfs/jffs2 partitions, extract-src.sh unpacks the stock
APP/rootfs from the user's own dump.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Notes on the AK3918AV130/SC3332 Tuya camera derived from a flash dump:
SoC, U-Boot, 8 MiB NOR layout, the three anti-root locks and how to get a
root shell. Boot logs are redacted (MAC addresses, device-derived AP name).
The dump itself is never committed (.gitignore): CONFIG holds per-device
Tuya keys.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>