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

Blank Screen for some oppo phones for e.g oppo f15, oppo f11, oppo A9(mostly recently launched oppo phones), works on old oppo phones and other brands like samsung,nokia,realme,MI,leEco,vivo,LG,etc #10

Closed
karkhileshardul opened this issue Sep 28, 2020 · 1 comment

Comments

@karkhileshardul
Copy link

HELP! HELP! HELP!

D/ColorViewRootUtil(19090): nav bar mode ignore false downX 436 downY 919 mScreenHeight 2340 mScreenWidth 1080 mStatusBarHeight 54 globalScale 1.3235294 nav mode 1 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=436.0, y[0]=919.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=448244605, downTime=448244605, deviceId=2, source=0x1002, displayId=0 }
I/flutter (19090): onTap Called
I/flutter (19090): pdf url ------------------------ https://raw.githubusercontent.com/FlutterInThai/Dart-for-Flutter-Sheet-cheet/master/Dart-for-Flutter-Cheat-Sheet.pdf
I/BufferQueue(19090): unnamed-19090-4 BufferQueue core=(19090:com.developer.example)
W/eloper.example(19090): type=1400 audit(0.0:290148): avc: denied { read } for name="u:object_r:debug_bq_dump_prop:s0" dev="tmpfs" ino=2395 scontext=u:r:untrusted_app:s0:c60,c257,c512,c768 tcontext=u:object_r:debug_bq_dump_prop:s0 tclass=file permissive=0
E/libc (19090): Access denied finding property "vendor.debug.bq.dump"
W/eloper.example(19090): type=1400 audit(0.0:290149): avc: denied { read } for name="u:object_r:debug_bq_dump_prop:s0" dev="tmpfs" ino=2395 scontext=u:r:untrusted_app:s0:c60,c257,c512,c768 tcontext=u:object_r:debug_bq_dump_prop:s0 tclass=file permissive=0
I/BufferQueueConsumer(19090): unnamed-19090-4 connect(C): consumer=(19090:com.developer.example) controlledByApp=true
E/libc (19090): Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer(19090): unnamed-19090-4 setConsumerName: unnamed-19090-4
E/libc (19090): Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer(19090): SurfaceTexture-0-19090-4 setConsumerName: SurfaceTexture-0-19090-4
I/BufferQueueConsumer(19090): SurfaceTexture-0-19090-4 setDefaultBufferSize: width=1080 height=1942
D/com.shockwave.pdfium.PdfiumCore(19090): Starting PdfiumAndroid 1.9.0
I/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 connect(P): api=1 producer=(659:???) producerControlledByApp=false
D/ViewRootImplMainActivity: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
I/InputTransport(19090): Create ARC handle: 0x776ec1fa80
I/flutter (19090): PDF view created
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/Surface (19090): Surface::connect(this=0x776800f000,api=1)
D/mali_winsys(19090): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (19090): Surface::setBufferCount(this=0x776800f000,bufferCount=3)
D/Surface (19090): Surface::allocateBuffers(this=0x776800f000)
D/jniPdfium(19090): Init FPDF library
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0
D/BufferQueueProducer(19090): SurfaceTexture-0-19090-4 cancelBuffer: slot 0

Screenshot of Black Screens:-

  1. https://drive.google.com/file/d/1ZQ9MjmVm74sjjJh2bAxkQ3kedcth13UA/view?usp=sharing
  2. https://drive.google.com/file/d/1z0Q5ilm6hOM94sDf9T-MrfvjSHjD0ItB/view?usp=sharing
  3. https://drive.google.com/file/d/1snTZQUxhB2yGhVb6lcYt5iIEYHM6CKNv/view?usp=sharing
@karkhileshardul
Copy link
Author

FOUND THE SOLUTION!!!
The issue is neither in the flutter package nor in android package.
The issue is related to SELinux policy added in new ROMs by some vendors like e.g:- OPPO.
If it founds some access as unauthorized in certain apps, it restricts the access and gives error like
"avc: denied ........."

Link for reference:--
SELinux denials on android.
https://gist.github.com/msfjarvis/ec52b48eb2df1688b7cbe32bcd39ee5f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant