ReVanced / revanced-cli

💻 Command line application to use ReVanced
https://revanced.app
GNU General Public License v3.0
993 stars 157 forks source link

BUG: Root; patched output doesn't install #227

Closed Kronodile closed 1 year ago

Kronodile commented 1 year ago

Type

Error while running the CLI

Bug description

I have kernelsu for root if that matters

Steps to reproduce

Download all the required files and run in a terminal. It gets stick in mounting line

Relevant log output

INFO: Reading dex files
INFO: Decoding AndroidManifest.xml only, because resources are not needed
INFO: Skipping change-package-name: Excluded by default
INFO: Skipping client-spoof: Manually excluded
INFO: Skipping comments: Manually excluded
INFO: Skipping custom-branding: Manually excluded
INFO: Skipping custom-video-buffer: Excluded by default
INFO: Skipping disable-fullscreen-panels: Manually excluded
INFO: Skipping enable-android-debugging: Excluded by default
INFO: Skipping export-all-activities: Excluded by default
INFO: Skipping hide-captions-button: Manually excluded
INFO: Skipping hide-cast-button: Manually excluded
INFO: Skipping predictive-back-gesture: Excluded by default
INFO: Skipping remove-player-button-background: Excluded by default
INFO: Skipping remove-screenshot-restriction: Excluded by default
INFO: Skipping spoof-app-version: Manually excluded
INFO: Skipping spoof-wifi-connection: Excluded by default
INFO: Skipping vanced-microg-support: Manually excluded
INFO: Skipping wide-searchbar: Manually excluded
INFO: Merging revanced-integrations.apk
INFO: Deleting existing resource cache directory
SEVERE: Failed to delete existing resource cache directory
INFO: Decoding resources
INFO: always-autorepeat succeeded
INFO: copy-video-url succeeded
INFO: disable-auto-captions succeeded
INFO: disable-player-popup-panels succeeded
INFO: disable-shorts-on-startup succeeded
INFO: disable-zoom-haptics succeeded
INFO: downloads succeeded
INFO: enable-debugging succeeded
INFO: hdr-auto-brightness succeeded
INFO: hide-ads succeeded
INFO: hide-album-cards succeeded
INFO: hide-artist-card succeeded
INFO: hide-autoplay-button succeeded
INFO: hide-breaking-news-shelf succeeded
INFO: hide-crowdfunding-box succeeded
INFO: hide-email-address succeeded
INFO: hide-endscreen-cards succeeded
INFO: hide-filter-bar succeeded
INFO: hide-floating-microphone-button succeeded
INFO: hide-get-premium succeeded
INFO: hide-info-cards succeeded
INFO: hide-load-more-button succeeded
INFO: hide-player-buttons succeeded
INFO: hide-player-overlay succeeded
INFO: hide-seekbar succeeded
INFO: hide-shorts-components succeeded
INFO: hide-timestamp succeeded
INFO: hide-video-action-buttons succeeded
INFO: hide-watch-in-vr succeeded
INFO: hide-watermark succeeded
INFO: minimized-playback succeeded
INFO: navigation-buttons succeeded
INFO: old-quality-layout succeeded
INFO: open-links-externally succeeded
INFO: premium-heading succeeded
INFO: remember-video-quality succeeded
INFO: return-youtube-dislike succeeded
INFO: seekbar-tapping succeeded
INFO: sponsorblock succeeded
INFO: swipe-controls succeeded
INFO: tablet-mini-player succeeded
INFO: theme succeeded
INFO: video-ads succeeded
INFO: video-speed succeeded
INFO: Compiling resources
INFO: Writing modified dex files
INFO: Aligning inpuy.apk to patched-output_aligned.apk
INFO: Copying patched-output_aligned.apk to patched-output.apk
INFO: Installing by mounting

Screenshots or videos

No response

Solution

No response

Additional context

No response

Acknowledgements

oSumAtrIX commented 1 year ago

ReVanced/revanced-library#29

Kronodile commented 1 year ago

I don't have magisk though, I have kernel su. Using revanced manager, I was able to install revanced but after restart all patches disappeared