Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Online FW upgrade not working? #526

Closed
vin-w opened this issue Nov 20, 2023 · 15 comments
Closed

Online FW upgrade not working? #526

vin-w opened this issue Nov 20, 2023 · 15 comments

Comments

@vin-w
Copy link

vin-w commented Nov 20, 2023

Recently I found all camera does not show available version for new firmware.

"Online FW upgrade
Installed: 0.5.3 - Available:"

@roleoroleo
Copy link
Owner

Did you filter the http/https connection?

@vin-w
Copy link
Author

vin-w commented Nov 28, 2023

I remember I once enable proxychain but disable afterwards.

Here is some output I checked.

/home/yi-hack/bin # wget -O -  https://api.github.com/repos/roleoroleo/yi-hack-MStar/releases/latest
Connecting to api.github.com (20.205.243.168:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer

/home/yi-hack/etc # cat system.conf  | grep -i proxy
PROXYCHAINSNG=no
/home/yi-hack/bin # cat /home/yi-hack/etc/proxychains.conf

@roleoroleo
Copy link
Owner

proxychains is not a problem if you don't use the Yi platform.
The log wget: note: TLS certificate validation not implemented is normal.

This is not ok:

wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer

Check your connection, firewall/proxy, router.
It should work.
Try with a temporary tethering.

@marchidaniele
Copy link

marchidaniele commented Dec 20, 2023

I have same problem.
I have a cam y25 with base version 4.2.0.0H_201909041620 and Firmware Version 0.4.9.

Online update don't work
Schermata 2023-12-20 alle 00 54 55

and if I connect via ssh and download latest firmware

/tmp/sd # wget -O -  https://api.github.com/repos/roleoroleo/yi-hack-MStar/releases/latest
Connecting to api.github.com (140.82.121.6:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer

if I download another file via httpS similar error:

/tmp/sd # wget https://ubuntu.mirror.garr.it/releases/jammy/ubuntu-22.04.3-live-server-amd64.iso
Connecting to ubuntu.mirror.garr.it (90.147.160.70:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 40): handshake failure
wget: error getting response: Connection reset by peer

and if I add switch --no-check-certificates don't help:

/tmp/sd # wget -O -  https://api.github.com/repos/roleoroleo/yi-hack-MStar/releases/latest --no-check-certificates
wget: unrecognized option '--no-check-certificates'

any chance for upgrade my cam?

@roleoroleo
Copy link
Owner

I need to update busybox version.
Meanwhile you can upgrade your cam with this procedure:
https://github.com/roleoroleo/yi-hack-MStar/wiki/Manual-firmware-upgrade

@roleoroleo
Copy link
Owner

It's a bigger problem than it initially seemed.
Currently I'm unable to fix it.

@roleoroleo
Copy link
Owner

Fixed here:
e86b722

@Traoma
Copy link

Traoma commented Feb 4, 2024

Hello, What's the way to upgrade to the last version with very old release?
I'm with the 0.3.5 that has not yet the local firmware update implementation (came since 0.4.8)

@roleoroleo
Copy link
Owner

Save the config.
Copy home_xxx and sys_xxx to your sd card.
Reboot.
Restore the config if you lost it.

@Traoma
Copy link

Traoma commented Feb 5, 2024

I already tried that (put the 2 files on sd card root) but the camera still boot normally without flash itself. I tried with last and olders versions but no way to get updated. Very strange 🤔

@roleoroleo
Copy link
Owner

Are you sure that you are using the correct files for your model?

@Traoma
Copy link

Traoma commented Feb 5, 2024

It's OK. The problem was the sd card ... I put on old (but working) 4gb card. Tried with a new 32gb and the update has worked. Thanks

@Madaraxa
Copy link

Madaraxa commented Apr 12, 2024

Online Update from 0.5.4 to 0.5.5 wont work on my two Mstar cams. I guess this is fixed from 0.5.5 and above? So this is for now the last manual Update needed?
(my two allwinner worked from 0.3.8 to 0.3.9)

@Extreme79
Copy link

Happened to me today, from 0.53, in 3 cam.
Solved upgrading manually (but I lost settings).
1 identical camera, 0.53, upgraded flawlessy without loosing config.

@roleoroleo
Copy link
Owner

The problem was fixed with 0.5.4.
If you come from 0.5.3 it doesn't work.

Online Update from 0.5.4 to 0.5.5 wont work on my two Mstar cams. I guess this is fixed from 0.5.5 and above? So this is for now the last manual Update needed? (my two allwinner worked from 0.3.8 to 0.3.9)

Reading better your message, this is not correct. The update should have worked.
Let me know if you have problems with the next future update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants