github KingOfPoptart/patcheddit redgifs-fix-v1
Redgifs fix + 6 bug fixes + Sync Ultra unlock

5 days ago

Unofficial build on top of wchill/patcheddit#100. Includes everything developed while chasing down and fixing Sync for Reddit's "Error connecting to Redgifs" error, plus 6 additional bug fixes and a Sync Ultra unlock ported from humzakh/HK-Morphe-Patches (GPLv3, same target APK version).

Redgifs fix

  • The core fix: Redgifs removed the /info endpoint (used only for a legacy IP-lookup parameter) and Sync's legacy flow depended on it — emulated locally instead of hitting the dead endpoint.
  • Token retry fixes: the "refresh and retry on failure" logic had two separate bugs, found in two rounds from real user logs and community review (credit pdscomp for the second). Both fixed.
  • "Open Redgifs links in browser view" setting (Settings → Security, off by default). Some users still see Redgifs fail even with the above fixes — appears to be some form of bot/anti-abuse detection on Redgifs' side that only affects certain networks/VPNs, and a real browser gets through when the raw API doesn't. This setting routes Redgifs links through Sync's own in-app browser view instead of the native player. Confirmed working.

New in this release: 6 bug fixes + Sync Ultra, ported from HK-Morphe-Patches

  • Fix "Other Discussions" — was hitting a dead submit.json endpoint on an unauthenticated domain.
  • Fix imgur linksimgur.com/a/ album links now resolve via the real Imgur API.
  • Fix inline images — markdown-embedded images in text posts now render inline with captions instead of showing as plain links.
  • Fix Image Post Selftext — markdown now renders properly in image posts' selftext.
  • Fix Reddit Video Linksreddit.com/link/.../video/ links now open in the native player instead of falling through to a browser.
  • Fix r/random — Reddit's own r/random API is dead for third-party clients; now fetches from an alternate source.
  • Unlock Sync Ultra + Fix "Restore Comment" — unlocks Sync Ultra Lifetime, and fixes the Restore Comment feature (was hitting the long-dead pushshift.io API, now uses arctic-shift.photon-reddit.com).

These 8 were verified against the real target APK: the patcher applied all of them to the actual bytecode with zero fingerprint-match errors. 4 were confirmed working live on-device (Sync Ultra unlock, r/random, Other Discussions, imgur link resolution); the rest (Restore Comment, Image Post Selftext, Reddit Video Links, inline images) compiled and applied cleanly but weren't exercised live against real trigger content this round.

Get it two ways:

  1. On your phone: open this link directly to add this as a patch source in Morphe Manager. Select Sync, enable the patches you want, then patch. You'll need to select the plain "Sync for Reddit" app tile, not "Sync for Reddit Pro" or "Dev" (those are separate legacy package variants) — pick whichever matches your actual installed app.
  2. Manually: download patches-1.4.1-dev.3.mpp below and use it with morphe-desktop:
    java -jar morphe-desktop-*-all.jar patch --patches=patches-1.4.1-dev.3.mpp your_sync.apk
    

Either way, the "Spoof client" patch needs an OAuth client ID filled in during patching — see the main README's "What if I don't have a client ID?" section if you don't have your own.

This is a personal fork, not an official patcheddit release — built on top of the fixes proposed in wchill/patcheddit#100, which is still open and unreviewed. wchill appears to have been inactive for a while, so this fork exists to get a working build out in the meantime. Once wchill#100 (or equivalent) is merged upstream, prefer the official release instead.

Disclaimer: use at your own risk. No guarantee of continued support/maintenance of this fork going forward.

Don't miss a new patcheddit release

NewReleases is sending notifications on new releases.