pvvx/ATC_MiThermometer

Azarton MHO-C401 Display freez (MHO_C401_v32n.bin)

Rocket200 opened this issue Β· 39 comments

i flashed this "MHO_C401_v32n.bin" FW but the Display freeze all other work .
can you fix this ?
i can send you one , or what can i do?

https://www.youtube.com/watch?v=Zy-qYkfq1YQ

Having the same error. After flashing the Azarton MHO-C401 the display is frozen/stuck.
I get readings but the display won't update. Also, a reflash to the original/custom firmware doesn't solve it.

Any ideas or updates on this?

@pvvx can you repair / fix the freezed Displays with a new FW?

@pvvx can flash new and repair it?

@Rocket200 I tried again to reflash but without success. Could a picture of the PCB help? Maybe it is a newer revision? Different GPIO pin or something?

this new CFW fix it ?
MHO_C401_v33.bin

3:27:28: Searching for devices
13:27:51: Connecting to: MHO-C401
13:27:59: NetworkError: Connection failed for unknown reason.
13:27:59: Reconnect 1 from 5
13:28:07: Hardware Revision String: 0000
13:28:07: Detected Mi Thermometer
13:28:07: Connected
13:28:29: Activating now, please wait...
13:28:33: Activation successfull
13:28:33: Received device infos are correct
13:28:34: Login successfull

Device known id: blt.3.129vKaoNa6ATC
Mi Token: cb8f90c22c046179a70917e6
Mi Bind Key: 109be9c099baa137b1d6c54c75f108da

fw: 'MHO_C401_v33.bin'

13:30:03: Load firmware file 'MHO_C401_v33.bin'...
13:30:03: File size: 64452 bytes
13:30:03: Count: 4029
13:30:26: Start DFU
13:31:18: Update done after 50.97 seconds
13:31:24: Disconnected.

Status: Hardware Version: MHO-C401 V_14, Software Version: 3.3

but same Display not working Freez the Old Temp. ...

pvvx commented

Xiaomi Miaomiaoce MHO-C401 has a different E-ink display and different PCB.

Xiaomi Miaomiaoce MHO-C401 has a different E-ink display and different PCB.

all working fine … with your FW only the Display is freezing and not show the correct Temp.

pvvx commented

Xiaomi Miaomiaoce MHO-C401 has a different E-ink display:
image
Azarton:
image

5813955C-F23C-467E-8118-1C62A5B3EC9D

i have 3 MHO from Xiaomi too
but Display look same style

ok thanks … i see it now

Well I should have read this first but I've flashed the Firmware to my Azarton-MHO-C401 and have the freeze, too.
The readings work fine but having the Display back would be an enhancement :-)
The Custom-FW doesn't work because we have a different PCB and Display and that's the Problem for the Recovery FW as it's not from the Azarton Device.
@pvvx Is there a way to make a backup from a working Azarton-MHO-C401 and flashing that back to the broken one, or is there a way to fix the issue with your Custom FW?

pvvx commented

Make a Flash backup of a running Azarton-MHO-C401

  1. Using TelinkMiFlasher.html download 'BLE-Hacker.bin'
  2. Using TLSR825xOTA_Hacker.html, connect to the appeared device "BLE_xxxxxx"
  3. Restore original firmware boot: "Change Start Boot" key. (Do it once!)
  4. Read All Flash to File: "Read Full Flash" and "Save to File".
  5. Close 'TLSR825xOTA_Hacker.html'.

Share FullFlash.bin in the public domain.
I will cut OTA_xxx.bin out of it.

PS: The details: https://github.com/pvvx/TLSR825x_OTA_Flash_Hacker

Ok sounds like a plan for the weekend :-) Just to be sure... the working one will boot the orginal firmware again after step 5?

Ah great, I installed the custom FW on my Azarton MHO-C401 today and also have the frozen screen.
Fow now I don't have a working one to download the firmware, I'd appreciate if you could upload the original firmware.

P.S. it is the same version posted earlier:
PXL_20211126_153356223~2

pvvx commented

the working one will boot the orginal firmware again after step 5?

Yes.
Using the "Change Start Boot" option also sets the reboot flag after disconnect.
The main thing is to read FullFlash and make OTA.bin...

@pvvx ok it seems like it worked and best of all it's still working :-)
Attached is the FullFlash.bin
Don't flash this as that's the one needed to make the actual real OTA.bin
azarton_mho-c410_ff.bin.gz

soon a new FW for it ?

for repair it and flash back the original FW?

@pvvx perfect... successfully unfreezed it πŸ‘

pvvx commented

@evildad Thank you for providing Full Flash!
I checked the check-sum and firmware functionality on another module with TLSR825x. But I don’t have Azarton MHO-C401 and so far I can’t make support for new E-Ink.

@pvvx Thanks for providing the Firmware, I was able to unfreeze my mho-c401 too.

I don’t have Azarton MHO-C401 and so far I can’t make support for new E-Ink.

What do you need to implement the new e-ink?

pvvx commented

What do you need to implement the new e-ink?

