Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
Vaibhav1579 opened this issue Dec 24, 2024 · 3 comments
Open
3 tasks done

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

Vaibhav1579 opened this issue Dec 24, 2024 · 3 comments
Labels
Bug report Something isn't working

Comments

@Vaibhav1579
Copy link

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.
@Vaibhav1579 Vaibhav1579 added the Bug report Something isn't working label Dec 24, 2024
@Vaibhav1579 Vaibhav1579 changed the title bug: Can't Mount Or install through the latest version of Cli. bug: Can't Mount Or install with the latest version of Cli. Dec 24, 2024
@Vaibhav1579
Copy link
Author

Really sorry for not filling the things in the correct area i didn't see it until i typed all of the things above 😅, so i decided to just post it like this.

@oSumAtrIX
Copy link
Member

The issue is caused by a bug in ReVanced Library that has been fixed already: https://github.com/ReVanced/revanced-library/releases/tag/v3.1.0. ReVanced CLI just needs to bump the version to it

@Vaibhav1579
Copy link
Author

Vaibhav1579 commented Dec 24, 2024

The issue is caused by a bug in ReVanced Library that has been fixed already: https://github.com/ReVanced/revanced-library/releases/tag/v3.1.0. ReVanced CLI just needs to bump the version to it

Oh thank you so much for letting me know can i use this ?? Or should i wait for the bump?

*Edit = Nevermind just checked its not even compiled will wait for the bump thanks 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants