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

荣耀手机 HONOR Model: JSN-L22 Release: 9 API: 28 进入黑屏卡死 #72

Open
Lsdjack opened this issue Nov 7, 2023 · 3 comments
Open

Comments

@Lsdjack
Copy link

Lsdjack commented Nov 7, 2023

11-07 16:32:58.594 31849 31849 E HyttoIdUtils: │ main, $Companion.createDeviceId(HyttoIdUtils.kt:111)
11-07 16:32:58.594 31849 31849 E HyttoIdUtils: │ args[0] = createDeviceId__11: com.github.gzuliyujiang.oaid.impl.HuaweiImpl@96e096
11-07 16:32:58.594 31849 31849 E HyttoIdUtils: │ args[1] = isHuawei: true

11-07 16:32:58.612 31849 31849 I AdvertisingIdClient: requestAdvertisingIdInfo via aidl
11-07 16:32:58.621 1474 5073 I am_uid_active: 10057
11-07 16:32:58.621 1474 5073 I am_create_service: [0,92486020,.OpenDeviceIdentifierBindService,10057,8247]
11-07 16:32:58.635 495 495 I auditd : type=1400 audit(0.0:132317): avc: granted { read } for comm="Binder:495_3" name="default" dev="tmpfs" ino=17422 scontext=u:r:vold:s0 tcontext=u:object_r:storage_file:s0 tclass=dir
11-07 16:32:58.635 495 495 W Binder:495_3: type=1400 audit(0.0:132317): avc: granted { read } for name="default" dev="tmpfs" ino=17422 scontext=u:r:vold:s0 tcontext=u:object_r:storage_file:s0 tclass=dir
11-07 16:32:58.635 495 495 I auditd : type=1400 audit(0.0:132318): avc: granted { read open } for comm="Binder:495_3" path="/storage" dev="tmpfs" ino=17422 scontext=u:r:vold:s0 tcontext=u:object_r:storage_file:s0 tclass=dir
11-07 16:32:58.635 495 495 W Binder:495_3: type=1400 audit(0.0:132318): avc: granted { read open } for path="/storage" dev="tmpfs" ino=17422 scontext=u:r:vold:s0 tcontext=u:object_r:storage_file:s0 tclass=dir
11-07 16:32:58.643 8247 8247 I HiAd :
11-07 16:32:58.643 8247 8247 I HiAd : ============================================================================
11-07 16:32:58.643 8247 8247 I HiAd : ====== HiAd-3.4.27.308
11-07 16:32:58.643 8247 8247 I HiAd : ====== Brand: HONOR Model: JSN-L22 Release: 9 API: 28
11-07 16:32:58.643 8247 8247 I TaskRunMonitor: cancelTask
11-07 16:32:58.643 8247 8247 I TaskRunMonitor: INC - task count: 1
11-07 16:32:58.643 8247 31953 E FileLogNode: Failed to initialize the file logger.
11-07 16:32:58.646 8247 31953 W FileLogNode: Exception when writing the log file.
11-07 16:32:58.651 8247 31953 E FileLogNode: Failed to initialize the file logger.
11-07 16:32:58.652 8247 8247 I HiAd :
11-07 16:32:58.652 8247 8247 I HiAd : ============================================================================
11-07 16:32:58.652 8247 8247 I HiAd : ====== HiAd-3.4.27.308
11-07 16:32:58.652 8247 8247 I HiAd : ====== Brand: HONOR Model: JSN-L22 Release: 9 API: 28
11-07 16:32:58.653 8247 8247 I HiAdKit.OpenDeviceIdentifierBindService: onBind
11-07 16:32:58.654 8247 31953 W FileLogNode: Exception when writing the log file.
11-07 16:32:58.658 8247 31953 W FileLogNode: Exception when writing the log file.
11-07 16:32:59.194 1474 1644 I TrafficMonitor: update:rxPkts:0,txPkts:0,rxBytes:0,txBytes:0
11-07 16:32:59.194 1474 1644 I TrafficMonitor: start expired. level:-1
11-07 16:32:59.194 1474 1644 I TrafficMonitor: gettimer:interval=2000
11-07 16:33:00.007 1474 1474 V AlarmManager: Received TIME_TICK alarm; rescheduling
11-07 16:33:00.009 1474 1474 I HwAlarmManagerService: hwSetAlarm listenerTag: time_tick
11-07 16:33:00.014 1807 1807 E DateView: DateView,mCurrentTime: 1699349580014
11-07 16:33:00.044 1807 1807 I EventCenter: EventCenter Get :android.intent.action.TIME_TICK
11-07 16:33:00.045 1807 1807 W ClockView1: action android.intent.action.TIME_TICK
11-07 16:33:00.045 1807 1807 I chatty : uid=10029(com.huawei.HwMultiScreenShot) com.android.systemui identical 1 line
11-07 16:33:00.050 1807 1807 E ndroid.systemu: No package ID ff found for ID 0xffffffff.
11-07 16:33:00.050 1807 1807 D WeatherHelper: WeatherInfo not get
11-07 16:33:00.051 1807 1807 I LocalCalendar: Use Lunar Calender in Chinese default.
11-07 16:33:00.051 1807 1807 I LocalCalendar: CalendarId: 0001LocalCalender On
11-07 16:33:00.052 1807 1807 E ndroid.systemu: No package ID ff found for ID 0xffffffff.
11-07 16:33:00.053 1807 1807 D WeatherHelper: WeatherInfo not get
11-07 16:33:00.053 1807 1807 I LocalCalendar: Use Lunar Calender in Chinese default.
11-07 16:33:00.053 1807 1807 I LocalCalendar: CalendarId: 0001LocalCalender On
11-07 16:33:00.054 1807 1807 D WeatherHelper: WeatherInfo not get
11-07 16:33:00.055 1807 1807 E ndroid.systemu: No package ID ff found for ID 0xffffffff.
11-07 16:33:00.056 1807 1807 D WeatherHelper: WeatherInfo not get
11-07 16:33:00.056 1807 1807 I LocalCalendar: Use Lunar Calender in Chinese default.
11-07 16:33:00.056 1807 1807 I LocalCalendar: CalendarId: 0001LocalCalender On
11-07 16:33:00.057 1807 1807 D WeatherHelper: WeatherInfo not get
11-07 16:33:00.058 1807 1807 D WeatherHelper: WeatherInfo not get
11-07 16:33:00.059 1807 1958 I KeyguardStatusView: Runnable for refresh
11-07 16:33:00.060 1807 1807 D WeatherHelper: WeatherInfo not get
11-07 16:33:00.062 2073 2073 I HwLauncher: Model onReceive intent=Intent { act=android.intent.action.TIME_TICK flg=0x50200014 hwFlg=0x900 (has extras) }
11-07 16:33:00.063 2073 2073 I HwLauncher: Model onReceive user=UserHandle{0}
11-07 16:33:00.101 1474 1804 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{4d015a2 u-1 android.intent.action.TIME_TICK}
11-07 16:33:00.145 1807 1807 D WeatherHelper: WeatherInfo not get
11-07 16:33:00.145 1807 1807 D DateTimeView: Change to single clock mode!
11-07 16:33:00.146 1807 1807 D WeatherHelper: WeatherInfo not get
11-07 16:33:00.146 1807 1807 I ColorPickUitls: type = 2
11-07 16:33:00.146 1807 1807 D HwKeyguardBottomArea: RemoveDateTimeTopArea type:2
11-07 16:33:00.146 1807 1807 D HwKeyguardBottomArea: loadDateTimeArea type
11-07 16:33:00.147 1807 1807 D HwKeyguardBottomArea: removeLiftSensorView, threadname = main
11-07 16:33:00.147 1807 1807 D WeatherHelper: WeatherInfo not get
11-07 16:33:00.147 1807 1807 D DateTimeView: Change to single clock mode!
11-07 16:33:00.147 1807 1807 I ColorPickUitls: type = 2
11-07 16:33:00.147 1807 1807 D HwKeyguardBottomArea: RemoveDateTimeTopArea type:2
11-07 16:33:00.147 1807 1807 D HwKeyguardBottomArea: loadDateTimeArea type
11-07 16:33:00.148 1807 1807 D WeatherHelper: WeatherInfo not get
11-07 16:33:00.148 1807 1807 D DateTimeView: Change to single clock mode!
11-07 16:33:00.149 1807 1807 I ColorPickUitls: type = 2
11-07 16:33:00.149 1807 1807 D HwKeyguardBottomArea: RemoveDateTimeTopArea type:2
11-07 16:33:00.149 1807 1807 D HwKeyguardBottomArea: loadDateTimeArea type
11-07 16:33:00.149 1807 1807 D HwKeyguardBottomArea: removeLiftSensorView, threadname = main
11-07 16:33:00.188 1474 1644 I TrafficMonitor: expired arrive. level:-1
11-07 16:33:00.189 1474 1644 I TrafficMonitor: during_ms:2004,period_ms:2000
11-07 16:33:00.189 1474 1644 I TrafficMonitor: count:837,rx_sum:0,tx_sum:0,rxBytes:0,during_ms:2004,rx_speed:0.0,tx_speed:0.0,rto:0.0
11-07 16:33:00.327 1474 1503 D BluetoothManagerService: before bindService, unbind service with intent: Intent { act=android.bluetooth.IBluetoothHeadset cmp=com.android.bluetooth/.hfp.HeadsetService }
11-07 16:33:00.419 1474 1490 I am_pss : [31650,10095,com.google.android.apps.docs,33357824,28581888,130048,93380608,0,18,79]
11-07 16:33:00.468 1474 1490 I am_pss : [31633,10028,com.huawei.appmarket,16953344,13844480,141312,69341184,0,18,46]
11-07 16:33:00.616 561 596 I PreDnsController: canPreDnsQuery,persist.sys.predns is false!
11-07 16:33:00.798 8162 8173 E : [ZeroHung]zrhung_get_config: Get config failed for wp[0x0008]
11-07 16:33:00.833 674 674 I aptouch_daemon: check_afe_status, afe[106 120 X1] [ctrl:X40020 ftr:X100] dif[21 -23] raw[33229 30135] [exp:X0 aN:0 lo:0]
11-07 16:33:01.198 1474 1644 I TrafficMonitor: update:rxPkts:2,txPkts:4,rxBytes:92,txBytes:314
11-07 16:33:01.198 1474 1644 I TrafficMonitor: start expired. level:-1
11-07 16:33:01.198 1474 1644 I TrafficMonitor: gettimer:interval=2000
11-07 16:33:01.341 622 622 E WifiHAL : enter wifi_get_link_stats
11-07 16:33:01.352 1474 1645 E WificondControl: Noise: 0, Snr: -1, Chload: -1
11-07 16:33:01.357 1474 1645 D WifiScoreReport: Score = 60, wifiConnectivityManagerEnabled = false, lowScoreCount = 0
11-07 16:33:01.632 31849 31878 D IMonitor: Load library imonitor_jni
11-07 16:33:01.642 31849 31878 D : [ZeroHung]zrhung_send_event: wp=257, ret=-1
11-07 16:33:01.643 31849 31878 E ZrHungImpl: sendAppFreezeEvent failed!
11-07 16:33:01.878 771 771 E Thermal-daemon: [pa_0] temp_new :30 temp_old :31
11-07 16:33:01.879 771 771 E Thermal-daemon: Report temperature: [pa_0] temp :30 report_threshold:1
11-07 16:33:02.533 1474 2232 I am_destroy_service: [0,151202453,27030]
11-07 16:33:02.536 27030 27030 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.phenotype.service.START pkg=com.google.android.gms }
11-07 16:33:02.818 1474 31910 W AwareLog: AwareMem_Reclaim: generateCompressList procsGroups error!
11-07 16:33:02.820 779 817 I AwareLog: HibSTrategy::HibStrategySwapCandidateProcessAdd packagename com.android.calendar
11-07 16:33:02.850 2039 29274 I PGServer: getTopFrontApp. calling pkg: android
11-07 16:33:02.870 779 3143 I AwareLog: HibStrategy::HibStrategySwapCandidateProcessRemove packagename is com.android.calendar
11-07 16:33:02.870 779 3143 I AwareLog: HiberManagerService::sendMessagetoHiberTask successful
11-07 16:33:02.905 1474 1646 D hw_netstat: total/184/628,com.tencent.ctrlapp/184/628
11-07 16:33:02.911 779 817 I AwareLog: HibSTrategy::HibStrategySwapCandidateProcessAdd packagename com.huawei.gameassistant
11-07 16:33:02.933 2039 29274 I PGServer: getTopFrontApp. calling pkg: android
11-07 16:33:02.966 779 3143 I AwareLog: HibStrategy::HibStrategySwapCandidateProcessRemove packagename is com.huawei.gameassistant
11-07 16:33:02.966 779 3143 I AwareLog: HiberManagerService::sendMessagetoHiberTask successful
11-07 16:33:03.007 779 817 I AwareLog: HibSTrategy::HibStrategySwapCandidateProcessAdd packagename com.android.defcontainer
11-07 16:33:03.008 2039 29274 I PGServer: getTopFrontApp. calling pkg: android
11-07 16:33:03.028 779 3143 I AwareLog: HibStrategy::HibStrategySwapCandidateProcessRemove packagename is com.android.defcontainer
11-07 16:33:03.029 779 3143 I AwareLog: HiberManagerService::sendMessagetoHiberTask successful
11-07 16:33:03.202 1474 1644 I TrafficMonitor: update:rxPkts:0,txPkts:0,rxBytes:0,txBytes:0
11-07 16:33:03.202 1474 1644 I TrafficMonitor: start expired. level:-1
11-07 16:33:03.202 1474 1644 I TrafficMonitor: gettimer:interval=2000
11-07 16:33:03.442 1474 1645 E WificondControl: Noise: 0, Snr: -1, Chload: -1
11-07 16:33:03.450 1474 1644 D WiFi_PRO: MSG_RETURN_AP_CURRY_RSSI rssi = -24
11-07 16:33:03.450 1474 31956 I HwUidTcpMonitor: TcpStatisticsRun run
11-07 16:33:03.451 1474 1644 I QosMonitor: queryRtt: rtt_type = 3
11-07 16:33:03.451 1474 31956 D HwUidTcpMonitor: parseWlanUidTcpStatistics lastUidTcpStatInfo = [ mUid = 10133 mPacketName = com.huawei.android.launcher mSendSegs = 181198 mResendSegs = 4 mRcvSegs = 180800 ]
11-07 16:33:03.452 1474 1733 D HuaweiWifiWatchdogStateMachine: high data flow: protection_counter = 0, not_detect_counter = 723
11-07 16:33:03.452 1474 1733 D HuaweiWifiWatchdogStateMachine: high data flow scenario: 0 --> 0 rx bytes =1KB
11-07 16:33:03.452 1474 1733 I HuaweiWifiWatchdogStateMachine: POta txb txg rxg:0, 7, 0. Lr =0% Totpkt=7
11-07 16:33:03.453 1474 1644 I QosMonitor: postEventFromNative: msg=100,arg1=4,arg2=10
11-07 16:33:03.453 1474 1644 I QosMonitor: postEventFromNative: msg=100,arg1=0,arg2=10
11-07 16:33:03.454 1474 1644 I MQoS : rtt=240,tcp_tx_pkts=1702793,tcp_rx_pkts=1102781
11-07 16:33:03.454 1474 1644 I QosMonitor: resetRtt: rtt_type = 3
11-07 16:33:03.455 1474 1733 I HuaweiWifiWatchdogStateMachine: PTcp RTT:0, rtt pkt=0, tcp_rx=3, tcp_tx=5, tcp_reTran=0, rtRate=0
11-07 16:33:03.464 1474 3943 I MQoS : QOS_level:0(0),wifi-link;SIM error;use level-0
11-07 16:33:04.077 1978 2239 E HwChrExceptionListener: read chrKmsgPlat Exception
11-07 16:33:04.077 1978 2239 D CommInfo: not support chipchr chiptype:hisi sub_chiptype:hi1102
11-07 16:33:04.078 1978 2239 E HwCHRWifiFile: getDevFileResult throw FileNotFoundException
11-07 16:33:04.360 622 622 E WifiHAL : enter wifi_get_link_stats
11-07 16:33:04.363 1474 1645 E WificondControl: Noise: 0, Snr: -1, Chload: -1
11-07 16:33:04.367 1474 1645 D WifiScoreReport: Score = 60, wifiConnectivityManagerEnabled = false, lowScoreCount = 0
11-07 16:33:05.050 31849 31878 D : [ZeroHung]zrhung_send_event: wp=258, ret=-1
11-07 16:33:05.050 31849 31878 E ZrHungImpl: sendAppFreezeEvent failed!
11-07 16:33:05.206 1474 1644 I TrafficMonitor: update:rxPkts:1,txPkts:1,rxBytes:40,txBytes:40
11-07 16:33:05.206 1474 1644 I TrafficMonitor: start expired. level:-1
11-07 16:33:05.206 1474 1644 I TrafficMonitor: gettimer:interval=2000
11-07 16:33:05.661 561 596 I PreDnsController: canPreDnsQuery,persist.sys.predns is false!
11-07 16:33:05.895 1474 5804 I am_destroy_service: [0,169507872,8162]
11-07 16:33:05.899 1474 5804 I am_destroy_service: [0,251561387,8162]
11-07 16:33:05.930 1474 1490 I am_pss : [31849,11172,com.wear.components.allproject,59225088,50225152,108544,112816128,0,2,68]
11-07 16:33:05.974 1474 1490 I am_pss : [31766,1000,com.huawei.systemmanager:security_scan,29516800,25243648,144384,84717568,0,18,42]
11-07 16:33:06.199 1474 1644 I TrafficMonitor: expired arrive. level:-1
11-07 16:33:06.199 1474 1644 I TrafficMonitor: during_ms:2004,period_ms:2000
11-07 16:33:06.199 1474 1644 I TrafficMonitor: count:840,rx_sum:1,tx_sum:1,rxBytes:40,during_ms:2004,rx_speed:19.960079840319363,tx_speed:19.960079840319363,rto:1.0
11-07 16:33:07.065 22769 22831 I wttouchserver: ------TouchServer::OnPkgReceived, cmd: 1
11-07 16:33:07.065 22769 22831 I wttouchserver: HandleHeartbeatReq
11-07 16:33:07.067 22769 22818 I wttouchserver: ------TouchServer::OnPkgReceived, cmd: 1
11-07 16:33:07.067 22769 22818 I wttouchserver: HandleHeartbeatReq

@liyujiang-gzu
Copy link
Member

查了下华为广告标识服务SDK的新资料,有说:

注意事项
获取OAID信息前,确保App必须已经集成最新版本的ads-identifier SDK,否则会导致应用在部分手机无法获取正确的OAID,请参见集成HMS Core SDK和版本更新说明。
调用getAdvertisingIdInfo接口,获取OAID信息,不要在主线程中调用该方法。

本项目最新版本已集成华为最新版本的广告标识符SDK,你使用最新版本试试,还是ANR的话应该就是“主线程调用”导致的了,华为官方说是需在非UI线程调用。

#63

@liyujiang-gzu
Copy link
Member

@Lsdjack 华为的oaid实现已改到子线程去执行获取,你试下4.2.7版本,看是否还ANR?我用华为DevEco的harmony os 3.1.0.306模拟器及远程真机Mate 50试了没问题。

@Lsdjack
Copy link
Author

Lsdjack commented Nov 24, 2023

感谢升级,我云真机试了一下,现在尝试线上测试

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