EliasKotlyar / Xiaomi-Dafang-Hacks

4.2k stars 1k forks source link

Running xiaomi-dafang-hacks with opensource bootloader #1896

Open schwupp opened 2 months ago

schwupp commented 2 months ago

I have 3 Wyzecam Pan, which won't do the flash via demo.bin. I tried every hack i could find, also downgrading was not working. So i decided as ultima ratio to desolder and flash uboot with spiflasher (https://github.com/Dafang-Hacks/spiflasher). This worked perfectly. As a consequence, i saw that i now have to flash https://github.com/Dafang-Hacks/rootfs, which seems to be not maintained, still version 0.0.1. Then i found https://github.com/anmaped/openfang/ which seems also quite dead. Both OS boot nicely with corresponding installation on SD, i can switch between both OS just changing SD.

My question is: As this repo here seems to be best supported and i'm also running some other wyzecams with that software (they did the trick with the demo.bin), wouln't it be nice to include a method to boot xiaomi-dafang-hacks on cameras with have a flashed u-boot?

I'm willing to contribute or test some things, but i did not understand, how xiaomi-dafang-hacks handles the boot process, so i need some help or instructions, maybe just some other uBoot.txt settings do the trick?

gtxaspec commented 2 weeks ago

try thingino, it is up to date and supports the wyzecam pan. https://github.com/themactep/thingino-firmware