Closed gtxaspec closed 11 months ago
how to open:
the cube with the lens has a black plastic cover, peel this off with a blade, knife or something sharp. Go slow so all the adhesive stays on the cover. Remove the cover, then take the 4 screws off. Pull the front cover off. Pry it out just like on the v3. Serial ports are here: Middle is ground, square is TX, edge is RX.
Camera Board photos
And I had thought that perhaps you'd given up the tinker'n... Good Luck & Happy New Year !!!
"let's break it open and see."
You weren't kidding. 😭
Since the wyze pan v3 is a rebranded Atom Swing camera ...is it possible to flash this on it to gain RTSP and SSH? https://github.com/mnakada/atomcam_tools
I think WYZE updated the firmware on it and made it more secure. I am going to guess this is going to use the same FW iteration as the Cam Pro version, which has not been compromised yet, or not that I know.
@dsanner I think it's more accurate to say they are both white labels from the same Chinese manufacturer. The AtomCams tend to deviate a bit less from the white label product provided.
@gtxaspec any luck with getting the pan v3 rooted?
I think WYZE updated the firmware on it and made it more secure. I am going to guess this is going to use the same FW iteration as the Cam Pro version, which has not been compromised yet, or not that I know.
@gtxaspec @virmaior When you have a moment, can you please elaborate on what you need help on?
If the above holds true then using factory_t31_ZMC6tiIDQN
on the SD card will not work?
@gtxaspec or anyone else. Do you have a version of the U-boot logs with SD card in? As I'm guessing the SD card was not in with the example you showed above: SD card is not insert
I'm not sure if it looks for things on the SD card if is inserted in but just curious.
Hey everyone, does anyone have an idea of the progress on this? I was looking to set up a livestream of the pan v3 for a local nonprofit using rtsp
Same here, bought the Wyze Cam Pan v3 and looking for RTSP hopefully, i'm guessing there's no progress on this thought because no one appears to be replying?
Hey everyone, does anyone have an idea of the progress on this? I was looking to set up a livestream of the pan v3 for a local nonprofit using rtsp
Hey @KyloRilo, can't speak to the progress on getting support in wz_mini_hacks but as a stop gap, I've had good luck using mrlt8/docker-wyze-bridge to expose RTSP for these cams. HTH.
mrlt8/docker-wyze-bridge
I looked at this a while ago but can't think now why I didn't use it. Does it give you an RTSP stream so I can still record it on my NAS?
Yep!
Excellent, i'll take a re-look at it then. I hope it also allows me to control the PTZ manually. I don't use the Wyze cam app because I put my cameras on a vLAN with no internet access after they have been setup as I don't want my feed going through their servers for anyone to peek in on my private life. I've heard stories of companies doing that. My cameras are for my local or secure remote access only.
Yep!
ahh I just thought, does it grab the image from the cloud? That might be why I decided didn't use it as I don't stream them.
I think we may be able to make some progress on this, stay tuned.
oh great....I have 2 cameras just sat there that I cannot use until there's an RTSP stream :)
As it stands now, the pan v3 won't be supported unless the user re-flashes, or replaces the flash memory chip containing the stock bootloader.
For now, a solution is to re-flash the unit using OpenIPC.
We will keep trying to find an alternate solution to facilitate simple modification.
this camera has secure-boot enabled by the factory, inside the ingenic t31-x cpu, via e-fuse, and can not be disabled. replacing the flash module, SPL, or u-boot results in non-boot.
U-Boot SPL 2013.07 (Jun 28 2022 - 07:05:47)
Timer init
CLK stop
PLL init
pll_init:366
pll_cfg.pdiv = 10, pll_cfg.h2div = 5, pll_cfg.h0div = 5, pll_cfg.cdiv = 1, pll_cfg.l2div = 2
nf=116 nr = 1 od0 = 1 od1 = 2
cppcr is 07405100
CPM_CPAPCR 0740510d
nf=100 nr = 1 od0 = 1 od1 = 2
cppcr is 06405100
CPM_CPMPCR 0640510d
nf=100 nr = 1 od0 = 1 od1 = 2
cppcr is 06405100
CPM_CPVPCR 0640510d
cppcr 0x9a7b5510
apll_freq 1392000000
mpll_freq 1200000000
vpll_freq = 1200000000
ddr sel mpll, cpu sel apll
ddrfreq 600000000
cclk 1392000000
l2clk 696000000
h0clk 240000000
h2clk 240000000
pclk 120000000
CLK init
SDRAM init
sdram init start
ddr_inno_phy_init ..!
phy reg = 0x00000007, CL = 0x00000007
ddr_inno_phy_init ..! 11: 00000004
ddr_inno_phy_init ..! 22: 00000006
ddr_inno_phy_init ..! 33: 00000006
REG_DDR_LMR: 00000210
REG_DDR_LMR: 00000310
REG_DDR_LMR: 00000110
REG_DDR_LMR, MR0: 00f73011
T31_0x5: 00000007
T31_0x15: 0000000c
T31_0x4: 00000000
T31_0x14: 00000002
INNO_TRAINING_CTRL 1: 00000000
INNO_TRAINING_CTRL 2: 000000a1
T31_cc: 00000003
INNO_TRAINING_CTRL 3: 000000a0
T31_118: 0000003c
T31_158: 0000003c
T31_190: 0000001e
T31_194: 0000001c
jz-04 : 0x00000051
jz-08 : 0x000000a0
jz-28 : 0x00000024
DDR PHY init OK
INNO_DQ_WIDTH :00000003
INNO_PLL_FBDIV :00000014
INNO_PLL_PDIV :00000005
INNO_MEM_CFG :00000051
INNO_PLL_CTRL :00000018
INNO_CHANNEL_EN :0000000d
INNO_CWL :00000006
INNO_CL :00000007
DDR Controller init
DDRC_STATUS 0x80000001
DDRC_CFG 0x0aa88a42
DDRC_CTRL 0x0000011c
DDRC_LMR 0x00400008
DDRC_DLP 0x00000000
DDRC_TIMING1 0x050f0a06
DDRC_TIMING2 0x021c0a07
DDRC_TIMING3 0x200a0722
DDRC_TIMING4 0x26240031
DDRC_TIMING5 0xff060405
DDRC_TIMING6 0x321c0505
DDRC_REFCNT 0x00910503
DDRC_MMAP0 0x000020f8
DDRC_MMAP1 0x00002800
DDRC_REMAP1 0x030e0d0c
DDRC_REMAP2 0x07060504
DDRC_REMAP3 0x0b0a0908
DDRC_REMAP4 0x0f020100
DDRC_REMAP5 0x13121110
DDRC_AUTOSR_EN 0x00000000
sdram init finished
SDRAM init ok
board_init_r
verify_buf_equal!
verify signature uboot error!
This means can’t use openipc, either?
Unfortunately at the moment, no.
Oh, unfortunate. Just got one of these and hoped it would be supported. That's not on devs though, it's on me for not checking - thankfully I can return it and hopefully get a better one. I doubt there's gonna be an easy way to do this, especially with that sort of chip-level protection, but good luck to you anyways!
closing for now until a solution is found. feedback and additional testing is welcome
Has anyone managed to get their hands on one of the atom cams? Do they have the same limitations? Has anyone managed to figure out the white label vendor?
both myself and @gtxaspec have atomcam 2s (https://www.atomtech.co.jp/products/atomcam2) in addition to wyze cams ... but do you mean a specific model?
I'm using atomcam_tools on that. It probably can run wz_mini but for my purposes I don't need it to.
@virmaior I think he's referring to the atom cam swing. The wyze version in the US has a locked SOC, and there is significant demand for a model that can be unlocked, like the atomcam swing or personalcam of Latin America which all share the same body.
The OEM is hualai.
Whoops sorry for the delay here. @gtxaspec has it right, I was referring to the atom cam swing and it hopefully being unlocked (or in some way more hackable) than the wyze variant.
Only way to bypass secure boot on thi camera is performing an SoC swap, i have performed one myself so i can actually test code with it. Unfortunately I dont have a dump of the original flash and flashed thingino instead so i cannot boot wyze firmware any more, but I can confirm that after SoC swap Wyze firmware boots normally.
Here are some photos of the process:
partial bootlog: