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

Azarton MHO-C401 Display freez (MHO_C401_v32n.bin) #114

Closed
Rocket200 opened this issue Aug 7, 2021 · 39 comments
Closed

Azarton MHO-C401 Display freez (MHO_C401_v32n.bin) #114

Rocket200 opened this issue Aug 7, 2021 · 39 comments

Comments

@Rocket200
Copy link

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

@BoxedBrain
Copy link

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?

@Rocket200
Copy link
Author

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

@Rocket200
Copy link
Author

@pvvx can flash new and repair it?

@BoxedBrain
Copy link

@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?

@BoxedBrain
Copy link

20210928_161012.jpg20210928_160937.jpg20210928_160924.jpg20210928_160904.jpg20210928_160854.jpg

@Rocket200
Copy link
Author

Rocket200 commented Nov 1, 2021

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
Copy link
Owner

pvvx commented Nov 2, 2021

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

@Rocket200
Copy link
Author

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
Copy link
Owner

pvvx commented Nov 2, 2021

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

@Rocket200
Copy link
Author

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

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

@Rocket200
Copy link
Author

ok thanks … i see it now

@evildad
Copy link

evildad commented Nov 25, 2021

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
Copy link
Owner

pvvx commented Nov 25, 2021

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

@evildad
Copy link

evildad commented Nov 26, 2021

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

@leoguiders
Copy link

leoguiders commented Nov 26, 2021

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
Copy link
Owner

pvvx commented Nov 26, 2021

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...

@evildad
Copy link

evildad commented Nov 27, 2021

@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

@Rocket200
Copy link
Author

soon a new FW for it ?

for repair it and flash back the original FW?

@pvvx
Copy link
Owner

pvvx commented Nov 27, 2021

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

@evildad
Copy link

evildad commented Nov 27, 2021

@pvvx perfect... successfully unfreezed it 👍

@pvvx
Copy link
Owner

pvvx commented Nov 27, 2021

@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.

@leoguiders
Copy link

leoguiders commented Nov 27, 2021

@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
Copy link
Owner

pvvx commented Nov 27, 2021

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.

@leoguiders
Copy link

I'd be happy to send one to you

@leoguiders
Copy link

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?

@Lightning-
Copy link

@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! 😃

@kloemi
Copy link

kloemi commented Oct 9, 2022

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
Copy link
Owner

pvvx commented Oct 10, 2022

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

@kloemi
Copy link

kloemi commented Oct 10, 2022

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
Copy link

evlo commented Oct 12, 2022

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?

@kloemi
Copy link

kloemi commented Oct 23, 2022

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!

@arunoruto
Copy link

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

@kloemi
Copy link

kloemi commented Nov 28, 2022

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
Copy link

evlo commented Dec 8, 2022

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/

@Bascht74
Copy link

Bascht74 commented Dec 30, 2022

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
Copy link
Owner

pvvx commented Dec 31, 2022

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.

@kloemi
Copy link

kloemi commented Jan 11, 2023

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
Copy link
Owner

pvvx commented Feb 27, 2023

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

@kloemi
Copy link

kloemi commented Mar 11, 2023

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

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

10 participants