roleoroleo / yi-hack-MStar

Custom firmware for Yi 1080p camera based on MStar platform
GNU General Public License v3.0
846 stars 112 forks source link

Online FW upgrade - not work - y203c #424

Closed rysuq closed 2 years ago

rysuq commented 2 years ago

Hello, first of all thanks for your project. I have a problem to download lastest version of firmware. After try to download firmware I got message Unable to download firmware file. My camera information: Hostname | yi-home-1080p Firmware Version | 0.4.3 Base Version | 4.5.0.0C_201910080934 Model Suffix | y203c

roleoroleo commented 2 years ago

The message refers to wget command. But the link is ok. Check your connection or your firewall.

rysuq commented 2 years ago

image Hmm, I use Adguard to monitoring DNS. Also I try to disable my Adblocking dns.

robho commented 2 years ago

I had this problem also and for me the problem was that the SD card was mounted read-only (because the file system was corrupt). wget then failed to download and write the update to the SD card -> update failed.

I'm not sure why yi-hack failed to repair the file system (it looks like there's some code to do it before it's mounted), but to manually repair the file system I did:

rysuq commented 2 years ago

This solution not working for me

/home/yi-hack # umount /tmp/sd
/home/yi-hack # fsck.fat -a /dev/block/mmcblk0p1
CP437: Invalid argument
fsck.fat 3.0.26 (2014-03-07)
step 0 1645282219
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
step 1 1645282219
step 2 1645282219
Killed
roleoroleo commented 2 years ago

Try to remove the card and fix it with your PC.

rysuq commented 2 years ago

After issue in sd card now everything working.