dc35956 / gk7102-hack

Hack for Goke GK7102 Cloud IP Cameras
104 stars 19 forks source link

Does it support P05-7-C camera ? #5

Open krzysztofkuczek opened 3 years ago

krzysztofkuczek commented 3 years ago

Hi, I wonder if chip camera bough on banggood.com is supported by your firmware hack? YCC365 app reports model: P05-7-C and firmware version 5.5.3.0602 I can use ONVIF Device manager, but only for live video and control camera gimbal. nmap reports following ports open PORT STATE SERVICE VERSION 80/tcp open http Ginatex-HTTPServer | http-methods: |_ Supported Methods: GET HEAD OPTIONS |_http-server-header: Ginatex-HTTPServer 554/tcp open rtsp? 3201/tcp open cpq-tasksmart? 6670/tcp open irc? |_irc-info: Unable to open connection 7101/tcp open elcn? 7103/tcp open unknown 8001/tcp open vcom-tunnel?

but there is no way to use web bowers to access any settings ... it's redirect to index.asp which is not loaded.. The internals look like following IMG_20201226_124437 IMG_20201226_124615 IMG_20201226_124650_1

Thank you in advance Kris

tekevics commented 3 years ago

Hi,

Hopefully waiting an answer. I have same!

thx

BeryBurnout commented 3 years ago

i´m interested too

r00tl34k commented 3 years ago

Interested too :)

Ty.

lukyrys commented 3 years ago

any update?

DrFuzzy commented 2 years ago

I am interested too!

dc35956 commented 1 year ago

I haven't tested it on this camera. There may be differences.

From what @krzysztofkuczek showed, both cameras use the same chip, so it will probably work. However, some modifications may be required.

peace1313 commented 1 year ago

does anyone try ?

ambamo commented 1 year ago

my model P05-7 work with this hack

ycc365 model


[root@localhost:/root]# cat /home/hardinfo.bin
<?xml version="1.0" encoding="UTF-8"?>
<DeviceInfo version="1.0">
<DeviceClass>0</DeviceClass>
<OemCode>0</OemCode>
<BoardType>1007</BoardType>
<FirmwareIdent>eyeplus_ipc_gks_001</FirmwareIdent>
<Manufacturer>RS</Manufacturer>
<Model>GK7102</Model>
<GPIO>
<BoardReset>36_0x00000000_0x0_0</BoardReset>
<SpeakerCtrl>49_0x00000000_0x0_0</SpeakerCtrl>
<IrCut1B>32_0x00000000_0x0_1</IrCut1B>
<IrCut2B>52_0x00000000_0x0_1</IrCut2B>
<IrFeedback>0</IrFeedback>
<IrCtrl>31_0x00000000_0x0_1</IrCtrl>
<WhiteLight>30_0x00000000_0x0_1</WhiteLight>
</GPIO>

[root@localhost:/root]# cat /proc/cpuinfo
Processor       : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 597.60
Features        : swp half fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : Goke IPC Board
Revision        : 0000
Serial          : 0000000000000000
[root@localhost:/root]# cat /proc/meminfo
MemTotal:          31844 kB
MemFree:            1012 kB
Buffers:            3156 kB
Cached:             9088 kB
SwapCached:            0 kB
Active:            10724 kB
Inactive:           6272 kB
Active(anon):       4864 kB
Inactive(anon):      268 kB
Active(file):       5860 kB
Inactive(file):     6004 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 4 kB
Writeback:             0 kB
AnonPages:          4768 kB
Mapped:             4216 kB
Shmem:               380 kB
Slab:               9796 kB
SReclaimable:       1784 kB
SUnreclaim:         8012 kB
KernelStack:         736 kB
PageTables:          444 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       15920 kB
Committed_AS:     168608 kB
VmallocTotal:    2039808 kB
VmallocUsed:       63408 kB
VmallocChunk:    1005356 kB
[root@localhost:/root]# cat /etc/passwd
root:yi.LoBvyUCv0k:0:0:root:/root/:/bin/sh
[root@localhost:/root]# cat /home/cloud.ini

[SERVERINFO]
server_name=arcsoft.com
xmpp_server_ip=xmpp.icloseli.com.
relay_server_ip=relayus-w.arcsoftcloud.com
auto_update_server_ip=update.icloseli.com.
lecam_purchase_server_ip=esd.icloseli.com.
upns_pnserver=upns.icloseli.com.
upns_xmpp_name=arcsoft.com
upns_xmpp_ip=xmpp.icloseli.com.
argus_api_server_ip=argus.icloseli.com.
argus_server_ip=argus.icloseli.com.
relay_server_domain_name=relay.icloseli.com.
stun_server_ip=stun.closeli.com.
cloud_auth_server_name=api.icloseli.com.
bell_server_ip=
return_server_ip=relaycn.closeli.com

[root@localhost:/root]# ls /tmp | grep -F 3.
3.4.2.0724
[root@localhost:/root]# uname -a
Linux localhost 3.4.43-gk #46 PREEMPT Wed Jun 26 13:47:34 CST 2019 armv6l GNU/Linux
[root@localhost:/root]# cat /etc/issue
Welcome to Goke Linux
[root@localhost:/root]#

nmap -p- 192.168.0.49
Starting Nmap 7.93 ( https://nmap.org ) at 2023-08-15 15:11 CEST
Nmap scan report for 192.168.0.49
Host is up (0.052s latency).
Not shown: 65522 closed tcp ports (conn-refused)
PORT     STATE SERVICE
21/tcp   open  ftp
22/tcp   open  ssh
23/tcp   open  telnet
80/tcp   open  http
554/tcp  open  rtsp
843/tcp  open  unknown
3201/tcp open  cpq-tasksmart
5050/tcp open  mmcc
6670/tcp open  irc
7101/tcp open  elcn
7103/tcp open  unknown
8001/tcp open  vcom-tunnel
8080/tcp open  http-proxy

Nmap done: 1 IP address (1 host up) scanned in 21.91 seconds

my camera keeps losing wifi connection. I added a monitoring script that checks if the router/AP is accessible from the camera. I added this script to the /home/start.sh script

.....
export PATH=/home/ap:/home/ppp:/$PATH
/home/rsyscall.goke
/home/auto_test.sh &
/home/reboot.sh &
....

reboot.sh

#!/bin/sh
address=192.168.0.1
internet=1             # default to internet is up

while true;
do
    # %a  Day of Week, textual
    # %b  Month, textual, abbreviated
    # %d  Day, numeric
    # %r  Timestamp AM/PM
    echo -n $(date +"%a, %b %d, %r") "-- " 
    ping -c 1 ${address} > /tmp/ping.$
    if [[ $? -ne 0 ]]; then
        if [[ ${internet} -eq 1 ]]; then   # edge trigger -- was up now down

            echo -n "Internet DOWN"
        else
            echo -n "... still down reboot ipcam"
            reboot
        fi
        internet=0
    else
        if [[ ${internet} -eq 0 ]]; then     # edge trigger -- was down now up
            echo -n  "Internet back up"
        fi
        internet=1
    fi   
    cat /tmp/ping.$ | head -2 | tail -1
    sleep 60 ; 
done

I also replaced from the Voice.tgz file, some wav file with white sounds , to avoid hearing the camera in the middle of the night when the camera restart

kismaszek commented 6 months ago

How can I solve this operation? I tried with PUTTY but it couldn't connect on any of the ports? Or should it be solved with a serial connection?