HushThreads icon indicating copy to clipboard operation
HushThreads copied to clipboard

bug: Sanitize sharing links patch fails on Threads 452 (OPPO CPH2625, Android 16)

Open cristianbodiu51 opened this issue 1 month ago • 2 comments

HushThreads and Threads versions

HushThreads 0.0.16 for Threads 452.0.0.50.64

Which Threads file did you patch?

Package shown in the diagnostic: com.instagram.barcelona (the screenshot truncates the package name). APK/APKM variant not provided.

What did you patch Threads with?

Morphe Manager (Android app)

Its version

Morphe Manager 2.4.0-dev.8

How was it installed?

I don't know / not provided.

Phone and Android version

OPPO CPH2625 (OPPO Reno), Android 16 (API 36)

Which patches were in your build?

The diagnostic identifies patch 20, Sanitize sharing links, as the patch that failed. The complete selected-patches list was not included.

Where did it happen?

Patching (Morphe Manager)

What went wrong?

Patching fails while applying Sanitize sharing links (patch 20). The diagnostic screen reports:

Patching fallito

Patch non riuscita: Sanitize sharing li...

Origin: HushThreads 0.0.16
Manager: 2.4.0-dev.8
Modificatore: 2.2.0-dev.7
Android: 16 (API 36)
Dispositivo: OPPO CPH2625

The visible stack trace includes:

ceShortLinksInHolders(SanitizeSharingLinksPatch.kt:328)
at app.morphe.patches.threads.misc.sharelinks.SanitizeSharingLinksPatchKt.replaceShortLinks(SanitizeSharingLinksPatch.kt:293)
at app.morphe.patches.threads.misc.sharelinks.SanitizeSharingLinksPatchKt.sanitizeSharingLinksPatch$lambda$0$0(SanitizeSharingLinksPatch.kt:234)
at app.morphe.patcher.patch.Patch.execute(Patch.kt:150)
at app.morphe.patcher.patch.BytecodePatch.execute$morphe_patcher(Patch.kt:308)

Expected: the patch should apply successfully to this Threads build, or provide a clear compatibility error.

What did you tap, in order?

  1. Selected the Threads package in Morphe Manager.
  2. Started patching with HushThreads 0.0.16.
  3. Patching stopped at Sanitize sharing links (patch 20).

Diagnostic report

Only the diagnostic screenshot and the visible portion of the error log are available. The full copied log was not provided.

Anything else?

The device has 12.02 GB RAM, with 3.25 GB shown in use, and 237.64 GB storage, with 69.31 GB shown in use. These figures are included for context; the visible failure points to the sharing-links patch.

The screenshot is not attached to this issue; the relevant diagnostic text has been transcribed above.

cristianbodiu51 avatar Nov 03 '26 17:11 cristianbodiu51

That's fixed for the next release. It targets Threads 454, so grab 454 when you repatch. Some APKMirror builds of 452, like yours, keep the share link somewhere the patch didn't expect, and it gave up instead of working around it.

SysAdminDoc avatar Nov 05 '26 14:11 SysAdminDoc

Closing this one since the fix is out in v0.0.17. Refresh the patches and patch Threads 454 with it. Should Sanitize sharing links still fail for you, write here and this goes right back to open.

SysAdminDoc avatar Nov 08 '26 21:11 SysAdminDoc