-
Notifications
You must be signed in to change notification settings - Fork 103
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
Sonoff basic 1.6.0 firmware OTA update not working #70
Comments
This must be a firmware related issue - as I have just made the same mistake as you in updating one to 1.6.0 which I have incorrectly attributed to being a Windows issue - I've just fired up a Linux box and am experiencing similar issues which I recorded in #69 - as these are seemingly related to the same issue, hopefully someone can combine the two. |
@xyleth That's... weird... To clarify, are you seeing the "FinalStage" SSID? (I don't see that happening in the logs). It can take a minute or two for the Sonoff to retry after your PC connects back to the normal WiFi, so maybe worth leaving it there a bit longer. PS: I recently purchased a Sonoff Basic to test some stuff - and it won't update for me beyond v1.5.2 - so I can't replicate at this stage. |
Hi - thanks for the quick response. I never see the "FinalStage" SSID with this unit. I tried again and left it for 10 minutes to no avail - the script just cycles through its final stage warning and the device never seems to connect for firmware upgrade. If there's anything else you'd like me to do / check let me know. I don't have an immediate need for this second Basic so I'm happy to use it for testing. |
Same result here - and likewise am in no immediate need for it, so can do some testing on Windows too. |
I think the first thing to check is that it's getting a DHCP lease. But (more likely), it could be #58 - I have a Basic that is not updating via the app for me (and I'm away this week). But I'll try again next week and see if I can get it to update, and replicate this issue. |
Yes mine was connecting to the internal network and was pingable. It would suck if they're clamping down on the SSL certificate - they make some reasonable hardware, and the fact we could do this to it probably did boost their sales quite a bit!! |
I don't want to open a new issue, as I have the exact same behavior as described here. I upgraded two S20 to firmware version 1.6.0 and can't flash any of them. The process stops when the device is to download the new firmware in step 2. The other S20 I didn't upgrade are all able to flash with sonota. If it is the case that they are now verifying the ssl certificate, isn't it possible to use something like http://docs.mitmproxy.org/en/latest/mitmproxy.html and tamper the response? |
Another report here, stupidly allowed it to update to 1.6. tcp dump attached. |
@agidlund I don't see how one would get the sonoff to trust the CA certificate to do a man in the middle attack, if that is indeed the problem. |
@andyjenkinson True, I didn't realize that aspect. That would require a change of its firmware and that's what we are trying to do in the first place... |
I did the same mistake to upgrade to 1.6 version and getting the same problem. Would be great if anyone could come up with a solution. I take it that its not possible to restore the device to original FW version? |
So, is this confirmed that there is no option to flash v1.6.0 yet? |
@andyjenkinson @agidlund just for the record: neither the Arduino TLS nor the Espressif Update stack implement functionality for either certificate pinning nor CA cert checking. Happy MITM'ing! EDIT: I obviously have to take that back - at least to some degree - after having read #58 |
Are there any updates regarding to firmware 1.6 |
Anyone know if the 1.8.1 update makes this functional again? |
I have the same question, I have two new modules that came wit 1.6 version and I don´t know if it is a good idea to upgrade them to 1.8.1 version. |
I'm going to upgrade one to 1.8.1 and try it out. I also have a 1.5.5 but can't get that to work. Nor can I find patch notes for 1.8.1. I believe to downgrade you have to use the USB method. |
Ok. Let us now what you get. About downgrading: to use USB I have to solder pines and if I solder them I can flash it no matter what FW I have... |
debug_1510154892.log
Hello,
I recently got a pair of Sonoff Basic devices (having previously used this to flash fw to TH16 and 4ch devices). With the first unit I mistakenly upgraded it to the latest 1.6.0 firmware via the Sonoff app and now it won't complete the provisioning. It just skips from the ITEAD-1000001xxxxx SSID provisioning step straight to the final download step without performing the main download in the middle sequence.
The other device, which I left on 1.5.5, flashed fine.
I've attached the debug log. Is there anything else I can do to help troubleshoot this with you?
The text was updated successfully, but these errors were encountered: