HclX / WyzeHacks

Hacks I discovered allowing Wyze camera owners to do customizations
MIT License
786 stars 75 forks source link

Issue with v3 camera #115

Closed ydjzx closed 3 years ago

ydjzx commented 3 years ago

Not exactly an issue of WyzeHacks but camera itself. I somehow bricked one camera once and recovered by SD card flashing. After that I cannot install WyzeHacks on to it. The camera works fine. Once I run remote_install.sh the purple (red+blue) light blinks and the camera goes offline. So nothing can be pushed to it. It stays in this status for about 15 minutes then reboots. No install log written to sd card.
I tried runing v3_init.sh but cannot telnet it after reboot. I tried different versions of firmware and fatory reset but no luck. Not sure what else I can do.

tjbcatch22 commented 3 years ago

I'm wondering what version of firmware you recovered with? Have you tried an older version Wyze firmware and then try the hack process again? Wyze official firmware is here: https://wyzelabs.zendesk.com/hc/en-us/articles/360024852172

ydjzx commented 3 years ago

I recovered with 4.36.0.280. I also tried 4.36.0.252 and 4.36.0.228. All same behaviors.

tjbcatch22 commented 3 years ago

The oldest firmware on the wyzelabs site above looks to be 4.36.0.125. I'm wondering what happens if you tried going back to that one? Just an idea.

ydjzx commented 3 years ago

I tried it as well but no luck. Thanks for the suggestion though. I think HclX mentioned that the camera can be telneted to with some cable. I'm just not sure what cable to use.

gszakacs commented 3 years ago

Ran into the same issue you did. I haven't done it, but I guess you have to open the camera enclosure and connect (possibly solder) 3 wires to telnet using a serial port.

HclX commented 3 years ago

@ydjzx With latest release from master branch, you don't need v3_init.sh anymore. It will automatically "initialize" the v3 camera if it hasn't been done.

ydjzx commented 3 years ago

@gszakacs I'm considering about that but I guess I'll lose warranty by doing this. @HclX I know that. I'm just trying everything out of desperation. I can't get telnet enbaled on that camera not matter how.

endertable commented 3 years ago

Just trying different options here. Are you using the same IP that is in the app under the cams settings? Just in case IP was changed some how.

ydjzx commented 3 years ago

The IP is reserved in router. The camera responded to the remote install script but lost network soon.

HclX commented 3 years ago

There are possibilities that something went wrong when it tried to flash the modified rootfs image. When that happens, the system will hang and logs cannot be flushed to sd card. I saw this on my pan camera but not on any of v3 cameras. However, that shouldn't cause any persistent damage so after sd recovery you should be able to repeat the process again.

ydjzx commented 3 years ago

I've tried both sd card recovery and factory reset more than once. Didn't work. The camera is still within return window. I guess I'll return it and buy a new one.

HclX commented 3 years ago

Does the camera still function?

On Tue, May 11, 2021, 14:44 ydjzx @.***> wrote:

I've tried both sd card recovery and factory reset more than once. Didn't work. The camera is still within return window. I guess I'll return it and buy a new one.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeHacks/issues/115#issuecomment-839199282, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNWD53IJLCS2JVAOGI2HLTNGQK3ANCNFSM44MJEFOQ .

ydjzx commented 3 years ago

Yes works perfectly fine.

gszakacs commented 3 years ago

@ydjzx after a bit of trial and error, I found that the issue in my case was network related. For all other purposes my cameras / pcs worked well, but when I tried running the script to push the firmware hack, the process failed. Pretty sure somehow this was related to my vlan config (even though my linux pc and v3 cam were on the same subnet)... Anyway, after I moved the v3 camera to a separate wifi network (as basic config as it gets) and pushed the firmware update using the new network, all worked well

ydjzx commented 3 years ago

Unfortunately I don't have extra router to setup another subnet. Cannot test.