Bricked HW0036 IP camera

Mikyboy

New Member
Jul 23, 2017
13
9
3
37
#45
Thanks.
Can you send me also the upgrade tool?
Hi my friend,

I don't have it because isn't necessary. You only need to copy all content as is to a SD card and put then on a IP camera.

Than you should access the we b interface and load too the same firmware copied to SD Card. It will start the upgrade process and the camera will restart when finished the upgrade process.

Thanks and regards
 
Likes: shimtey

LO1970

New Member
Jan 8, 2018
1
0
1
48
#46
Hi my friend,

I don't have it because isn't necessary. You only need to copy all content as is to a SD card and put then on a IP camera.

Than you should access the we b interface and load too the same firmware copied to SD Card. It will start the upgrade process and the camera will restart when finished the upgrade process.

Thanks and regards
Hi,
I am not getting the two bin files, you can send them to my email...(antonioluisoliveira@sapo.pt).

Greetings,
 

jaseduar10

New Member
Aug 4, 2018
2
0
1
28
#53
Does anyone can help me?
I am not sure how to use tera term to install the noboot.bin in my hw0036 camera , i already solder the wires to gnd tx and rx and i am using a ftdi to programmer.

20180806_102946.jpg
1.jpg
2.jpg


When i use transfer -kermit-send i get this windows
3.jpg

But nothing happens but i use Send file i get this

4.jpg


but i dont see that my camera start after finish, so i dont know if i am doing right , any help will be welcome :)
 

Mikyboy

New Member
Jul 23, 2017
13
9
3
37
#54
Does anyone can help me?
I am not sure how to use tera term to install the noboot.bin in my hw0036 camera , i already solder the wires to gnd tx and rx and i am using a ftdi to programmer.

View attachment 861
View attachment 860
View attachment 862


When i use transfer -kermit-send i get this windows
View attachment 863

But nothing happens but i use Send file i get this

View attachment 864


but i dont see that my camera start after finish, so i dont know if i am doing right , any help will be welcome :)

Hi my friend,

You have to use this commands below using the teraterm command line:

isvp# sf probe
the manufacturer c2
SF: Detected MX25L64**E

isvp# sf erase 0x040000 0x7c0000
SF: 8126464 bytes @ 0x40000 Erased: OK

isvp# loadb
## Ready for binary (kermit) download to 0x82000000 at 115200 bps...
## Total Size = 0x007c0000 = 8126464 Bytes
## Start Addr = 0x82000000

isvp# sf write 0x82000000 0x040000 0x7c0000
SF: 8126464 bytes @ 0x40000 Written: OK

isvp# env default -f -a
## Resetting to default environment

isvp# setenv bootargs console=ttyS1,115200n8 mem=39M@0x0 ispmem=5M@0x2700000 rmem=20M@0x2C00000 init/linuxrc rootfstype=squashfs init=/linuxrc rootfstype=squashfs root=/dev/mtdblock2 rw mtdparts=jz_sfc:256k(boot),2176k(kernel),3584k(rootfs),2176k(system) quiet

isvp# saveenv
 
Aug 4, 2018
2
0
1
28
#55
Hi my friend,

You have to use this commands below using the teraterm command line:

isvp# sf probe
the manufacturer c2
SF: Detected MX25L64**E

isvp# sf erase 0x040000 0x7c0000
SF: 8126464 bytes @ 0x40000 Erased: OK

isvp# loadb
## Ready for binary (kermit) download to 0x82000000 at 115200 bps...
## Total Size = 0x007c0000 = 8126464 Bytes
## Start Addr = 0x82000000

isvp# sf write 0x82000000 0x040000 0x7c0000
SF: 8126464 bytes @ 0x40000 Written: OK

isvp# env default -f -a
## Resetting to default environment

isvp# setenv bootargs console=ttyS1,115200n8 mem=39M@0x0 ispmem=5M@0x2700000 rmem=20M@0x2C00000 init/linuxrc rootfstype=squashfs init=/linuxrc rootfstype=squashfs root=/dev/mtdblock2 rw mtdparts=jz_sfc:256k(boot),2176k(kernel),3584k(rootfs),2176k(system) quiet

isvp# saveenv

Dear friend after send the noboot.bin file the camera start with the "welcome sound" and make the movements but i cant find it in my e-view7 app , any tip how to connect it to my wifi ?
 

svarc

New Member
Nov 6, 2015
17
5
3
#56
@Mikyboy bravo man :)
i followed your steps and i managed to fix my camera but now i am unable to connect to it or set it up using E-View7... it starts normally, scares the s** out of me with that "Welcome to use", then turns PTZ to check its borders and then i cant set it up to connect on my wifi... i cant set it up with any option of E-View7 even with qr code scanning...
 

svarc

New Member
Nov 6, 2015
17
5
3
#57
connected to the serial again on the camera and i get this now:

Code:
U-Boot SPL 2013.07 (Jun 13 2016 - 21:30:48)
pll_init:347
l2cache_clk = 450000000
pll_cfg.pdiv = 8, pll_cfg.h2div = 4, pll_cfg.h0div = 4, pll_cfg.cdiv = 1, pll_cf                                                                                                                                                             g.l2div = 2
nf=36 nr = 1 od0 = 1 od1 = 1
cppcr is 02404900
CPM_CPAPCR 0470890d
nf=50 nr = 1 od0 = 1 od1 = 1
cppcr is 03204900
CPM_CPMPCR 0320490d
cppcr 0x9a7b5510
apll_freq 860160000
mpll_freq 1200000000
ddr sel mpll, cpu sel apll
ddrfreq 400000000
cclk  860160000
l2clk 430080000
h0clk 300000000
h2clk 300000000
pclk  150000000
CPM_DDRCDR(0000002c) = a0000002


U-Boot 2013.07 (Jun 13 2016 - 21:30:48)

Board: ISVP (Ingenic XBurst T10 SoC)
DRAM:  64 MiB
Top of RAM usable for U-Boot at: 84000000
Reserving 407k for U-Boot at: 83f98000
Reserving 32784k for malloc() at: 81f94000
Reserving 32 Bytes for Board Info at: 81f93fe0
Reserving 124 Bytes for Global Data at: 81f93f64
Reserving 128k for boot params() at: 81f73f64
Stack Pointer at: 81f73f48
Now running in RAM - U-Boot at: 83f98000
MMC:
the manufacturer f8
SF: Detected FM25Q64

In:    serial
Out:   serial
Err:   serial
Net:   CPM_MACCDR(54) = a0000017
Jz4775-9161
Hit any key to stop autoboot:  0
run_command_list
the manufacturer f8
SF: Detected FM25Q64

SF: 2883584 bytes @ 0x40000 Read: OK
## Booting kernel from Legacy Image at 80600000 ...
   Image Name:   Linux-3.10.14
   Image Type:   MIPS Linux Kernel Image (gzip compressed)
   Data Size:    2036771 Bytes = 1.9 MiB
   Load Address: 80010000
   Entry Point:  80399e10
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.14 (root@aplink-desktop) (gcc version 4.7.2 (I                                                                                                                                                             ngenic 2015.02) ) #28 PREEMPT Thu Jun 16 13:06:04 CST 2016
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 RESET ERROR PC:A5940445
[    0.000000] CPU0 revision is: 00d00100 (Ingenic Xburst)
[    0.000000] FPU revision is: 00b70000
[    0.000000] CCLK:860MHz L2CLK:430Mhz H0CLK:200MHz H2CLK:200Mhz PCLK:100Mhz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 00439000 @ 00010000 (usable)
[    0.000000]  memory: 00037000 @ 00449000 (usable after init)
[    0.515041] jz_mac jz_mac.0: MII Probe failed!
[    0.992239] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
mdev is ok......
ifconfig: SIOCGIFFLAGS: No such device

apk-link login: ifconfig: wlan0: error fetching interface information: Device no                                                                                                                                                             t found
not find mac===Get wifi ap mac:===
ifconfig: wlan0: error fetching interface information: Device not found
not find mac===Get wifi mac:===
===NetWorkSetMac===00:02:B2:35:B3:A8
sscanf return 6
@@@@ APSSID APCAM_35FFFFFFB3FFFFFFA8 @@@@
===Get wifi ap mac:00:0C:43:07:6E:FC===
===Get wifi mac:00:0C:43:07:6E:FC===
===NetWorkSetMac===00:02:B2:35:B3:A8
SysParamRead system.ini
RTSP Port 10554
ONVIF Port 10080
SysLanguageRead language.ini
Now Language is English !
/usr/bin/unzip -o /system/www/audio_en.zip -d /tmp
kernelversion = Thu Jun 16 13:06:04 CST 2016
user0: pwd:
user1: pwd:
user2:admin pwd:9999
SysDefaultVoiceInit : 2
sysversion:A70.9.1.16.76E
SysParamRead factory.ini
ssid:smurf2G wifiauth 4 wifikey:9811279128
killall: wpa_supplicant: no process killed
===wifi is run wpa_supplicant -B -Dwext -iwlan0 -c /tmp/wpa_supplicant.conf===
===NetWorkEthInitMac===00:02:B2:35:B3:A8
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFHWADDR: No such device
ifconfig: SIOCGIFFLAGS: No such device
========mac=00:02:B2:35:B3:A8===========
route: SIOCDELRT: No such process
ifconfig: SIOCSIFADDR: No such device
route: SIOCADDRT: No such device
dns1:8.8.8.8 dns2:192.168.1.1
===IpcSocketInit=6666===
===IpcSocketInit end=3===
===snetworkethmac:00:02:B2:35:B3:A8  snetworkwifimac:00:0C:43:07:6E:FC===
 SearchAppInit by zxh
