Giter Site home page Giter Site logo

jvs-h411-repair's Introduction

JVS-H411

Repair instruction for IP Camera JVS-H411 (HZD-600DM)

Steps for reflashing firmware

  • Write firmware file IPC_flash_up.bin in root of the sd-card
  • Insert sd-card in the camera and reboot (power off/on)
  • Wait until camera boot up

If all done successfully you can connect to camera via browser by camera IP.

Telnet connection

For the telnet connection try to use login root and password jvbzd.

Edit appfs partition

  • Insert sdcard and restar camera
  • Connect via telnet
  • Create mount point mkdir /tmp/sdcard
  • Mount sdcard mount /dev/mmcblock0p1 /tmp/sdcard
  • Check appfs mtd partition cat /proc/mtd
  • Create appfs image dd if=/dev/mtdblockN of=/tmp/sdcard/appfs.sqsh
  • Unmount sdcard umount /tmp/sdcard
  • Copy appfs image to the host system
  • Decompress image # unsquashfs appfs.sqsh
  • Edit what you want in ./squashfs-root
  • Check the squashfs options (compression type, block size) of the original image unsquashfs -s appfs.sqsh
  • Create new image # mksquashfs ./squashfs-root ./appfs-new.sqsh -comp TYPE -b SIZE
  • Check partition size stat appfs.sqsh (ORIGINAL_SIZE)
  • Check new image size stat appfs-new.sqsh (NEW_IMAGE_SIZE)
  • Important! Verify that the new image size is less then the original size
  • Calculate padding file size echo $((ORIGINAL_SIZE - NEW_IMAGE_SIZE)) (PADDING_SIZE)
  • Create padding file dd if=/dev/zero ibs=PADDING_SIZE count=1 | tr "\000" "\377" > padding.bin, where tr used to replace 0x00 to 0xFF
  • Merge the new image file with padding file cat padding >> appfs-new.sqsh
  • Copy new padded image to sdcard
  • Repeat 1-4 steps (mount sdcard)
  • Write new appfs image dd if=/tmp/sdcard/appfs-new.sqsh of=/dev/mtdblockN bs=64K
  • Unmount sdcard
  • Reboot device

Web commands

/cgi-bin/jvsweb.cgi?username=admin&password=admin&cmd=webhelp

Resources

Jovision's firmwares

Update source mirror#1

Update source mirror#2

Update source mirror#3

jvs-h411-repair's People

Contributors

eddig avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.