ant-thomas / zsgx1hacks

Hacks for ZS-GX1 IP Camera and various Goke GK7102 based IP Cameras
368 stars 101 forks source link

Wanscam K* firmware on INQMEGA HIP291 #129

Open slydiman opened 5 years ago

slydiman commented 5 years ago

FYI We have just released the patch of the latest Wanscam K21 firmware 16.06.00.52 to use it on the camera INQMEGA IL-HIP291G-2M-AI with the sensor gc2033. https://4pda.ru/forum/index.php?showtopic=928641&st=900#entry89274008 Note the description is Russian. We have patched few drivers to work on GK7102 instead of GK7102S and gpio pins map inside the main app. It seems that the firmware Wanscam K series has been developed by ZSCam company. It works with SAP HD app and clones (YSee, WISE VR, Eyedot). It has very good and stable Onvif, RTSP and Web UI implementation. We have added telnet, ftp and other tools. We can help to adapt this firmware for other GK7102 cameras.

maartenjd commented 2 years ago

@csurf

I downloaded (arbitrarily) GK7102C-AHX_V13.1.41.15.3-20200414(1080P.8M).pkg and did a first binwalk on it. That resulted in:

DECIMAL HEXADECIMAL DESCRIPTION 512 0x200 Squashfs filesystem, little endian, version 4.0, compression:xz, size: 2655800 bytes, 280 inodes, blocksize: 262144 bytes, created: 2020-04-11 09:14:24

So, you could try to mount the pkg as a squashfs in linux and then see what is in it.

Update: For what it is worth: mounting the image did not work. However unpacking it with binwalk -e on the .pkg-file gave a root filesystem (see https://www.dropbox.com/s/vchy1ov8px3lmve/squashfs-root.zip?dl=0).

It seems that these packages do not contain fw-files (entire mtd-partitions) but just files that are written over the filesystem. So, no U-boot partitions in there.

easycome1981 commented 3 months ago

Can someone help me with a .bin tab for my ST-291-2M-AI camera, it uses GK7102S sensor 2053 Thank you.