r/revancedapp • • Dec 06 '24

Resources Guide - How to patch Android APKs using Revanced CLI [Easy]

225 Upvotes

115 comments sorted by

11

u/BedBug2479 Dec 06 '24

make this pinned or add it in Wiki

3

u/WelcometoMyWor Dec 07 '24

What is 'CLI'?

2

u/ZealousidealSmoke612 Dec 06 '24

Thank you for the guide kind user.
Is there any way to select which patches to enable/disable?

2

u/willy096 Dec 07 '24

Thanks for this useful info dude!

2

u/[deleted] Dec 08 '24

So if I want to patch Utube, do I need to include revanced-integrations for CLI command (i had it before changes in patching: -m revanced-integrations.apk). And if I want to exclude enable-debugging?

2

u/[deleted] Dec 08 '24 edited Dec 09 '24

[removed] — view removed comment

2

u/[deleted] Dec 09 '24

Hey,

I tried to find the answer, but can't. It seems that there is no merge (-m) option for CLI anymore, so -m revanced-integrations.apk is no longer valid. Do you happen to know is this merging not necessary if we patching an app on PC?

2

u/[deleted] Dec 09 '24

[removed] — view removed comment

4

u/[deleted] Dec 09 '24

I see, thanks. There was a warning on that page: https://imgur.com/yQtwxaN

Hmm, may be it's irrelevant now, and we don't need integrations.apk while patching app on PC. I don't know...

2

u/Formal-Illustrator66 Dec 09 '24