ServiceInit by zxh
update Socket proc is start
update socket init
start app update thread
===SearchThreadProc===
Archive:  /system/system/bin/encoder.zip
  inflating: encoder
===wificam is start===
===wificam insmod ko is start===
Archive:  /system/system/lib/tx-isp.ko.zip
  inflating: tx-isp.ko
===wificam insmod ko is end  ===
adc_max : 0
adc_min : 0
GpioDataGpioMux:0
GpioDataGpioMux:0
GPIO_PIN_DIR:0
GpioDataGpioDir:0
GpioMotoInit
GpioAduioOut 0
===Get wifi ap mac:00:0C:43:07:6E:FC===
===Get wifi mac:00:0C:43:07:6E:FC===
===NetWorkSetMac===00:02:B2:35:B3:A8
SysParamRead system.ini
RTSP Port 10554
ONVIF Port 10080
SysLanguageRead language.ini
Now Language is English !
/usr/bin/unzip -o /system/www/audio_en.zip -d /tmp
kernelversion = Thu Jun 16 13:06:04 CST 2016
user0: pwd:
user1: pwd:
user2:admin pwd:9999
SysDefaultVoiceInit : 2
sysversion:A70.9.1.16.76E
SysParamRead factory.ini
===Get wifi ap mac:00:0C:43:07:6E:FC===
===Get wifi mac:00:0C:43:07:6E:FC===
===NetWorkSetMac===00:02:B2:35:B3:A8
sscanf return 6
@@@@ APSSID APCAM_35FFFFFFB3FFFFFFA8 @@@@
alarm433 alarmcam.ini
===audio Codec Init===0
< Audio In Init Start >
Samplerate:16000 Bitwidth:16 Soundmode:1 FrmNum:20 NumPerFrm:320 ChnCnt:1
Audio In GetChnParam usrFrmDepth : 20
< Audio In Init End   >
Audio In SetInPutVolume vol:11
===AudioInInit OK===
< Audio Out Init Start >
Samplerate:16000 Bitwidth:16 Soundmode:1 FrmNum:20 NumPerFrm:320 ChnCnt:1
< Audio Out Init End  >
===AudioOutInit OK===
AudioPlayProc:153
1AlarmTimerParamRead 4 0-0-0-0
SD/TF Card not insert!
===H264ParamInit===
H264ParamInit bright 134 hue 128 saturation 128 contrast 126 videomode 0 videoen                                                                                                                                                             v 0 bitrate 1024 framerate 25 ratemode 1 bitratesub 15 frameratesub 512 ratemode                                                                                                                                                             sub 1 bitratesubsub 15 frameratesubsub 128 ratemodesubsub 0
===H264StreamInit===
ifconfig: SIOCSIFADDR: No such device
route: SIOCDELRT: No such process
===cmd:route add default gw 192.168.1.1 wlan0===
g_sensor_type = 3
===InitVideoEncoder===
Encoder_Get_Video_Resolution : 0
#################################Sensor = jxh42 ################################                                                                                                                                                             ####
 

svarc

