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: Storage file selector shows no items despite having permissions #1718

Open
4 tasks done
cassist opened this issue Mar 4, 2024 · 4 comments
Open
4 tasks done
Assignees
Labels
Bug report Something isn't working

Comments

@cassist
Copy link

cassist commented Mar 4, 2024

Bug description

Open app, select patcher, select storage picker icon. Default selector opens up, no items found, no options to use external file selectors.

Recent behaviour, have been using the manager without issue until now.

Things ive tried:
Clearing app cache
Resetting sources API
Reinstalling
Downgrading to 1.17, upgrading to 1.19rc17
Uninstalling updates to Android default "Files" application

Screenshot_20240303-234511

Version of ReVanced Manager and version & name of application you tried to patch

1.17, 1.18, 1.19rc17

Installation type

None

Device logs

--------- beginning of main
03-03 23:44:50.823  6585  6617 I OpenGLRenderer: Davey! duration=192472ms; Flags=1, FrameTimelineVsyncId=2721764, IntendedVsync=57638575985669, Vsync=57638575985669, InputEventId=0, HandleInputStart=57638581633440, AnimationStart=57638581634013, PerformTraversalsStart=57638581634273, DrawStart=57638581801252, FrameDeadline=57638596652335, FrameInterval=57638581631721, FrameStartTime=16666666, SyncQueued=57638582483804, SyncStart=57638582605679, IssueDrawCommandsStart=57638583400992, SwapBuffers=57638591415003, FrameCompleted=57831048905530, DequeueBufferDuration=2273334, QueueBufferDuration=603958, GpuCompleted=57831048905530, SwapBuffersCompleted=57638592550732, DisplayPresentTime=0, 
03-03 23:44:56.360  6585  6585 D FlutterFileDialogPlugin: onMethodCall - IN , method=pickFile
03-03 23:44:56.360  6585  6585 D FlutterFileDialogPlugin: createFileDialog - IN
03-03 23:44:56.362  6585  6585 D FlutterFileDialogPlugin: createFileDialog - OUT
03-03 23:44:56.362  6585  6585 D FileDialog: pickFile - IN, fileExtensionsFilter=[Ljava.lang.String;@4e154fd, mimeTypesFilter=null, localOnly=false, copyFileToCacheDir=true
03-03 23:44:56.391  6585  6585 D FileDialog: pickFile - OUT
03-03 23:45:02.733  6585  6585 D FileDialog: Cancelled
03-03 23:45:02.759  6585  6617 I OpenGLRenderer: Davey! duration=204421ms; Flags=1, FrameTimelineVsyncId=2721764, IntendedVsync=57638575985669, Vsync=57638575985669, InputEventId=0, HandleInputStart=57638581633440, AnimationStart=57638581634013, PerformTraversalsStart=57638581634273, DrawStart=57638581801252, FrameDeadline=57638613319001, FrameInterval=57638581631721, FrameStartTime=16666666, SyncQueued=57638582483804, SyncStart=57638582605679, IssueDrawCommandsStart=57638583400992, SwapBuffers=57638591415003, FrameCompleted=57842997949741, DequeueBufferDuration=2273334, QueueBufferDuration=603958, GpuCompleted=57842997949741, SwapBuffersCompleted=57638592550732, DisplayPresentTime=0, 
03-03 23:45:05.757  6585  6585 D FlutterFileDialogPlugin: onMethodCall - IN , method=pickFile
03-03 23:45:05.757  6585  6585 D FileDialog: pickFile - IN, fileExtensionsFilter=[Ljava.lang.String;@67343f9, mimeTypesFilter=null, localOnly=false, copyFileToCacheDir=true
03-03 23:45:05.768  6585  6585 D FileDialog: pickFile - OUT
03-03 23:45:17.500  6585  6585 D FileDialog: Cancelled
03-03 23:45:17.542  6585  6599 I OpenGLRenderer: Davey! duration=219189ms; Flags=1, FrameTimelineVsyncId=2721764, IntendedVsync=57638575985669, Vsync=57638575985669, InputEventId=0, HandleInputStart=57638581633440, AnimationStart=57638581634013, PerformTraversalsStart=57638581634273, DrawStart=57638581801252, FrameDeadline=57638629985667, FrameInterval=57638581631721, FrameStartTime=16666666, SyncQueued=57638582483804, SyncStart=57638582605679, IssueDrawCommandsStart=57638583400992, SwapBuffers=57638591415003, FrameCompleted=57857765421993, DequeueBufferDuration=2273334, QueueBufferDuration=603958, GpuCompleted=57857765421993, SwapBuffersCompleted=57638592550732, DisplayPresentTime=0, 
03-03 23:47:30.456  9232  9232 I manager.flutte: Using CollectorTypeCC GC.
03-03 23:47:30.464  9232  9232 E manager.flutte: Not starting debugger since process cannot load the jdwp agent.
03-03 23:47:30.469  9232  9232 D ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
03-03 23:47:30.479  9232  9232 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10452; state: ENABLED
03-03 23:47:30.539  9232  9232 D nativeloader: Configuring clns-4 for other apk /data/app/~~YH81JlVmVatraTGCkMBSzw==/app.revanced.manager.flutter-FwxlylibHhVPC1HrEOnWHA==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~YH81JlVmVatraTGCkMBSzw==/app.revanced.manager.flutter-FwxlylibHhVPC1HrEOnWHA==/lib/arm64:/data/app/~~YH81JlVmVatraTGCkMBSzw==/app.revanced.manager.flutter-FwxlylibHhVPC1HrEOnWHA==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/app.revanced.manager.flutter
03-03 23:47:30.550  9232  9232 V GraphicsEnvironment: ANGLE Developer option for 'app.revanced.manager.flutter' set to: 'default'
03-03 23:47:30.550  9232  9232 V GraphicsEnvironment: App is not on the allowlist for updatable production driver.
03-03 23:47:30.552  9232  9232 D NetworkSecurityConfig: No Network Security Config specified, using platform default
03-03 23:47:30.552  9232  9232 D NetworkSecurityConfig: No Network Security Config specified, using platform default
03-03 23:47:30.617  9232  9232 W manager.flutter: type=1400 audit(0.0:18965): avc: denied { read } for name="max_map_count" dev="proc" ino=11792234 scontext=u:r:untrusted_app:s0:c196,c257,c512,c768 tcontext=u:object_r:proc_max_map_count:s0 tclass=file permissive=0 app=app.revanced.manager.flutter
03-03 23:47:30.631  9232  9232 I AdrenoGLES-0: QUALCOMM build                   : 781e7d0, I46ff5fc46f
03-03 23:47:30.631  9232  9232 I AdrenoGLES-0: Build Date                       : 12/01/20
03-03 23:47:30.631  9232  9232 I AdrenoGLES-0: OpenGL ES Shader Compiler Version: EV031.31.04.01
03-03 23:47:30.631  9232  9232 I AdrenoGLES-0: Local Branch                     : QPR1
03-03 23:47:30.631  9232  9232 I AdrenoGLES-0: Remote Branch                    : 
03-03 23:47:30.631  9232  9232 I AdrenoGLES-0: Remote Branch                    : 
03-03 23:47:30.631  9232  9232 I AdrenoGLES-0: Reconstruct Branch               : 
03-03 23:47:30.631  9232  9232 I AdrenoGLES-0: Build Config                     : C P 11.0.1 AArch64
03-03 23:47:30.631  9232  9232 I AdrenoGLES-0: Driver Path                      : /vendor/lib64/egl/libGLESv2_adreno.so
03-03 23:47:30.641  9232  9232 I AdrenoGLES-0: PFP: 0x016ee190, ME: 0x00000000
03-03 23:47:30.644  9232  9232 W AdrenoUtils: <ReadGpuID_from_sysfs:197>: Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model
03-03 23:47:30.644  9232  9232 W AdrenoUtils: <ReadGpuID:221>: Failed to read chip ID from gpu_model. Fallback to use the GSL path
03-03 23:47:30.662  9232  9232 D FlutterFileDialogPlugin: onAttachedToEngine - IN
03-03 23:47:30.662  9232  9232 D FlutterFileDialogPlugin: doOnAttachedToEngine - IN
03-03 23:47:30.662  9232  9232 D FlutterFileDialogPlugin: doOnAttachedToEngine - OUT
03-03 23:47:30.662  9232  9232 D FlutterFileDialogPlugin: onAttachedToEngine - OUT
03-03 23:47:30.662  9232  9232 D FlutterFileDialogPlugin: onAttachedToActivity
03-03 23:47:30.662  9232  9232 D FlutterFileDialogPlugin: doOnAttachedToActivity - IN
03-03 23:47:30.662  9232  9232 D FlutterFileDialogPlugin: doOnAttachedToActivity - OUT
03-03 23:47:30.712  9232  9256 D hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
03-03 23:47:30.863  9265  9265 W sh      : type=1400 audit(0.0:18966): avc: denied { read } for name="/" dev="dm-4" ino=2 scontext=u:r:untrusted_app:s0:c196,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-03 23:47:30.870  9265  9265 W sh      : type=1400 audit(0.0:18967): avc: denied { read } for name="/" dev="dm-4" ino=2 scontext=u:r:untrusted_app:s0:c196,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-03 23:47:30.880  9265  9265 W sh      : type=1400 audit(0.0:18968): avc: denied { read } for name="/" dev="dm-4" ino=2 scontext=u:r:untrusted_app:s0:c196,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-03 23:47:30.887  9265  9265 W sh      : type=1400 audit(0.0:18969): avc: denied { read } for name="/" dev="dm-4" ino=2 scontext=u:r:untrusted_app:s0:c196,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-03 23:47:31.583  9232  9255 I flutter : dynamic_color: Core palette detected.
03-03 23:47:31.636  9232  9256 I Gralloc4: mapper 4.x is not supported
03-03 23:47:31.636  9232  9256 W Gralloc3: mapper 3.x is not supported
03-03 23:47:31.642  9232  9256 W Gralloc4: allocator 4.x is not supported
03-03 23:47:31.643  9232  9256 W Gralloc3: allocator 3.x is not supported
03-03 23:47:31.661  9232  9256 E BLASTBufferQueue: [SurfaceView[app.revanced.manager.flutter/app.revanced.manager.flutter.MainActivity]#1](f:0,a:0) rejecting buffer:active_size=1440x2960, requested_size=1440x2960 buffer{size=1440x2792 transform=0}
03-03 23:47:31.830  9232  9232 W manager.flutte: ClassLoaderContext parent mismatch.  (PCL[] | PCL[];PCL[/data/app/~~YH81JlVmVatraTGCkMBSzw==/app.revanced.manager.flutter-FwxlylibHhVPC1HrEOnWHA==/base.apk*1332383695:/data/app/~~YH81JlVmVatraTGCkMBSzw==/app.revanced.manager.flutter-FwxlylibHhVPC1HrEOnWHA==/base.apk!classes2.dex*2266973263:/data/app/~~YH81JlVmVatraTGCkMBSzw==/app.revanced.manager.flutter-FwxlylibHhVPC1HrEOnWHA==/base.apk!classes3.dex*2972887550])
03-03 23:47:32.223  9821  9821 W sh      : type=1400 audit(0.0:19016): avc: denied { read } for name="/" dev="dm-4" ino=2 scontext=u:r:untrusted_app:s0:c196,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-03 23:47:32.233  9821  9821 W sh      : type=1400 audit(0.0:19017): avc: denied { read } for name="/" dev="dm-4" ino=2 scontext=u:r:untrusted_app:s0:c196,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-03 23:47:32.240  9821  9821 W sh      : type=1400 audit(0.0:19018): avc: denied { read } for name="/" dev="dm-4" ino=2 scontext=u:r:untrusted_app:s0:c196,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-03 23:47:32.247  9821  9821 W sh      : type=1400 audit(0.0:19019): avc: denied { read } for name="/" dev="dm-4" ino=2 scontext=u:r:untrusted_app:s0:c196,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter
03-03 23:47:32.253  9821  9821 W sh      : type=1400 audit(0.0:19020): avc: denied { read } for name="/" dev="dm-4" ino=2 scontext=u:r:untrusted_app:s0:c196,c257,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 app=app.revanced.manager.flutter

Patcher logs

No response

Acknowledgements

  • This request is not a duplicate of an existing issue.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • The issue is solely related to the ReVanced Manager
@cassist cassist added the Bug report Something isn't working label Mar 4, 2024
@oSumAtrIX
Copy link
Member

Relevant log lines:

03-03 23:45:05.757  6585  6585 D FlutterFileDialogPlugin: onMethodCall - IN , method=pickFile
03-03 23:45:05.757  6585  6585 D FileDialog: pickFile - IN, fileExtensionsFilter=[Ljava.lang.String;@67343f9, mimeTypesFilter=null, localOnly=false, copyFileToCacheDir=true
03-03 23:45:05.768  6585  6585 D FileDialog: pickFile - OUT
03-03 23:45:17.500  6585  6585 D FileDialog: Cancelled
03-03 23:45:

@ObliviousMonkey
Copy link

ObliviousMonkey commented Mar 11, 2024

Exact same issue popped up for me when updating to 1.19.3 from 1.8.0.

After testing, ability to select another file picker (to work around this empty "Recent" file list from default Android file manager - not even Samsung default) was present up until 1.14.2 and disappeared in 1.15.0.

Using a Samsung Galaxy S10e (Android 12).

Edit: was working fine on my Galaxy Tab S7, files were correctly displayed on the default file explorer. Could patch without issue and transferred the patched *.apk to my phone as a workaround.

@validcube validcube removed their assignment Mar 30, 2024
@jani8787
Copy link

jani8787 commented Apr 6, 2024

I have the same issue with Xiaomi MI 11. That have android 12 as in previous comment. Maybe it should be a bug with Android 12? It works fine on my Samsung S23 ultra with Android 14.

@AJCazz901
Copy link

I'm also seeing this on my S10 (SM-G973U) running Android 12 with manager 1.20.1.

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

8 participants