EliasKotlyar / Xiaomi-Dafang-Hacks

4.16k stars 1k forks source link

Camera crashed, after power cycle no more H264 #1861

Open devianceluka opened 1 year ago

devianceluka commented 1 year ago

So I have latest fw with original Xiaomi Dafang and USB ethernet which was working flawlessly for years now. After crash yesterday (maybe happens once in 6months), I power cycled and now I have only JPEG, instead of usual H264.

I tried: 1) rebooting 2) changing CODEC 3) changing FORMAT

Its always JPEG in Tinycam, no matter what setting. What else could I try? Did hardware go haywire before crashing?

jmtatsch commented 1 year ago

probably filesystem is readonly. format the sdcard and put a fresh folder from git

devianceluka commented 1 year ago

After reading your comment, I decided to try 'force full update' (before formatting and starting all over again) and that solved it.

So I guess you were kind of right? Its a little hard to maybe accept from my point of view, because the card is a Samsung Pro Endurance, and I never recorded or anything, its just sitting there and being a ROM? Whatever its solved, I guess it was atleast a corruption on the filesystem somewhere and I also believe all my settings are intact, thanks !

jmtatsch commented 1 year ago

Its not really that the card is written through but more that the file system may be in a bad state after a power outage. If a force update fixed it the file system must have still been writable.