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

Scrcpy freezes at first frame using wi-fi connection (device disconnected) #3014

Open
2 tasks done
mcirinei opened this issue Feb 11, 2022 · 4 comments
Open
2 tasks done

Comments

@mcirinei
Copy link

mcirinei commented Feb 11, 2022

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

Environment

  • OS: Windows 10
  • scrcpy version: 1.22 (1.18 almost same issue)
  • installation method: Windows Release
  • device model: LENOVO Lenovo TB-X306F
  • Android version: 10

Describe the bug

With Scrcpy 1.22

Trying to connect to a Lenovo Tab M10 HD device using a wi-fi connection a first frame of the device is shown on the screen but immediately after Scrcpy stops receiving screen updates from the device. The remote too, control with mouse and keyboard, is completely disabled (nothing happens to the device if I click on the device screen image on Scrcpy). After 1 minute or so Scrcpy close with a Device disconnected warning:

C:\Users\Marco\Documents\PassGest-Remote\1.22>scrcpy
scrcpy 1.22 <https://github.com/Genymobile/scrcpy>
C:\Users\Marco\Documents\PassGest-Remote\1.22\scrcpy-serve... file pushed, 0 skipped. 55.4 MB/s (40955 bytes in 0.001s)
[server] INFO: Device: LENOVO Lenovo TB-X306F (Android 10)
INFO: Renderer: direct3d
INFO: Initial texture: 800x1280
WARN: Device disconnected

With Scrcpy 1.18

The only difference is that with 1.18 most attempts to run Scrcpy end without even the first frame being shown on the screen: Scrcpy stops responding after second INFO line is put on the DOS consolle and after his minute of lag exits with same disconnection warning (and no sign of connection at all with my Lenovo):

C:\Users\Marco\Documents\PassGest-Remote>scrcpy
INFO: scrcpy 1.18 <https://github.com/Genymobile/scrcpy>
C:\Users\Marco\Documents\PassGest-Remote\scrcpy-server: 1 file pushed, 0 skipped. 4.9 MB/s (37330 bytes in 0.007s)
[server] INFO: Device: LENOVO Lenovo TB-X306F (Android 10)
INFO: Renderer: direct3d
INFO: Initial texture: 800x1280
WARN: Device disconnected

Using a different framerate, resolution or switching to the opengl renderer doesnt fix it.
If I try to connect to the Lenovo device with USB connection Scrcpy does his job perfectly (screen updates very fast and I am able to control the device from my PC without problems).
Finally, in the same PC I can display and control, with both versions of Scrcpy, a Meberry M6 Android Tablet, with USB cable and with adb over wi-fi connection too, always without problems.

Any help would be greatly appreciated.

@rom1v
Copy link
Collaborator

rom1v commented Feb 11, 2022

If you run adb shell or adb logcat (and keep them running) when you run scrcpy, do they terminate too?

@mcirinei
Copy link
Author

mcirinei commented Feb 11, 2022

Yes, I have tested this with 1.22 version.
If I run Scrcpy with shell open (running), when Scrcpy timeouts and exits shell closes too.
If I run Scrcpy when logcat is open , first one closes after one minute this way:

C:\Users\Marco\Documents\PassGest-Remote\1.22>scrcpy
scrcpy 1.22 <https://github.com/Genymobile/scrcpy>
adb F 02-11 20:03:13  4740 21160 file_sync_client.cpp:473] protocol fault: failed to read stat response: No error
ERROR: "adb push" returned with value 3221226505
ERROR: Server connection failed

and Logcat shows these updates and, after, closes when Scrcpy closes (sorry for the long text):