New Member
Nov 6, 2015
17
5
3
#58
Code:
=================main profile 1280x720p=====================
i264e[info]: profile Constrained Baseline, level 3.1
i264e[info]: profile Constrained Baseline, level 3.0
===InitVideoEncoder end===0
NetWorkSetInterface 0
File size = 261702
killall: udhcpc: no process killed
Read size = 261702
===H264 osd init===0
===H264 osd1 init===0
H264EncoderThread
===ShowVideoOsd_Time===
===ShowVideoOsd===
name:WIFICAM
channelname------------------:WIFICAM==len=7
===ShowbitrateOsd===
===StartOsdProcess===
===H264SoftWdtThread====
===H264SetParam===
===H264SetParam end===
[chn1] scaler->outwidth = 640 scaler->outheight = 360, sscaler.outwidth = 640 ss                                                                                                                                                             caler.outheight = 368
===H264IspStart===
IMP_ISP_EnableTuning 0
===H264DeNoise ===
===H264IspStart===
===H264DeNoise===
param.sense[0] = 2
===IvsInit===0
===IvsThread===
StreamLiveProc 2
StreamLiveProc 1
StreamLiveProc 0
VideoSetFrameRate fpsNum = 25 fpsDen = 1
H264SetBitRate channel 0 ratemode 1 bybitrate 1024
frmRateNum = 25
H264SetBitRate channel 2 ratemode 1 bybitrate 512
frmRateNum = 25
1AlarmTimerParamRead 0 ff-ff-ff-ff
alarm time param is NULL !
StreamLiveProc 3
StreamRecordProc 0
StreamRecordProc 1
StreamRecordProc 2
StreamRecordProc 3
p2pdeviceid:XWL-031737-ENJDF
========version:2000001===========
ADH iRet 23
XHA iRet 15
GXD iRet 17
WCAM iRet 1
APLK iRet 23
HSL iRet 16
SSG iRet 5
XXM iRet -1
HSMART iRet 16
SMART iRet 5
SAKJ iRet 5
NAMI iRet 10
NAMI iRet 10
SCAN iRet 5
DRIP iRet 20
DAGRO iRet 20
PPCN iRet 8
XLT iRet 11
HS iRet 16
XWL iRet 0
P2P cmd thread is start...
P2P media thread is start...
pCfg->filename=
P2pCheckThread
StreamVideoProc 3
StreamVideoProc 0
StreamVideoProc 2
StreamVideoProc 1
======PPPP_LoginStatus_Check======
======PPPP_LoginStatus_Check end=1=====
===logcnt=281===
===curtime=1476916389===
Read DateTime:20161019 223309write date ok
===IpcSocketInit=6667===
===IpcSocketInit end=30===
IPCEncoderRecvProc 1
initialize iRet 0
Starting Stream Video Process 0
Starting Stream Video Process 1
Starting Stream Video Process 2
Starting Stream Video Process 3
sendto: Network is unreachable
No IGD UPnP Device found on the network !
user0: pwd0:
user1: pwd1:
user2:admin pwd2:9999
webport 81
web0===81===
web1===81===
======web init============81
===wifi usb error check status===motomode : 1
===MotoInit===
MotoReadMotoParam MotoOnStart 0 MotoDisPreset 0 speed 5
GpioMotoDirCmd iRet 0 motocmd:1 speed = 0
GpioMotoDirCmd iRet 0 motocmd:5 speed = 0
FactoryGetMotoLevelTimes 3675 value:3675
===MotoLevelMaxTimes===3675
FactoryGetMotoLevelTimesMid 1850 value:1850
===MotoLeftRightCenterTimes===1850
FactoryGetMotoVertTimes 1800 value:1800
===MotoVertMaxTimes===1800
FactoryGetMotoLevelTimesMid 900 value:900
===MotoUpDownCenterTimes===900
MotoLevelMaxTimes 3675 MotoLeftRightCenterTimes 1850 MotoVertMaxTimes 1800 MotoU                                                                                                                                                             pDownCenterTimes 900
nomal flip 0
nomal mirr 0
recognize start !!!
wifi start !!!
KernelMd5 =
welcome : 1
szFileName = /tmp/start-ok.wav
GpioAduioOut 1
check lasttimes is ok
=====check lastime iRet=0====
GpioMotoDirCmd iRet 0 motocmd:19 speed = 5
===wificam is end===
------------------recognize start
------------------recognize invalid data, errorCode:100, error:not enough signal
------------------recognize start
------------------recognize invalid data, errorCode:100, error:not enough signal
GpioAduioOut 0
ircut is switch on
VideoSetFrameRate fpsNum = 15 fpsDen = 1
===MotoStatus=1===
Check (Kernel && TF update) 1 time !
dhcp isn't open...,ipaddr:192.168.1.173 netmask:255.255.255.0 gateway:192.168.1.                                                                                                                                                             1 dns1:8.8.8.8 dns2:192.168.1.1
route: SIOCDELRT: No such process
===cmd:route add default gw 192.168.1.1 wlan0===
iRet 0
bFlagInternet 0
bFlagHostResolved 0
bFlagServerHello 0
NAT_Type 0
PPPP_Share_Bandwidth(1) iRet 0
P2pListenThread
start P2pListenThread=XWL-031737-ENJDF license=TGJVQD
PPPP_Listen() lock getting...
PPPP_Listen() ...bInternetFlag = 1
dns1:8.8.8.8 dns2:192.168.1.1
===dhcp is start and note encoder network===
NetWorkParamSync in 0
IPCEncoderDec cmd 4
wifi enable = 1 PowerOn = 1
NetWorkParamSave ipaddr:192.168.1.173
route: SIOCADDRT: File exists
===IPCEncoderSetNetworkParam===


WifiCheckStatusProc nTime = 1

Check (Kernel && TF update) 2 time !
ifconfig: SIOCSIFADDR: No such device
===cmd:route add default gw 192.168.1.1 wlan0===
route: SIOCADDRT: File exists
NetWorkSetInterface 0
killall: udhcpc: no process killed
Check (Kernel && TF update) 3 time !
GpioAduioOut 0


WifiCheckStatusProc nTime = 2

Check (Kernel && TF update) 4 time !
dhcp isn't open...,ipaddr:192.168.1.173 netmask:255.255.255.0 gateway:192.168.1.                                                                                                                                                             1 dns1:8.8.8.8 dns2:192.168.1.1
route: SIOCDELRT: No such process
===cmd:route add default gw 192.168.1.1 wlan0===
dns1:8.8.8.8 dns2:192.168.1.1
===dhcp is start and note encoder network===
NetWorkParamSync in 0
IPCEncoderDec cmd 4
wifi enable = 1 PowerOn = 1
NetWorkParamSave ipaddr:192.168.1.173
route: SIOCADDRT: File exists
===IPCEncoderSetNetworkParam===
Check (Kernel && TF update) 5 time !
ifconfig: SIOCSIFADDR: No such device
===cmd:route add default gw 192.168.1.1 wlan0===
route: SIOCADDRT: File exists


WifiCheckStatusProc nTime = 3

NetWorkSetInterface 0
killall: udhcpc: no process killed
Check (Kernel && TF update) 6 time !
Check (Kernel && TF update) 7 time !

WifiCheckStatusProc nTime = 4

dhcp isn't open...,ipaddr:192.168.1.173 netmask:255.255.255.0 gateway:192.168.1.                                                                                                                                                             1 dns1:8.8.8.8 dns2:192.168.1.1
route: SIOCDELRT: No such process
===cmd:route add default gw 192.168.1.1 wlan0===
Check (Kernel && TF update) 8 time !
dns1:8.8.8.8 dns2:192.168.1.1
===dhcp is start and note encoder network===
NetWorkParamSync in 0
IPCEncoderDec cmd 4
wifi enable = 1 PowerOn = 1
NetWorkParamSave ipaddr:192.168.1.173
route: SIOCADDRT: File exists
===IPCEncoderSetNetworkParam===
ifconfig: SIOCSIFADDR: No such device
===cmd:route add default gw 192.168.1.1 wlan0===
route: SIOCADDRT: File exists
Check (Kernel && TF update) 9 time !
NetWorkSetInterface 0
killall: udhcpc: no process killed


WifiCheckStatusProc nTime = 5

Check (Kernel && TF update) 10 time !
RecordProc starting...recordstream = 0
======PPPP_LoginStatus_Check======
dhcp isn't open...,ipaddr:192.168.1.173 netmask:255.255.255.0 gateway:192.168.1.                                                                                                                                                             1 dns1:8.8.8.8 dns2:192.168.1.1
route: SIOCDELRT: No such process
===cmd:route add default gw 192.168.1.1 wlan0===
dns1:8.8.8.8 dns2:192.168.1.1
===dhcp is start and note encoder network===
NetWorkParamSync in 0
IPCEncoderDec cmd 4
wifi enable = 1 PowerOn = 1
NetWorkParamSave ipaddr:192.168.1.173
route: SIOCADDRT: File exists
===IPCEncoderSetNetworkParam===
i tried every way i cant get the camera to connect on my wifi...
 

svarc

New Member
Nov 6, 2015
17
5
3
#59
Ok so i found what i was doing wrong...

IMPORTANT NOTE: For everyone that is doing the procedure explained here, after you save the env setting (the part where you execute this command "saveenv ") you need to power off the camera and then power it on. After the camera says "Welcome to use!" get a needle or something and press the reset button (the small hole next to the microSD card port) and hold it until the camera says "Settings erased" (or something like that) and then it will say "Please connect" and at that point you can set up your camera just like you did the first time you got the camera...

Next ting on my list is to add LAN (RJ45) port and try to connect the camera directly to my router... i will make a video and i will post it here...

Again thanks Milkyboy, you did great job...