r/revancedapp • • Jul 08 '25

đŸ†˜Question Getting an 'Error loading page: 401' when trying to open up Reddit Sync. Anyone else with this issue?

As the title says. Am I cooked?

729 Upvotes

631 comments sorted by

View all comments

175

u/Albuyeh Jul 08 '25 edited Jul 09 '25

2025-07-09 Update: Fix has been pushed to development release of Revanced. Go to Revanced Manager settings and select use pre-release. Update the patches and spoof client_id like normal. Leaving my instructions below for anyone who still wants to patch manually.


Edit: Issue seems to be found at https://github.com/ReVanced/revanced-patches/issues/5387#issuecomment-3050530834. Looks like it is beause it makes call to https://ssl.reddit.com/api/v1/access_token instead of https://www.reddit.com/api/v1/access_token

Edit2: Instructions if you want to apply this fix yourself.

  1. Save the Sync .apk to your computer
  2. Open the apk with WinRAR (apk's are actually archive files)
  3. Extract classes.dex file and open in notepad++ or any other text editor (Be wary of using VS code. Some people have said "Don't re-encode the .dex as UTF-8, just edit and save. Notepad++ reads the file as ANSI".) The file will look weird and have strange symbols, don't worry about it. (Also if you're using Sync Pro or another reddit app, you may have to do Step 3&4 for the other classes#.dex files)
  4. Replace all instances (Ctrl+H) of ssl.reddit.com with www.reddit.com (there should be 5 instances)
  5. Upload modified classes.dex to the apk (dragging and dropping in WinRAR worked)
  6. Run revanced patches with your client_id based on this modified apk file.

0

u/[deleted] Jul 09 '25

[deleted] — view deleted comment

4

u/JohnWhatSun Jul 09 '25

Worked for me after a couple of tries.

I ended up doing what another u/nemesi54 suggested: downloading a fresh sync APK, editing that with MT Manager as described, then patching the resulting APK with Revanced manager.

→ More replies (6)

3

u/bobbyLapointe Jul 09 '25

Thank you my lord and savior !

→ More replies (31)

23

u/[deleted] Jul 09 '25

[removed] — view removed comment

6

u/[deleted] Jul 09 '25

[removed] — view removed comment

→ More replies (13)

4

u/GamingBread4 Jul 09 '25

I'm just some guy, but this worked. Plugged the APK into revanced and was back up and running in no time. You a Godsend 

→ More replies (5)
→ More replies (35)

13

u/bisonrbig Jul 09 '25

This worked thank you! I was able to follow your instructions exactly using Notepad++. I'm back using sync. Remember to export your sync settings to a save file so you can reimport them once up and running again.

→ More replies (3)

12

u/QXPZ Jul 09 '25

Thank you so freaking much. FWIW I tried Notepad and it didn't work. Notepad ++ did work though.

I needed a refresher and got some help with this step-by-step guide: https://docs.google.com/document/d/1wHvqQwCYdJrQg4BKlGIVDLksPN0KpOnJWniT6PbZSrI/edit?tab=t.0

Continuum was pretty good but not as good as Sync in my opinion. So glad to have it back!

6

u/[deleted] Jul 09 '25 edited Jul 09 '25

[removed] — view removed comment

4

u/ratmeleon Jul 09 '25

Would you mind sharing your Sync Pro APK?

It would be much appreciated!

→ More replies (1)

2

u/Albuyeh Jul 09 '25

How weird, mine were definitely in classes.dex. FYI the original file im using from APKMirror is com.laurencedawson.reddit_sync_v23.06.30-13_39-23033_minAPI23(arm64-v8a,armeabi-v7a,x86,x86_64)(nodpi)_apkmirror.com.apk

3

u/rafaelloaa Jul 09 '25

Right. I'm using the Sync Pro apk, which itself is a separate app.

→ More replies (16)

5

u/l_Banned_l Jul 09 '25

can confirm that im back on with theses changes

3

u/chucknades Jul 09 '25

I must have done something wrong. I got an error when trying to re-patch.

→ More replies (4)

5

u/gullzway Jul 09 '25

Can also use MT Manager on your phone to make changes and reinstall the apk, no PC needed or patching.

2

u/0scar-of-Astora Jul 09 '25

Hi, I managed to install MT Manager but the app seems a bit complex for me. Could you please share instructions on how to change the apk through it?

→ More replies (1)

4

u/apeschwartz Jul 09 '25

Sync is crashing whenever I click on an image after the patch. Any ideas???

→ More replies (5)

3

u/etay080 Jul 09 '25

On Linux I couldn't patch the APK after modifying classes.dex with Kate
These instructions worked perfectly for Linux - https://github.com/ReVanced/revanced-patches/issues/5387#issuecomment-3051120546

→ More replies (2)

2

u/7thdilemma Jul 09 '25

This seems to be working for others, and using winrar and notepad++ was easy enough, but when I try to install it tells me the package is invalid. Is there something else I need or did I mess up somehow?

→ More replies (2)

2

u/Metroplex7 Jul 09 '25

I can confirm that this worked for BaconReader too! Only difference is that the 'ssl.reddit.com' s that need replacing are in classes3.dex

→ More replies (1)

2

u/im_datta0 Jul 09 '25 edited Jul 09 '25

I just tried doing this multiple times from multiple systems but nothing seems to work :(
Still getting 401.
When I try to login I'm greeted with "invalid request to oauth API" :(

EDIT: dumb mistake. there was a space at the start of the reddit key which caused all this.

→ More replies (1)

2

u/BattoowooGreekgreek Jul 10 '25

You are awesome, thanks for laying this out. Sync lives!

→ More replies (101)