Tnx but, what to doo with android tv, usually never needs this smart tv. blabla but got for birthday new one with implement Chromecast and android 11. Maybe someone put if alowed link for the quick tut. for optimization i need lower a bit of  ads network like in  my phone, one apk for TV and apk for movies anything what my life bee easily browser with minimal ads.(rightnowi have Comercial non stop. ☹️Tnx support. Chears miss and gent. 

1

u/4967693119521 Feb 06 '25

For android Tv try snap tube

2

u/New-Commission8659 Dec 10 '24

Do you know what version of the apk is the suggest or the stable version to patch? Cause I dit it with the last version on apkmirror, and everytime I close the app from the task manager, all of my albums and photos, just dissapear. Like I never did some kind of backup. So...any suggestions how can I fix this? Thnx in advanced and sorry for bad english.

2

u/[deleted] Dec 10 '24

[removed] — view removed comment

2

u/New-Commission8659 Dec 10 '24 edited Dec 10 '24

Ok my friend, will do. Thank you.

2

u/OkGarlic56 Dec 11 '24

hey it says
```
PS C:\Users\aamuk\Downloads\any> java -jar revanced-cli.jar patch -p patches.rvp -o photos.patched input.apk

Error: Unable to access jarfile revanced-cli.jar
```
any fix?

1

u/[deleted] Dec 12 '24

[removed] — view removed comment

2

u/OkGarlic56 Dec 14 '24

hey, I tried it on a different pc and the same problem was there... I ran the bashcopy command and it says unrecognized, went to the azul web and ran their command, it shows me the java version, anyfix?

1

u/[deleted] Dec 14 '24

[removed] — view removed comment

2

u/OkGarlic56 Dec 14 '24

Nvm I fixed it, turns out it had an additional .jar but it was hidden and not even showing in properties, had to turn on view extension

2

u/BiHaN290 Dec 26 '24

Hi, .apk, .keystore files and temporary-files folder has been generated. Should I just copy the .apk file on to my phone and install? Or should I do anything with the keystore file and folder?

1

u/[deleted] Dec 26 '24

[removed] — view removed comment

2

u/BiHaN290 Dec 27 '24

Thx, it works!!

2

u/xalagaco Dec 26 '24 edited Dec 26 '24

The instructions specifically point to v5.2.0 patch. Shouldn't we be using the latest?

2

u/xalagaco Dec 26 '24

Is it just me? I can't seem to download the patched file from Google Drive. It just doesn't show up in Download. A zero byte file shows up for a while, then poof. Had to use a USB cable which worked fine.

2

u/SethJ44321 Dec 28 '24

Thanks for this. Been using an old pixel to upload photos but hesitatant Google may ban if this is discovered. Got a lot of photos over the years on my account so will be watching how people try this. 

1

u/[deleted] Dec 29 '24

[removed] — view removed comment

2

u/SethJ44321 Dec 29 '24

Will try that thanks. I was trying to use the revanced manager apk and cannot patch Google photos. I'm not the best at the pc and trying this but thanks for the instructions I will give this a try. It is a bit more technical than the apk rebuilding 👍

2

u/Fun_Split_2781 Dec 29 '24

Hi

can help me to how patched tiktok using CLI by step by stepi use this steps but can't save move to /storage/emulated/0/TikTok

2

u/mindstop7 Jan 02 '25

Thanks for this detailed guide. Very useful. I followed everything and got the app installed. Disabled the stock photos app. But the issue I'm facing is, the storage is not unlimited. It still is counted within the 15 GB limit. If I go to the revanced app, it says photo storage is unlimited. But the storage is counted for my photos and videos. How to fix this?

1

u/[deleted] Jan 02 '25

[removed] — view removed comment

1

u/mindstop7 Jan 02 '25

Which Google photos version did you patch and work fine?

1

u/KantutinQKipaymu Jan 03 '25

Did you find which ver. of the app that has unli storage?

1

u/[deleted] Jan 02 '25

[removed] — view removed comment

2

u/mindstop7 Jan 04 '25

I realised the mistake. So the photos already uploaded will still count towards the 15GB storage. Only the newly uploaded photos will have the unlimited storage feature.

So it worked with the latest version. Hope Google doesn't do anything about this feature.

2

u/KantutinQKipaymu Jan 03 '25

Is the revanced google photos still working rn?

2

u/ABIR_CHAKRA Jan 14 '25

I did everything exactly as mentioned in the above guide but when I try to install the patched apk in my phone it says, "App not installed as app isn't compatible with your phone."

I downloaded the photos app from ApkMirror and the app version was Google Photos 7.12.0.712660902 (x86_64) (nodpi) (Android 6.0+)

Did i do something wrong?
The official photos app is disabled on my phone, can that be a reason?

Please help.

1

u/[deleted] Jan 14 '25

[removed] — view removed comment

2

u/ABIR_CHAKRA Jan 14 '25

Yeah it worked thanks a lot! Your guide is amazing. Keep up the good work bud👍

2

u/Whole_Wafer7251 Jan 14 '25

in the 4th step you mentioned to download input apk from apk mirror but I don't understand what do you mean by input apk?

2

u/[deleted] Jan 15 '25

[removed] — view removed comment

2

u/Whole_Wafer7251 Jan 15 '25

is there any video tutorial for this cause this is too complicated for me ( I am not that much of a tech guy)

2

u/infiunfi Jan 25 '25

im getting "file" instead of apk format and im not able to select that file to install it via revanced manager

2

u/Healthy-Doctor-1929 Feb 11 '25

I only want to thank you! This post needs to be way more up. With all your steps, everything was so easy through my PC. And I guess I can also patch Revanced compatible apps like in the Manager with the same method and downloading its APK, isn't it?

2

u/Embarrassed_Place534 Mar 05 '25

Hola buenas sabes si puedo parchar esta apk de manera que deje guardada la sesión me refiero a que quede abierta o si podria funcionar en otro tipo servidor gratuito https://play.google.com/store/apps/details?id=com.pagadiario.reseller1

1

u/[deleted] Mar 05 '25

[removed] — view removed comment

1

u/Embarrassed_Place534 Mar 05 '25

Esa aplicaión solo tiene 3 dias de prueba me referia si hay una forma de usarla en el servidor de redvanced o hacer que siga funcionando sinpagar o de manera offline!

2

u/King-Cuco Mar 07 '25

in what folder does the patched apk go to? I filled the steps but I can't seem to locate the latched apk

1

u/[deleted] Mar 07 '25

[removed] — view removed comment

1

u/King-Cuco Mar 07 '25

i don't know what's going on then, after I run the command I get no errors and it seems like the patch works but there's no other apk in the folder besides the input apk.

1

u/King-Cuco Mar 07 '25

EDIT: had to delete. apk from input. working now

2

u/ThaiEdition Mar 08 '25

I really appreciate your detailed tutorial guide. Thank you so much.

2

u/Joel_Atkins Mar 29 '25

Hello.

Are you able to upload from the locked folder using your method? When I try on my revanced version, it never successfully starts the upload(when uploading from the locked folder).

Also, the app seems to have difficulties using the Video Boost feature, has anyone with a compatible phone given this a go?

Thanks.

2

u/[deleted] Mar 29 '25

[removed] — view removed comment

1

u/Joel_Atkins Mar 29 '25

The Google Photo app has a Locked folder option where it separates your content in the collections tab.

https://ptpimg.me/c49561.png

2

u/Ambrosia_CaratBB Mar 30 '25

Is there a way you can make a stable patch for BTS Universe Story or did you do that already?

1

u/[deleted] Mar 31 '25

[removed] — view removed comment

1

u/Ambrosia_CaratBB Apr 02 '25

It was an app where you can make interactive stories as well as customize characters (well.....at least any character outside of kpop group bts). BTS are pretty much the main characters in so many stories.

But, it got shut down due to their focus on another game.

1

u/Vivu04 Jan 25 '25

Got an error severe restore hidde. Backup while charging toggle failed any idea ?

1

u/Burkely31 Jan 27 '25

Broooooo... This is COMPLETELY unrelated, however, I own an Pixel and have had a pixel for my personal phone the last few versions they've dropped and they've NEVER given me anything like unlimited storage. In fact, I not only pay for google workplace for work but I also got suckered into paying google onedrive for the simple fact that I can't go throug 3787262748742 pictures in a decent amount of time lol.. wtf gives.. I'm going to need to find a google bot to speak to about that crap!

1

u/[deleted] Jan 27 '25

[removed] — view removed comment

1

u/Burkely31 Jan 27 '25

Well, currently in my hand is the Pixel 8 Pro, but just ordered (I could be mistaken but I think it's also the pro) for the Pixel 9.

Thinking back, I kinda believe when I set this 8 Pro up, it had some mention about a 6 month sub if storage for free, but it also mentioned I didn't meet the requirements due to having a Google account. At the end of the day, who the hell doesn't have a Google account now days... 100% going to hit them up about this though, I kinda feel a bit dirty and taken advantage of 🤣🤣🤣

1

u/[deleted] Jan 28 '25

[removed] — view removed comment

1

u/Burkely31 Jan 28 '25

I actually reached out to Google yesterday evening. They offer a free 250gb google one plan for 6 months these days. However, I am not eligible since I already pay for a plan. Which in my opinion, is a crock of shit. I asked them to escalate the complaint to a supervisor, which they did after I insisted about 10 times. I'm still to hear back from them. Either way, I'm absolutely going to follow this guide and take advantage of the patches? This is brilliant!

1

u/probul Mar 27 '25

Does anyone know how to patch ChatGPT with Revance Manager?

1

u/Razlnhign0710 Mar 29 '25

Do you know how to fix the issue that the app just keep saying "Getting ready to backup" for hours without actually doing anything? I've been stuck with this and don't know what to do

1

u/Just_Interview_1606 Apr 02 '25

Is it possible to "bypass" the visual bug with Tasker instead of MacroDroid?

1

u/magnusindica Apr 11 '25

I always get the following message "Setting up your photo library" or "Getting ready to back up" and most often the uploading never happens.

1

u/wankafir2 Apr 30 '25

I got it done, but when i install it in my phone, its trying to update my youtube not install. I already tried disabling my youtube still same. Non rooted device.

2

u/wankafir2 Apr 30 '25

Nevermind. Got it to work. The patches was not the latest one.

1

u/finnspinn May 02 '25

About the bug, I just press home and reopen the app. Then it'll show that I'm logged in with the backed up photos

2

u/[deleted] Dec 12 '24

[removed] — view removed comment

0

u/nemiaslicar Apr 19 '25

"Error: Unable to access jarfile revanced-cli.jar"

This error appears because the folder where the file is located has a space in the name, for example "revanced CLI" will give an error but if it is "revancedCLI" there will be no error

1

u/[deleted] Dec 06 '24

[removed] — view removed comment

-1

u/AutoModerator Dec 06 '24

Unfortunately, your account is too new (younger than 2 days & less than 1 Karma) to post or comment for r/revancedapp.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.