T O P

  • By -

HoseanRC

This patch should be implemented directly to RIF it self, so instead of using any other application, you should beable to add your client id and reddit app information inside RIF.


Vogtinator

Yeah, various users asked for that but the author never replied :-/


Etheo

I can understand - maybe it's due to legality issues, or maybe it's simply he'd end up doing work and tied with extra maintenance for basically an unsupported app. Who knows, I don't blame him. He's given us years of great Reddit browsing experience. He deserves to move onto greener pastures.


ink_13

yeah, this is a violation of the API's Terms of Service


Etheo

That's what I'm worried about. Means this solution is still a clutch at best and just extended the reddipocalypse a little.


kiradotee

Ideally the app would be open sourced so other developers could fix bugs/continue development. Because eventually the app will break.


Ylsid

A violation? Of the official Reddit Terms of Service? Oh no we're going to jail :(


5h4d0w_Hunt3r

Even if they try then we can all just ask how it's fair for us to get arrested for using a modification while they can violate privacy by restoring and also violating another few laws while abusing their powers to go around editing someone else's comments to fit what they want


halosos

Because as shitty as it is, it is their platform. It is their property. If you own a shop, you can kick anyone out for any reason so long as it is not prejudiced. You can say that anyone who has bought nike shoes is banned. They may be hypocritical and shit and everything else, but they have broken no laws. I miss RIF. Reddit was fun.


asyd0

How is this true? I'm not arguing, I'm genuinely curious, don't the new API terms specifically state that personal use API keys are still free? Why would it be a violation to use it inside RIF? For any purpose in this case it can be considered just like a "wrapper" of Reddit's API, right? I mean, what's legally preventing people to use reddit via api only? This would basically be that.


ink_13

Under the TOS, one app => one API key Again, under the TOS, it's not OK to have an app with swappable API keys, particularly when they have the same user agent string If the user agent gets changed this will be harder to detect


SpaceSteak

Ahhh feels like the Adblock war! Dynamic and spoofed user agent strings, taking it from other apps, etc.


IIOrannisII

But then couldn't the app be developed to direct you to the place to get your own API key at startup so each person who uses RIF is then using their own personal API key?


SpaceSteak

That would likely violate some ToS so Reddit could ask Google to remove the app, same way that Revanced isn't a Google App Store app. So sure, that functionality can exist in a gray zone, but it might be a continuous battle.


Signy_

Technically, when you go to the reddit settings and you make a new api key, you are making a new app on reddit. The client you are using to login is another thing completely. Reddit TOS whenever they mention and api app, is an instance of a app on their service with it's own api key. Rif and other third party apps before used a single api key for all the requests of their users, that was why the owner of that app/api key had to paid for the requests of all the users.


Meaxis

Reddit themselves said no. Guy doesn't want to get a lawsuit


fap-on-fap-off

The developer tried that he was asked to do it, but isn't willing to put in the effort, when Reddit may block that method at any time.


HoseanRC

I would like to work on my own fork of RIF, but got some projects to do...


samihamchev

Just a small correction on step 7 - you **can** backup your settings and history from rif's settings(Settings>Backup) and import them once you're done patching. Other than that, great guide! And to everyone reading this, the apps you can patch are: -Rif -Sync -Relay -Infinity -Boost -BaconReader


nret

In these instructions theres the uri redditisfun://auth, do you happen to know the uris for these other ones? Or is it obvious when you're at that box?


Citizen_V

It's listed in the patches' description for each app. You can see it on the Github page, or within the Revamced Manager when you go to select patches.


samihamchev

When you patch a specific app and click on patches, the url for the app is written in the *change oath client* patch's description. You can check out [this page](https://github.com/revanced/revanced-patches/) with all the supported apps for patching and with the patches' descriptions.


sebulon_88

Is there any way to get settings and history back AFTER uninstalling and not backing up settings? I had not realized that was a thing until after I did everything.


samihamchev

