r/QIDI_Max4 • • Oct 22 '26

Max 4 Toolhead Accelerometer Bug Fix

Hello fellow Max 4 owners. It recently came to my attention that there's a bug in the accelerometer driver that was fixed in upstream klipper at the end of last year. This would require getting the firmware source for the THR, which Qidi has not published.

But we don't need them :)

The latest version of my optimized configs will patch the firmware and flash it for you. This is a potentially dangerous operation, so it does NOT do this by default and won't do it on an auto update. You need to specifically opt in to make this happen, which is why I'm posting about it.

If you want this bug fix, you will need to rerun the installer command. See the end of this post for more information.

What is the bug?

The toolhead THR board's LIS2DW accelerometer has a FIFO bug that causes it to report about 1/5th the amount of data that it should. This results in noisy and slightly unreliable results for anything reading from this accelerometer (i.e. input shaper). See here for more info.

Flashing your sketchy firmware sounds scary

I sort of agree with you, that's why it's opt in only. If it helps you feel any better, it's technically Qidi's firmware package with a few bits changed. It uses their flashing method as well.

Will this void my warranty?

Qidi would probably say yes, but I disagree. You can reflash the original firmware, and future Max 4 firmware updates will wipe this out and it will need reapplied (another reason why you shouldn't update right away).

Can I restore the original firmware?

Yes! See here.

Any other changes to be aware of?

All good things! I fixed being able to set the Qidi box heaters via Fluidd. It prevents you from doing that if the filament you have loaded doesn't allow it, just like the screen. I also enabled full display via Fluidd by default for users that just install my optimized configs package but don't want to bother with doing anything else. These will roll out via auto update if you enabled it.

14 Upvotes

18 comments sorted by

2

u/Stretchy200 Oct 22 '26

Okay so I literally installed this today at about 12pm PST. Does this mean I have to rerun the installer for this fix?

2

u/Markes12344 Oct 22 '26

Any chance you're aware of a mcu error while printing with box heat? Patched? Or well atleast the qidi techs/support lead me to believe it was a firmware issue. But now i'm out of my return window and still can't print with box heat on

1

u/TheLegendTubaGuy Oct 22 '26

I do know about this and do not have a fix for it. Having the source for the box firmware would probably be necessary to fix that.

2

u/Natural_Astronaut Oct 22 '26

On my Max 4 with firmware 01.01.07.01, your v26.10.21.2 interactive installer stops with “Unrecognized installed bootloader; no reset sent”

2

u/TheLegendTubaGuy Oct 22 '26

Hey there! This is a safety check. Your bootloader doesn't look the same as mine did.

If you're willing, I'd love to collect some data from your machine. While your machine is totally and completely idle, you could run:

curl -fsSL https://gist.githubusercontent.com/thelegendtubaguy/9bec1c06e7c81c5cff8eafb93860277c/raw/2b170ef5edc658fcabccb41259a03e35c5d8d8a4/thr_flash_report.py -o /tmp/thr_flash_report.py && /home/qidi/klippy-env/bin/python /tmp/thr_flash_report.py

If you could send me the ~/tltg-thr-report-<timestamp>.tar.gz it prints, privately, or at least report.json.

1

u/Natural_Astronaut Oct 22 '26

Thanks, the report is ready. Where would you like me to send the archive privately?

1

u/TheLegendTubaGuy Oct 22 '26

You can DM me a link to it somewhere here, on Discord, wherever works for you!

2

u/munky8758 Oct 23 '26

Does this make it quieter?

2

u/CharacterInsurance32 29d ago

if i still use v01.01.06.05, and dont want to upgrade further, should i install your macros ?

1

u/TheLegendTubaGuy 29d ago

It should still be compatible!

1

u/WebInternational3238 Oct 22 '26

Thanks for everything you’ve done, but after I performed the upgrade you provided, I started having connection issues with Box 1. I’m not sure if I’ve misunderstood something, or if there’s actually an issue with their firmware version.

2

u/TheLegendTubaGuy Oct 22 '26

This doesn't touch anything with the box connection, so not sure how this would cause that.

You can reflash the original firmware and uninstall the package if you want to go back to stock.

3

u/BAU3R_ Oct 22 '26

And hes still at it...... goat

2

u/velocitasfortis Oct 22 '26

Already planning on blocking internet access from the Max4 at the firewall if I can stop being lazy, so sounds good. I've got some critical prints that really can't have more resonance artifacts than absolutely necessary in them, so I'll have to give this a shot and re-run input shaper tuning. Previous firmware tweaks worked out real well on my machine, so thanks a bunch for that as well.

2

u/riba2233 Oct 22 '26

awesome, thank you so much :)

1

u/Just_a_Final_Touch 17d ago

How do I install only Accelerometer fix without installing the whole new Firmware? So I want to keep the original FW but only fix the Accelerometer. Is It possible?