diff --git a/SD_ROOT/wz_mini/etc/rc.d/S10firmware b/SD_ROOT/wz_mini/etc/rc.d/S10firmware index 1625734..df22d74 100644 --- a/SD_ROOT/wz_mini/etc/rc.d/S10firmware +++ b/SD_ROOT/wz_mini/etc/rc.d/S10firmware @@ -18,6 +18,23 @@ case "$1" in #echo -e "127.0.0.1 localhost \n127.0.0.1 wyze-upgrade-service.wyzecam.com" > /opt/wz_mini/tmp/.storage/hosts #mount --bind /opt/wz_mini/tmp/.storage/hosts /etc/hosts /opt/wz_mini/bin/busybox inotifyd /opt/wz_mini/usr/bin/watch_up.sh /tmp:n > /dev/null 2>&1 & + + if [ -f /opt/wz_mini/tmp/.WYZE_CAKP2JFUS ]; then + # v3 + printf "[VER]\nappver=4.36.13.0416\n" > /opt/wz_mini/tmp/patched_app.ver + elif [ -f /opt/wz_mini/tmp/.WYZEC1-JZ ]; then + # v2 + printf "[VER]\nappver=4.9.9.3006\n" > /opt/wz_mini/tmp/patched_app.ver + elif [ -f /opt/wz_mini/tmp/.WYZECP1_JEF ]; then + # pan v1 + printf "[VER]\nappver=4.10.9.3006\n" > /opt/wz_mini/tmp/patched_app.ver + elif [ -f /opt/wz_mini/tmp/.HL_PAN2 ]; then + # pan v2 + printf "[VER]\nappver=4.49.13.0653\n" > /opt/wz_mini/tmp/patched_app.ver + fi + + mount --bind /opt/wz_mini/tmp/patched_app.ver /system/bin/app.ver + echo "Firmware updates disabled" else echo "Firmwware updates enabled, monitor script running" diff --git a/SD_ROOT/wz_mini/etc/wz_mini.conf.dist b/SD_ROOT/wz_mini/etc/wz_mini.conf.dist index 7b8e07d..33b5e98 100644 --- a/SD_ROOT/wz_mini/etc/wz_mini.conf.dist +++ b/SD_ROOT/wz_mini/etc/wz_mini.conf.dist @@ -102,7 +102,7 @@ ENABLE_SWAP="true" ENABLE_USB_STORAGE="false" ENABLE_EXT4="false" ENABLE_CIFS="false" -DISABLE_FW_UPGRADE="false" +DISABLE_FW_UPGRADE="true" AUDIO_PROMPT_VOLUME="50" ENABLE_MP4_WRITE="false" NIGHT_DROP_DISABLE="false" diff --git a/SD_ROOT/wz_mini/usr/bin/app.ver b/SD_ROOT/wz_mini/usr/bin/app.ver index 5b011ab..e4c2bf7 100644 --- a/SD_ROOT/wz_mini/usr/bin/app.ver +++ b/SD_ROOT/wz_mini/usr/bin/app.ver @@ -1 +1 @@ -2024-05-27_20:50:25 +2024-10-16_03:29:16 diff --git a/SD_ROOT/wz_mini/wz_mini.conf b/SD_ROOT/wz_mini/wz_mini.conf index 7b8e07d..33b5e98 100644 --- a/SD_ROOT/wz_mini/wz_mini.conf +++ b/SD_ROOT/wz_mini/wz_mini.conf @@ -102,7 +102,7 @@ ENABLE_SWAP="true" ENABLE_USB_STORAGE="false" ENABLE_EXT4="false" ENABLE_CIFS="false" -DISABLE_FW_UPGRADE="false" +DISABLE_FW_UPGRADE="true" AUDIO_PROMPT_VOLUME="50" ENABLE_MP4_WRITE="false" NIGHT_DROP_DISABLE="false" diff --git a/file.chk b/file.chk index d2edf03..b7b39e8 100644 --- a/file.chk +++ b/file.chk @@ -46,7 +46,7 @@ ba5c34d5baf18fab00e577ba9085fc8f SD_ROOT/wz_mini/www/index.html 099a09d231f1d9587d8b09b43a86f6f9 SD_ROOT/wz_mini/www/cam.js 71d73164727cdce88b976f5e4f2a66fc SD_ROOT/wz_mini/etc/ser2net.yaml d7707e386ca9c56722d018858ff043b6 SD_ROOT/wz_mini/etc/network.d/S16rtmp -b0dbe6f42a6c5cf95c8556edfccfdf06 SD_ROOT/wz_mini/etc/network.d/S09dnsmasq +d6b5aeae1d0910ea4b3c8c7c7dd8b72d SD_ROOT/wz_mini/etc/network.d/S09dnsmasq b77697b15e4d6e32e6e2c8c07cbceee2 SD_ROOT/wz_mini/etc/network.d/S04wireguard 720d337f4fd4cecdf63cfbdf5476cc14 SD_ROOT/wz_mini/etc/network.d/S12remoteaccessory 88cd61106fa526f82a812b02aea23ddc SD_ROOT/wz_mini/etc/network.d/S15v4l2rtspserver @@ -85,7 +85,7 @@ e3034eac02d8eda9902ca9cf89f0a586 SD_ROOT/wz_mini/etc/inittab 840aa9c26726201f7cffbf001bee193a SD_ROOT/wz_mini/etc/uvc_jxf22.config d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/etc/rc.local.d/.gitignore f8122ed380beba449756c9c7c830a3d7 SD_ROOT/wz_mini/etc/dufs.yaml -2c5d65df4ce66343e7ea7f9d82c5f379 SD_ROOT/wz_mini/etc/wz_mini.conf.dist +1a6da650909dbce27646e90e44b110f9 SD_ROOT/wz_mini/etc/wz_mini.conf.dist 4291fb00ec609b5b007ff9b3048e9248 SD_ROOT/wz_mini/etc/hosts 1a4f7adceeed7014e9e61fcd1f46d890 SD_ROOT/wz_mini/etc/rc.common 4bce4a8330d7a004b255be7e36e921fe SD_ROOT/wz_mini/etc/profile @@ -94,7 +94,7 @@ f8122ed380beba449756c9c7c830a3d7 SD_ROOT/wz_mini/etc/dufs.yaml 00184c9b4016f437adcae60bae5b62ae SD_ROOT/wz_mini/etc/rc.d/S18fps 80650d58c240c642295448a72a49ad45 SD_ROOT/wz_mini/etc/rc.d/K01network 3fbad7406c24837d61c118e973b62ccc SD_ROOT/wz_mini/etc/rc.d/S17motor -03ca145794cedfe4748692dd6341839e SD_ROOT/wz_mini/etc/rc.d/S10firmware +21c3ca8efa629c434b11debe205ba93a SD_ROOT/wz_mini/etc/rc.d/S10firmware 5e81ec81999790b247ef2af25cc34cb6 SD_ROOT/wz_mini/etc/rc.d/K03rcd ebfa49291afc96c4dd306101b7dec31c SD_ROOT/wz_mini/etc/rc.d/K02webcam 94986342aa969d155238a3b1f4d88ecc SD_ROOT/wz_mini/etc/rc.d/S07bonding @@ -200,7 +200,7 @@ b339aee882a5d1c943ad08e4282ec3fd SD_ROOT/wz_mini/usr/bin/iCamera-dbg b10bdd54c56d8d8de2a27336f17285fe SD_ROOT/wz_mini/usr/bin/patch_icamera.sh dafffcc1bd1e721d508400686338ceb8 SD_ROOT/wz_mini/usr/bin/imp_helper.sh 580b1b6e91e72b4a4fef7b21d8954403 SD_ROOT/wz_mini/usr/bin/getSensorType -ef23b16b06d0603402875c8d0f487b9e SD_ROOT/wz_mini/usr/bin/app.ver +7ff097cc7a0c1a5beae50b3b9dbe58c9 SD_ROOT/wz_mini/usr/bin/app.ver 4c780f0455481d106d47d89f0ae04ed5 SD_ROOT/wz_mini/lib/uClibc.tar 9afeb088e4cbabbe0b04033b560204d0 SD_ROOT/wz_mini/lib/libimp.so 4100755cb6cc6e3b76da20c7e3690e16 SD_ROOT/wz_mini/lib/libalog.so @@ -350,7 +350,7 @@ c6a2e765996b4a8bfe351757785fb989 SD_ROOT/wz_mini/lib/modules/3.10.14__isvp_swan 46791b695c5acd7d813f2a7198790a8a SD_ROOT/wz_mini/lib/libcallback_t20.so bd383994491e4bdca81788c168feb2eb SD_ROOT/wz_mini/lib/libasound.so.2 f6f0d5a9ebd916de6bdb9695067809ae SD_ROOT/wz_mini/lib/libaudioProcess.so -2c5d65df4ce66343e7ea7f9d82c5f379 SD_ROOT/wz_mini/wz_mini.conf +1a6da650909dbce27646e90e44b110f9 SD_ROOT/wz_mini/wz_mini.conf d41d8cd98f00b204e9800998ecf8427e SD_ROOT/wz_mini/tmp/.gitignore 0d0800af2ddf6dc1645c03cb385f304a v2_install/compile_image.sh 533fc156f7853d8b21dfbe51e6a4c02e v2_install/fw_tool.sh