C:\Users\Marco\Documents\PassGest-Remote\1.22>adb logcat
--------- beginning of system
02-11 18:38:22.042   901  1205 I PackageWatchdog: Updated health check state for package com.google.android.modulemetadata: PASSED -> PASSED
02-11 18:38:22.042   901  1205 I PackageWatchdog: Updated health check state for package com.google.android.networkstack: PASSED -> PASSED
02-11 18:38:22.042   901  1205 I PackageWatchdog: Updated health check state for package com.google.android.resolv: PASSED -> PASSED
02-11 18:38:22.042   901  1205 I PackageWatchdog: Updated health check state for package com.google.android.tzdata: PASSED -> PASSED
02-11 18:38:22.042   901  1205 I PackageWatchdog: Updated health check state for package com.google.android.documentsui: PASSED -> PASSED
02-11 18:38:22.042   901  1205 I PackageWatchdog: Updated health check state for package com.google.android.conscrypt: PASSED -> PASSED
02-11 18:38:22.042   901  1205 D ExplicitHealthCheckController: Getting health check requested packages
02-11 18:38:22.043   901  1205 I ExplicitHealthCheckController: Explicit health check requested packages []
02-11 18:38:22.044   901  1205 I ExplicitHealthCheckController: No more health check requests, unbinding...
02-11 18:38:22.046   901  1205 I ExplicitHealthCheckController: Explicit health check service is unbound
02-11 18:38:22.071   901   913 D MtkConnectivityService: requestNetwork for uid/pid:1001/1168 NetworkRequest [ TRACK_DEFAULT id=14, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 1001] ]
02-11 18:38:22.139   901   901 D NotificationService: package = com.android.settings isDisturbChecked: false
02-11 18:38:22.140   901   901 V SettingsProvider: name : DISTURB_NOTI_ALARM appId : 1000
02-11 18:38:22.279  1069  1356 E ActivityThread: Failed to find provider info for com.android.contacts
02-11 18:38:22.331   901   913 V SettingsProvider: packageValueForCallResult, name = user_setup_complete, value : Bundle[{_track_generation=android.util.MemoryIntArray@6c, value=1, _generation_index=2, _generation=3}]
02-11 18:38:22.342   901  1205 V SettingsProvider: packageValueForCallResult, name = airplane_mode_on, value : Bundle[{_track_generation=android.util.MemoryIntArray@6c, value=0, _generation_index=0, _generation=3}]
02-11 18:38:22.360   901   913 V SettingsProvider: name : ring_mode appId : 10060
02-11 18:38:22.360   901   913 V SettingsProvider: Package name : com.android.systemui privateFlags : 743968872
02-11 18:38:22.486  1069  1480 E ActivityThread: Failed to find provider info for com.android.contacts
02-11 18:38:22.521  1069  1480 E ActivityThread: Failed to find provider info for com.android.contacts
02-11 18:38:22.551  1069  1069 I EmergencyButton: ss.getState()=1 ss.isEmergencyOnly()=false for simId=0
02-11 18:38:22.556  1069  1069 I EmergencyButton: ss.getState()=1 ss.isEmergencyOnly()=false for simId=0
02-11 18:38:22.557   901   914 V SettingsProvider: packageValueForCallResult, name = haptic_feedback_enabled, value : Bundle[{_track_generation=android.util.MemoryIntArray@6c, value=1, _generation_index=3, _generation=1}]
02-11 18:38:22.560  1069  1069 I EmergencyButton: ss.getState()=1 ss.isEmergencyOnly()=false for simId=0
02-11 18:38:22.564  1069  1069 I EmergencyButton: ss.getState()=1 ss.isEmergencyOnly()=false for simId=0
02-11 18:38:22.565  1069  1069 I EmergencyButton: show = false
02-11 18:38:22.568  1069  1069 I EmergencyButton: ss.getState()=1 ss.isEmergencyOnly()=false for simId=0
02-11 18:38:22.569  1069  1069 I EmergencyButton: show = false
02-11 18:38:22.573  1069  1069 I EmergencyButton: ss.getState()=1 ss.isEmergencyOnly()=false for simId=0
02-11 18:38:22.574  1069  1069 I EmergencyButton: show = false
02-11 18:38:23.114   901  1237 W StorageManagerService: No primary storage defined yet; hacking together a stub
02-11 18:38:23.189   901  1011 D StatusBarManagerService: disableForUser what==0pkg====com.android.systemuiuserId==0
02-11 18:38:23.189   901  1011 D StatusBarManagerService: rec.userId==0userId==0which==1
02-11 18:38:23.189   901  1011 D StatusBarManagerService: rec.userId==0userId==0which==2
02-11 18:38:23.189   901  1011 D StatusBarManagerService: net1=0net2=0pkg=com.android.systemuiuserId=0
02-11 18:38:23.196   901   924 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
02-11 18:38:23.280   901   916 D WindowOrientationListener: WindowOrientationListener enabled clearCurrentRotation=true
02-11 18:38:23.307  1061  1061 I android.hardware.wifi@1.0-service-lazy-mediatek: Process has 1 (of 1 available) client(s) in use after notification android.hardware.wifi@1.3::IWifi has clients: 1
02-11 18:38:23.335   901   914 V SettingsProvider: name : hide_rotation_lock_toggle_for_accessibility appId : 10060
02-11 18:38:23.335   901   914 V SettingsProvider: Package name : com.android.systemui privateFlags : 743968872
02-11 18:38:23.453   901   913 V SettingsProvider: name : accelerometer_rotation appId : 1000
02-11 18:38:23.454   901   913 V SettingsProvider: name : user_rotation appId : 1000
02-11 18:38:23.456   901   918 I WindowManager: ******* TELLING SURFACE FLINGER WE ARE BOOTED!
02-11 18:38:23.460   901   918 D ActivityManager: bootAnimationComplete, mCallFinishBooting = true
02-11 18:38:23.462   901   918 I ActivityManager: About to commit checkpoint
02-11 18:38:23.463   901   918 I SystemServiceManager: Starting phase 1000
02-11 18:38:23.463   901   918 D DisplayPowerController: requestPowerState: policy=BRIGHT, useProximitySensor=false, screenBrightnessOverride=-1, useAutoBrightness=false, screenAutoBrightnessAdjustmentOverride=NaN, screenLowPowerBrightnessFactor=1.0, blockScreenOn=false, lowPowerMode=false, boostScreenBrightness=false, dozeScreenBrightness=-1, dozeScreenState=UNKNOWN, waitForNegativeProximity=false, changed=true
02-11 18:38:23.464   901   932 D DisplayPowerController: Animating brightness: target=79, rate=180
02-11 18:38:23.464   901   932 V DisplayPowerController: Brightness [79] reason changing to: 'manual', previous reason: 'override'.
02-11 18:38:23.465   901   918 D BluetoothManagerService: Bluetooth boot completed
02-11 18:38:23.465   901   918 D BluetoothManagerService: Auto-enabling Bluetooth.
02-11 18:38:23.465   901   917 D BluetoothManagerService: MESSAGE_ENABLE(0): mBluetooth = null
02-11 18:38:23.465   901   918 D TestHarnessModeService: Completing Test Harness Mode setup.
02-11 18:38:23.466   901  1017 D StorageManagerService: Thinking about init, mBootCompleted=true, mDaemonConnected=true
02-11 18:38:23.466   901  1017 D StorageManagerService: Thinking about reset, mBootCompleted=true, mDaemonConnected=true
02-11 18:38:23.466   901   932 D RampAnimator: amount = 0.38709918mRate =180
02-11 18:38:23.467   901   932 D RampAnimator: mTargetValue 79 mCurrentValue 102 mAnimatedValue 101.6129
02-11 18:38:23.468   901   913 V StorageManagerService: Found primary storage at VolumeInfo{emulated}:
02-11 18:38:23.468   901   913 V StorageManagerService:     type=EMULATED diskId=null partGuid= mountFlags=0 mountUserId=-10000
02-11 18:38:23.468   901   913 V StorageManagerService:     state=UNMOUNTED
02-11 18:38:23.468   901   913 V StorageManagerService:     fsType=null fsUuid=null fsLabel=null
02-11 18:38:23.468   901   913 V StorageManagerService:     path=null internalPath=null
02-11 18:38:23.469   901   924 I ActivityManager: Force stopping com.android.providers.media appid=10058 user=-1: vold reset
02-11 18:38:23.472   402   402 D vold    : Waiting for FUSE to spin up...
02-11 18:38:23.483   901   932 D RampAnimator: amount = 3.0084572mRate =180
02-11 18:38:23.483   901   932 D RampAnimator: mTargetValue 79 mCurrentValue 99 mAnimatedValue 98.60445
02-11 18:38:23.487   901   918 D DockService: boot completed
02-11 18:38:23.488   901  1045 V SettingsProvider: name : DOCKSTATUS appId : 1000
02-11 18:38:23.500   901   932 D RampAnimator: amount = 3.0051117mRate =180
02-11 18:38:23.500   901   932 D RampAnimator: mTargetValue 79 mCurrentValue 96 mAnimatedValue 95.599335
02-11 18:38:23.513  1584  1584 W sdcard  : Device explicitly enabled sdcardfs
02-11 18:38:23.516   901   932 D RampAnimator: amount = 3.0106392mRate =180
02-11 18:38:23.516   901   932 D RampAnimator: mTargetValue 79 mCurrentValue 93 mAnimatedValue 92.5887
02-11 18:38:23.533   901   932 D RampAnimator: amount = 3.0016708mRate =180
02-11 18:38:23.533   901   932 D RampAnimator: mTargetValue 79 mCurrentValue 90 mAnimatedValue 89.58703
02-11 18:38:23.550   901   932 D RampAnimator: amount = 3.0063772mRate =180
02-11 18:38:23.550   901   932 D RampAnimator: mTargetValue 79 mCurrentValue 87 mAnimatedValue 86.58065
02-11 18:38:23.566   901   932 D RampAnimator: amount = 3.0064857mRate =180
02-11 18:38:23.566   901   932 D RampAnimator: mTargetValue 79 mCurrentValue 84 mAnimatedValue 83.574165
02-11 18:38:23.583   901   932 D RampAnimator: amount = 3.0065973mRate =180
02-11 18:38:23.583   901   932 D RampAnimator: mTargetValue 79 mCurrentValue 81 mAnimatedValue 80.567566
02-11 18:38:23.600   901   932 D RampAnimator: amount = 3.0062768mRate =180
02-11 18:38:23.600   901   932 D RampAnimator: mTargetValue 79 mCurrentValue 79 mAnimatedValue 79.0
02-11 18:38:23.600   901   932 D DisplayPowerController: Animating brightness: target=79, rate=180
02-11 18:38:24.615   901   925 W ActivityManager: Slow operation: 1147ms so far, now at startProcess: building log message
02-11 18:38:24.615   901   925 I ActivityManager: Start proc 1585:com.android.bluetooth/1002 for service {com.android.bluetooth/com.android.bluetooth.btservice.AdapterService}
02-11 18:38:24.615   901   925 W ActivityManager: Slow operation: 1147ms so far, now at startProcess: starting to update pids map
02-11 18:38:24.616   901   925 W ActivityManager: Slow operation: 1148ms so far, now at startProcess: done updating pids map
02-11 18:38:24.618   901   915 W Looper  : Slow dispatch took 1130ms android.fg h=com.android.server.usb.UsbDeviceManager$UsbHandlerLegacy c=null m=4
02-11 18:38:24.619   901  1002 I RollbackPackageHealthObserver: Scheduling 10 polls to check and mitigate native crashes
02-11 18:38:24.621   901  1011 V ActivityManager: New death recipient com.android.server.am.ActivityManagerService$AppDeathRecipient@947bf1d for thread android.os.BinderProxy@d356592, pid:1585,mApp:null
02-11 18:38:24.630   901   918 W SystemServiceManager: Service com.android.server.SensorNotificationService took 1142 ms in onBootPhase
02-11 18:38:24.630   901   918 D AppOps  : checkOperation: uid reject #1 for code 87 uid 10102 package com.google.android.apps.wellbeing
02-11 18:38:24.630   901  1029 D MtkConnectivityService: Got NetworkFactory Messenger for WifiNetworkFactory
02-11 18:38:24.630   901   918 V ActivityManager: broadcast BOOT_COMPLETED intent
02-11 18:38:24.630   901  1029 D MtkConnectivityService: Got NetworkFactory Messenger for UntrustedWifiNetworkFactory
02-11 18:38:24.633   901   918 D ActivityManager: Finishing user boot 0
02-11 18:38:24.633   901   918 I ActivityManager: User 0 state changed from BOOTING to RUNNING_LOCKED
02-11 18:38:24.634   901  1011 V SettingsProvider: packageValueForCallResult, name = null, value : Bundle[{_track_generation=android.util.MemoryIntArray@6c, value=null, _generation_index=3, _generation=1}]
02-11 18:38:24.635   901   918 D StorageManagerService: unlockUserKey: 0
02-11 18:38:24.637   402   402 D vold    : fscrypt_unlock_user_key 0 serial=0 token_present=0
02-11 18:38:24.641   901   915 W Looper  : Slow delivery took 1130ms android.fg h=com.android.server.adb.AdbDebuggingManager$AdbDebuggingHandler c=null m=1
02-11 18:38:24.641   402   402 D vold    : Skipping non-key ..
02-11 18:38:24.641   402   402 D vold    : Skipping non-key .
02-11 18:38:24.641   402   402 D vold    : Trying user CE key /data/misc/vold/user_keys/ce/0/current
02-11 18:38:24.652   402   402 I vold    : List of Keymaster HALs found:
02-11 18:38:24.653   402   402 I vold    : Keymaster HAL #1: BeanpodwareKeymasterDevice from Beanpod SecurityLevel: TRUSTED_ENVIRONMENT HAL: android.hardware.keymaster@4.0::IKeymasterDevice/default
02-11 18:38:24.653   402   402 I vold    : Using BeanpodwareKeymasterDevice from Beanpod for encryption.  Security level: TRUSTED_ENVIRONMENT, HAL: android.hardware.keymaster@4.0::IKeymasterDevice/default
02-11 18:38:24.659   402   402 D vold    : Successfully retrieved key
02-11 18:38:24.664   402   402 D vold    : Added key 365655453 (ext4:f6c0c3b530b4ef8e) to keyring 3040281 in process 402
02-11 18:38:24.665   402   402 D vold    : Added key 422005736 (f2fs:f6c0c3b530b4ef8e) to keyring 3040281 in process 402
02-11 18:38:24.665   402   402 D vold    : Added key 891975459 (fscrypt:f6c0c3b530b4ef8e) to keyring 3040281 in process 402
02-11 18:38:24.665   402   402 D vold    : Installed ce key for user 0
02-11 18:38:24.665   901   918 D ActivityManager: Started unlocking user 0
02-11 18:38:24.665   901   918 D ActivityManager: Unlocking user 0 progress 0
02-11 18:38:24.665   901   918 D ActivityManager: Unlocking user 0 progress 5
02-11 18:38:24.672   901   918 D ColorDisplayService: setUp: currentUser=0
02-11 18:38:24.673   901   925 I ActivityManager: Start proc 1607:com.google.android.apps.wellbeing/u0a102 for on-hold
02-11 18:38:24.674   901   915 W Looper  : Drained
02-11 18:38:24.675   402   402 D vold    : fscrypt_prepare_user_storage for volume null, user 0, serial 0, flags 2
02-11 18:38:24.675   402   402 D vold    : Preparing: /data/system_ce/0
02-11 18:38:24.675   402   402 D vold    : Preparing: /data/misc_ce/0
02-11 18:38:24.675   402   402 D vold    : Preparing: /data/vendor_ce/0
02-11 18:38:24.676   901   918 D ColorDisplayService: onNightDisplayAutoModeChanged: autoMode=0
02-11 18:38:24.676   402   402 D vold    : Preparing: /data/media/0
02-11 18:38:24.676   901   918 I ColorDisplayService: Turning off night display
02-11 18:38:24.677   402   402 D vold    : Preparing: /data/data
02-11 18:38:24.679   402   402 I vold    : Found policy f6c0c3b530b4ef8e at /data/system_ce/0 which matches expected value
02-11 18:38:24.681   402   402 I vold    : Found policy f6c0c3b530b4ef8e at /data/misc_ce/0 which matches expected value
02-11 18:38:24.681   901   918 D ColorDisplayService: getMatrixGeneral color temperature is not set
02-11 18:38:24.682   402   402 I vold    : Found policy f6c0c3b530b4ef8e at /data/vendor_ce/0 which matches expected value
02-11 18:38:24.683   402   402 I vold    : Found policy f6c0c3b530b4ef8e at /data/media/0 which matches expected value
02-11 18:38:24.684   402   402 I vold    : Found policy f6c0c3b530b4ef8e at /data/data which matches expected value
02-11 18:38:24.684   402   402 D vold    : Starting restorecon of /data/system_ce/0
02-11 18:38:24.685   901  1011 V ActivityManager: New death recipient com.android.server.am.ActivityManagerService$AppDeathRecipient@2770ffd for thread android.os.BinderProxy@e3f14f2, pid:1607,mApp:null
02-11 18:38:24.730   901   901 D NotificationService: package = com.android.settings isDisturbChecked: false
02-11 18:38:24.731   901   901 V SettingsProvider: name : DISTURB_NOTI_ALARM appId : 1000
02-11 18:38:24.739   402   402 D vold    : Finished restorecon of /data/system_ce/0
02-11 18:38:24.739   402   402 D vold    : Starting restorecon of /data/vendor_ce/0
02-11 18:38:24.790   402   402 D vold    : Finished restorecon of /data/vendor_ce/0
02-11 18:38:24.791   402   402 D vold    : Starting restorecon of /data/misc_ce/0
02-11 18:38:24.799   402   402 D vold    : Finished restorecon of /data/misc_ce/0
02-11 18:38:24.799   402   402 D vold    : /system/bin/vold_prepare_subdirs
02-11 18:38:24.799   402   402 D vold    :     prepare
02-11 18:38:24.799   402   402 D vold    :
02-11 18:38:24.799   402   402 D vold    :     0
02-11 18:38:24.799   402   402 D vold    :     2
02-11 18:38:24.810   901  1237 V SettingsProvider: packageValueForCallResult, name = bluetooth_disabled_profiles, value : Bundle[{_track_generation=android.util.MemoryIntArray@6c, value=0, _generation_index=0, _generation=3}]
02-11 18:38:24.854   901   915 V UserDataPreparer: Found /data/user/0 with serial number 0
02-11 18:38:24.854   901   915 V UserDataPreparer: Found /data/system_ce/0 with serial number 0
02-11 18:38:24.855   901   915 D UserDataPreparer: Setting property: sys.user.0.ce_available=true
02-11 18:38:24.856   901   915 V PackageManager: reconcileAppsData for null u0 0x2 migrateAppData=false
02-11 18:38:24.914   901   901 V ConditionProviders: 0 condition provider service connected: ComponentInfo{com.google.android.apps.wellbeing/com.google.android.apps.wellbeing.dnd.impl.DndConditionProviderService}
02-11 18:38:24.923   901  1237 W ActivityManager: Unable to start service Intent { act=com.google.android.gms.phenotype.service.START pkg=com.google.android.gms } U=0: not found
02-11 18:38:24.924   901  1237 W ActivityManager: Unbind failed: could not find connection for android.os.BinderProxy@6a9f38f
02-11 18:38:24.931   901  1237 W ActivityManager: Unable to start service Intent { act=com.google.android.gms.phenotype.service.START pkg=com.google.android.gms } U=0: not found
02-11 18:38:24.931   901  1237 W ActivityManager: Unbind failed: could not find connection for android.os.BinderProxy@e2c761c
02-11 18:38:24.933   901   901 D BluetoothManagerService: Bluetooth Adapter name changed to Lenovo Tab M10 HD
02-11 18:38:24.933   901   901 D BluetoothManagerService: Stored Bluetooth name: Lenovo Tab M10 HD
02-11 18:38:24.949   901  1011 W ActivityManager: Unable to start service Intent { act=com.google.android.contextmanager.service.ContextManagerService.START pkg=com.google.android.gms } U=0: not found
02-11 18:38:24.950   901  1011 W ActivityManager: Unbind failed: could not find connection for android.os.BinderProxy@1b4de7f
02-11 18:38:24.961   901   925 I ActivityManager: Start proc 1656:com.google.android.gms.persistent/u0a123 for service {com.google.android.gms/com.google.android.gms.chimera.PersistentDirectBootAwareApiService}
02-11 18:38:24.984   901   901 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.btservice.AdapterService
02-11 18:38:24.985   901   917 D BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 1
02-11 18:38:24.986   901   917 D BluetoothManagerService: Broadcasting onBluetoothServiceUp() to 4 receivers.
02-11 18:38:24.992   901   917 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: OFF > BLE_TURNING_ON
02-11 18:38:24.992   901   917 D BluetoothManagerService: Sending BLE State Change: OFF > BLE_TURNING_ON
02-11 18:38:24.996   901  1011 V SettingsProvider: packageValueForCallResult, name = boot_count, value : Bundle[{_track_generation=android.util.MemoryIntArray@6c, value=6, _generation_index=0, _generation=3}]
02-11 18:38:24.997   901  1205 V ActivityManager: New death recipient com.android.server.am.ActivityManagerService$AppDeathRecipient@19b904e for thread android.os.BinderProxy@f88656f, pid:1656,mApp:null
02-11 18:38:25.040   901   918 D ColorDisplayService: Setting saturation level: 100
02-11 18:38:25.067   901   918 D ColorDisplayService: Setting saturation level: 100
02-11 18:38:25.095   901   925 I ActivityManager: Start proc 1693:com.google.android.marvin.talkback/u0a144 for broadcast {com.google.android.marvin.talkback/com.google.android.accessibility.talkback.BootReceiver}
02-11 18:38:25.121   901  1205 V ActivityManager: New death recipient com.android.server.am.ActivityManagerService$AppDeathRecipient@d0b09f1 for thread android.os.BinderProxy@c20d9d6, pid:1693,mApp:null
02-11 18:38:25.189   901   901 D BluetoothManagerService: Bluetooth Adapter address changed to 08:38:E6:95:F9:94
02-11 18:38:25.189   901   901 V SettingsProvider: name : BLUE_ADDRESS appId : 1000
02-11 18:38:25.190   901   901 D BluetoothManagerService: Stored Bluetoothaddress: 08:38:E6:95:F9:94
02-11 18:38:25.190   901   901 D BluetoothManagerService: Bluetooth Adapter name changed to Lenovo Tab M10 HD
02-11 18:38:25.190   901   901 D BluetoothManagerService: Stored Bluetooth name: Lenovo Tab M10 HD
02-11 18:38:25.207   901   917 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: BLE_TURNING_ON > BLE_ON
02-11 18:38:25.207   901   917 D BluetoothManagerService: Bluetooth is in LE only mode
02-11 18:38:25.207   901   917 D BluetoothManagerService: Binding Bluetooth GATT service
02-11 18:38:25.208   901   917 D BluetoothManagerService: Sending BLE State Change: BLE_TURNING_ON > BLE_ON
02-11 18:38:25.210   901   901 D BluetoothManagerService: BluetoothServiceConnection: com.android.bluetooth.gatt.GattService
02-11 18:38:25.210   901   917 D BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_CONNECTED: 2
02-11 18:38:25.210   901   917 D BluetoothManagerService: continueFromBleOnState()
02-11 18:38:25.211   901   917 D BluetoothManagerService: Persisting Bluetooth Setting: 1
02-11 18:38:25.211   901   917 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: BLE_ON > TURNING_ON
02-11 18:38:25.211   901   917 D BluetoothManagerService: Sending BLE State Change: BLE_ON > TURNING_ON
02-11 18:38:25.243   901   901 I Telecom-BluetoothStateReceiver: Device null is now the preferred BT device for HFP: BSR.oR@AAw
02-11 18:38:25.478   901   917 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: TURNING_ON > ON
02-11 18:38:25.478   901   917 D BluetoothManagerService: Broadcasting onBluetoothStateChange(true) to 5 receivers.
02-11 18:38:25.479   901   917 D BluetoothManagerService: Creating new ProfileServiceConnections object for profile: 1
02-11 18:38:25.484   901   917 D BluetoothManagerService: Sending BLE State Change: TURNING_ON > ON
02-11 18:38:25.486   901   901 I Telecom-BluetoothPhoneService: queryPhoneState: BPSI.qPS@AA0
02-11 18:38:25.488  1585  1730 E ActivityThread: Failed to find provider info for com.android.contacts
02-11 18:38:25.584   901   901 I Telecom-Common: - Got BluetoothHeadset: com.android.server.telecom.BluetoothHeadsetProxy@cbc9bd7: BMSL.oSC@AA4
02-11 18:38:25.585   901   901 I Telecom-BluetoothPhoneService: updateHeadsetWithCallState numActive 0, numHeld 0, callState 6, ringing number ***, ringing type 128, ringing name null
02-11 18:38:25.611   901  1217 D AppOps  : checkOperation: uid reject #1 for code 87 uid 10134 package com.google.android.deskclock

@rom1v
Copy link
Collaborator

rom1v commented Feb 11, 2022

OK, so it looks like the adb server crashes on the device. It's a device bug.

@mcirinei
Copy link
Author

Ok, maybe there's something that I can do do debug and fix this? Thanks!

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

2 participants