HyperOS-Security-Center icon indicating copy to clipboard operation
HyperOS-Security-Center copied to clipboard

Screen Recording not working

Open triitzii opened this issue 6 months ago • 0 comments

Hi there,

Using this module with KernelSU causes the native HyperOS screen recorder to break.

Issue happens on both a Xiaomi 15T running HyperOS 3.0.302.0.WOEEUXM and a POCO X8 Pro Max running HyperOS 3.0.3.0.WPLEUXM.

Crashlog:

java.lang.RuntimeException: Adding window failed at android.view.ViewRootImpl.setView(ViewRootImpl.java:2465) at android.view.WindowManagerGlobal.addView(WindowManag erGlobal.java:648) at android.view.WindowManagerGlobal.addView(WindowManag erGlobal.java:493) at android.view.WindowManagerlmpl.addView(WindowManagerl mpl.java:168) at R.g.l(SourceFile:38) at R.g.b(SourceFile:0) at R.e.run(SourceFile:10) at android.os.Handler.handleCallback(Handler.java:1029) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loopOnce(Looper.java:272) at android.os.Looper.loop(Looper.java:365) at android.app.ActivityThread.main(ActivityThread.java:10054) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.Runtimelnit$MethodAndArgsCaller.ru n(Runtimelnit.java:616) at com.android.internal.os.Zygotelnit.main(Zygotelnit.java:1115) Caused by: java.lang.SecurityException: DisplayPolicy: uid 10320 does not have android.permission.INTERNAL_SYSTEM_WINDOW. at android.os.Parcel.createExceptionOrNull(Parcel.java:3361) at android.os.Parcel.createException(Parcel.java:3345) at android.os.Parcel.readException(Parcel.java:3328) at android.os.Parcel.readException(Parcel.java:3270) at android.view.IWindowSession$Stub$Proxy.addToDisplayAsUse r(IWindowSession.java:1441) at android.view.ViewRootlmpl.setView(ViewRootImpl.java:2432) ... 14 more

triitzii avatar May 31 '26 19:05 triitzii