-
Notifications
You must be signed in to change notification settings - Fork 478
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
Xiaomi has released new 2.1.1 firmware #298
Comments
Thank you for the hint. |
Thanks Victor, I would expect them to sign the activation on the server side with an unknown private key but lets hope not |
Can i downgrade via Uart? With correct key/token cannot downgrade or change fw. Even if login is correct and OTA seems to work, it doesn't . |
I haven't clarified the whole process yet. It is quite possible that because of these "security worries" Xiaomi has changed the activation and "OTA": PS: I can't clarify because I adhere to the "user agreement" in "MiHome". It is forbidden to view their code and other manipulations with it. And no one wants to publish the binary file of the new official firmware for public access :) |
is this going to get fixed please? thank you |
And I just updated the firmware without checking in here 😞 |
I've made the same mistake by updating to the latest firmware. Hope this will be fixed soon. |
So for those of us who updated to the latest firmware, is there any way to downgrade when the flasher does not connect due to being on unsupported firmware? Catch 22 situation! |
I also can't flat on 2.1.1_0159 version, let me know please it if possible or not. Thanks! |
At the moment, you can only write another firmware using a hardware programmer. |
How would I go about doing that? |
damn, got it with the new firmware so cant install the custom also :( |
A hint may occur when a new version is released. When it will be possible to upgrade version 2.1.1_0159 in Mi Home to the next one. |
To go back to the old version (Original_OTA_Xiaomi_LYWSD03MMC_v1.0.0_0130.bin );
|
|
I have no idea about this. https://github.com/atc1441/ATC_MiThermometer/blob/master/Mi_SWS_Connection.jpg |
The very name of the utility describes: TLSR825x USB-COM Flash Writer v0.4 (TX-SWS only!) :) The picture is from another version of the programmer - https://github.com/pvvx/TlsrComSwireWriter - does not work on FTDI chips! Comment edited: Fixed a link error. |
Are you saying that I am enough like this? |
Yes |
Why didn't this method work? https://pvvx.github.io/ATC_MiThermometer/USBCOMFlashTx.html This method worked. Thank you very much for your sharing. |
https://github.com/pvvx/TlsrComSwireWriter - does not work on FTDI chips! (Only Chinese USB-COM chips) On FTDI chips, reception is performed by checking bitwise synchronization with the removal of bad characters from the buffer with error generation, which does not allow emulating "Telink Swire". https://github.com/pvvx/TlsrComProg825x - this programmer uses a loader that switches to work with the RX and TX chip UART pins. |
Hi, So, after sharing my disgrace... How hard is to get one of this USB-COM board and use it to downgrade? any link from Aliexpress? |
Hi. Downgraded using this ch340 usb to ttl rs232 converter: |
Maybe I can't differently, but flash by site only works on Windows "machine". On MacBook I bricked by flash. On Windows "machine" I recovery firmware without problems :) |
Hi Guys, However I didn't used the board referenced by @tharzo, I got with a Friend the FTDI 232 and followed the steps passed by tarzho. I did the downgrade of my firmware from v2 to v1 and then flashed it with the custom firmware v4.5 successfully!! |
I'm not that familiar with soldering and boards, so I decided to buy a new one from Ali, from the same shop as my previous one. It was shipped very fast and fortunately the firmware version of the new device was still on v1.0. |
Is there any expected date when soft 2.1.1 will be supported by Telink Mi Flasher? I was not able to downgrade by Serial |
So far no one is doing this or it is unknown. Disassembling or otherwise viewing codes from Xiaomi is prohibited in the MiHome user agreement. For this reason, other methods that are not prohibited will be used. And this requires the next new version of OTA from MiHome. |
I had the same issue with two different 340G's. Out of desperation I tried this 340C and it worked. The only other change I made was to leave the baud rate at 460800 rather than try to match the COM port baud rate. It might be that that's the reason for success rather than the 340C but I haven't tested it on the other 340G's yet |
Answering my own question in case anyone else is looking for Windows VM help. I gave up, purchased an old Windows laptop and had success with this 340C device |
I have just sucessfully flashed 15 new devices with firmware 2.1.1. to zigbee. Soldering is not necessary. You can just tape two of the wires to the battery holder and hold the other one to p14. |
I finally downgraded my 2.1.1 devices, and since this was my first time doing any kind of hardware downgrading, this is how I did it, in case it helps other noobs like me... What do you need
What you DON'T need
Images Links
Steps
Now your device should have whatever firmware you selected on step #3, but you can use the TelinkMiFlasher to check it out. Good luck! |
This works perfectly. Thank you! |
What exactly is it that doesn't work on a Mac? I'm using this Adapter https://www.amazon.de/dp/B08T24NML9. It is recognized perfectly in Chrome, COM port can be opened, the whole flashing process seems to work. I tried once with 460800, once with 115200. I tried once with ATC_v48.bin, once with the original firmware. However, the device doesn't boot anymore and seems to be bricked. What is it that does a Windows Machine / Chrome different than a Mac? Is there any chance I'll get my device un-bricked? |
Is there some way how to flash a firmware on the headless machine (= without a browser) using a PL2303 usb-serial adapter? 🙏 |
https://github.com/pvvx/TlsrComSwireWriter https://raw.githubusercontent.com/pvvx/TlsrComSwireWriter/refs/heads/master/schematicc.gif Windows
Linux
|
Well, I am not sure why it doesn't work in Mac, to be honest, but I couldn't make it work, and there is plenty of comments reporting the same, hence the virtual machine step... |
Didn't work for me :( screen now blank so presume devices are now dead? |
Downgrade doesn't work for me :( |
If I understood this correctly, the method above requires an adapter without LEDs which I was not possible to buy anywhere. |
I would say the problem is the serial port implementation in Chrome on Mac. Which seems to be different from on Win and Linux. |
On MAC, everything is different. Apple has its own standards for everything, incompatible with other manufacturers and general technical standards. The purpose of creating incompatibilities is to prevent MAC users from using third-party hardware. |
LOL, are you seriously claiming Windows is more standards compliant than macOS? The only difference is that there're magnitudes of difference in the number of users, especially since Windows can be pirated much easier, so solutions to Windows' proprietary proplems are found and worked around much quicker. For serial ports in particular, Linux and Mac implement the same POSIX and UNIX interfaces whereas Windows is doing it's own special magic... |
The largest share belongs to the Android :P There is no point in adapting to an OS that occupies a very small percentage of the market. |
Oh sure, totally agree regarding the market share. I do disagree about the interfaces though, macOS and Android are a lot more standard compliant than Windows and have a ton more interfaces in common. |
And I don't forget that we need to give way to young people and businessmen. Maybe they will implement variants for macOS and so on... |
Same to me and i'm using a windows machine |
I've Solved the problem using an old pl2303 |
I don't know where are assumptions about tiny percentage came from. Maybe from personal observations on very specific market? |
Order a program from them to download firmware to thermometers. |
My USB2TTL does not has 3.3v pinout for powersupply, but it has 3.3v switch for TXD, RXD. So, i keep the 3V battery in the sensor then connect only 2 pin: GND and TXD , and its work. |
I want to run windows on a Mac M2 but it's the arm version. Anyone succesvol running windows 11 arm and downgrading the temp sensors? |
Worked for me under linux and this USB to TTL converter. thanks a lot! One thing I had to do in order to connect the USB bridge from within the flasher site:
so I did a |
Worked at my own, too about USB-to-TTL converter. I also recognized a youtube video for that. Thx a lot to the creator: |
It seems that the way to update firmware using telink flasher has been forbidden.
The text was updated successfully, but these errors were encountered: