Camera bricked after region changer hack

ddnet

n3wb
Joined
Mar 2, 2015
Messages
5
Reaction score
0
Plugged USB stick to NVR and mounted.

mount /dev/msb /mnt/esda1

But i cannot execute any command from mounted USB stick.

[root@dvrdvs sbin] # ls
badblocks flash_otp_write mklost+found rfddump
blkid flash_unlock mtd5ro.test rfdformat
debugfs flashcp mtd6dump90 serve_image
doc_loadbios fsck mtd6dump91 sumtool
docfdisk fsck.ext2 mtd6ro.test tune2fs
dumpe2fs fsck.ext3 mtd_debug ubiattach
e2freefrag fsck.ext4 mtdinfo ubiblock
e2fsck fsck.ext4dev mtdro5.nand ubicrc32
e2image ftl_check mtdro6.nand ubidetach
e2label ftl_format mtdro6.nand.bak ubiformat
e2undo jffs2dump nand5 ubimkvol
e4defrag jffs2reader nand5rox ubinfo
filefrag logsave nand6.after ubinize
findfs mke2fs nanddump ubirename
flash_erase mkfs.ext2 nandtest ubirmvol
flash_eraseall mkfs.ext3 nandwrite ubirsvol
flash_lock mkfs.ext4 nftl_format ubiupdatevol
flash_otp_dump mkfs.ext4dev nftldump uuidd
flash_otp_info mkfs.jffs2 recv_image
flash_otp_lock mkfs.ubifs resize2fs
[root@dvrdvs sbin] # pwd
/mnt/esda1/mtd/mtdutils-1.5.0-arm-linux-gnueabi/sbin
[root@dvrdvs sbin] # ./flash_erase
-sh: ./flash_erase: not found
[root@dvrdvs sbin] #
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,977
Reaction score
6,801
Location
Scotland
I'm not sure - but it may suggest they are not compiled for your specific CPU architecture, they may not be upwards compatible. @networkcameracritic cross-compiled them for Hikvision cameras - you are using them on an NVR.

Processor : ARMv6-compatible processor rev 5 (v6l)
vs
Processor : ARMv7 Processor rev 1 (v7l)
What does cat /proc/cpuinfo show?
 
Last edited by a moderator:

ddnet

n3wb
Joined
Mar 2, 2015
Messages
5
Reaction score
0
[root@dvrdvs /] # cat /proc/cpuinfo
Processor : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 1318.91
Features : swp half fastmult edsp
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1

Hardware : hi3520d
Revision : 0000
Serial : 0000000000000000
[root@dvrdvs /] #
 
Top