ReVanced / revanced-manager

💊 Application to use ReVanced on Android
https://revanced.app
GNU General Public License v3.0
18.21k stars 748 forks source link

bug: `Applied Patches` shows 0 applied patches #349

Closed origamiofficial closed 2 years ago

origamiofficial commented 2 years ago

Type

Error while running the manager

Bug description

When I try to see the Applied Patches list from App Info page it shows 0 applied patches. Somehow it can't detect the applied patches list.

Steps to reproduce

Step 1. Open ReVanced Manager Step 2. Click Installed Step 3. Click Info Step 4. Check the Applied Patches part

Android version

Android 13 [Evolution X]

Manager version

0.0.28

Target package name

com.google.android.youtube

Target package version.

17.36.37

Installation type

Non-root

Patches selected.

remember-video-quality custom-playback-speed minimized-playback client-spoof microg-support general-ads hide-infocard-suggestions video-ads old-quality-layout disable-fullscreen-panels premium-heading theme sponsorblock return-youtube-dislike hide-watermark disable-auto-captions

Device logs (exported using Manager settings).

--------- beginning of system
10-04 00:16:34.973 19702 19702 W PackageParser: Unknown element under <manifest>: queries at /data/user/0/app.revanced.manager.flutter/cache/file_picker/com.google.android.youtube_17.36.37-1531571648_minAPI26(arm64-v8a,armeabi-v7a,x86,x86_64)(nodpi)_apkmirror.com.apk Binary XML file line #41
10-04 00:20:57.972 19702 19702 W PackageParser: Unknown element under <manifest>: queries at /data/user/0/app.revanced.manager.flutter/cache/file_picker/com.google.android.youtube_17.36.37-1531571648_minAPI26(arm64-v8a,armeabi-v7a,x86,x86_64)(nodpi)_apkmirror.com.apk Binary XML file line #41
10-04 00:28:02.255  2376  2376 W PackageParser: Unknown element under <manifest>: queries at /data/user/0/app.revanced.manager.flutter/cache/file_picker/com.google.android.youtube_17.36.37-1531571648_minAPI26(arm64-v8a,armeabi-v7a,x86,x86_64)(nodpi)_apkmirror.com.apk Binary XML file line #41
10-04 00:29:49.134  2376  2376 W PackageParser: Unknown element under <manifest>: queries at /data/user/0/app.revanced.manager.flutter/cache/file_picker/com.google.android.youtube_17.36.37-1531571648_minAPI26(arm64-v8a,armeabi-v7a,x86,x86_64)(nodpi)_apkmirror.com.apk Binary XML file line #41
--------- beginning of main
10-04 00:51:47.961 14805 14805 E SurfaceSyncer: Failed to find sync for id=0
10-04 00:51:47.961 14805 14805 E SurfaceSyncer: Failed to find sync for id=1
10-04 00:51:47.961 14805 14805 E SurfaceSyncer: Failed to find sync for id=2
10-04 00:51:47.961 14805 14805 E SurfaceSyncer: Failed to find sync for id=3
10-04 00:51:47.961 14805 14805 E SurfaceSyncer: Failed to find sync for id=4
10-04 00:51:47.961 14805 14805 E SurfaceSyncer: Failed to find sync for id=5
10-04 00:58:16.483 14805 14805 E SurfaceSyncer: Failed to find sync for id=0
10-04 00:58:16.483 14805 14805 E SurfaceSyncer: Failed to find sync for id=1
10-04 00:58:16.483 14805 14805 E SurfaceSyncer: Failed to find sync for id=2
10-04 00:58:16.483 14805 14805 E SurfaceSyncer: Failed to find sync for id=3
10-04 00:58:16.483 14805 14805 E SurfaceSyncer: Failed to find sync for id=4
10-04 00:58:16.483 14805 14805 E SurfaceSyncer: Failed to find sync for id=5
10-04 00:58:16.483 14805 14805 E SurfaceSyncer: Failed to find sync for id=6
10-04 00:58:22.712 17634 17634 W sh      : type=1400 audit(0.0:135178): avc: denied { read } for name="/" dev="sda14" ino=2 scontext=u:r:untrusted_app:s0:c151,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
10-04 00:58:22.792 17648 17648 W sh      : type=1400 audit(0.0:135179): avc: denied { read } for name="/" dev="sda14" ino=2 scontext=u:r:untrusted_app:s0:c151,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
10-04 00:58:22.862 17662 17662 W sh      : type=1400 audit(0.0:135180): avc: denied { read } for name="/" dev="sda14" ino=2 scontext=u:r:untrusted_app:s0:c151,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
10-04 00:58:22.892 17677 17677 W sh      : type=1400 audit(0.0:135181): avc: denied { read } for name="/" dev="sda14" ino=2 scontext=u:r:untrusted_app:s0:c151,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter

