revanced-creator: [ROOT] App not install as package appears to be invalid

as per title have installed root version from the shell script what seems to be the problem? image

here’s the script output:

revanced_cli_version=2.5.3
revanced_patches_version=2.13.4
revanced_integrations_version=0.24.0
removing olds
Downloading revanced-cli, revanced-patches and revanced-integrations
1) downloading https://github.com/revanced/revanced-cli/releases/download/v2.5.3/revanced-cli-2.5.3-all.jar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 43.2M  100 43.2M    0     0  2544k      0  0:00:17  0:00:17 --:--:-- 2943k
2) downloading https://github.com/revanced/revanced-patches/releases/download/v2.13.4/revanced-patches-2.13.4.jar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  345k  100  345k    0     0   143k      0  0:00:02  0:00:02 --:--:--  241k
3) downloading https://github.com/revanced/revanced-integrations/releases/download/v0.24.0/app-release-unsigned.apk
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  696k  100  696k    0     0   184k      0  0:00:03  0:00:03 --:--:--  446k
4) downloading https://github.com/XDream8/revanced-creator/releases/download/v0.1/YouTube-17.26.35.apk
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  131M  100  131M    0     0  2692k      0  0:00:50  0:00:50 --:--:-- 2818k
patching process started(root)
it may take a while please be patient
INFO: Decoding resources
INFO: Reading dex files
INFO: Merging app-release-unsigned.apk
WARNING: Skipping exclusive-audio-playback: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping codecs-unlock: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping background-play: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping tasteBuilder-remover: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
WARNING: Skipping upgrade-button-remover: Incompatible with com.google.android.youtube. This patch is only compatible with com.google.android.apps.youtube.music
INFO: Skipping microg-support: Explicitely excluded
INFO: Skipping hdr-auto-brightness: Not explicitly included
INFO: Skipping autorepeat-by-default: Not explicitly included
INFO: Skipping enable-debugging: Not explicitly included
WARNING: Skipping old-quality-layout: Incompatible with version 17.26.35. This patch is only compatible with version com.google.android.youtube: 17.17.34, 17.19.36, 17.20.37, 17.22.36, 17.23.35, 17.23.36, 17.24.34, 17.24.35
INFO: Skipping enable-wide-searchbar: Not explicitly included
INFO: hide-infocard-suggestions succeeded
INFO: video-ads succeeded
INFO: general-ads succeeded
INFO: seekbar-tapping succeeded
INFO: swipe-controls succeeded
INFO: custom-playback-speed succeeded
INFO: hide-cast-button succeeded
INFO: amoled succeeded
INFO: hide-autoplay-button succeeded
INFO: minimized-playback succeeded
INFO: premium-heading succeeded
INFO: custom-branding succeeded
INFO: disable-fullscreen-panels succeeded
INFO: hide-shorts-button succeeded
INFO: disable-create-button succeeded
INFO: hide-watermark succeeded
INFO: Compiling resources
INFO: Writing modified dex files
INFO: Writing dex file classes2.dex
INFO: Writing dex file classes.dex
INFO: Writing dex file classes4.dex
INFO: Writing dex file classes3.dex
INFO: Writing dex file classes6.dex
INFO: Writing dex file classes5.dex
INFO: Writing dex file classes7.dex
INFO: Writing dex file classes8.dex
INFO: Writing resources...
INFO: Finished```

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 21 (15 by maintainers)

Commits related to this issue

Most upvoted comments

That is a great idea. i will add it when i am free

Would it be too exploitative if we force install the stock YouTube apk via adb if root option is chosen and YouTube isn’t already installed?

With regards to my above comment, I learned after that I must have the YouTube installed on my device first which I did not have

However, NOT the script but the revanced*.jar kept looping the log that I shared a snippet of above. I’m thinking of trying clean one more time and will report back here by edit

Edit: I sped up the video but you can see Revanced looping at 00:27, after installing However, this is not really a problem as it seems the app is still be functional with the integrations and it is big thanks to your very helpful script!

https://user-images.githubusercontent.com/36119634/179878655-7297c462-c994-413a-99f2-66ca23287191.mp4

that commit is actually pretty good. can you create a pr for that?

I learned after that I must have the YouTube installed on my device first which I did not have

didn’t know YouTube app was mandatory before the script, this did the trick revanced installation was successful

I was analyzing source code of revanced-cli and i saw this

logger.info(“Stopped logging because the app was closed”)

It seems like it is supposed to be a “finished” message but instead they preferred this