I'm sorry man, I don't think so


b0e_zaah

Worked perfectly, thank you so much. Is this a long-term fix or does it merely prolong the inevitable?


Etheo

I think it's closer to the latter, since RIF is not being updated anymore.


Darksirius

So it stopped working with RIF when I logged in. Said invalid client ID. (I'm using the correct user / pw) I'm assuming the client ID is the random string of text under "installed app" when you're in your app preferences?


Etheo

That's right, so double check to make sure you have the correct client ID (it's case sensitive) and make sure there are no extra spaces, etc. The app type also need to be "installed app" with the correct redirect uri.


Darksirius

Just to get back to you: I had to do what you did in step 6 and uninstall RIF if Fun (even though I didn't get a package conflict). After that, reddit allowed me to log in and connect 'my app' to the site. Thanks again!


Etheo

You're welcome! Glad it worked!


Darksirius

Worked for me too. I think it'll last as long as the personal API access is still free.


Darksirius

Actually, it stopped working when I logged in.


zamfire

3 months in, and still works.


[deleted]

[удалено]


Etheo

I doubt it, but can't guarantee. You can use a different account to set up the client ID if you want but heavily doubt your account will get banned by logging in.


RevWaldo

I may knows a guy who knows a guy who tried the patch with a new account and nearly all their comments with that account were shadowbanned.


notadoctor123

That makes sense, to the Reddit API it probably looks like a bot that is trying to circumvent the limitations of the official Reddit app.


SpaceBurn_

nice tutorial


Vogtinator

I did the same, just manually using apktool and some smali editing. I also enabled debugging for the app, which allowed me to restore the databases for history etc. using adb.


[deleted]

[удалено]


Vogtinator

You can change literally everything. I kept both at the default though, for now that won't make any difference.


[deleted]

[удалено]


Etheo

That's always an option. I'm just waiting for a better alternative.


emidas

You're free to stop using reddit at any time.


[deleted]

[удалено]


emidas

So in other words You’re still fucking using it, my guy.


GiveMeSalmon

When I click on "Login" on RiF, I get presented with the "You broke Reddit" page. :/


Etheo

Try it again later, sounds more like a Reddit service problem.


advarcher

Is the "redditisfun://auth" specifically for the base version and not the golden plat version? When I tried doing this I got met with a few unable to install errors. But for whatever reason, RIF still works for me and all my subs saved on the sidebar are still there, I just can't login or upvote/comment on it (which is fine too, i'll still take this over using the regular reddit app lol) Edit: OH. I got it working again! Had to uninstall and reinstall (from Google play store not installed apps tab) then reapply Revanced update, wait for the install button, uninstall RIF Plat, hit install back on Revanced, and this time I was able to login! Confirmed works with RIF Gold Plat version!


Etheo

Not sure about version differences, this instruction is based on what revanced app says to do on first install. When not logging in I think RIF is using public token based on another comment I received. But you won't be able to login and comments, etc.


advarcher

I guess for casual browsing using the public token as fine as long as I have all my subs saved on the side; it's still nice that it kinda works either way; thanks for posting all this though, will definitely give it another shot again in the future!


advarcher

I got it to work now! Thank you so much! Updated my original comment


Etheo

You're very welcome!


JaviJ01

Were you able to login in or did you mean you just got the app to work?


advarcher

I was able to login and use RIF normally!


JaviJ01

When I sign in it gives me a Bad Request Error. I might have to try again later.


advarcher

Yea that happened to me too I uninstalled RIF, and reinstalled (didn't login), then tried Revance again to apply and followed the steps above (uninstalled RIF when revanced finished patching and promoted to install) and then it successfully installed and was able to log back in


Misaka9982

Revanced Rif just stopped working for me. Have Reddit cottoned on?


GRAIN_DIV_20

Same here


[deleted]

[удалено]


GRAIN_DIV_20

Maybe, but reddit as a whole was breifly down. Hopefully it's just related to that


[deleted]

[удалено]


ghostnappa82

Same here, I really hope this isn't truly the end of RIF, the UI is so much better than the other apps. :'(


[deleted]

[удалено]


ghostnappa82

Same here, it seems it was an outage on reddit's end. https://www.redditstatus.com/


GRAIN_DIV_20

It's fixed now, you just need to install the "spoof agent" patch with revanced


MauricioSnchz

Same here


zamfire

Has been like this for hours. Anyone have a solution?


Misaka9982

Update revanced and install new patch called Spoof Client. It's fixed, for now, might be a game of cat and mouse if Reddit coming coming after us. https://www.reddit.com/r/revancedapp/comments/15gjiai/did_patched_rif_just_stop_working_for_anyone_else/


Newthinker

The spoof client fixed it for me just now. Good looking out.


Etheo

Working again now! Seems Reddit login stuff was crapping out. Was worried for a bit too 😁


hgttg

Hooooly shit it worked, thank you so much


Etheo

No worries enjoy RIF!'


xnd714

Works for me, however when I try to log in, it says "invalid request/invalid client ID", despite the rest of the app working. So I'm stuck using the app while logged out. Better than nothing, I suppose.


Etheo

Double check your client id, remember it's case sensitive and it needs to be the "installed app" type. If that is the issue, once you updated the client id, uninstall RIF and repeat the steps again. Good luck!


xnd714

Got it, thank you! I'm not exactly sure what went wrong the first time, but a reinstall fixed it (i didnt make any changes to the client ID text file). I would caution others to be careful because once you uninstall it, its not available to download again on the google play store. Luckily I still have it installed on my tablet, so I was able to bring the APK to my phone using samsung smart switch.


Etheo

You can actually go to Play Store, manage your apps, go to the "not installed" filter and scroll aaaaaaaalll the way to RIF and reinstall. Otherwise I believe it's also available on apkmirror. But that's a great precaution to mention!


[deleted]

What about Apollo!


Etheo

Sorry I wouldn't know. This is only for a handful of Android apps...


[deleted]

So no iOS apps allowed yet!


mechasnyper

I happened to have this issue where I encountered the "package conflict" error even after uninstalling the app. In some cases, some Android phones have an isolated environment where you can install apps. In Samsung's case, it's called "Secure Folder". Make sure you uninstall RIF from there too before installing the patch.


Etheo

Great tip. I didn't have this issue but glad you resolved it and thanks for sharing.


crazy1david

To clarify if you have the package issue, "patch" and "install" are to separate steps. You need to patch, then uninstall rif, then go back to install on Vanced. I was resetting vanced after patching thinking it wasn't working lol. You want the installer specifically to say it's installing and not just updating.


netherous

So there's a problem with this now, if you ended up not uninstalling the previous RIF app at the key point (like if you did it too late, after the package conflict message). The first time, RM will find the RIF patcher fine and compile, but if you have already uninstalled RIF, you will need to find and select the com.andrewshu.android.reddit patcher. This makes RM tell you the download function isn't available, and you can't proceed, because what it really wanted was for RIF to already be installed so it can patch from that. RIF is no longer available in the play store, so if you uninstalled it too early or too late, you're hosed. I'm still trying to find an apk of RIF, or find the .apk that I'm assuming RM compiled for me on the phone filesystem, but no luck. Maybe there's a way to get RM to have the RIF patcher downloaded some other way instead of giving me an error. Edit: Installed RIF 5.6.22 from [APKPure](https://m.apkpure.com/rif-is-fun-for-reddit/com.andrewshu.android.reddit) and restarted the process. RIF is now working :)


onbakeplatinum

Thank God I'm back on RIF. I feel like I spent the last 3 days stuck in a Fisherprice toddler's playhouse


Etheo

I need my fix cuz!


Mustard__Tiger

Hello. I completed all the steps correctly without any errors but when I try to login in RIF it just opens a browser and logs me into Reddit in the browser and not the RIF app. It's the same browser as when you click any link in RIF? I'm not sure what I'm doing wrong here. Any help would be much appreciated. Edit: I was using an older version of the RIF app. Patching a newer version fixed it and I was able to login! Thanks for your help!


Stalzy

Tha is so much, uninstalling rif and installing is what fixed it


mysidianlegend

i finally got around to doing this and it worked first try. thank you SO MUCH. reddit on browser is cancer and i'll never use their app. I appreciate this a lot. I used RIF for years !


Etheo

Glad you got it working! You're very welcome :)


narkalieuths

I can't believe I'm using RIF again. :') Thanks so much, man. I assume this works (and the original apps don't) because the API queries are limited to a single user (us) now? Or is it something else?


Etheo

You're welcome! Yes, I would think the limited personal API use is what makes it work.


DeeOhEf

Does not work for me, no matter what. I quadruple checked I got every step right.  It installs fine, but when I try to login, it does not redirect back to the app and I'm just logged in as if I were logged into browser. I've even tried it with Boost and I get the same thing.


Etheo

Could be they changed the auth procedures, could be that your RIF's redirect isn't working right somehow (are links being opened as external? Check setting). I might reinstall RIF on my tablet later - if I run into anything similar and somehow resolve it, I'll let you know. Until then, good luck! Sorry I can't be more helpful.


DeeOhEf

Hey man, I think I understand the problem. It seems it was changed so you can *only* login via new.reddit.com and no longer with old.reddit.com which seems to cause an issue with rif and other clients.


Etheo

Damn, looks like they're dead set on curbing out 3rd party. Can't say didn't see that coming. Would it help to add new.Reddit.com to RIF for opening?


EastlyGod1

Just got a new phone and ran into the same issue when trying to login. Is there a chance of a workaround for this at all do you think?


nutzle

The log in screen is black for me :(


Etheo

Apparently they changed the auth site from old.Reddit to new.reddit. I'm not sure if there's a workaround for that unfortunately...


[deleted]

[удалено]


poland626

IDK what I did personally, but I tried loading it and loading it, hit the back button a few times and it logged me out. Now I'm logged out and the app works 1000%. IDK what I did really, I can't log in though. I wish I knew what I did to tell people to do it but all I remember doing it trying to open it, it wouldn't load so I did that back button thing I said. IDK. I didn't do anything in your post.


Etheo

Without logging in apparently it uses a public token so it would work. The logged in session is where it stops working unless you patch it.


poland626

got it. I understand now


crazy1david

If you do not care about logging in you're good. If you want to comment without opening the reddit app you have to do this workaround


Thoraxe474

God I need a video for this, and I can't get it to work. I'm a visual learner


Etheo

It's actually farther straight forward as can be already. If you are stuck in a particular step I can try to help.


Thoraxe474

I'm good, Thank you. I found a guide with pictures. What was throwing me off was putting the text file in the proper storage. I was looking for the path you list but it just needed to be in my root, rather than any folder.


FR05TY14

I'm sorry, I'm stuck on step 3.


Etheo

No worries. so I assume you created your client ID on Reddit already. What you need to do now is use a file manager that can navigate to the "storage/emulated/0" folder, or most often your default file manager might just call it the "internal" base folder. You should see a bunch of folders there, e.g. "Downloads", "DCIM", "Notifications", "Android", etc. If you see these folders, that mean you are in the correct base folder (unless you have an SD card, then just make sure you're not on the SD card folder and actually in the "Internal" folder. If you don't know how to use your file manager, you can try Simple File Manager: [https://play.google.com/store/apps/details?id=com.simplemobiletools.filemanager&hl=en&gl=US](https://play.google.com/store/apps/details?id=com.simplemobiletools.filemanager&hl=en&gl=US) It should get you where you need to go. From there just create a new file (text file) name it "reddit\_client\_id\_revanced.txt" (no quotes) and paste or type in your client ID carefully as the *only content* inside the file. Save it. From that point just continue to step 5.


FR05TY14

The simple file manager was just what I needed. My default file manager gave me no option to create a plain text file. Once I was able to create the reddit_client_id_revanced.txt file, it all went smoothly. I'm back in business and enjoying RIF once more. Thank you so much, this info is monstrously appreciated.


Etheo

No worries, glad it helped!


ferahm

Is there a video tutorial?


Etheo

No but try following this: https://docs.google.com/document/u/0/d/1wHvqQwCYdJrQg4BKlGIVDLksPN0KpOnJWniT6PbZSrI/mobilebasic?pli=1


_Strange_Perspective

"storage/emulated/0" that folder just doesnt exist for me? Couldnt find anything with "storage" nor with "emulated". What am I doing wrong?? ​ Edit: For some reason "storage/emulated/0" is just the root of the device. No clue why people write it this complicated and dont just say "root"?!


advarcher

I connected my phone to my PC and I basically just dragged the text file into the "Internal" window


007craft

Because root is a different folder. You cant create a new file in root on your android as you won't have permissions to do so. /storage/emulated/0 is the "root" of your phones internal storage, but not the root of the Android OS. I was a bit lost at first trying to create a text file in root until I read further down that it really belongs in /storage/emulated/0. If you have a proper file manager (I use MX Explorer) you can actually get to android root, unlike the half baked built in one which doesn't show true root


miaSissy

I am sure this has been asked but out of pure curotisty what happens when the entire Reddit base starts down voting promoted content? Edit: I suck at spelling.


Etheo

What do you mean? You mean the posts Reddit pushes in between our feeds? Not sure how that relates here since we don't get that on RIF, but I don't think it'll impact anything.


miaSissy

Yes and on Official app. My wonder/question is pretty simple here. Reddit wants us to move to official app, and away from the API for a very obvious reason. Reddit want to make more money. I am cool with them doing so just not in how they are doing so. We all know the Official Reddit app is filled with Ads. Some of those ads are upvoted sometimes. I am assuming that the upvotes are used for marketing purposes as data to advertisers. So simply enough, what happens when the user base down votes all promoted content?


miaSissy

I guess I am wondering if we can we possibly affect their bottom line in a way to enforce our point?


Etheo

If the black out didn't work with the impact we hoped, I doubt mass downvoting works help any. In fact I'd argue most promoted posts are probably more heavily downvoted than normal posts already.


miaSissy

Just a thought. Anyways see you all on the flip side, I a m moving.


Etheo

Let me know too when you find a good alternative 😊 cheers!


miaSissy

Have not yet and now to the point I am simply going to find another service. Sad


miaSissy

Reddit = porn to me now. When porn shown no ads allowed to be shown. Hence why they constantly shove different topics down your throat in the official app. Mark it, an ad almost shows up after every one of their suggested posts and I am sure that the reason is why is because the advertisers says do not show my ad after porn. I litteraly hate the official app.


onbakeplatinum

I followed the directions in the google doc exactly but I cannot login, I always get a bad request. Uninstalling and reinstalling or repatching through revanced manager makes no difference. EDIT: I edited the auth url to be all lower case, then did the "change app auth" or whatever in revanced manager and that worked.


Etheo

Edit: seems you got it. Great! The Google doc is not mine but it should be similar enough. Are you sure the patch was successful though? If your file is misplaced it misnamed it won't give you an error, it'll just give you the instruction on how to set up the client ID and still says "install". Make sure you read the patch log to see. Another possibility is your client ID had a typo or extra space, or it was the wrong app type (needs to be Installed App with the redirect uri). Check those things and see if it helps. If you have a particular error message that can be shared it might help.


onbakeplatinum

What a fucking relief. Hopefully this will last forever. Also NSFW still works. Maybe that API change is on a future date?


Etheo

It's definitely more delaying the inevitable but let's just enjoy the moment for now 😀


JaviJ01

Just wanted to give you a HUGE thanks for this post. I was getting a bad request error as well. I had the first letter capitalized in my Redirect URI line, made it lowercase and it fixed it.


Shyt4brains

So when you do this patch it should log you in? Because it asks for my 2 factor code but no where to put it in..


fap-on-fap-off

Only kind of working for me, but not really. I had a security error during the install step. I had to download and reinstall the latest RIF file from APKMonk. Then I redid the steps and was successful. Rif started up and displayed everything properly. Able to review any subreddit. Imported the backed up settings, all good, except it apparently didn't back up credentials. Tried to login. Presents the Reddit sign up/sign in page. I signed in, and the resulting Reddit page does show me as signed in, but with an error message at the bottom, "bad request (reddit.com) /// you sent an invalid request — /// invalid client id." As a result, rif is still bruising anonymously, which means I can't vote, post, or comment. Any ideas?


Etheo

Not too much but I would hazard a guess your client ID wasn't set up right, maybe there's a typo, extra space, or the client id setup on Reddit wasn't right? Another thing I would try is get the official latest version on Play Store if you downloaded there before. It'll be in your account history. Just go to Play Store > your profile > Manage My Apps, select "not installed" filter and scroll to RIF.


fap-on-fap-off

If the key was wrong, won't fail to connect at all? I can see posts normally, so it is able to query Reddit API. I don't think it is possible to install from the store anymore. It appears to have been pulled. Update: guy it to work. Find the Play Store page by googling it doh! reinstalled and yay


Etheo

If you aren't logged in it uses a public token is what I understand, so that's why it would work on that case. Glad to hear you got it working now!


[deleted]

[удалено]


Etheo

Make sure your client ID is right (case sensitive, no space) and the file path, name, & extension is correct. The folder might be called "Internal" depending on your file manager. If you have issue with the file path you can try [Simple File Manager](https://play.google.com/store/apps/details?id=com.simplemobiletools.filemanager) which worked for another person too. It's just the base folder of your phone really. Typically that's where you'll see folders like "Downloads", "DCIM", "Android", "Notification", etc. If you see invalid request most likely the patching wasn't successful with the right client ID.


[deleted]

[удалено]


Etheo

No, just login as you would normally with your Reddit account.


ryanmemperor

I did not do a single thing. My RIF all of a sudden is working again!


Dopeez

seems to be gone again since today? Was working for like a month, I assume they shut it down?


Etheo

Working again now! Seems Reddit login stuff was crapping out. Was worried for a bit too 😁


sirrimmerofgoit

Mine was working earlier when other reported theirs had failed. But now mine has died. Is yours still working?


Etheo

Nope mine just died again :(


Lazysadie

Reddit banned RIF, there is a workaround. Someone made a new patch in the ReVanced Manager: https://www.reddit.com/r/revancedapp/comments/15gjiai/did_patched_rif_just_stop_working_for_anyone_else/


zapurvis

Does this patch still work? I got kicked out today. https://imgur.com/a/xmqzink


Etheo

Think you need to create a new API key now, they banned the first batch we used.


hgttg

Stopped working for me? Won't let me log in suddenly


Etheo

Still works for me, but maybe your API key got picked up. Try setting up a different API key and redo the mod.


gottebag

Stopped working for me too. I tried creating a new app, updating the client ID in the reddit_client_id_revanced.txt file and then repatching. Still not working :( I get a" you broke Reddit" error page when I try to log in.


hgttg

Working again today, didn't do anything. Probably Reddit messing with something


Etheo

I had the same issue before but that seems to be intermittent... Maybe try again? Sorry if I can't be more helpful...


c4t4ly5t

I uninstalled RiF 😭


Etheo

If you installed it before I think you can still get it on Google Play store, if not something like apkpure or apkmirror should have it.


c4t4ly5t

I checked, couldn't find it on play store. I'll try those other two. :)


htx1114

It's in your purchase history (or something like that)