Installer logs (exported using Installer menu option) [unneeded if issue is not during patching].

Initializing installer
Creating working directory
Copying original apk
Unpacking input apk
Reading dex files
Decoding AndroidManifest.xml only, because resources are not needed
Merging integrations
Deleting existing resource cache directory
Decoding resources
Applying all patches
Executing 'resource-mapping' of type: resource
Executing 'integrations' of type: bytecode
Skipping 'integrations' because it has already been applied
Executing 'locale-config-fix' of type: resource
Skipping 'resource-mapping' because it has already been applied
Executing 'settings-resource-patch' of type: resource
Executing 'settings' of type: bytecode
Executing 'general-ads' of type: bytecode
[success] general-ads
Skipping 'integrations' because it has already been applied
Skipping 'settings' because it has already been applied
Executing 'hide-infocard-suggestions' of type: bytecode
[success] hide-infocard-suggestions
Skipping 'integrations' because it has already been applied
Skipping 'settings' because it has already been applied
Executing 'video-ads' of type: bytecode
[success] video-ads
Skipping 'integrations' because it has already been applied
Skipping 'settings' because it has already been applied
Executing 'disable-auto-captions' of type: bytecode
[success] disable-auto-captions
Skipping 'locale-config-fix' because it has already been applied
Executing 'premium-heading' of type: resource
[success] premium-heading
Skipping 'integrations' because it has already been applied
Skipping 'settings' because it has already been applied
Executing 'disable-fullscreen-panels' of type: bytecode
[success] disable-fullscreen-panels
Skipping 'integrations' because it has already been applied
Skipping 'settings' because it has already been applied
Executing 'old-quality-layout' of type: bytecode
[success] old-quality-layout
Skipping 'integrations' because it has already been applied
Skipping 'settings' because it has already been applied
Executing 'hide-shorts-button' of type: bytecode
[success] hide-shorts-button
Skipping 'integrations' because it has already been applied
Skipping 'settings' because it has already been applied
Executing 'disable-auto-player-popup-panels' of type: bytecode
[success] disable-auto-player-popup-panels
Skipping 'integrations' because it has already been applied
Skipping 'integrations' because it has already been applied
Executing 'video-id-hook' of type: bytecode
Skipping 'locale-config-fix' because it has already been applied
Skipping 'settings' because it has already been applied
Executing 'return-youtube-dislike-resource-patch' of type: resource
Executing 'return-youtube-dislike' of type: bytecode
[success] return-youtube-dislike
Skipping 'resource-mapping' because it has already been applied
Executing 'player-controls-bytecode-patch' of type: bytecode
Skipping 'integrations' because it has already been applied
Skipping 'locale-config-fix' because it has already been applied
Skipping 'settings' because it has already been applied
Skipping 'resource-mapping' because it has already been applied
Executing 'sponsorblock-resource-patch' of type: resource
Skipping 'video-id-hook' because it has already been applied
Executing 'sponsorblock' of type: bytecode
[success] sponsorblock
Skipping 'integrations' because it has already been applied
Skipping 'settings' because it has already been applied
Executing 'disable-startup-shorts-player' of type: bytecode
[success] disable-startup-shorts-player
Skipping 'locale-config-fix' because it has already been applied
Executing 'theme' of type: resource
[success] theme
Skipping 'integrations' because it has already been applied
Skipping 'settings' because it has already been applied
Executing 'hide-watermark' of type: bytecode
[success] hide-watermark
Executing 'client-spoof' of type: bytecode
[success] client-spoof
Skipping 'integrations' because it has already been applied
Skipping 'resource-mapping' because it has already been applied
Executing 'custom-playback-speed' of type: bytecode
[success] custom-playback-speed
Skipping 'locale-config-fix' because it has already been applied
Skipping 'settings-resource-patch' because it has already been applied
Executing 'microg-resource-patch' of type: resource
Skipping 'integrations' because it has already been applied
Skipping 'settings' because it has already been applied
Executing 'hide-cast-button' of type: bytecode
Skipping 'client-spoof' because it has already been applied
Executing 'microg-support' of type: bytecode
[success] microg-support
Skipping 'integrations' because it has already been applied
Skipping 'settings' because it has already been applied
Executing 'minimized-playback' of type: bytecode
[success] minimized-playback
Skipping 'integrations' because it has already been applied
Skipping 'video-id-hook' because it has already been applied
Executing 'remember-video-quality' of type: bytecode
[success] remember-video-quality
Skipping 'settings' because it has already been applied
[success] settings
Repacking patched apk
Compiling resources
Creating new dex file
Writing modified dex files
Finished!
Installing patched file using nonroot method
Installing patched file using nonroot method

Screenshots or videos

Screenshot_20221004-004205_ReVanced_Manager

Solution

No response

Additional context

No response

Acknowledgements

Aunali321 commented 2 years ago

You're trying to patch revanced youtube not stock youtube.