samtap / fang-hacks

Collection of modifications for the XiaoFang WiFi Camera
1.67k stars 340 forks source link

Wyze Cam firmware to Xiaofang? #243

Open kulokoy opened 6 years ago

kulokoy commented 6 years ago

Hi just wondering if its possible to use wyze cam firmware to xiaofang camera? I've seen the demo of the product and its literally same as xiaofang except for the app which is modified mi home in english version which is nice and working well.

https://www.wyzecam.com/product/wyze-cam/

Its only available in US so american who bought xiaofang cam before are lucky that they can buy a proper working security camera without problem in security and geo blocking. Hope somebody can port wyze FW to XioFang Cam.

dariopb commented 6 years ago

I thought you wanted to check the fw differences: "That would allow to capture the boot log and check for fw differences." :) What should I do to try to see if the scripts run on my setup? What processes should I kill and then execute the script on the sd? I can login as root with the ismart creds.

samtap commented 6 years ago

Those are two different things ;-). Serial console allows to check the filesystem and compare it with other cams. I'd already seen the boot log and fw somewhere else so already know it's 99% identical.

The issue is kicking off the fang-hack scripts. On the Xiaomi this is handled by snx_autorun.sh which copies some stuff from sd bootstrap folder to flash, like changed boot scripts that run /etc/fang-hacks.sh automatically. So if you place a sdcard with the fang-hacks image in a wyzecam and run that script manually, it may just work. But a warning: this will overwrite some files on the device so make backups first and I highly recommend only doing this after reading the scripts and understanding what they do.

Someone has offered to send me a wyzecam so if all goes well I'll have one to play with in a couple weeks :+1:

dariopb commented 6 years ago

Thanks, I read the scripts and I think I got an understanding of what should happen. I was able to enable telnet and I'll play with them during the weekend. (ps: if for some reason you don't receive that cam, let me know and I will send you one as well)

guarantee2 commented 6 years ago

Hello all. I found this thread by doing some research on the same subject(s) Does anyone want to help develop new scripts for Xiaomi DaFang camera to work on an English platform with an original app? Get a hold of me at trailblazers102@gmail.com I would like to develop this into a company and need partner(s) that can help with technical development while I bring in the product and advertisement. I have some ideas that we can discuss. Thank you.

codahq commented 6 years ago

Did you receive your Wyze Cam yet? I'm wondering if this effort has been abandoned.

GWustenstein commented 6 years ago

Been lurking for a while, but I had to say thank you all for the efforts involved in creating a recipe to reflash these Wyze beasts.

Uptime on these things is sometimes a challenge, but 48h of RTSP from them is still useful. I look forward to the day we have a simple open environment to reload on these with apt or similar support, but until then, these are handy to fill in the blanks not covered by the hardwired IP cams

willheineman commented 6 years ago

As of December 2017, Wyze supports TinyCam at least! This is the main reason I needed RTSP!

https://www.reddit.com/r/wyzecam/comments/7lk76p/tinycam_monitor_android_app_now_supports_wyzecam/

jbeck22 commented 6 years ago

I received my wyce cam v2 in the mail just the other day. So far the camera works great using the wyze app and stock firmware. I haven't been able to get the original fang hacks to work. Hoping someone finds a solutions soon.

giuarb commented 5 years ago

wondering if now that Wyze has released the beta of the firmware that supports RTSP, that beta firmware may work on xiaofang.

cryptobrian commented 5 years ago

you can flash the latest wyzecam firmware (with RTSP) on a xiaofang.. but you can never get it past the scan QR code step. I know the wyzecam firmware got installed correctly because when you press the set up button, the camera speaks english :)

brendanmullan commented 5 years ago

you can flash the latest wyzecam firmware (with RTSP) on a xiaofang.. but you can never get it past the scan QR code step. I know the wyzecam firmware got installed correctly because when you press the set up button, the camera speaks english :)

Wow that sounds promising, wonder why it can't read the QR code.

Lucasfrit commented 5 years ago

When I tried it out the same happened to me. I think it’s because the Wyzecam has the t20 chip and the Xiaomi Xiaofang has another chip. It works fine when you flash it and when it boots but as soon as you try to use the camera it stops working because the firmware isn’t made for that chip. Mine even crashed after a couple off minutes.

idoglazer commented 4 years ago

Hi I read the whole thing and now i have to ask, is there a way to turn a Wyze camera to ismartalarm? I have the ismartalarm system an i would love to add wyze cameras to my system

mrcbax commented 4 years ago

At the hardware level you can dump the flash of a wyze camera and rewrite it to one of the feng models. To the servers it would look no different than a any other wyze. Of course this requires that you know some soldering and have an eeprom programmer lying around.

Faisalthe01 commented 4 years ago

Did someone successfully installed wyze firmware on xiaofang?

owenselles commented 4 years ago

When I tried it out the same happened to me. I think it’s because the Wyzecam has the t20 chip and the Xiaomi Xiaofang has another chip. It works fine when you flash it and when it boots but as soon as you try to use the camera it stops working because the firmware isn’t made for that chip. Mine even crashed after a couple off minutes.

Same here

owenselles commented 4 years ago

When I tried it out the same happened to me. I think it’s because the Wyzecam has the t20 chip and the Xiaomi Xiaofang has another chip. It works fine when you flash it and when it boots but as soon as you try to use the camera it stops working because the firmware isn’t made for that chip. Mine even crashed after a couple off minutes.

my Xiaofang has the t20 chip inside as well