r/revancedapp • • May 30 '24

Question/Problem Did reddit break third party apps dev token patch?

[removed] — view removed post

226 Upvotes

275 comments sorted by

View all comments

0

u/[deleted] May 30 '24

[deleted] — view deleted comment

68

u/remghoost7 May 30 '24 edited Jul 18 '24

edit - You do not need to patch this with Revanced. The changed line is the patch. You need to be a moderator to use it though (which can be done by making your own subreddit).

Here's a patched Boost 1.12.12 for anyone that might want it.

I changed the line above to "tacos" instead of "android" and it seems to work fine.I installed it via ADB.

You'll have to uninstall your prior version to install this one (since the signature is different).

I couldn't get Swift Backup to work (since you need to be rooted to backup the data), so I had to re-login to reddit. Just an FYI, it took a few restarts of the app for the login to work. I have no clue why. But it seems to work fine now that I'm logged in.

-=-

The comment above used to say this:

For boost, need to change useragent.

It's currently:

android:com.rubenmayayo.reddit:1.12.12-210011212 (by /u/rmayayo)

Remove "android"

com.rubenmayayo.reddit:1.12.12-210011212 (by /u/rmayayo)

If you want to modify it yourself, you'll have to download it from a site like APKMirror, then use apktool with a command like this:
apktool.bat boost.1.12.12.apk

The line you're looking for is line 161 in this file:
boost/smali_classes2/xb/l.smali

You'll recompile it with a command like this:
apktool.bat b "C:\path\to\decompiled\boost"

Then you'll have to re-sign it with uber-apk-signer using a command like this:
java -jar uber-apk-signer-1.3.0.jar -a boost.1.12.12.apk

-=-

Also, if anyone knows how to move the upvote/downvote buttons to the right side again, please let me know. I was using 1.12.7 which was before he made that change. Kind of hate it on the left (since I'm right handed). But I couldn't find that line in 1.12.7, so I patched 1.12.12 instead.

7

u/mezdup1 May 30 '24

Doing the Lord's work

4

u/Aurum0 May 30 '24 edited May 30 '24

Thank you so much for breaking it down step by step. Really appreciate it!!

Edit: Did the steps as described and boost is working completely fine again. Again thank you so much!

3

u/bigfootgary May 30 '24 edited May 31 '24

Thanks. I get 439: too many requests error.

I was able to login though.

Edit: login never actually works.. you login in the browser it pops up, but never goes through to app.

3

u/N0_Name_ May 30 '24 edited May 30 '24

I was getting the same thing but after logging in it looked like it started to work.

edit: nvm maybe. I installed it on my main phone after testing and now I can't login anymore. It gives me an error after I agree to connect the app.

editx2: Ok it went through now. Strange but it works I guess.

editx3: Looks like the too many request error comes in waves. After I was able to log in it was working for a while before it started to give me the error which in my case its error 429.

→ More replies (6)
→ More replies (6)

3

u/501stRookie May 31 '24

Is it possible to do this for Reddit is Fun?

→ More replies (4)
→ More replies (108)

11

u/Tostecles May 30 '24

Can you break down real simply what this actually means? Can I do this myself to restore Boost?

13

u/TheMemeMachine3000 May 30 '24

Idiots unite! I am also waiting for someone to dumb it down.

0

u/[deleted] May 30 '24

[deleted] — view deleted comment

5

u/studentblues May 30 '24

How do you do that for Sync?

0

u/[deleted] May 30 '24

[deleted] — view deleted comment

5

u/MinecraftGreev May 30 '24

Hell, I'd send you $5 for a RIF app patched that way.

0

u/[deleted] May 30 '24

[deleted] — view deleted comment

5

u/xXMadSupraXx May 30 '24

How do you acquire the APK if the app isn't available on the play store or APK mirror? 🤔

→ More replies (1)
→ More replies (17)

3

u/Magyman May 30 '24

What're you using the decomp the app? I always wanted the dev to open source it like he said he would years ago, but you've got the next best thing.

→ More replies (2)
→ More replies (13)
→ More replies (1)

3

u/brezhnervous May 30 '24

Damn, I wish I understood what you have very helpfully outlined here 🙄 lol

→ More replies (1)

2

u/Xieomr May 30 '24

where I can find that text?:)

3

u/Xieomr May 30 '24

nvm, already found it thanks to u/danGL3 for the tools and u/RoboNeko_V1-0 for the tips,

using apktool M -> decompile the apps -> decompile the classes2.dex -> open folder /smali_classes2/xb-> open file l.smali -> go to line 161 change android to anyword -> save -> compile this project -> sign -> install

done

→ More replies (2)

2

u/little_baked May 30 '24

Is it possible to manually do this for Boost? I'm trying to work it out but have no idea what I'm doing haha. I have decompiled the code for the APK but upon reflection I'm not sure this is the correct first step. 

I do humbly request your opinion. Can I get this going without a Revanced patch? 

If so and you can be bothered (it's okay if not) do I alter the source code, recompile and run?

2

u/10art1 May 30 '24

do you know if this would work for Joey?

2

u/Straight-Exam3221 May 30 '24

This is a perfect guide, but over my head. I got the APK decomplied, but where in the heck do I find this line to change the user agent?

→ More replies (8)