Skip to content

bug: Can't Mount Or install with the latest version of Cli. #355

@ViVi-Vibes

Description

@ViVi-Vibes

Bug description

I have been having issues mounting youtube via the cli since the revanced Api V3. I can't neither mount nor install using the cli.

ReVanced CLI version : v5.0.0
Revanced Patches : v5.7.2
Youtube Version : v19.47.53

Here's the command i used to patch :

java -jar .\cli.jar patch -p .\patches.rvp -d "Spoof client" -d "GmsCore support" -d "Announcements" -d "Custom branding" -d "Swipe controls" -e "Change header" -Oheader=premium*header -e "Theme" -OdarkThemeBackgroundColor=#FF181825 -OlightThemeBackgroundColor=#FFE6E9EF .\Youtube.apk --mount

The output didn't even tell me anything about the mounting it just saved the output patched apk.

I tried using the ReVanced CLI utility install to check Mounting.

Command I typed :

java -jar .\cli.jar utility install --mount com.google.android.youtube -a .\Youtube-patched.apk

Error it gave :
INFO: Installing com.google.android.youtube by mounting SEVERE: app.revanced.library.installation.installer.RootInstaller$FailedToFindInstalledPackageException: Failed to find installed package "com.google.android.youtube" because no activity was found

Which i have installed already before hand, and what surprised me is that when i tried using the install the apk just to check the Cli.

Command I typed :
java -jar .\cli.jar utility install -m "com.google.android.youtube" -a .\Youtube-patched.apk

Error it gave :
WARNING: No device serial supplied. Using device with serial df02f669 INFO: Installing com.google.android.youtube by mounting SEVERE: app.revanced.library.installation.installer.RootInstaller$FailedToFindInstalledPackageException: Failed to find installed package "com.google.android.youtube" because no activity was found

Which to me doesn't make sense and i can assure you that using the old version of cli doesn't give me these problems.

Some Device details :

Device : Realme Narzo 20 A
Android Version : 11
Rooted Via : Kitsune Magisk R6687BB53-kitsune

Error logs

Solution

No response

Additional context

No response

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug reportSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions