Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build cfw-1.2.bin for Wyze cameras using latest firmware 4.9.4.28 #1041

Merged
merged 6 commits into from
Jul 6, 2019

Conversation

mbevand
Copy link
Contributor

@mbevand mbevand commented May 6, 2019

rcfile.sh: better comments
Enable Wyze SD card with GPIO43
rcfile.sh: properly unmounts /system/sdcard
add official Wyze 4.9.4.28 firmware binaries
build cfw-1.2.bin with all these changes

In the latest Wyze firmware (4.9.4.28) they removed the
"/system/bin/singleBoadTest" binary which enabled the SD card interface.
I found by trial and error that the SD card interface can be enabled by
writing 0 to GPIO43.
When the camera doesn't find run.sh when booting, properly unmount
/system/sdcard so that it proceeds with booting the official firmware
without the SD card being mounted in two different locations.
This provides a new cfw-1.2.bin firmware rebuilt on the official 4.9.4.28
firmware, so that the SD card with the Xiaomi-Dafang-Hacks firmware_mod
can be removed and the camera will boot on the official 4.9.4.28 firmware.

This makes Wyze V2 cameras with the jxf23 cmos sensor work again when
the SD card is removed (https://forums.wyzecam.com/t/wyze-cam-v2-component-change-transition-to-jx-f23-cmos-sensor/6286).
The current cfw-1.1.bin is built on a very old firmware (4.9.1.60) that doesn't
support jxf23.
@saipsa
Copy link
Contributor

saipsa commented May 8, 2019

binaries built only by collaborators are accepted due to security concerns.

@mbevand
Copy link
Contributor Author

mbevand commented May 8, 2019

Understandable. Do I recreate a pull request that excludes the last commit (d8f5f2b)?

@hamid-elaosta
Copy link

This also works with the latest 4.3.4.37 (I'm running it now).

@raulvasquez
Copy link

Is it possible to flash this cfw-1.2.bin using dd instead of the sdcard trick?

@jmtatsch jmtatsch merged commit d8f5f2b into EliasKotlyar:master Jul 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants