revanced-patches-template
revanced-patches-template copied to clipboard
bug:(remember-video-quality) Default resolution is not saved or set correctly when viewing vertical video
Type
Other
Bug description
Sometimes when I open random videos on Youtube Revanced the maximum resolution is not set. An example of this issue is that when I open a video that has a maximum resolution of 1080p 60 fps it sometimes opens the video with a resolution of 480p. I previously set the maximum resolution by going to a 4k 60 fps video and setting the resolution to 4k 60 fps so that Youtube Revanced would remember to set all videos to the maximum available resolution for videos.
Video of bug occuring: test.webm
Video quality preferences in the Youtube Revanced app settings:

Steps to reproduce
Disclaimer: This issue cannot be reproduced reliably due to it occurring randomly on videos
- Open a video
- Check the resolution
Relevant log output
--------- beginning of system
12-20 17:11:00.085 28872 28872 W PackageParser: Unknown element under <manifest>: queries at /data/user/0/app.revanced.manager.flutter/cache/file_picker/com.google.android.youtube_17.49.37-1533275584_minAPI26(arm64-v8a,armeabi-v7a,x86,x86_64)(nodpi)_apkmirror.com(1).apk Binary XML file line #41
12-20 17:11:03.110 28872 28872 W PackageParser: Unknown element under <manifest>: queries at /data/user/0/app.revanced.manager.flutter/cache/file_picker/com.google.android.youtube_17.49.37-1533275584_minAPI26(arm64-v8a,armeabi-v7a,x86,x86_64)(nodpi)_apkmirror.com(1).apk Binary XML file line #41
12-20 17:19:48.105 28872 28872 W PackageParser: Unknown element under <manifest>: queries at /data/user/0/app.revanced.manager.flutter/cache/file_picker/com.google.android.youtube_17.49.37-1533275584_minAPI26(arm64-v8a,armeabi-v7a,x86,x86_64)(nodpi)_apkmirror.com(1).apk Binary XML file line #41
12-20 17:19:50.074 28872 28872 W PackageParser: Unknown element under <manifest>: queries at /data/user/0/app.revanced.manager.flutter/cache/file_picker/com.google.android.youtube_17.49.37-1533275584_minAPI26(arm64-v8a,armeabi-v7a,x86,x86_64)(nodpi)_apkmirror.com(1).apk Binary XML file line #41
--------- beginning of main
12-20 17:41:39.988 32099 32115 E OpenGLRenderer: Unable to match the desired swap behavior.
12-20 17:41:39.998 32099 32099 E SurfaceSyncer: Failed to find sync for id=0
12-20 17:41:39.998 32099 32099 E SurfaceSyncer: Failed to find sync for id=1
12-20 17:41:39.998 32099 32099 E SurfaceSyncer: Failed to find sync for id=2
12-20 17:41:39.998 32099 32099 E SurfaceSyncer: Failed to find sync for id=3
12-20 17:41:43.349 32099 32099 D FilePickerUtils: Allowed file extensions mimes: [application/vnd.android.package-archive]
12-20 17:41:43.350 32099 32099 D FilePickerDelegate: Selected type */*
12-20 17:45:04.483 4639 4639 E manager.flutter: Not starting debugger since process cannot load the jdwp agent.
12-20 17:45:04.496 4639 4639 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10274; state: ENABLED
12-20 17:45:04.501 4639 4639 D nativeloader: Configuring classloader-namespace for other apk /data/app/~~4wboQwiJntDkjGUof6Lc0g==/app.revanced.manager.flutter-v2dZkTW_b_S1K87FDnvtkA==/base.apk. target_sdk_version=33, uses_libraries=, library_path=/data/app/~~4wboQwiJntDkjGUof6Lc0g==/app.revanced.manager.flutter-v2dZkTW_b_S1K87FDnvtkA==/lib/arm64:/data/app/~~4wboQwiJntDkjGUof6Lc0g==/app.revanced.manager.flutter-v2dZkTW_b_S1K87FDnvtkA==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/app.revanced.manager.flutter
12-20 17:45:04.509 4639 4639 V GraphicsEnvironment: ANGLE Developer option for 'app.revanced.manager.flutter' set to: 'default'
12-20 17:45:04.509 4639 4639 V GraphicsEnvironment: ANGLE GameManagerService for app.revanced.manager.flutter: false
12-20 17:45:04.509 4639 4639 V GraphicsEnvironment: Updatable production driver is not supported on the device.
12-20 17:45:04.510 4639 4639 D NetworkSecurityConfig: No Network Security Config specified, using platform default
12-20 17:45:04.510 4639 4639 D NetworkSecurityConfig: No Network Security Config specified, using platform default
12-20 17:45:04.531 4639 4639 W manager.flutter: type=1400 audit(0.0:9018): avc: denied { read } for name="max_map_count" dev="proc" ino=7579381 scontext=u:r:untrusted_app:s0:c18,c257,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0 app=app.revanced.manager.flutter
12-20 17:45:04.537 4639 4639 I AdrenoGLES-0: QUALCOMM build : 4783c89, I46ff5fc46f
12-20 17:45:04.537 4639 4639 I AdrenoGLES-0: Build Date : 11/30/20
12-20 17:45:04.537 4639 4639 I AdrenoGLES-0: OpenGL ES Shader Compiler Version: EV031.31.04.01
12-20 17:45:04.537 4639 4639 I AdrenoGLES-0: Local Branch : QPR2
12-20 17:45:04.537 4639 4639 I AdrenoGLES-0: Remote Branch :
12-20 17:45:04.537 4639 4639 I AdrenoGLES-0: Remote Branch :
12-20 17:45:04.537 4639 4639 I AdrenoGLES-0: Reconstruct Branch :
12-20 17:45:04.537 4639 4639 I AdrenoGLES-0: Build Config : S P 10.0.4 AArch64
12-20 17:45:04.537 4639 4639 I AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
12-20 17:45:04.540 4639 4639 I AdrenoGLES-0: PFP: 0x016dd093, ME: 0x00000000
12-20 17:45:04.542 4639 4639 W AdrenoUtils: <ReadGpuID_from_sysfs:197>: Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model
12-20 17:45:04.542 4639 4639 W AdrenoUtils: <ReadGpuID:221>: Failed to read chip ID from gpu_model. Fallback to use the GSL path
12-20 17:45:04.613 4639 4655 E OpenGLRenderer: Unable to match the desired swap behavior.
12-20 17:45:04.618 4639 4660 I flutter : ReVanced API: Using CronetEngine + true
12-20 17:45:04.626 4639 4682 W SQLiteLog: (28) double-quoted string literal: "221F04DDCF86133E6D2E6344BA97034F"
12-20 17:45:04.626 4639 4682 W SQLiteLog: (28) double-quoted string literal: "22D1CC376C54BE531C0A569AA1492CA8"
12-20 17:45:04.636 4639 4639 I DynamiteModule: Considering local module com.google.android.gms.cronet_dynamite:0 and remote module com.google.android.gms.cronet_dynamite:1611
12-20 17:45:04.636 4639 4639 I DynamiteModule: Selected remote version of com.google.android.gms.cronet_dynamite, version >= 1611
12-20 17:45:04.636 4639 4639 V DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
12-20 17:45:04.643 4639 4639 W System : ClassLoader referenced unknown path:
12-20 17:45:04.644 4639 4639 D nativeloader: Configuring classloader-namespace for other apk . target_sdk_version=33, uses_libraries=, library_path=/data/app/~~bGGnbbJGkQ7qUBEUOFuisA==/com.google.android.gms-dXEXJPJSh74h9qy1sDAKzg==/lib/arm64:/data/app/~~bGGnbbJGkQ7qUBEUOFuisA==/com.google.android.gms-dXEXJPJSh74h9qy1sDAKzg==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.google.android.gms
12-20 17:45:04.646 4639 4639 I DynamiteLoaderV2Impl: [71] com.google.android.gms.cronet_dynamite
12-20 17:45:04.650 4639 4639 W manager.flutter: ClassLoaderContext type mismatch. expected=PCL, found=DLC (PCL[] | DLC[];PCL[/data/app/~~4wboQwiJntDkjGUof6Lc0g==/app.revanced.manager.flutter-v2dZkTW_b_S1K87FDnvtkA==/base.apk*2113815621:/data/app/~~4wboQwiJntDkjGUof6Lc0g==/app.revanced.manager.flutter-v2dZkTW_b_S1K87FDnvtkA==/base.apk!classes2.dex*2942373131:/data/app/~~4wboQwiJntDkjGUof6Lc0g==/app.revanced.manager.flutter-v2dZkTW_b_S1K87FDnvtkA==/base.apk!classes3.dex*78547179])
12-20 17:45:04.655 4639 4639 D nativeloader: Configuring classloader-namespace for other apk . target_sdk_version=33, uses_libraries=ALL, library_path=/data/user_de/0/com.google.android.gms/app_chimera/m/00000120/CronetDynamite.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
12-20 17:45:04.659 4639 4639 I cr_CronetLibraryLoader: Cronet version: 108.0.5359.47, arch: aarch64
12-20 17:45:04.660 4639 4684 D TrafficStats: tagSocket(121) with statsTag=0xffffffff, statsUid=-1
12-20 17:45:04.664 4639 4684 D TrafficStats: tagSocket(124) with statsTag=0xffffffff, statsUid=-1
12-20 17:45:04.668 4639 4684 D TrafficStats: tagSocket(126) with statsTag=0xffffffff, statsUid=-1
12-20 17:45:04.669 4639 4684 D TrafficStats: tagSocket(126) with statsTag=0xffffffff, statsUid=-1
12-20 17:45:05.267 4639 4639 W pool-8-thread-1: type=1400 audit(0.0:9019): avc: denied { read } for name="version" dev="proc" ino=4026531958 scontext=u:r:untrusted_app:s0:c18,c257,c512,c768 tcontext=u:object_r:proc_version:s0 tclass=file permissive=0 app=app.revanced.manager.flutter
12-20 17:45:05.302 4639 4703 D TrafficStats: tagSocket(131) with statsTag=0xffffffff, statsUid=-1
12-20 17:45:05.305 4639 4682 W SQLiteLog: (28) double-quoted string literal: "129C81370C8C8A20B85E5575BDF12E85"
12-20 17:45:05.305 4639 4682 W SQLiteLog: (28) double-quoted string literal: "22D1CC376C54BE531C0A569AA1492CA8"
12-20 17:45:05.329 4639 4661 E BLASTBufferQueue: [SurfaceView[app.revanced.manager.flutter/app.revanced.manager.flutter.MainActivity]#1](f:0,a:0) rejecting buffer:active_size=1080x2264, requested_size=1080x2264 buffer{size=1080x2189 transform=0}
12-20 17:45:05.354 4720 4720 W sh : type=1400 audit(0.0:9020): avc: denied { read } for name="/" dev="dm-8" ino=2 scontext=u:r:untrusted_app:s0:c18,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
12-20 17:45:05.361 4720 4720 W sh : type=1400 audit(0.0:9021): avc: denied { read } for name="/" dev="dm-8" ino=2 scontext=u:r:untrusted_app:s0:c18,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
12-20 17:45:05.371 4720 4720 W sh : type=1400 audit(0.0:9022): avc: denied { read } for name="/" dev="dm-8" ino=2 scontext=u:r:untrusted_app:s0:c18,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
12-20 17:45:05.387 4720 4720 W sh : type=1400 audit(0.0:9023): avc: denied { read } for name="/" dev="dm-8" ino=2 scontext=u:r:untrusted_app:s0:c18,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
12-20 17:45:05.401 4720 4720 W sh : type=1400 audit(0.0:9024): avc: denied { read } for name="/" dev="dm-8" ino=2 scontext=u:r:untrusted_app:s0:c18,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
12-20 17:45:05.407 4720 4720 W sh : type=1400 audit(0.0:9025): avc: denied { read } for name="/" dev="dm-8" ino=2 scontext=u:r:untrusted_app:s0:c18,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
12-20 17:45:05.414 4720 4720 W sh : type=1400 audit(0.0:9026): avc: denied { read } for name="/" dev="dm-8" ino=2 scontext=u:r:untrusted_app:s0:c18,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
12-20 17:45:05.784 4639 4639 E SurfaceSyncer: Failed to find sync for id=0
12-20 17:45:05.784 4639 4639 E SurfaceSyncer: Failed to find sync for id=1
12-20 17:45:05.795 4639 4655 W Parcel : Expecting binder but got null!
12-20 17:45:05.912 4639 4682 W SQLiteLog: (28) double-quoted string literal: "484091CDFBF54C9C82180F6C7CC4C586"
12-20 17:45:05.912 4639 4682 W SQLiteLog: (28) double-quoted string literal: "220C3B128253FF6C4664FFE75582EBC1"
12-20 17:45:06.064 4639 4703 D TrafficStats: tagSocket(131) with statsTag=0xffffffff, statsUid=-1
12-20 17:45:06.470 4639 4703 D TrafficStats: tagSocket(131) with statsTag=0xffffffff, statsUid=-1
12-20 17:45:06.883 4639 4703 D TrafficStats: tagSocket(131) with statsTag=0xffffffff, statsUid=-1
12-20 17:45:07.290 4639 4703 D TrafficStats: tagSocket(131) with statsTag=0xffffffff, statsUid=-1
Screenshots or videos
No response
Solution
No response
Additional context
Revanced Manager Version: 0.0.52 Youtube Revanced Version: 17.45.37
Acknowledgements
- [X] I have searched the existing issues and this is a new and no duplicate or related to another open issue.
- [X] I have written a short but informative title.
- [X] I filled out all of the requested information in this issue properly.