Connection refused when connecting to xx , Problem reading the trace version: 'Read timed out'.

When I try to connect the device in Graphics Analyzer, I encountered a problem:

Connection refused when connecting to HUAWEI PCT-AL10.

Problem reading the trace version: 'Read timed out'.

I didn't root my device and follow the advice 

LOG:

Device: HUAWEI PCT-AL10 (5ENDU19218000728, usb:336592896X)

Description: Connect to the device

Result: com.arm.mgd.core.adb.IADBTask$ADBExecutionException: Could not connect to device

at com.arm.mgd.core.adb.AndroidConnector.lambda$0(AndroidConnector.java:87)

at com.arm.mgd.core.adb.AndroidConnector.lambda$2(AndroidConnector.java:155)

at com.arm.mgd.core.adb.AndroidBridgeTask.run(AndroidBridgeTask.java:51)

at com.arm.mgd.core.adb.ADBTaskManager.executeTask(ADBTaskManager.java:492)

at com.arm.mgd.core.adb.ADBTaskManager.lambda$9(ADBTaskManager.java:433)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at com.arm.mgd.core.util.executors.NamedThreadPoolExecutor.lambda$0(NamedThreadPoolExecutor.java:60)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Command 0: "/Users/mg/Library/Android/sdk/platform-tools/adb" version

Exit code: 0

Output:

Android Debug Bridge version 1.0.41

Version 29.0.1-5644136

Installed as /Users/mg/Library/Android/sdk/platform-tools/adb

Command 1: "/Users/mg/Library/Android/sdk/platform-tools/adb" -s usb:336592896X start-server

Exit code: 0

Output:

Command 2: "/Users/mg/Library/Android/sdk/platform-tools/adb" devices -l

Exit code: 0

Output:

List of devices attached

5ENDU19218000728       device usb:336592896X product:PCT-AL10 model:PCT_AL10 device:HWPCT transport_id:1

Command 3: "/Users/mg/Library/Android/sdk/platform-tools/adb" -s usb:336592896X shell am startservice -n com.arm.mgd.androidapp/.applist.DaemonLauncherService

Exit code: 0

Output:

Starting service: Intent { cmp=com.arm.mgd.androidapp/.applist.DaemonLauncherService }

Command 4: "/Users/mg/Library/Android/sdk/platform-tools/adb" -s usb:336592896X shell dumpsys activity services com.arm.mgd.androidapp/.applist.DaemonProxyService

Exit code: 0

Output:

ACTIVITY MANAGER SERVICES (dumpsys activity services)

  User 0 active services:

  * ServiceRecord{d0a2b18 u0 com.arm.mgd.androidapp/.applist.DaemonProxyService}

    intent={cmp=com.arm.mgd.androidapp/.applist.DaemonProxyService}

    packageName=com.arm.mgd.androidapp

    processName=com.arm.mgd.androidapp

    baseDir=/data/app/com.arm.mgd.androidapp-ZYRisZWp8Y76A8oxH4xHNA==/base.apk

    dataDir=/data/user/0/com.arm.mgd.androidapp

    app=ProcessRecord{9dd9ce 25690:com.arm.mgd.androidapp/u0a168}

    isForeground=true foregroundId=1 foregroundNoti=Notification(channel=null pri=0 contentView=com.arm.mgd.androidapp/0x1090096 vibrate=null sound=null defaults=0x0 flags=0x62 color=0x00000000 vis=PRIVATE)

    createTime=-18h25m30s889ms startingBgTimeout=-18h25m15s886ms

    lastActivity=-18h25m30s889ms restartTime=-18h25m30s889ms createdFromFg=false

    startRequested=true delayedStop=false stopIfKilled=false callStart=true lastStartId=1

Command 5: "/Users/mg/Library/Android/sdk/platform-tools/adb" devices -l

Exit code: 0

Output:

List of devices attached

5ENDU19218000728       device usb:336592896X product:PCT-AL10 model:PCT_AL10 device:HWPCT transport_id:1

Command 6: "/Users/mg/Library/Android/sdk/platform-tools/adb" forward --list

Exit code: 0

Output:

Command 7: "/Users/mg/Library/Android/sdk/platform-tools/adb" -s usb:336592896X forward tcp:61005 tcp:5002

Exit code: 0

Output:

61005

Command 8: "/Users/mg/Library/Android/sdk/platform-tools/adb" forward --list

Exit code: 0

Output:

5ENDU19218000728 tcp:61005 tcp:5002

Command 9: "/Users/mg/Library/Android/sdk/platform-tools/adb" -s usb:336592896X shell setprop debug.vulkan.layers VK_LAYER_ARM_AGA:

Exit code: 0

Output:

LogCat

07-26 16:39:44.093 20780 20856 I chatty  : uid=10172(com.mg.ArmAndroidTest) UnityGfxDeviceW identical 1 line

07-26 16:39:44.113 20780 20856 D         : addLayerName, tid:20856

07-26 16:39:44.127 20988 20988 I GA Daemon Launcher: Received start id 3: Intent { cmp=com.arm.mgd.androidapp/.applist.DaemonLauncherService }

07-26 16:39:44.127 20988 20988 I GA Daemon Launcher: Send data to host: true

07-26 16:39:44.127 20988 20988 I GA Daemon Launcher: Headless mode: false

07-26 16:39:44.128 20780 20856 D         : addLayerName, tid:20856

07-26 16:39:44.146 20780 20856 D         : addLayerName, tid:20856

07-26 16:39:44.147   649   649 I AISched FPS: currentfps 60,detected fps 60,flag 0,high 14,low 4,sleepPercent 0.889536,old 8,new 8

07-26 16:39:44.153 22200 22200 W dumpsys : type=1400 audit(0.0:876030): avc: denied { read } for name="pipe-max-size" dev="proc" ino=20415873 scontext=u:r:shell:s0 tcontext=u:object_r:proc_pipe_conf:s0 tclass=file permissive=0

07-26 16:39:44.158  1374  2873 I ActivityManager: Start dump, calling from : pid=22200, uid=2000

07-26 16:39:44.161 20780 20856 D         : addLayerName, tid:20856

Parents Reply Children
No data
More questions in this forum