roleoroleo / yi-hack-Allwinner

Custom firmware for Yi 1080p camera based on Allwinner platform
MIT License
437 stars 66 forks source link

Camera unresponsive after firmware update from 0.3.4 to 0.3.6 #408

Closed othyro closed 11 months ago

othyro commented 11 months ago

After updating the camera firmware from 0.3.4 to 0.3.6, it's unresponsive over the network. Using the configure wifi script doesn't seem to work either. The orange LED remains lit.

If I remove the SD card and hold the reset button, it goes through reset mode and I hear, 'Waiting to connect...'. If I reboot it, I can hear the shutter clicking twice before it awaits a connexion. Reinserting the SD card before replugging in the USB cable, leaves the orange LED lit, I hear no shutter, and the camera doesn't connect to the WiFi.

Not sure how to proceed. I'm not using the app nor want to do so. Here's what the status page looked like after I did the initial flash some weeks ago: signal-2023-07-05-204427_002-crop I want to upgrade the firmware on the other cameras too, since I have two more of this model. However, I don't want the same to happen again. What logs would you like to see?

roleoroleo commented 11 months ago

Please, follow the unbrick procedure. https://github.com/roleoroleo/yi-hack-Allwinner/tree/master/unbrick using the "hacked" option. And apply again the hack.

othyro commented 11 months ago

Thanks. It seems to have been my fault for not having cleared all the motion events before updating it. The camera's working properly now.

othyro commented 8 months ago

image On one of my other cameras with this firmware, I'm not seeing the upgrade version although several are available. Is there any way to force the update via the CLI?

roleoroleo commented 8 months ago

Yes, you can download the file manually and copy it to the root folder of your sd card. Then, rename it suffix_x.x.x.tgz, for example y20ga_x.x.x.tgz Finally reboot the cam.

othyro commented 8 months ago

The / partition is mounted read-only. I tried with the file in /home/yi-hack, /tmp, /tmp/sd, and /tmp/sd/yi-hack. The device didn't update in any of those cases. What's the correct path if I'm connected via SSH?

roleoroleo commented 8 months ago

The correct path is /tmp/sd where the cam should mount your sd card. If the sd card is mounted read only, remove it and try a file system check with a PC. Then try again.

othyro commented 8 months ago

I reuploaded the file to /tmp/sd, rebooted, and it's running 0.3.4 still. Any advice on how to proceed?

roleoroleo commented 7 months ago

After uploaded the file and renamed, you have to click "Upgrade firmware" in the web gui.