airbreak icon indicating copy to clipboard operation
airbreak copied to clipboard

Patching SX567-0302

Open grf100 opened this issue 4 years ago • 5 comments

I tried using ruri-baka's 0302 patch script form here. I get the HACKED! message on the screen, but it did not unlock any of the extra modes. The hash on the code I have is c7d16d912816b3e5b40158b695aaff629abc9f20bb4639943748bf2ae0d8b768 I assume since this hash is difference that the offsets are different? Any guidance how how to determine the offsets on the code I have?

grf100 avatar May 09 '20 14:05 grf100

What model and PCB revision hardware are you testing on?

ruri-baka avatar May 11 '20 14:05 ruri-baka

Aircurve 10 Vauto, model 37051, PCB is Rev1.0

grf100 avatar May 11 '20 14:05 grf100

Sorry to necro this almost exactly a year later... I found that the 0302 patch script itself needed to be patched to get a successful flash with the new menu items (just flashed it successfully but haven't tested the new modes yet).

Attached is my modified patch based on @ruri-baka's original patch.

sx567-0302.patch.txt

Apply to the original codebase (not patched) using patch -p1 < sx567-0302.patch.txt

beast-in-black avatar May 13 '21 22:05 beast-in-black

@beast-in-black How did this turn out for you?

TexNOz avatar Dec 15 '21 09:12 TexNOz

@TexNOz I've been running the patched firmware right from when I posted the patch. Works great, including the new modes. I've kept mine on APAP mode just to be conservative although I have increased the max pressure limit to 23 (stock tops out at 20).

On Wed, Dec 15, 2021, 04:45 TexNOz @.***> wrote:

@beast-in-black https://github.com/beast-in-black How did this turn out for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/osresearch/airbreak/issues/47#issuecomment-994583310, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALNHK7TWSL36LQHWOTWIBILURBPUXANCNFSM4M4Z5QTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

beast-in-black avatar Dec 15 '21 11:12 beast-in-black