-
Notifications
You must be signed in to change notification settings - Fork 205
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
MHO-C401 new revision - display frozen #276
Comments
Altrough even with this https://github.com/pvvx/ATC_MiThermometer/blob/master/Original_OTA_Azarton_MHO_C401_v1.0.0_0016.bin firmware screen is stuck. On your photos board has text With the stock firmware it says So trying to follow #114 (comment) and I just do not understand how can I export the original firmware You can see the owl on the stand here https://pvvx.github.io/MHO_C401/ too :D BTW this https://atc1441.github.io/TelinkFlasher.html can connect too, but I do not thing it means anything useful, just another observation I have also tried flashing MHO_C401_v33.bin to see what will happen, but it will not even show in BT devices after that and display is stuck, so I guess I will attempt serial flshing now. |
Maybe there will be a future display version with the top icon, I don't know. But I did not want to distract from evlo's issue. |
I don't get it, I think one is just bricked, others seem to have succeeded with that tool I think the marks on pcb are from the factory sticker under battery I think there is no chance I can solder the reset with my skills anyway |
Why did you write firmware from Xiaomi LYWSD03MMC into it? This is a read script, not a write script... |
I dunno, it is what the https://pvvx.github.io/ATC_MiThermometer/TelinkMiFlasher.html put on the device, i noticed it to late, but whenever i tried after that it showed correct firmware as the original, maybe because before i was flashing firmware on actual LYWSD03MMC device or maybe some stupid oversight on my side like with the read instead of write script |
Firmware from Xiaomi LYWSD03MMC will work in MHO-C401. Works even on an empty chip from the TLSR825x series. But will not display on the display. OTA will work and you can flash any other firmware. |
I have tried building https://github.com/kloemi/ATC_MiThermometer and flashing it to the device, that also results in frozen display, so probably really even different than Azarton But I also do not know if I did build it correctly ... I did only run |
That's how it should work. Strange that display controller was updated again ... |
So for you display updates with kloemi's fork? |
Yes, it does. But the hardware of the devices' I got seems to be Azarton or related. (X-battery on photos) |
To support Azarton, you need a read original full flash and a description of all E-Ink segments. Samples description of all E-Ink segments. The command to output to the E-ink screen buffer is |
Oh right i finally get the X thing, I was super confused by it but now I see that mine has flash or something instead of X. Also I noticed on the box on mine it says manufacture date 2020.05 and yours says 2022.11 I bought it on https://www.aliexpress.com/store/2096053 "Homesway E-Life Store" - i dunno why not on some normal more mi store, probably shipping to EU BTW it does not even activate in Mi Home with region CN - it connects, but does not "verify" - it would be fun if somebody was doing fake version of these. If display does work with the https://github.com/pvvx/ATC_MiThermometer/blob/master/Original_OTA_Xiaomi_MHO_C401_v1.0.0_0010.bin firmware is it really necesary to do the dump? I'm very bad with soldering, that is why I'm asking. |
I'm wondering that it works although the FPC is the same as in the old MH0_C401. And as mentioned before the display buffer seems not to contain a bit for the battery sign and the degree sign. No idea how to set them. |
This is ff.bin out of https://1drv.ms/u/s!Ard77GaIVWRslMhz2DMrELpMZVXkBQ?e=z87vNX my divice if it is any help This is how I did extract it
When I then tried sending custom commands using https://pvvx.github.io/ATC_MiThermometer/TelinkMiFlasher.html This is with ble_hacker.bin still flashed on the device |
Be careful with ble_hacker - it is designed to read and write Flash, as well as a one-time delete function with a old firmware startup restore.
At startup, a random MAC is assigned.
This is FullFlash with Original_OTA_Xiaomi_MHO_C401_v1.0.0_0010.bin I have such models and works with MHO_vXX. |
Is the buffer size correct?
60FFFFFFFFFFFFFFFFFFFFFFFFFFFF..... All On The E-Ink controller is similar in operation to the CGG1. The configuration commands are almost the same. |
I have tried flashing Anyway after flashing it, it does now not even show as |
I don't really understand what you are describing. BLE_hacker has the option to restore the launch of the previous firmware. But this button should be selected only once and disconnect the connection - disconnect... The device will reboot with the old firmware. Everything will be restored to the state before the BLE_hacker firmware. 3. Restore original firmware boot: "Change Start Boot" key. (Do it once!) |
Hmm you're right. Don't understand why I reduced it to 14 byte but in my recordings it seems to have 16 byte. Going to test. |
Hmmm, i thought the files would be identical, but there are some differences between FF exports from the problematic and non problematic MHO-C401. what do you think? Just different setting? I have bought two MHO-C401 to try out one is the one giving me issues, that i can flash using wired connection (if it feels like getting flashed) - it is very particular and even likes one ch340 flasher better then other (maybe i could try lowering baud rate) - I have fixed all my soldering. But I have tried soldering the RST pin, impossible for me, mayb ei have messed up something in the process. from the non problematic one i uploaded extracted firmware from it in the post #276 (comment) problematic one works with With Honestly I now think that it is just MHO C401 with HW defect from the start, no new version or anything, now I even have issues flashing it when I soldered wires nicely and using different usb uart adapters. I'm curious if the extract is the same or not, especially since i flashed Weirdly flashing work whether whichever way i connect rx and tx - rx to rx or rx to tx with 1k ohm resistor in the way |
In azarton_mho-c410_ff.bin, the fw firmware is only 87332 bytes from the start of Flash. And in the posted azarton_mho-c410_ff.bin, the firmware is intact and has not changed (Original_OTA_Azarton_MHO_C401_v1.0.0_0016.bin). https://pvvx.github.io/ATC_MiThermometer/USBCOMFlashTx.html (works from Windows Chrome) has no feedback. Connects only TX to SWS. |
I don't understand, again :D
|
I made a mistake: compared one, wrote another:
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fc |
Increased buffer size to 16 did not fix it :-( Until now I did not do a display refresh, and they still look fine. |
Non-Azarton has 18, right? But Azarton has additional symbols compared to Non-Azarton. |
Please do, or continue this one #114 ? If i understand correctly that one MHO-C401 does indeed have different firmware even when flash ORIGINAL_OTA_XIAOMI_MHO_C401_V1.0.0_0010.BIN onto it, so at this point mixing Azarton issues with it is really confusing. But for that device I have that is having these issues, it is most likely not really worth investigating, until more turn out ... |
Hi, I received 3 from Aliexpress today - all with new display version. |
Got 4 copies exactly like yours after ordering from the Mijia SmartHome Store on AliExpress |
Mine was from "M-i M-ijia 18 Store" |
I ordered several to break and throw away, waiting for delivery (3 weeks) ... |
Just to check, I flashed them with custom firmware -> screen got stuck but everything else worked. Was able to unstuck screen when flashing back to the original Azarton firmware available here. |
Several MHO-C401s (2022.11) have arrived. |
nice! |
Added support ver MHO-C401 (2022.11). Auto-detection of the new version according to the official firmware (Software string > '0015'). |
Wow that was blazing fast!! |
The opportunity to make it faster was created thanks to @kloemi. He found how the signals from the SoC are distributed to the E-Ink driver chip. I did not even have to open the device, and I put the code from the CGG1 driver. The only thing I had to do was create a map of the E-Ink segments. |
Hello @pvvx - I updated it to 4.2 beta, but sadly it still not update numbers on the display |
Try the MHO_C401N_v42.bin |
Yes. That did it. Now it works :) thank you ! |
Hi, on MHO-C401 display is frozen, even for the not Azarton verison
all display segments on
https://pvvx.github.io/MHO_C401/
display seems same as in https://github.com/znanev/MHO-C401
related #114
https://pvvx.github.io/ATC_MiThermometer/TelinkMiFlasher.html says Hardware Version: LYWSD03MMC B1.6, Software Version: 3.9, Sensor: SHTC3 so now I'm a bit confussed, isn't LYWSD03MMC the small lcd one?
The text was updated successfully, but these errors were encountered: