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

Connection lost when unlocking the screen via wifi or if the screen is locked #1382

Closed
2 tasks done
leandrosob opened this issue May 11, 2020 · 8 comments
Closed
2 tasks done

Comments

@leandrosob
Copy link

  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: Linux Mint Cinnamon 19.3
  • scrcpy version: 1.13
  • installation method: snap
  • device model: Xiaomi Mi 9 Lite
  • Android version: 10

Describe the bug

I use these commands to connect:

adb tcpip 5555
adb connect 192.168.0.121
scrcpy

I'm trying to connect via wifi, but whenever I unlock the screen with the PIN, the connection is lost. I tried to unlock it directly on the phone, but the same thing happens.

If I connect with the screen unlocked, I can use scrcpy. When the screen is locked, the connection is lost and I have to do the command "adb connect 192.168.0.121" again to be able to connect.

With the USB cable, I had no problems.

INFO: scrcpy 1.13 <https://github.com/Genymobile/scrcpy>
/usr/local/share/scrcpy/scrcpy-server:...shed. 0.4 MB/s (27694 bytes in 0.065s)
[server] INFO: Device: Xiaomi Mi 9 Lite (Android 10)
java.io.FileNotFoundException: /data/system/theme_config/theme_compatibility.xml: open failed: ENOENT (No such file or directory)
	at libcore.io.IoBridge.open(IoBridge.java:496)
	at java.io.FileInputStream.<init>(FileInputStream.java:159)
	at java.io.FileInputStream.<init>(FileInputStream.java:115)
	at java.io.FileReader.<init>(FileReader.java:58)
	at miui.content.res.ThemeCompatibilityLoader.getVersion(ThemeCompatibilityLoader.java:108)
	at miui.content.res.ThemeCompatibilityLoader.getConfigDocumentTree(ThemeCompatibilityLoader.java:126)
	at miui.content.res.ThemeCompatibilityLoader.loadConfig(ThemeCompatibilityLoader.java:59)
	at miui.content.res.ThemeCompatibility.<clinit>(ThemeCompatibility.java:31)
	at miui.content.res.ThemeCompatibility.isThemeEnabled(ThemeCompatibility.java:111)
	at android.content.res.MiuiResourcesImpl.<clinit>(MiuiResourcesImpl.java:41)
	at android.content.res.Resources.<init>(Resources.java:283)
	at android.content.res.MiuiResources.<init>(MiuiResources.java:49)
	at android.content.res.Resources.getSystem(Resources.java:204)
	at android.app.LoadedApk.<init>(LoadedApk.java:235)
	at android.app.ContextImpl.createSystemContext(ContextImpl.java:2430)
	at android.app.ActivityThread.getSystemContext(ActivityThread.java:2427)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.genymobile.scrcpy.Workarounds.fillAppInfo(Workarounds.java:66)
	at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:50)
	at com.genymobile.scrcpy.Server.scrcpy(Server.java:35)
	at com.genymobile.scrcpy.Server.main(Server.java:177)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:380)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
	at libcore.io.Linux.open(Native Method)
	at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252)
	at libcore.io.IoBridge.open(IoBridge.java:482)
	... 22 more
INFO: Renderer: opengl
INFO: OpenGL version: 4.6.0 NVIDIA 440.82
INFO: Trilinear filtering enabled
INFO: Initial texture: 1080x2336
WARN: Device disconnected
@rom1v
Copy link
Collaborator

rom1v commented May 11, 2020

