wz_mini_hacks/SD_ROOT/wz_mini/etc
Leo 10dba022a5
Added 'self-hosted' iCamera patch option to fix intermittent network issues (#312)
* Added iCamera patch option to fix intermittent network issues

This commit adds a ENABLE_ICAMERA_PATCH option to wz_mini.conf which
will patch the iCamera binary on the most recent firmware version so
that the device doesn't try bouncing the wireless interface when
iCamera is unable to reach the internet.

The iCamera program will be patched as part of the boot process when
`ENABLE_ICAMERA_PATCH=true` is set in wz_mini.conf. This patch can
be undone by setting `ENABLE_ICAMERA_PATCH=false` and then rebooting.

* Updated iCamera patch boot script to uninstall patch on failure

In case of an unsupported firmware update / downgrade, the iCamera
patch will uninstall itself and revert back to the stock executable.

* Set ENABLE_ICAMERA_PATCH default to false

The iCamera patch shouldn't be enabled unless network issues are
present. The user can toggle this option if they intend to run
the Wyze Cam on an isolated network.

* Fixed wait_for_icamera pgrep when running patched iCamera

The iCamera process may not be at /system/bin/iCamera if we run
the patched version of it.

This function is used to ensure that iCamera's running before
certain things happen. A search for just 'iCamera' should be
sufficient for this use case.

* Updated the iCamera patch feature as ENABLE_SELFHOSTED_MODE

This should make it clear this option should only be used in self-hosted
scenarios as it will break functionality with the Wyze App or other Cloud
services.

* Added iCamera patch support for v2 firmware 4.9.8.1002

This iCamera patch should handle the Wyze Cam v2 firmware 4.9.8.1002
and prevent the firmware from restarting the wireless network after
being unable to connect to the Wyze servers.

* Fixed iCamera build date check

Check was grepping for 'Build' which may include the build time
instead of build date.

* Updated readme for selfhosted iCamera patch feature

* Patched LED lights for v2 firmware

After connecting to WiFi, the blue LED status light will no longer blink.

* Changed the v2 status LED to remain on when connected

Looking at Wyze's documentation, the LED is supposed to be on when
it's connected and working. The off state from the last commit was
for the powered off state only.
2022-09-27 17:48:46 -07:00
..
alsa update rtsp server and libraries, fix choppy audio in libcallback, fix busybox for old fw versions including rtsp_fw 2022-05-14 05:52:45 -07:00
configs create configs directory 2022-06-01 22:01:30 -07:00
cron New init system (#216) 2022-08-07 18:46:00 -07:00
init.d Added 'self-hosted' iCamera patch option to fix intermittent network issues (#312) 2022-09-27 17:48:46 -07:00
network.d update logging output for v4l2rtspserver 2022-08-18 23:12:10 -07:00
rc.d New init system (#216) 2022-08-07 18:46:00 -07:00
rc.local.d added support for multiple custom scripts by simply creating them in wz_mini/etc/rc.local.d 2022-07-08 21:12:11 -05:00
ssh disable password and add pubkey auth to ssh 2022-04-21 20:32:27 -07:00
wireguard continue work on upgrade script 2022-05-29 01:19:06 -07:00
dnsmasq.conf update dnsmasq.conf to allow local hosts file 2022-07-26 07:58:11 -07:00
fstab improve ability to hook stock system 2022-04-20 01:33:47 -07:00
hosts add local dns option 2022-07-22 20:39:53 -07:00
inittab improve ability to hook stock system 2022-04-20 01:33:47 -07:00
passwd add local dns option 2022-07-22 20:39:53 -07:00
profile adjust path order 2022-05-25 20:34:45 -07:00
rc.common Added 'self-hosted' iCamera patch option to fix intermittent network issues (#312) 2022-09-27 17:48:46 -07:00
rc.local New init system (#216) 2022-08-07 18:46:00 -07:00
resolv.conf add local dns option 2022-07-22 20:39:53 -07:00
resolv.dnsmasq add local dns option 2022-07-22 20:39:53 -07:00
shadow update install and booting method 2022-04-12 21:13:18 -07:00
uvc_jxf22.config add webcam mode for v2 camera 2022-06-04 01:14:37 -07:00
uvc_jxf23.config add webcam mode for v2 camera 2022-06-04 01:14:37 -07:00
uvc_v2.config add webcam mode for v2 camera 2022-06-04 01:14:37 -07:00
uvc.config add bitrate and fps variables to webcamera 2022-05-18 12:43:06 -07:00
wz_mini.conf.dist Added 'self-hosted' iCamera patch option to fix intermittent network issues (#312) 2022-09-27 17:48:46 -07:00