This guide is to use ADB (Android Debug Bridge) to install ReVanced (or any other apk). This has a higher chance of working, and provides more debug information if it does not work.
If you don’t know how to enable USB debugging, google “<phone model> enable usb debugging” (obviously replacing <phone model> with your actual phone model)
adb setupOn the computer, download the latest platform tools
Unzip it. There should be an “adb.exe” inside. Don’t double-click it to open though, it won’t work.
Right-click on the empty area next to it, select something like “open in powershell” or “open in windows terminal” or “open in cmd”.
A command window (shell) would pop up. In that window, type adb devices. Press enter. You may need to prepend ./ or .\ in front of it, like ./adb devices. Remember the one used, and prepend it before all adb commands from now on. Something like “List of devices attached” should appear. Something containing “daemon” might also appear, but you can safely ignore them.
Connect your phone which USB debugging enabled to your computer with a USB cable.
Then, on the shell, enter adb devices again. There should be a new entry.
Copy the apk to your phone’s Download folder
On the shell, enter adb shell
You are now using the shell in your device
whoami. It should output shell. Note: you need to hit the <Enter> key.Enter cd /storage/emulated/0/Download.
Enter ls *.apk. This would list all apks in Download
Find the name of the apk you want to install from the list
Enter pm install name_of_apk.apk. Example: pm install youtube-revanced_v19.43.41.apk
Error: Unable to open file
/data/local/tmpWe are going to copy the APK to that path
Enter cp name_of_apk.apk /data/local/tmp/, obviously replacing name_of_apk.apk with the actual name
Now hit the arrow_up key on your keyboard (↑) until you see the command you entered in step 4 (pm install .... Don’t hit enter yet.
Use arrow keys (← →) to move the cursor.
/data/local/tmp/ before the APK name such that it looked like this:
pm install /data/local/tmp/youtube-revanced_v19.43.41.apkHit enter
rm /data/local/tmp/*.apkThen you can disconnect the phone, disable USB debugging and disable developer options on your phone. Close the shell by typing exit or the X button as usual.
Delete the zip file and the extracted files download at the first step.