Your device decides to disconnect adb when you unlock the PIN (if you adb logcat in a separate terminal, I guess it also terminates). Probably a bug in the ROM (I guess it's not intentional).

Nothing scrcpy can do I think, unfortunately.

@leandrosob
Copy link
Author

Seconds before I finish entering the PIN.

05-11 20:11:10.922 32484 32484 D miui_anim: foreground, fromValue = 0, toValue = 0, same value
05-11 20:11:10.922 32484 32484 D miui_anim: prepare, abandon foreground for setValue failed
05-11 20:11:10.922 32484 32484 D miui_anim: prepare, property = scaleY, global delay = 0, config = AnimConfig{, delay=0, ease=InterpolateEaseStyle{style=0, duration=450, factors=[0.99, 0.67]}, tintMethod = 0, relatedProperty=null}
05-11 20:11:10.922 32484 32484 D miui_anim: scaleY, fromValue = 1.0, toValue = 1.0, same value
05-11 20:11:10.922 32484 32484 D miui_anim: prepare, abandon scaleY for setValue failed
05-11 20:11:10.923 32484 32484 D miui_anim: prepare, property = scaleX, global delay = 0, config = AnimConfig{, delay=0, ease=InterpolateEaseStyle{style=0, duration=450, factors=[0.99, 0.67]}, tintMethod = 0, relatedProperty=null}
05-11 20:11:10.923 32484 32484 D miui_anim: scaleX, fromValue = 1.0, toValue = 1.0, same value
05-11 20:11:10.923 32484 32484 D miui_anim: prepare, abandon scaleX for setValue failed
05-11 20:11:10.923 32484 32484 D miui_anim: prepare, property = alpha, global delay = 0, config = AnimConfig{, delay=0, ease=InterpolateEaseStyle{style=0, duration=500, factors=[0.9, 0.8]}, tintMethod = 0, relatedProperty=ViewProperty{mPropertyName='alpha'}}
05-11 20:11:10.923 32484 32484 D miui_anim: alpha, fromValue = 1.0, toValue = 1.0, same value
05-11 20:11:10.923 32484 32484 D miui_anim: prepare, abandon alpha for setValue failed
05-11 20:11:10.923 32484 32484 D miui_anim: onEventUp, touchUp
05-11 20:11:10.924 32484 32484 W StyleComposer: failed to invoke public abstract void miui.animation.ICancelableStyle.cancel() for null
05-11 20:11:10.924 32484 32484 D miui_anim: DOWN end
05-11 20:11:10.925 32484 32484 D miui_anim: prepare, from AnimState{mTag='DOWN', mMaps=[0.{}, 1.{ViewProperty{mPropertyName='foreground'}=StateValue{value=0.0, intValue = 0, enable=true}, ViewProperty{mPropertyName='scaleY'}=StateValue{value=1.0, intValue = 0, enable=true}, ViewProperty{mPropertyName='scaleX'}=StateValue{value=1.0, intValue = 0, enable=true}, ViewProperty{mPropertyName='alpha'}=StateValue{value=0.5613598, intValue = 0, enable=true}}, 2.{}]}, to AnimState{mTag='UP', mMaps=[0.{}, 1.{ViewProperty{mPropertyName='foreground'}=StateValue{value=0.0, intValue = 0, enable=true}, ViewProperty{mPropertyName='scaleY'}=StateValue{value=1.0, intValue = 0, enable=true}, ViewProperty{mPropertyName='scaleX'}=StateValue{value=1.0, intValue = 0, enable=true}, ViewProperty{mPropertyName='alpha'}=StateValue{value=0.5, intValue = 0, enable=true}}, 2.{}]}, oneTimeConfigs.length = 5, target = android.widget.TextView{2d991d6 V.ED..... ...P.... 132,110-169,135 #7f0a01f0 app:id/klondike_text}
05-11 20:11:10.925 32484 32484 D miui_anim: prepare, property = foreground, global delay = 0, config = AnimConfig{, delay=0, ease=InterpolateEaseStyle{style=0, duration=500, factors=[0.9, 0.8]}, tintMethod = 0, relatedProperty=ViewProperty{mPropertyName='foreground'}}
05-11 20:11:10.925 32484 32484 D miui_anim: foreground, fromValue = 0, toValue = 0, same value
05-11 20:11:10.925 32484 32484 D miui_anim: prepare, abandon foreground for setValue failed
05-11 20:11:10.925 32484 32484 D miui_anim: prepare, property = scaleY, global delay = 0, config = AnimConfig{, delay=0, ease=InterpolateEaseStyle{style=0, duration=450, factors=[0.99, 0.67]}, tintMethod = 0, relatedProperty=null}
05-11 20:11:10.925 32484 32484 D miui_anim: scaleY, fromValue = 1.0, toValue = 1.0, same value
05-11 20:11:10.925 32484 32484 D miui_anim: prepare, abandon scaleY for setValue failed
05-11 20:11:10.925 32484 32484 D miui_anim: prepare, property = scaleX, global delay = 0, config = AnimConfig{, delay=0, ease=InterpolateEaseStyle{style=0, duration=450, factors=[0.99, 0.67]}, tintMethod = 0, relatedProperty=null}
05-11 20:11:10.925 32484 32484 D miui_anim: scaleX, fromValue = 1.0, toValue = 1.0, same value
05-11 20:11:10.925 32484 32484 D miui_anim: prepare, abandon scaleX for setValue failed
05-11 20:11:10.925 32484 32484 D miui_anim: prepare, property = alpha, global delay = 0, config = AnimConfig{, delay=0, ease=InterpolateEaseStyle{style=0, duration=500, factors=[0.9, 0.8]}, tintMethod = 0, relatedProperty=ViewProperty{mPropertyName='alpha'}}
05-11 20:11:10.925 32484 32484 D miui_anim: alpha, fromValue = 0.5613598, toValue = 0.5
05-11 20:11:10.944 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:10.984 32484 32484 I chatty  : uid=1000(system) com.android.systemui identical 3 lines
05-11 20:11:10.999 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:11.000  1057  1057 D keystore: AddAuthenticationToken: timestamp = 393135315, time_received = 138761
05-11 20:11:11.002 32484 32484 I miui_keyguard_password: password unlock duration 63
05-11 20:11:11.004 32484 32484 D KeyguardSecurityView: showNextSecurityScreenOrFinish(true)
05-11 20:11:11.004 32484 32484 D KeyguardViewMediator: tryKeyguardDone mKeyguardDonePending = false mHideAnimationRun = false mHideAnimationRunning = false
05-11 20:11:11.007 32484 32484 W miui_keyguard: unlock keyguard by pw
05-11 20:11:11.018 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:11.033 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:11.044  1057  1057 D keystore: AddAuthenticationToken: timestamp = 393135359, time_received = 138761
05-11 20:11:11.046 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:11.065  1057  1057 D keystore: AddAuthenticationToken: timestamp = 393135380, time_received = 138761
05-11 20:11:11.066 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:11.068  1057  1057 I keystore: calling unlock when already unlocked, ignoring.
05-11 20:11:11.068  1666  1691 I LockSettingsService: Resetting lockout, length: 69
05-11 20:11:11.069  1666  1691 I LockSettingsService: Unlocking user 0 with secret only, length 64
05-11 20:11:11.069  1666  1691 D LockSettingsService: unlockUser finished
05-11 20:11:11.069  1666  1691 I LockSettingsService: Disabling escrow token on user 0
05-11 20:11:11.070  1666  1691 I LockSettingsService: Caching SP for user 0
05-11 20:11:11.071  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:11:11.069  1666  1691 D LockSettingsService: unlockUser finished
05-11 20:11:11.075   551   551 E SELinux : avc:  denied  { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1666 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
05-11 20:11:11.078  1666  1666 I chatty  : uid=1000 system_server identical 137 lines
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: android, tag: *walarm*:*job.delay*, whenElapsed: 652331996, now: 393131996
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.pixelcrater.Diaro, tag: *walarm*:com.pixelcrater.Diaro/.brreceivers.TimeToWriteAlarmBrReceiver, whenElapsed: 652331996, now: 393131996
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.mgoogle.android.gms, tag: *walarm*:org.microg.gms.gcm.mcs.RECONNECT, whenElapsed: 652331996, now: 393131996
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: android, tag: *walarm*:*job.deadline*, whenElapsed: 652610615, now: 393131996
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.snaptube.premium, tag: *alarm*:com.snaptube.geo.ACTION_FETCH, whenElapsed: 653117276, now: 393131996
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.ichi2.anki, tag: *walarm*:com.ichi2.anki/.services.NotificationService, whenElapsed: 653117276, now: 393131996
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.snaptube.premium, tag: *walarm*:ALARM_ACTION, whenElapsed: 653117276, now: 393131996
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: net.zedge.android, tag: *walarm*:net.zedge.android/com.flatanalytics.TimeService, whenElapsed: 653249967, now: 393131996
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.google.android.apps.messaging, tag: *walarm*:com.google.android.apps.messaging/.shared.analytics.recurringmetrics.AnalyticsAlarmReceiver, whenElapsed: 656881988, now: 393131997
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.snaptube.premium, tag: *alarm*:phoenix.intent.action.GEN_NOTIFY_CARD, whenElapsed: 657629033, now: 393131997
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: cm.aptoide.pt, tag: *alarm*:cm.aptoide.pt.sync.alarm.action.SYNC, whenElapsed: 660243958, now: 393131997
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.pixelcrater.Diaro, tag: *walarm*:com.pixelcrater.Diaro/.autobackup.AutoBackupAlarmBrReceiver, whenElapsed: 666060919, now: 393131997
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.google.android.googlequicksearchbox, tag: *alarm*:com.google.android.apps.sidekick.EXPIRE_NOTIFICATIONS, whenElapsed: 666060919, now: 393131997
05-11 20:11:11.078  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.android.providers.calendar, tag: *walarm*:com.android.providers.calendar.intent.CalendarProvider2, whenElapsed: 669600000, now: 393131997
05-11 20:11:11.079  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: org.mozilla.firefox, tag: *alarm*:update-addons, whenElapsed: 691200000, now: 393131997
05-11 20:11:11.079  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.mercadopago.wallet, tag: *alarm*:SEND_B_ANALYTICS, whenElapsed: 695337015, now: 393131997
05-11 20:11:11.079  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: br.com.ctncardoso.ctncar, tag: *walarm*:br.com.ctncardoso.ctncar/.notificacao.NotificacaoAlarm, whenElapsed: 696675012, now: 393131997
05-11 20:11:11.079  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.android.vending, tag: *walarm*:com.google.android.finsky.scheduler.FALLBACK3, whenElapsed: 710325408, now: 393131997
05-11 20:11:11.079  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.snaptube.premium, tag: *walarm*:phoenix.intent.action.CHECK_ONLINE_CONFIG, whenElapsed: 741500910, now: 393131997
05-11 20:11:11.079  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:11:11.079  1666  1666 I chatty  : uid=1000 system_server identical 1 line
05-11 20:11:11.079  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:11:11.079  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.truecaller, tag: *walarm*:com.truecaller.action.ACTION_UPDATE_PRESENCE_FOR_CURRENT_USER, whenElapsed: 838073551, now: 393131997
05-11 20:11:11.079  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:11:11.079  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.truecaller, tag: *walarm*:com.truecaller/.service.AlarmReceiver, whenElapsed: 905073462, now: 393131997
05-11 20:11:11.079  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:11:11.081  1666  1666 I chatty  : uid=1000 system_server identical 60 lines
05-11 20:11:11.082  1666  1666 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:11:11.082  1666  1666 I LockSettingsService: Removing SP from cache for user 0
05-11 20:11:11.084 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:11.089  1666  5855 D KeySyncTask: Key sync not needed.
05-11 20:11:11.096 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:11.283 32484 32484 I NotificationPanelView: updateGxzwState: mQsExpanded = false, mKeyguardOccluded = false, moveHelperCanShow = true, bouncer = true, mLockScreenMagazinePreViewVisible = false, isShowFodInBouncer = false, mStatusBarState = 1, disableFingerprintIcon = false
05-11 20:11:11.251 32484 32484 I chatty  : uid=1000(system) com.android.systemui identical 9 lines
05-11 20:11:11.266 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:11.283 32484 32484 I MiuiGxzwManager: dismissGxzwIconView: dismiss = true
05-11 20:11:11.283 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:11.331 32484 32484 D MiuiGxzwAnimView: surfaceDestroyed
05-11 20:11:11.332   898  1494 E BufferQueueProducer: [SurfaceView - gxzw_anim#0] disconnect: not connected (req=2)
05-11 20:11:11.351 32484 32484 D KeyguardPINView: startDisappearAnimation finish
05-11 20:11:11.351 32484 32484 D KeyguardViewMediator: tryKeyguardDone mKeyguardDonePending = false mHideAnimationRun = true mHideAnimationRunning = false
05-11 20:11:11.351 32484 32484 D KeyguardViewMediator: handleKeyguardDone
05-11 20:11:11.351 32484 32484 V KeyguardUpdateMonitor: stopListeningForFingerprint()
05-11 20:11:11.351 32484 32484 I MiuiGxzwViewIcon: onFingerprintRunningStateChanged: running = false
05-11 20:11:11.351 32484 32484 D KeyguardViewMediator: handleHide
05-11 20:11:11.352 32484 32484 D KeyguardViewMediator: keyguardGoingAway
05-11 20:11:11.352  1666  1666 V FingerprintService: Stopping client com.android.systemui, fromClient: true
05-11 20:11:11.354  1666  9319 D ActivityTaskManager: Top Process State changed to PROCESS_STATE_TOP
05-11 20:11:11.355  1666  1666 I android_os_HwBinder: HwBinder: Starting thread pool for getting: [email protected]::ITouchFeature/default
05-11 20:11:11.355   856   856 D TouchFeature: setModeValue mode:10, value:0
05-11 20:11:11.356 32484  6256 I MiuiGxzwManager: dealCallback, cmd: 2 param: 0
05-11 20:11:11.359  1666  1666 I FingerprintService: fodCallBack cmd: CMD_APP_CANCEL_AUTHEN , 0 ,  backRes:1 touchStatus:0 writeRes:true
05-11 20:11:11.362  1666  9319 D CompatibilityInfo: mCompatibilityFlags - 0
05-11 20:11:11.363  1666  9319 D CompatibilityInfo: applicationDensity - 440
05-11 20:11:11.363  1666  9319 D CompatibilityInfo: applicationScale - 1.0
05-11 20:11:11.365  1666  9319 I Timeline: Timeline: App_transition_ready time:138762133
05-11 20:11:11.366 32484 32484 D KeyguardViewMediator: call fw keyguardGoingAway: flags = 8
05-11 20:11:11.366 32484 32484 D MiuiGxzwManager: onKeyguardHide
05-11 20:11:11.366 32484 32484 I MiuiGxzwManager: dismissGxzwView: mShowed = true
05-11 20:11:11.366 32484 32484 D MiuiGxzwViewIcon: dismiss
05-11 20:11:11.366 32484 32484 I MiuiGxzwFrameAnimation: clean
05-11 20:11:11.367  1666  1727 I Timeline: Timeline: App_transition_ready time:138762135
05-11 20:11:11.368 32484 32484 D MiuiGxzwOverlayView: dismiss
05-11 20:11:11.369  1187  1187 D [GF_HAL]: fingerprint_cancel
05-11 20:11:11.369  1187  1187 D [GF_HAL][XiaoMiFingerprintCore]: [setClientCancel],1
05-11 20:11:11.369  1187  1187 E [GF_HAL][FingerprintCore]: [notifyErrorInfo] err code : 5.
05-11 20:11:11.369  1187  1187 W [email protected]: onError(5)
05-11 20:11:11.369  1187  1187 D [GF_HAL][CaEntry]: [sendCommand] request token: 12775, target: 1000, cmd id: 8
05-11 20:11:11.369  1187  1187 D [GF_HAL][CaEntry]: [sendCommand] carveout_ion_handle_fd = 12,carveout_ion_handle_len = 4194304 
05-11 20:11:11.371  1187  1187 D [GF_HAL][HalContext]: [invokeCommand] err = 0, errno = GF_SUCCESS
05-11 20:11:11.371  1187  1187 D [GF_HAL][ShenzhenSensor]: msg : 17
05-11 20:11:11.371  1187  1187 D [GF_HAL][SZHalDump]: msg : 17
05-11 20:11:11.371  1187  1187 D [GF_HAL][XiaoMiFingerprintCore]: [setClientCancel],0
05-11 20:11:11.371  1666  1666 W FingerprintService: client com.android.systemui is no longer authenticating
05-11 20:11:11.372   898   980 D SurfaceFlinger: updateFodFlag FodFlag=2
05-11 20:11:11.372   898   980 D SurfaceFlinger: Alpha=0.660428 mBrightnessBackup=266, mTargetBrightness=1, backlight=266, Doze_backlight=17
05-11 20:11:11.372   898   980 D SurfaceFlinger: fodFlagUpdate fodFlag:false
05-11 20:11:11.372   898   980 D SurfaceFlinger: enter
05-11 20:11:11.372   898   980 D SurfaceFlinger: successfully write 0x60000 into /sys/class/drm/card0-DSI-1/disp_param
05-11 20:11:11.373  1666  1666 I android_os_HwBinder: HwBinder: Starting thread pool for getting: [email protected]::ITouchFeature/default
05-11 20:11:11.373   856   856 D TouchFeature: setModeValue mode:10, value:0
05-11 20:11:11.374 32484  6256 I MiuiGxzwManager: dealCallback, cmd: 4 param: 5
05-11 20:11:11.375  1666  1666 I FingerprintService: fodCallBack cmd: CMD_VENDOR_ERROR , 5 ,  backRes:1 touchStatus:0 writeRes:true
05-11 20:11:11.375  1666  1666 V FingerprintService: handleError(client=com.android.systemui, error = 5)
05-11 20:11:11.375  1666  1666 V FingerprintService: Done with client: com.android.systemui
05-11 20:11:11.386 32484 32695 D DisplayFeatureManager: setScreenEffect mode=17 value=2
05-11 20:11:11.387  1666  1726 I set_top_app: success /proc/11122/top_app:1
05-11 20:11:11.387  1666  1726 I set_top_app: success /proc/11200/top_app:2
05-11 20:11:11.387   833   833 D DisplayFeatureHal: setFeatureEnable(displayId=0 caseId=17 modeId=2 cookie=255)
05-11 20:11:11.387   833   833 D DisplayFeatureHal: handleFodScreenOn enter[2]
05-11 20:11:11.388   833   948 D DisplayFeatureHal: HandleACNormal enter
05-11 20:11:11.388   833   948 D DisplayFeatureHal: Query DisplayPostproc service
05-11 20:11:11.388  1666  5917 I Timeline: Timeline: App_transition_ready time:138762156
05-11 20:11:11.389   833   833 D DisplayFeatureHal: handleFodScreenOn exit[1]
05-11 20:11:11.391   998   998 I Dpps    : AddNewDppsClient():452 New DPPS client accepted, client fd = 23, poll idx 2
05-11 20:11:11.391  1666  5935 I Timeline: Timeline: App_transition_ready time:138762159
05-11 20:11:11.392   998   998 I Dpps    : HandleDppsClientEvent():924 Incoming message on client fd 23: 'ad:on;1'
05-11 20:11:11.392   998  2285 I Dpps    : Register():75 client already registered AdAlsObserver notifier 0x0
05-11 20:11:11.392   998  2285 I Dpps    : AdOn():591 AD already in ON state 1 split display bit 0
05-11 20:11:11.392  1666  3547 I MiuiNetworkPolicy: updateUidState uid = 10207, uidState = 2
05-11 20:11:11.392  1666  3547 I MiuiNetworkPolicy: updateWmmForUidState uid: 10207 state: 2 wmm: 1
05-11 20:11:11.393   659  3935 D OemNetd : updateWmm: uid=10207, wmm=1
05-11 20:11:11.394   998   998 I Dpps    : HandleDppsClientEvent():911 Client connection 23 has closed
05-11 20:11:11.394   998   998 I Dpps    : RemoveServerClient():318 closed fd 23 poll_idx 2
05-11 20:11:11.396   881  5622 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
05-11 20:11:11.396  1666  3547 I MiuiNetworkPolicy: updateMLUid uid:10207,old:13,new:2
05-11 20:11:11.396  1666  3547 I MiuiNetworkPolicy: isMLEnabled state:13,uid:10207,connect:DISCONNECTED
05-11 20:11:11.396  1666  3547 I MiuiNetworkPolicy: isMLEnabled state:2,uid:10207,connect:DISCONNECTED
05-11 20:11:11.397   833   948 D DisplayFeatureHal: HandleACNormal exit ret -1
05-11 20:11:11.397   833   948 D DisplayFeatureHal: isStartSensorControl ret 1
05-11 20:11:11.400   881  5622 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10057
05-11 20:11:11.403   551   551 I hwservicemanager: getTransport: Cannot find entry [email protected]::IIop/default in either framework or device manifest.
05-11 20:11:11.403 32484 32484 D FaceManagerImpl_client: inernational:true supportR:[ALL] nowR:BR
05-11 20:11:11.403 32484 32484 I face_unlock: keyguard dismiss time=1589238671403
05-11 20:11:11.403 32484 32484 I face_unlock: face unlock time=1589238671403
05-11 20:11:11.404 32484 32517 I KeyguardViewMediator: unregister pickup sensor
05-11 20:11:11.404 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:11.404 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:11.405 32484 32484 I MiuiGxzwManager: dismissGxzwView: mShowed = false
05-11 20:11:11.406 32484 32484 D miui_anim: UP, property scaleY end
05-11 20:11:11.406 32484 32484 D miui_anim: UP, property scaleX end
05-11 20:11:11.406   798   841 I sensors-hal: activate:147, xiaomi.sensor.pickup/32 en=0
05-11 20:11:11.406   798   841 E sensors-hal: ~ssc_qmi_connection:318, ~ssc_qmi_connection.
05-11 20:11:11.407   798   841 I sensors-hal: activate:158, xiaomi.sensor.pickup/32 en=0 completed
05-11 20:11:11.410   551   551 E SELinux : avc:  denied  { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1666 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
05-11 20:11:11.410  1666 20571 E ANDR-PERF-JNI: UXEngine Trigger - Returning null
05-11 20:11:11.411 32484 32484 D miui_anim: INIT, property fontweight end
05-11 20:11:11.411 32484 32484 D miui_anim: INIT end
05-11 20:11:11.414  1666  3547 I MiuiNetworkPolicy: updateUidState uid = 10213, uidState = 4
05-11 20:11:11.414  1666  3547 I MiuiNetworkPolicy: updateMLUid uid:10213,old:18,new:4
05-11 20:11:11.414  1666  3547 I MiuiNetworkPolicy: isMLEnabled state:18,uid:10213,connect:DISCONNECTED
05-11 20:11:11.414  1666  3547 I MiuiNetworkPolicy: isMLEnabled state:4,uid:10213,connect:DISCONNECTED
05-11 20:11:11.419   881  5622 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
05-11 20:11:11.421   881  5622 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10057
05-11 20:11:11.422  1666  9319 I Timeline: Timeline: App_transition_ready time:138762190
05-11 20:11:11.426  1666  2294 V UiModeManager: switch night mode to 2
05-11 20:11:11.426   551   551 E SELinux : avc:  denied  { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1666 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
05-11 20:11:11.429  1666  5913 D CompatibilityInfo: mCompatibilityFlags - 0
05-11 20:11:11.429  1666  5913 D CompatibilityInfo: applicationDensity - 440
05-11 20:11:11.429  1666  5913 D CompatibilityInfo: applicationScale - 1.0
05-11 20:11:11.430   551   551 E SELinux : avc:  denied  { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1666 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
05-11 20:11:11.434  1666  5927 I Timeline: Timeline: App_transition_ready time:138762201
05-11 20:11:11.437  1666  4041 I Timeline: Timeline: App_transition_ready time:138762205
05-11 20:11:11.450  1666  4041 I Timeline: Timeline: App_transition_ready time:138762218
05-11 20:11:11.451 32484 32484 I miui_keyguard_fingerprint: onAuthenticationError: errMsgId = 5, errString = Operação de impressão digital cancelada.
05-11 20:11:11.444   551   551 E SELinux : avc:  denied  { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1666 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
05-11 20:11:11.451 32484 32484 I MiuiGxzwViewIcon: onFingerprintError: msgId = 5, errString = Operação de impressão digital cancelada.
05-11 20:11:11.451 32484 32484 D MiuiGxzwManager: onFingerprintError: msgId = 5, errString = Operação de impressão digital cancelada.
05-11 20:11:11.452 32484 32484 D miui_anim: UP, property alpha end
05-11 20:11:11.452 32484 32484 D miui_anim: UP end
05-11 20:11:11.452 32484 32484 D miui_anim: UP, property alpha end
05-11 20:11:11.453 32484 32484 D miui_anim: UP end
05-11 20:11:11.454 32484 32484 D KeyguardViewMediator: handleKeyguardDoneDrawing
05-11 20:11:11.457  1666  3547 I MiuiNetworkPolicy: updateUidState uid = 10046, uidState = 4
05-11 20:11:11.457  1666  3547 I MiuiNetworkPolicy: updateMLUid uid:10046,old:6,new:4
05-11 20:11:11.457  1666  3547 I MiuiNetworkPolicy: isMLEnabled state:6,uid:10046,connect:DISCONNECTED
05-11 20:11:11.457  1666  3547 I MiuiNetworkPolicy: isMLEnabled state:4,uid:10046,connect:DISCONNECTED
05-11 20:11:11.459   881  5622 D AudioPolicyService: updateUidStates_l: appName com.google.android.googlequicksearchbox, appState 1
05-11 20:11:11.463   881  5622 I AudioFlinger: create audiotrack for com.google.android.googlequicksearchbox  uid 10057
05-11 20:11:11.466  1666  1727 I Timeline: Timeline: App_transition_ready time:138762233
05-11 20:11:11.466 32484 32484 D KeyguardViewMediator: handleStartKeyguardExitAnimation startTime=138762233 fadeoutDuration=400
05-11 20:11:11.471 32484 32484 D StatusBar: give up recomputeDisableFlags
05-11 20:11:11.471 32484 32484 D KeyguardViewMediator: adjustStatusBarLocked: mShowing=false mOccluded=false force=false --> flags=0x0
05-11 20:11:11.472 32484 32484 D StatusBar: give up recomputeDisableFlags
05-11 20:11:11.477 32484 32484 I StatusBar: updateDozing: mDozing:false
05-11 20:11:11.477 32484 32484 I KeyguardViewMediator: setAodShowing: false
05-11 20:11:11.477 32484 32484 D StatusBar: give up recomputeDisableFlags
05-11 20:11:11.477 32484 32484 D KeyguardUpdateMonitor: onKeyguardVisibilityChanged(false)
05-11 20:11:11.478 32484 32484 D FaceManagerImpl_client: inernational:true supportR:[ALL] nowR:BR
05-11 20:11:11.478 32484 32484 I KeyguardIndication: updateIndication: mVisible true mDozing false mTransientIndication null mPowerPluggedIn false mUpArrowIndication Deslize para cima para desbloquear
05-11 20:11:11.478 32484 32484 D KeyguardUpdateMonitor: sendKeyguardBouncerChanged(false)
05-11 20:11:11.488  1666  1726 W UsageStatsService: Event reported without a package name, eventType:18
05-11 20:11:11.489  1666  1723 I UsbDeviceManager: Setting USB config to mtp,adb
05-11 20:11:11.489  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!

@leandrosob
Copy link
Author

I tried to unlock by fingerprint, but it gives the same problem.

05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.mgoogle.android.gms, tag: *walarm*:org.microg.gms.gcm.mcs.RECONNECT, whenElapsed: 652670807, now: 393470807
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.pixelcrater.Diaro, tag: *walarm*:com.pixelcrater.Diaro/.brreceivers.TimeToWriteAlarmBrReceiver, whenElapsed: 652670807, now: 393470807
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: android, tag: *walarm*:*job.delay*, whenElapsed: 652773009, now: 393470807
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: android, tag: *walarm*:*job.deadline*, whenElapsed: 652924451, now: 393470807
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.snaptube.premium, tag: *alarm*:com.snaptube.geo.ACTION_FETCH, whenElapsed: 653117276, now: 393470808
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.ichi2.anki, tag: *walarm*:com.ichi2.anki/.services.NotificationService, whenElapsed: 653117276, now: 393470808
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.snaptube.premium, tag: *walarm*:ALARM_ACTION, whenElapsed: 653117276, now: 393470808
05-11 20:16:49.889 32484 32484 D StatusBar: updatePublicMode() showingKeyguard=false,devicePublic=false
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: net.zedge.android, tag: *walarm*:net.zedge.android/com.flatanalytics.TimeService, whenElapsed: 653249968, now: 393470808
05-11 20:16:49.889 32484 32484 D StatusBar: updateStackScrollerState() publicMode=false,isKeyguardShowing=false
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.google.android.apps.messaging, tag: *walarm*:com.google.android.apps.messaging/.shared.analytics.recurringmetrics.AnalyticsAlarmReceiver, whenElapsed: 656881988, now: 393470808
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.snaptube.premium, tag: *alarm*:phoenix.intent.action.GEN_NOTIFY_CARD, whenElapsed: 657629033, now: 393470808
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: cm.aptoide.pt, tag: *alarm*:cm.aptoide.pt.sync.alarm.action.SYNC, whenElapsed: 660243958, now: 393470808
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.google.android.googlequicksearchbox, tag: *alarm*:com.google.android.apps.sidekick.EXPIRE_NOTIFICATIONS, whenElapsed: 666060919, now: 393470808
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.pixelcrater.Diaro, tag: *walarm*:com.pixelcrater.Diaro/.autobackup.AutoBackupAlarmBrReceiver, whenElapsed: 666060919, now: 393470808
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.android.providers.calendar, tag: *walarm*:com.android.providers.calendar.intent.CalendarProvider2, whenElapsed: 669600000, now: 393470808
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: org.mozilla.firefox, tag: *alarm*:update-addons, whenElapsed: 691200000, now: 393470808
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.mercadopago.wallet, tag: *alarm*:SEND_B_ANALYTICS, whenElapsed: 695337015, now: 393470808
05-11 20:16:49.889  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: br.com.ctncardoso.ctncar, tag: *walarm*:br.com.ctncardoso.ctncar/.notificacao.NotificacaoAlarm, whenElapsed: 696675013, now: 393470808
05-11 20:16:49.890  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.android.vending, tag: *walarm*:com.google.android.finsky.scheduler.FALLBACK3, whenElapsed: 710325408, now: 393470808
05-11 20:16:49.890  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.snaptube.premium, tag: *walarm*:phoenix.intent.action.CHECK_ONLINE_CONFIG, whenElapsed: 741500910, now: 393470808
05-11 20:16:49.890  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:16:49.890  1666  1726 I chatty  : uid=1000(system) android.display identical 1 line
05-11 20:16:49.890  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:16:49.891  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.truecaller, tag: *walarm*:com.truecaller.action.ACTION_UPDATE_PRESENCE_FOR_CURRENT_USER, whenElapsed: 838073551, now: 393470808
05-11 20:16:49.891  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:16:49.892  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.truecaller, tag: *walarm*:com.truecaller/.service.AlarmReceiver, whenElapsed: 905073463, now: 393470810
05-11 20:16:49.892  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:16:49.893  1666  1726 I chatty  : uid=1000(system) android.display identical 59 lines
05-11 20:16:49.893  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:16:49.893  1666  1723 I UsbDeviceManager: Setting USB config to mtp,adb
05-11 20:16:49.893  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:16:49.895 24843 24848 I adbd    : USB event: FUNCTIONFS_UNBIND
05-11 20:16:49.896  1666  1726 I chatty  : uid=1000(system) android.display identical 137 lines
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.pixelcrater.Diaro, tag: *walarm*:com.pixelcrater.Diaro/.brreceivers.TimeToWriteAlarmBrReceiver, whenElapsed: 652670814, now: 393470814
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.mgoogle.android.gms, tag: *walarm*:org.microg.gms.gcm.mcs.RECONNECT, whenElapsed: 652670814, now: 393470814
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: android, tag: *walarm*:*job.delay*, whenElapsed: 652773009, now: 393470814
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: android, tag: *walarm*:*job.deadline*, whenElapsed: 652924451, now: 393470814
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.snaptube.premium, tag: *walarm*:ALARM_ACTION, whenElapsed: 653117276, now: 393470814
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.ichi2.anki, tag: *walarm*:com.ichi2.anki/.services.NotificationService, whenElapsed: 653117276, now: 393470814
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.snaptube.premium, tag: *alarm*:com.snaptube.geo.ACTION_FETCH, whenElapsed: 653117276, now: 393470814
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: net.zedge.android, tag: *walarm*:net.zedge.android/com.flatanalytics.TimeService, whenElapsed: 653249967, now: 393470814
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.google.android.apps.messaging, tag: *walarm*:com.google.android.apps.messaging/.shared.analytics.recurringmetrics.AnalyticsAlarmReceiver, whenElapsed: 656881987, now: 393470814
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.snaptube.premium, tag: *alarm*:phoenix.intent.action.GEN_NOTIFY_CARD, whenElapsed: 657629032, now: 393470814
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: cm.aptoide.pt, tag: *alarm*:cm.aptoide.pt.sync.alarm.action.SYNC, whenElapsed: 660243958, now: 393470815
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.pixelcrater.Diaro, tag: *walarm*:com.pixelcrater.Diaro/.autobackup.AutoBackupAlarmBrReceiver, whenElapsed: 666060919, now: 393470815
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.google.android.googlequicksearchbox, tag: *alarm*:com.google.android.apps.sidekick.EXPIRE_NOTIFICATIONS, whenElapsed: 666060919, now: 393470815
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.android.providers.calendar, tag: *walarm*:com.android.providers.calendar.intent.CalendarProvider2, whenElapsed: 669600000, now: 393470815
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: org.mozilla.firefox, tag: *alarm*:update-addons, whenElapsed: 691200000, now: 393470815
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.mercadopago.wallet, tag: *alarm*:SEND_B_ANALYTICS, whenElapsed: 695337015, now: 393470815
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: br.com.ctncardoso.ctncar, tag: *walarm*:br.com.ctncardoso.ctncar/.notificacao.NotificacaoAlarm, whenElapsed: 696675013, now: 393470815
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.android.vending, tag: *walarm*:com.google.android.finsky.scheduler.FALLBACK3, whenElapsed: 710325408, now: 393470815
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.snaptube.premium, tag: *walarm*:phoenix.intent.action.CHECK_ONLINE_CONFIG, whenElapsed: 741500911, now: 393470815
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:16:49.896  1666  1726 I chatty  : uid=1000(system) android.display identical 1 line
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:16:49.896  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.truecaller, tag: *walarm*:com.truecaller.action.ACTION_UPDATE_PRESENCE_FOR_CURRENT_USER, whenElapsed: 838073551, now: 393470815
05-11 20:16:49.897  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:16:49.897  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, is pending alarm: com.truecaller, tag: *walarm*:com.truecaller/.service.AlarmReceiver, whenElapsed: 905073462, now: 393470815
05-11 20:16:49.897  1666  1726 D AlarmManagerServiceInjector: adjustAlarmLocked, alarm is not restricted!
05-11 20:16:49.898 24843 24848 I adbd    : UsbFfs: connection terminated: monitor thread finished
05-11 20:16:49.899 24843 24843 I adbd    : UsbFfs: already offline
05-11 20:16:49.899 24843 24843 I adbd    : destroying transport UsbFfs

@rom1v
Copy link
Collaborator

rom1v commented May 12, 2020

Oh, you might try to disable some USB-related mode when you plug your device (MTP, PTP, whatever). How to configure this option is device-dependant, but sometimes it opens a dialog when you plug your device.

@leandrosob
Copy link
Author

It worked! I disabled data transfer, it was set as default "No data transfer". Now I can unlock it and the window doesn't close anymore.
Thank you!

@KaKi87
Copy link

KaKi87 commented Jan 1, 2022

Hello,

Am I experiencing the same issue as this one ?


A WARN: Device disconnected message appears and the device screen window closes when the device is unlocked from lockscreen.

Minimal reproduction steps :

  1. Put the device to sleep (if not already sleeping)
  2. Start scrcpy
  3. Wake the device up
  4. Unlock the device
  5. See the issue

Alternative reproduction steps :

  1. Wake the device up (if not already woke up)
  2. Start scrcpy
  3. Put the device to sleep
  4. Wake the device up
  5. Unlock the device
  6. See the issue

you might try to disable some USB-related mode when you plug your device (MTP, PTP, whatever)

It's already disabled on my device.

Thanks

@rom1v rom1v mentioned this issue Feb 3, 2022
2 tasks
@starball5
Copy link

Possibly related on Stack Overflow: ADB losing connection when phone screen turns off

@AJolly
Copy link

AJolly commented Jan 23, 2024

FWIW, the android native Wireless ADB would always shut off for me, but using the app "WIFI ADB" keeps adb alive when screen is off.

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

5 participants