Closed agent86ix closed 3 years ago
I was able to capture an "official" update run from the serial log, and it seems like it is grabbing this file:
http://d1fk93tz4plczb.cloudfront.net/UpgradeKit/1595945527/Upgrade_4.10.6.156_07281855.tar
Which is indeed a tar file, and the contents are a very different format than the .bin files that Wyze makes available for uboot/SD card based upgrades.
That's expected. Their OTA update is file based and has a different format than the firmware image you can get from their website. For your case, I'd suggest you gain telnet access via wyzehacks, and then see if you can manually flash bootloader via telnet.
On Sat, Aug 29, 2020, 08:07 agent86ix notifications@github.com wrote:
I was able to capture an "official" update run from the serial log, and it seems like it is grabbing this file:
http://d1fk93tz4plczb.cloudfront.net/UpgradeKit/1595945527/Upgrade_4.10.6.156_07281855.tar
Which is indeed a tar file, and the contents are a very different format than the .bin files that Wyze makes available for uboot/SD card based upgrades.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HclX/WyzeUpdater/issues/2#issuecomment-683302683, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNWD5WSHUAGLMU7YK7SSLSDEKTNANCNFSM4QPBDFWQ .
OK, I was unaware of WyzeHacks (https://github.com/HclX/WyzeHacks) before you mentioned it, thanks for both of these projects :)
It doesn't look like the OTA update contains a bootloader image (I don't see it in the tar file, and additionally if there was an update, installing an OTA update would likely fix this problem). Based on what I learned from https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/blob/master/hacks/howto_modfirmware.md , it seems like the binary releases from Wyze likely contain a bootloader image I can pull.
Do you know how to leverage the shell prompt to flash the bootloader on this device? I'm missing that piece of the puzzle.
Ah, I think I found the doc:
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/blob/master/hacks/flashinguboot.md
Leveraging your tools and pointers, I built:
https://github.com/agent86ix/wyze-cam-pan-sd-flash-fix
Which worked for my two "incorrect bootloader" Pans.
Thanks for the tools and the help!
I've got a Wyze Cam Pan with a bad bootloader that can't flash from the SD card. A user in a thread on another project suggested that perhaps this program could help. However, it doesn't seem to be working like I'd expect.
If I configure the command line utilities to push an official firmware
.bin
file from Wyze, the camera downloads it but doesn't flash it. The serial output from the camera is:There's a lot of console spam from various bits of the camera which are still running. Two things that jump out at me:
statistics-api.wyzecam.com
to log the update, but gets an error in return. This doesn't seem to be stopping it, but it is interesting to note.