samtap / fang-hacks

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

Firmware v3 changes #10

Closed gonzoblue closed 7 years ago

gonzoblue commented 7 years ago

I have the v3 firmware running on my camera and it has a few changes from v2. For reference, I started with the v0.0.1 sd card release. Here are the things I noticed or had to tweak to get it running on my v3 firmware vs the v2 firmware:

Once I stopped the snx_wdt module from loading, then modified the 00- script to kill iCamera and used 03- to start up rtsp I have a stable stream coming from the camera running 3.0.3.53 firmware.

I understand and like the idea of making as few changes to the core system as possible, but I wasn't aware of any other way to stop the snx_wdt module from running without commenting it out on the actual device itself vs running a script post-boot. Maybe someone can figure a better way to take care of that.

samtap commented 7 years ago

Haven't had any time but will try V3 myself during the weekend hopefully. Thanks for the info! Did you try modprobe -rf to get rid of snx_wdt?

gonzoblue commented 7 years ago

Just tried, yup modprobe -rf snx_wdt works to unload the module. I've updated the 00 script on my card to do that instead. Thanks.

The rtsp server crashes every few hours for me, I wrote a little do:while script to check it and launch it again if it isn't running but I am not sure if this instability is new to v3 or just the way it is. For now it works well enough just getting restarted, but it might not work once I try to get a constant stream and record it with a DVR.

navigonic commented 7 years ago

Has anyone noticed some of the cameras firmware updating to 3.0.3.53 while others remaining at 2.9.0.7?

phtp commented 7 years ago

I am running 2.8.3.5 and Mi Home prompted me couple days ago to update, but I ignored it. Now it's not longer prompting me and I noticed the Mi Home app updated instead.

samtap commented 7 years ago

Latest updates add V3 support, closing this issue.