samtap / fang-hacks

Collection of modifications for the XiaoFang WiFi Camera
1.67k stars 340 forks source link

Struggling #376

Open pixeldublu opened 6 years ago

pixeldublu commented 6 years ago

Hello, Decided to get a few xiaomi cameras, 1 dafang and 2 xiaofangs. All good with the dafang and one xiaofang, even do that xiaofang is china edition and the mi home app did not let me use it. The hack sort of works on it... with some random timeouts of the rtsp server. But now returning to the main problem.

The second xiaofang out of the box was a newer version but compatible with the mi home app, everything worked except until i started to install the hack also on this one, somehow it did not want to start and then i noticed that the SD card is not detected, tried 4 different cards with different sizes, even the one that worked on the other xiaofang. Tried to update firmware but no fix ( This might have been a bad idea :) ).

And now i am trying to downgrade. Putty connects but sd card is not mounted ( tried both starting with it and also inserting after login ). Start to think that i might have a broken unit ? Also i tried to download via local network the 0.elf file ( wget ) and put it in the tmp folder. First time running ./0.elf i got access denied or something like this and then i tried to chmod +x it and then i got some wrong newline error :)

Still got any chances to save this ? Or is it possible to hack without sd card... and only use it for stream ?

Thanks in advance :)

pixeldublu commented 6 years ago

After chmod +x ./0.elf: line 1: syntax error: unexpected newline