Time and opportunity to buy a "Azarton MHO-C401". They are not in the sale available to me.

I'd be happy to send one to you

Another piece of information:
The FPC cable has HB0168 printed on it, which might or might not lead to the manufacturer of this e-ink display.
PXL_20211129_083151183~2

Does anyone know how to remove the display from the Case?

@pvvx is there a chance that you can proceed with this device? i just bought one and like it quite a lot; would love to get this flashed with a custom firmware and get some more of them.
for me these azarton devices are available on amazon; if this is true for you too i'd be happy to donate one or two to make it possible for you to free them for us! πŸ˜ƒ

For me the display of the azarton looks quite similar to the one of MHO-C201 (https://github.com/jonathonlui/MHO-C201) Has anyone ever tried that code for the azarton?

pvvx commented

For me the display of the azarton looks quite similar to the one of MHO-C201 (https://github.com/jonathonlui/MHO-C201) Has anyone ever tried that code for the azarton?

image

Xiaomi Mijia MHO-C401 -> https://github.com/znanev/MHO-C401
image

OK, you're right FPC looks same like MHO-C401. I thought because of the'x' in the batterie symbol.
Azarton:
image

MHO-C201:
image

evlo commented

It did not occurred to me that it is not just rebranded xiaomi. Xiaomi BT ones with LCD are the best TH meters I used, I then bought MHO-C201 by accident and then found Azarton on local Amazon.

I guess for now the ones with LCD are a way to go for TH measuring devices and just think of it as displayless device or do you know about some alternative in EU?

I have analyzed Azarton display and implemented a version at fork https://github.com/kloemi/ATC_MiThermometer.
There are 3 minor issues

  • initial value is shown ~10-12 sec. after startup
  • degree sign not show
  • battery sign not shown
    For me it works ok now, maybe someone else has an idea about battery and degree sign. It seems not to be a part of the display data buffer.

Thanks @pvvx for your work!

I have analyzed Azarton display and implemented a version at fork https://github.com/kloemi/ATC_MiThermometer.

I tried to flash both MHO_C401_v37c.bin and MHO_C401_v38.bin on my Azarton and my display still keeps freezing...
Am I doing something wrong? I flashed the original Firmware and then yours, but seems like I am missing something. Sorry if it is a dumb question, but I am a bit new to all of this

Hey, as mentioned in my repo description: due to the existing issues of my software I did not insert the binaries. You can build the SW on your own. The binaries inside the repo are the forked ones from victor.

evlo commented

I guess there is new version of regular MHO-C401 a display freezes on that too now.

(I returned the Aarton and bought the original) ... turns out that was the mistake :)

Update: looks kinda same inside https://pvvx.github.io/MHO_C401/

Hi, I got into this problem, too... right now, two of my device displays are not working anymore after flashing 3.8/3.9.
I am not sure, which firmware is needed to get back to the original. I don't want to experiment and reading here left me a bit confused about it (but maybe that is because english is not my mother language).

Edit: found it:

https://github.com/pvvx/ATC_MiThermometer/blob/master/Original_OTA_Azarton_MHO_C401_v1.0.0_0016.bin

@kloemi I think I could live with those issues, because I check the device battery with Home Assistant, and a degree sign I don't need as I know the unit :-) The 12 seconds are fine, as I don't need to change the battery too often.
So maybe you could add a bin file at your repository (maybe you could add that to an "alpha" directory to sign it "not completely working"?

If you have second thoughts about that, could you advise me how to compile the firmware myself?
(Maybe anybody else from this entry has already done it and could provide me a bin file?)
This would help me a lot as the original firmware does measurement-update only every 10 minutes or so and the custom one every 10 seconds.

@pvvx Could you add a warning to your readme to prevent new people flashing their devices with the custom firmware for the other hardware revision (maybe a link to this issue, e.g: "Azarton devices --> please read #114 )? I think this would help other people to decide and read this issue.

pvvx commented

The 12 seconds are fine, as I don't need to change the battery too often. So maybe you could add a bin file at your repository (maybe you could add that to an "alpha" directory to sign it "not completely working"?

This means incorrect initialization of the controller. And how it will work further and will not lead to the degradation of the E-Ink panel is unknown.

@pvvx Could you add a warning to your readme to prevent new people flashing their devices with the custom firmware for the other hardware revision (maybe a link to this issue, e.g: "Azarton devices --> please read #114 )? I think this would help other people to decide and read this issue.

Supported thermometer models are listed in the repository header. "Azarton Devices" is not there.
Similarly, there is no "Azarton" in the sale available to me. And the project is supported solely at its own expense, without the involvement of third-party funds. Only informational assistance is accepted. Information on "Azarton" is insufficient for inclusion in the project.

Hey @Bascht74 ,

sorry for late response I have uploaded the binary that is running fine on my azarton thermometer since 2 month. You can try if that is useful for you.

pvvx commented

Version 4.2 works on "Azarton"?
MHO_C401N_v42.bin version works on new MHO-C401(2022.11) without "Azarton" inscriptions.

Thanks for you great work! MHO_C401N_v42.bin works fine, I think you can close that issue.