Logs and websocket is broken
I'm using Samsung Galaxy S6 Edge(Android 6.0.1) in STF Logs and websocket is broken "Binary.prototype.parse" functions is abnormally operated
The following error message
Error: Unprocessable entry data 'uardUpdateMonito'
at Binary._processEntry (/Users/nhnent/git/openstf/stf/node_modules/adbkit/node_modules/adbkit-logcat/lib/logcat/parser/binary.js:69:26)
at Binary.parse (/Users/nhnent/git/openstf/stf/node_modules/adbkit/node_modules/adbkit-logcat/lib/logcat/parser/binary.js:46:14)
at LineTransform.<anonymous> (/Users/nhnent/git/openstf/stf/node_modules/adbkit/node_modules/adbkit-logcat/lib/logcat/reader.js:82:31)
at LineTransform.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at LineTransform.Readable.push (_stream_readable.js:126:10)
at LineTransform.Transform.push (_stream_transform.js:140:32)
at LineTransform._transform (/Users/nhnent/git/openstf/stf/node_modules/adbkit/lib/adb/linetransform.js:40:14)
at LineTransform.Transform._read
^
Error: Unprocessable entry data 'uardUpdateMonito'
at Binary._processEntry (/Users/nhnent/git/openstf/stf/node_modules/adbkit/node_modules/adbkit-logcat/lib/logcat/parser/binary.js:69:26)
at Binary.parse (/Users/nhnent/git/openstf/stf/node_modules/adbkit/node_modules/adbkit-logcat/lib/logcat/parser/binary.js:46:14)
at LineTransform.<anonymous> (/Users/nhnent/git/openstf/stf/node_modules/adbkit/node_modules/adbkit-logcat/lib/logcat/reader.js:82:31)
at LineTransform.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at LineTransform.Readable.push (_stream_readable.js:126:10)
at LineTransform.Transform.push (_stream_transform.js:140:32)
at LineTransform._transform (/Users/nhnent/git/openstf/stf/node_modules/adbkit/lib/adb/linetransform.js:40:14)
at LineTransform.Transform._read (_stream_transform.js:179:10)
at LineTransform.Transform._write (_stream_transform.js:167:12)
at doWrite (_stream_writable.js:301:12)
at writeOrBuffer (_stream_writable.js:288:5)
at LineTransform.Writable.write (_stream_writable.js:217:11)
at Socket.ondata (_stream_readable.js:540:20)

first parsing entry is normal
{ date: Tue Mar 08 2016 09:55:27 GMT+0900 (KST),
pid: 3448,
tid: 3937,
priority: 3,
tag: '',
message: '\u0000\u0000\u0002AlarmManager\u0000Expired Alarm resul' }
second parsing entry is abnormal
{ date: Thu Jan 01 1970 10:07:38 GMT+0900 (KST),
pid: 1572963,
tid: 4057,
priority: 128,
tag: '��#',
message: '\u0000\u0000\u0000\u0003KeyguardViewMediator\u0000received DELAYED_KEYGUARD_ACTION with seq = 51, mDelayedShowingSequence = 52\u0000&\u0000\u0018\u0000x\r\u0000\u0000a\u000f\u0000\u0000\u0001#�V\u0001�\u000e"\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000Expired Alarm result :4\u0000�\u0000\u0018\u0000x\r\u0000\u0000�\u0010\u0000\u0000\u0001#�V\u0001$q$\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000 remove PendingIntent] PendingIntent{61cd10e: PendingIntentRecord{45a3edc com.shinhan.smartcaremgr startService}}\u0000O\u0000\u0018\u0000x\r\u0000\u0000R\u0010\u0000\u0000\u0001#�V\u0001$q$\u0003\u0000\u0000\u0000\u0005AlarmManager\u0000Suspiciously short interval 2000 millis; expanding to 60 seconds\u0000a\u0000\u0018\u0000x\r\u0000\u0000\u0007\u0013\u0000\u0000\u0001#�V\u0001Q�%\u0000\u0000\u0000\u0000\u0003SensorService\u0000SensorEventConnection::SocketBufferSize, SystemSocketBufferSize - 102400, 2097152\u0000>\u0000\u0018\u0000x\r\u0000\u0000\u001d\u0012\u0000\u0000\u0001#�V\u0001Q�%\u0000\u0000\u0000\u0000\u0004SensorService\u0000LinearAccelerationSensor setDelay = 200000000 \u0000M\u0000\u0018\u0000x\r\u0000\u0000\u001d\u0012\u0000\u0000\u0001#�V\u0001Q�%\u0000\u0000\u0000\u0000\u0003SensorService\u0000GravitySensor2 setDelay ns = 200000000 mindelay = 200000000\u0000=\u0000\u0018\u0000x\r\u0000\u0000\u001d\u0012\u0000\u0000\u0001#�V\u0001Q�%\u0000\u0000\u0000\u0000\u0004Sensors\u0000Acc old sensor_state 0, new sensor_state : 1 en : 1\u0000S\u0000\u0018\u0000x\r\u0000\u0000\u001d\u0012\u0000\u0000\u0001#�V\u0001~�&\u0000\u0000\u0000\u0000\u0004Sensors\u0000RotationVectorSensor old sensor_state 1, new sensor_state : 131073 en : 1\u0000X\u0000\u0018\u0000\\a\u0000\u0000\\a\u0000\u0000\u0001#�V\u0001~�&\u0000\u0000\u0000\u0000\u0003SensorManager\u0000registerListener :: 1936484718, Linear Acceleration Sensor, 200000, 0, \u00009\u0000\u0018\u0000x\r\u0000\u0000O\u000f\u0000\u0000\u0001#�V��~:\u0003\u0000\u0000\u0000\u0003TimaService\u0000TIMA: TimaService scheduler is intialized. \u0000?\u0000\u0018\u0000x\r\u0000\u0000O\u000f\u0000\u0000\u0001#�V��~:\u0003\u0000\u0000\u0000\u0003TimaService\u0000TIMA: checkEvent, operation: 50000 subject: 10000\u00006\u0000\u0018\u0000x\r\u0000\u0000N\u000f\u0000\u0000\u0001#�V��~:\u0003\u0000\u0000\u0000\u0003TimaService\u0000TimaServiceHandler.handleMessage what =1\u0000G\u0000\u0018\u0000x\r\u0000\u0000�\u0010\u0000\u0000\u0002#�V\u0001N�9\u0000\u0000\u0000\u0000\u0004Sensors\u0000Acc old sensor_state 131073, new sensor_state : 131072 en : 0\u0000S\u0000\u0018\u0000x\r\u0000\u0000�\u0010\u0000\u0000\u0002#�V��~:\u0000\u0000\u0000\u0000\u0004Sensors\u0000RotationVectorSensor old sensor_state 131072, new sensor_state : 0 en : 0\u0000(\u0000\u0018\u0000\\a\u0000\u0000\\a\u0000\u0000\u0002#�V\u0002{\u0017;\u0000\u0000\u0000\u0000\u0003SensorManager\u0000unregisterListener :: \u0000�\u0000\u0018\u0000x\r\u0000\u0000�\r\u0000\u0000\u0003#�V�tF\u0001\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000 remove PendingIntent] PendingIntent{6eb0241: PendingIntentRecord{45a3edc com.shinhan.smartcaremgr startService}}\u0000O\u0000\u0018\u0000x\r\u0000\u0000R\u0010\u0000\u0000\u0003#�V�tF\u0001\u0003\u0000\u0000\u0000\u0005AlarmManager\u0000Suspiciously short interval 4000 millis; expanding to 60 seconds\u0000*\u0000\u0018\u0000x\r\u0000\u0000�\u0010\u0000\u0000\u0004#�V��0,\u0003\u0000\u0000\u0000\u0006Watchdog\u0000!@Sync 480 [03-08 09:55:32.754]\u0000H\u0000\u0018\u0000x\r\u0000\u0000�#\u0000\u0000\u0005#�V\u0003Q�%\u0003\u0000\u0000\u0000\u0003SSRM:n\u0000SIOP:: AP = 280, PST = 264 (W:24), CP = 269, CUR = 91, LCD = 97\u0000E\u0000\u0018\u0000�\u000b\u0000\u0000�\u000e\u0000\u0000\u0006#�V���\u0017\u0003\u0000\u0000\u0000\u0006NetlinkEvent\u0000NetlinkEvent::FindParam(): Parameter \'LABEL\' not found\u0000C\u0000\u0018\u0000�\u000b\u0000\u0000�\u000e\u0000\u0000\u0006#�V���\u0017\u0003\u0000\u0000\u0000\u0006NetlinkEvent\u0000NetlinkEvent::FindParam(): Parameter \'UID\' not found\u0000�\u0000\u0018\u0000x\r\u0000\u0000�\r\u0000\u0000\u0006#�V���\u0017\u0003\u0000\u0000\u0000\u0003BatteryStatsImpl\u0000poolsize= 1, curBatteryRealtime= 34862656000, mUpdateTime= 34862656000, mTimeout= 0, mNesting= 1, mTotalTime= 16661758000\u0000>\u0000\u0018\u0000x\r\u0000\u0000�\u0011\u0000\u0000\u0006#�V���#\u0003\u0000\u0000\u0000\u0003BatteryService\u0000!@BatteryListener : batteryPropertiesChanged!\u0000\u0003\u0001\u0018\u0000x\r\u0000\u0000�\u0011\u0000\u0000\u0006#�V���#\u0003\u0000\u0000\u0000\u0003BatteryService\u0000level:58, scale:100, status:2, health:2, present:true, voltage: 3957, temperature: 274, technology: Li-ion, AC powered:false, USB powered:true, POGO powered:false, Wireless powered:false, icon:17303412, invalid charger:0, maxChargingCurrent:0\u0000�\u0000\u0018\u0000x\r\u0000\u0000�\u0011\u0000\u0000\u0006#�V���#\u0003\u0000\u0000\u0000\u0003BatteryService\u0000online:4, current avg:145, charge type:1, power sharing:false, high voltage charger:false, capacity:280000, batterySWSelfDischarging:false, current_now:173\u00000\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\u0006#�V���#\u0003\u0000\u0000\u0000\u0003BatteryService\u0000Sending ACTION_BATTERY_CHANGED.\u0000"\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\u0006#�V\u0003$q$\u0003\u0000\u0000\u0000\u0004MotionRecognitionService\u0000Plugged\u0000/\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\u0006#�V\u0003$q$\u0003\u0000\u0000\u0000\u0003MotionRecognitionService\u0000 cableConnection= 1\u0000Y\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\u0006#�V\u0003$q$\u0003\u0000\u0000\u0000\u0003MotionRecognitionService\u0000setPowerConnected | current backoffstate = 1024 , state =1024\u00002\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\u0006#�V\u0003$q$\u0003\u0000\u0000\u0000\u0003MotionRecognitionService\u0000skip setTransmitPower. \u0000P\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0006#�V\u0003Q�%\u0000\u0000\u0000\u0000\u0003KeyguardUpdateMonitor\u0000received broadcast android.intent.action.BATTERY_CHANGED\u0000*\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0006#�V\u0003Q�%\u0003\u0000\u0000\u0000\u0003PowerUI\u0000priorPlugType = 2 mPlugType = 2\u0000�\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0006#�V\u0003Q�%\u0003\u0000\u0000\u0000\u0003PowerUI.Notification\u0000showChargingNotice oldChargingType : 1 currentChargingType : 1 oldChargingTime : 9440000 mChargingTime : 9418000\u00001\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0006#�V\u0003Q�%\u0003\u0000\u0000\u0000\u0003PowerUI.Notification\u0000showChargingNotification()\u0000@\u0000\u0018\u0000r\u0012\u0000\u0000r\u0012\u0000\u0000\u0006#�V\u0003~�&\u0000\u0000\u0000\u0000\u0004BusinessExecutor\u0000registered Task#2384 : PowerInfoEventSource$1\u0000,\u0000\u0018\u0000r\u0012\u0000\u0000A\u0013\u0000\u0000\u0006#�V\u0003~�&\u0000\u0000\u0000\u0000\u0004BusinessExecutor\u0000Task#2384 : #run() called\u0000+\u0000\u0018\u0000r\u0012\u0000\u0000A\u0013\u0000\u0000\u0006#�V\u0003~�&\u0000\u0000\u0000\u0000\u0004BusinessExecutor\u0000Task#2384 : #run() ended\u00000\u0000\u0018\u0000�\u0019\u0000\u0000�\u0019\u0000\u0000\u0006#�V\u0003~�&\u0000\u0000\u0000\u0000\u0003ClientService\u0000Battery State Change, status: 2\u00001\u0000\u0018\u0000�\u0019\u0000\u0000�\u0019\u0000\u0000\u0006#�V\u0003~�&\u0000\u0000\u0000\u0000\u0003ClientService\u0000Battery State Change, Plugged: 2\u00000\u0000\u0018\u0000�\u0019\u0000\u0000�\u0019\u0000\u0000\u0006#�V\u0003~�&\u0000\u0000\u0000\u0000\u0003ClientService\u0000Battery State Change, level: 58\u0000h\u0000\u0018\u0000x\r\u0000\u0000�\u000f\u0000\u0000\u0006#�V\u0003~�&\u0000\u0000\u0000\u0000\u0003ApplicationPolicy\u0000isStatusBarNotificationAllowedAsUser: packageName = com.android.systemui,userId = -1\u00001\u0000\u0018\u0000�\u0019\u0000\u0000�\u0019\u0000\u0000\u0006#�V\u0003~�&\u0000\u0000\u0000\u0000\u0003ClientService\u0000Battery State Change, scale: 100\u0000+\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0006#�V\u0003~�&\u0000\u0000\u0000\u0000\u0003KeyguardUpdateMonitor\u0000handleBatteryUpdate\u0000F\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0006#�V\u0003~�&\u0003\u0000\u0000\u0000\u0003BatteryMeterView\u0000ACTION_BATTERY_CHANGED : level:58 status:2 health:2\u0000F\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0006#�V\u0003~�&\u0003\u0000\u0000\u0000\u0003BatteryMeterView\u0000ACTION_BATTERY_CHANGED : level:58 status:2 health:2\u0000l\u0000\u0018\u0000�`\u0000\u0000�`\u0000\u0000\u0006#�V\u0003�\u0004(\u0000\u0000\u0000\u0000\u0004STFBatteryMonitor\u0000Battery is charging (good health); connected via usb; level at 58/100; temp [email protected]\u0000`\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\u0006#�V\u0003�\u0004(\u0003\u0000\u0000\u0000\u0003MARsPolicyManager\u0000NotificationListenerService OngoingNotificationPosted : com.android.systemui\u00000\u0000\u0018\u0000�\u0010\u0000\u0000E1\u0000\u0000\u0006#�V\u0003�5)\u0000\u0000\u0000\u0000\u0003CatchNotificationsService\u0000onNotificationPosted\u0000�\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0006#�V\u0003\u0005g*\u0003\u0000\u0000\u0000\u0005ResourcesManager\u0000getTopLevelResources: /system/priv-app/SystemUI/SystemUI.apk / 1.0 running in com.android.systemui rsrc of package com.android.systemui\u00005\u0000\u0018\u0000�P\u0000\u0000�P\u0000\u0000\u0006#�V\u0003\u0005g*\u0000\u0000\u0000\u0000\u0003ConnectivityManager\u0000getMobileDataEnabled()+ subId=1\u0000H\u0000\u0018\u0000e\u0011\u0000\u0000\u0000\u0013\u0000\u0000\u0006#�V\u0003\u0005g*\u0000\u0000\u0000\u0000\u0003PhoneInterfaceManager\u0000[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0\u0000J\u0000\u0018\u0000e\u0011\u0000\u0000\u0000\u0013\u0000\u0000\u0006#�V\u0003\u0005g*\u0000\u0000\u0000\u0000\u0003PhoneInterfaceManager\u0000[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true\u0000A\u0000\u0018\u0000�P\u0000\u0000�P\u0000\u0000\u0006#�V\u0003\u0005g*\u0000\u0000\u0000\u0000\u0003ConnectivityManager\u0000getMobileDataEnabled()- subId=1 retVal=true\u0000F\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0006#�V���*\u0000\u0000\u0000\u0000\u0003PhoneStatusBar\u0000setAreThereNotifications: N=6 any=true clearable=true\u0000)\u0000\u0018\u0000\u0005>\u0000\u0000�C\u0000\u0000\u0006#�V���*\u0000\u0000\u0000\u0000\u0003BadgeProvider\u0000query, [selection] : null\u00005\u0000\u0018\u0000�P\u0000\u0000�P\u0000\u0000\u0006#�V\u00032�+\u0000\u0000\u0000\u0000\u0003ConnectivityManager\u0000getMobileDataEnabled()+ subId=1\u0000H\u0000\u0018\u0000e\u0011\u0000\u0000k\u0012\u0000\u0000\u0006#�V\u00032�+\u0000\u0000\u0000\u0000\u0003PhoneInterfaceManager\u0000[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0\u0000J\u0000\u0018\u0000e\u0011\u0000\u0000k\u0012\u0000\u0000\u0006#�V\u00032�+\u0000\u0000\u0000\u0000\u0003PhoneInterfaceManager\u0000[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true\u0000A\u0000\u0018\u0000�P\u0000\u0000�P\u0000\u0000\u0006#�V\u00032�+\u0000\u0000\u0000\u0000\u0003ConnectivityManager\u0000getMobileDataEnabled()- subId=1 retVal=true\u00005\u0000\u0018\u0000�\u0010\u0000\u0000E1\u0000\u0000\u0006#�V\u0003_�,\u0000\u0000\u0000\u0000\u0006CatchNotificationsService\u0000Invalid notification data\u0000&\u0000\u0018\u0000x\r\u0000\u0000a\u000f\u0000\u0000\u0007#�V�tF\u0001\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000Expired Alarm result :4\u0000�\u0000\u0018\u0000x\r\u0000\u0000\u0003\u0010\u0000\u0000\u0007#�V\u00038\u0010\u0003\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000 remove PendingIntent] PendingIntent{21ba93b: PendingIntentRecord{45a3edc com.shinhan.smartcaremgr startService}}\u0000O\u0000\u0018\u0000x\r\u0000\u0000~\u0011\u0000\u0000\u0007#�V\u00038\u0010\u0003\u0003\u0000\u0000\u0000\u0005AlarmManager\u0000Suspiciously short interval 2000 millis; expanding to 60 seconds\u00003\u0000\u0018\u0000x\r\u0000\u0000O\u000f\u0000\u0000\u0007#�V�Ψ\u0003\u0000\u0000\u0000\u0000\u0004TLC_TIMA_PKM_measure_kernel\u0000TIMA: response_id = 3\u0000h\u0000\u0018\u0000x\r\u0000\u0000O\u000f\u0000\u0000\u0007#�V�Ψ\u0003\u0000\u0000\u0000\u0000\u0004TLC_TIMA_PKM_measure_kernel\u0000TIMA: response ret = 0, result_ondemand = MSG=Kernel Verification Success;\u0000a\u0000\u0018\u0000x\r\u0000\u0000�\u0011\u0000\u0000\u0007#�V\u0003eA\u0004\u0000\u0000\u0000\u0000\u0003SensorService\u0000SensorEventConnection::SocketBufferSize, SystemSocketBufferSize - 102400, 2097152\u0000>\u0000\u0018\u0000x\r\u0000\u0000\u0003\u0013\u0000\u0000\u0007#�V\u0003eA\u0004\u0000\u0000\u0000\u0000\u0004SensorService\u0000LinearAccelerationSensor setDelay = 200000000 \u0000M\u0000\u0018\u0000x\r\u0000\u0000\u0003\u0013\u0000\u0000\u0007#�V\u0003eA\u0004\u0000\u0000\u0000\u0000\u0003SensorService\u0000GravitySensor2 setDelay ns = 200000000 mindelay = 200000000\u0000=\u0000\u0018\u0000x\r\u0000\u0000\u0003\u0013\u0000\u0000\u0007#�V\u0003eA\u0004\u0000\u0000\u0000\u0000\u0004Sensors\u0000Acc old sensor_state 0, new sensor_state : 1 en : 1\u0000U\u0000\u0018\u0000x\r\u0000\u0000O\u000f\u0000\u0000\u0007#�V���\u0004\u0003\u0000\u0000\u0000\u0003TimaService\u0000TIMA MEASUREMENT Result: TIMA_STATUS=0;MSG=Kernel Verification Success;\u0000]\u0000\u0018\u0000x\r\u0000\u0000O\u000f\u0000\u0000\u0007#�V���\u0004\u0003\u0000\u0000\u0000\u0003TimaService\u0000TIMA MEASUREMENT success status: TIMA_STATUS=0;MSG=Kernel Verification Success;\u0000S\u0000\u0018\u0000x\r\u0000\u0000\u0003\u0013\u0000\u0000\u0007#�V\u0003�r\u0005\u0000\u0000\u0000\u0000\u0004Sensors\u0000RotationVectorSensor old sensor_state 1, new sensor_state : 131073 en : 1\u0000X\u0000\u0018\u0000\\a\u0000\u0000\\a\u0000\u0000\u0007#�V\u0003�r\u0005\u0000\u0000\u0000\u0000\u0003SensorManager\u0000registerListener :: 1936484718, Linear Acceleration Sensor, 200000, 0, \u0000f\u0000\u0018\u0000e\u0011\u0000\u0000\u001f\u0012\u0000\u0000\u0007#�V�\t\u0001\f\u0000\u0000\u0000\u0000\u0004System.out\u0000Broadcasting: Intent { act=com.sec.android.LTE_CA_PARAMETER flg=0x10000000 (has extras) }\u0000*\u0000\u0018\u0000e\u0011\u0000\u0000�\u0017\u0000\u0000\u0007#�V�\t\u0001\f\u0000\u0000\u0000\u0000\u0004System.out\u0000Broadcast completed: result=0\u0000H\u0000\u0018\u0000�m\u0000\u0000�m\u0000\u0000\u0007#�V\u0004�\u0004(\u0000\u0000\u0000\u0000\u0003Timer-0\u0000NetStateManager.java 196 ++ NetStateManager.isEnableWifi()\n\u0000I\u0000\u0018\u0000�m\u0000\u0000�m\u0000\u0000\u0007#�V�A�(\u0000\u0000\u0000\u0000\u0003Timer-0\u0000NetStateManager.java 218 ++ NetStateManager.isUsingMobile()\n\u0000&\u0000\u0018\u0000x\r\u0000\u0000a\u000f\u0000\u0000\u0007#�V\u0004N�9\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000Expired Alarm result :8\u00002\u0000\u0018\u0000x\r\u0000\u0000�\r\u0000\u0000\b#�V\u0004\u000b�\u0001\u0003\u0000\u0000\u0000\u0004ProcessStatsService\u0000Prepared write state in 12ms\u00000\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\b#�V\u00048\u0010\u0003\u0000\u0000\u0000\u0000\u0004BackgroundCompactionService\u0000onStart. jobID=801\u0000/\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\b#�V\u00048\u0010\u0003\u0000\u0000\u0000\u0000\u0004BackgroundCompactionService\u0000compact_exception\u00005\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\b#�V\u00048\u0010\u0003\u0000\u0000\u0000\u0000\u0004BackgroundCompactionService\u0000onStart done. jobID=801\u0000G\u0000\u0018\u0000x\r\u0000\u0000\u0002\u0010\u0000\u0000\b#�V\u0004b�\u0018\u0000\u0000\u0000\u0000\u0004Sensors\u0000Acc old sensor_state 131073, new sensor_state : 131072 en : 0\u0000S\u0000\u0018\u0000x\r\u0000\u0000\u0002\u0010\u0000\u0000\b#�V��\u001d\u0019\u0000\u0000\u0000\u0000\u0004Sensors\u0000RotationVectorSensor old sensor_state 131072, new sensor_state : 0 en : 0\u0000(\u0000\u0018\u0000\\a\u0000\u0000\\a\u0000\u0000\b#�V\u0004��\u0019\u0000\u0000\u0000\u0000\u0003SensorManager\u0000unregisterListener :: \u0000�\u0000\u0018\u0000x\r\u0000\u0000�\r\u0000\u0000\b#�V�R�\u001b\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000 remove PendingIntent] PendingIntent{13fb1e9: PendingIntentRecord{45a3edc com.shinhan.smartcaremgr startService}}\u0000O\u0000\u0018\u0000x\r\u0000\u0000\u0003\u0013\u0000\u0000\b#�V�R�\u001b\u0003\u0000\u0000\u0000\u0005AlarmManager\u0000Suspiciously short interval 4000 millis; expanding to 60 seconds\u0000&\u0000\u0018\u0000x\r\u0000\u0000a\u000f\u0000\u0000\u000b#�V�\u0017(\u0013\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000Expired Alarm result :4\u00004\u0000\u0018\u0000�O\u0000\u0000�O\u0000\u0000\u000b#�V\u0005��\u0014\u0000\u0000\u0000\u0000\u0003StatisticsManager\u0000Query all old data, data count:0\u0000!\u0000\u0018\u0000�O\u0000\u0000�O\u0000\u0000\u000b#�V\u0005��\u0014\u0000\u0000\u0000\u0000\u0003StatisticsManager\u0000no data quit!\u0000\u001e\u0000\u0018\u0000�O\u0000\u0000�O\u0000\u0000\u000b#�V\u0005��\u0014\u0000\u0000\u0000\u0000\u0003StatisticsManager\u0000quit post!\u0000\u0017\u0000\u0018\u0000�O\u0000\u0000�O\u0000\u0000\u000b#�V���\u0016\u0000\u0000\u0000\u0000\u0004Test\u0000upload data!!!!!\u0000&\u0000\u0018\u0000x\r\u0000\u0000a\u000f\u0000\u0000\f#�V�R�\u001b\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000Expired Alarm result :4\u0000�\u0000\u0018\u0000x\r\u0000\u0000�\u0010\u0000\u0000\f#�V���\u001d\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000 remove PendingIntent] PendingIntent{7799fa0: PendingIntentRecord{45a3edc com.shinhan.smartcaremgr startService}}\u0000O\u0000\u0018\u0000x\r\u0000\u0000�\u0011\u0000\u0000\f#�V\u0006C{\u001e\u0003\u0000\u0000\u0000\u0005AlarmManager\u0000Suspiciously short interval 2000 millis; expanding to 60 seconds\u0000a\u0000\u0018\u0000x\r\u0000\u0000\u0003\u0010\u0000\u0000\f#�V��\u0013\u001f\u0000\u0000\u0000\u0000\u0003SensorService\u0000SensorEventConnection::SocketBufferSize, SystemSocketBufferSize - 102400, 2097152\u0000>\u0000\u0018\u0000x\r\u0000\u0000�\u000f\u0000\u0000\f#�V��\u0013\u001f\u0000\u0000\u0000\u0000\u0004SensorService\u0000LinearAccelerationSensor setDelay = 200000000 \u0000M\u0000\u0018\u0000x\r\u0000\u0000�\u000f\u0000\u0000\f#�V��\u0013\u001f\u0000\u0000\u0000\u0000\u0003SensorService\u0000GravitySensor2 setDelay ns = 200000000 mindelay = 200000000\u0000=\u0000\u0018\u0000x\r\u0000\u0000�\u000f\u0000\u0000\f#�V��\u0013\u001f\u0000\u0000\u0000\u0000\u0004Sensors\u0000Acc old sensor_state 0, new sensor_state : 1 en : 1\u0000S\u0000\u0018\u0000x\r\u0000\u0000�\u000f\u0000\u0000\f#�V\u0006p�\u001f\u0000\u0000\u0000\u0000\u0004Sensors\u0000RotationVectorSensor old sensor_state 1, new sensor_state : 131073 en : 1\u0000X\u0000\u0018\u0000\\a\u0000\u0000\\a\u0000\u0000\f#�V\u0006p�\u001f\u0000\u0000\u0000\u0000\u0003SensorManager\u0000registerListener :: 1936484718, Linear Acceleration Sensor, 200000, 0, \u0000=\u0000\u0018\u0000�\u000b\u0000\u0000�\u000b\u0000\u0000\f#�V���#\u0000\u0000\u0000\u0000\u0003SurfaceFlinger\u0000Destroy Multidownscale FBO, mode=1 [minicap]\u0000;\u0000\u0018\u0000�\u000b\u0000\u0000�\u000b\u0000\u0000\f#�V���#\u0000\u0000\u0000\u0000\u0005libEGL\u0000EGLNativeWindowType 0x7fab422e10 disconnect failed\u0000B\u0000\u0018\u0000�\u000b\u0000\u0000�\u000b\u0000\u0000\f#�V���#\u0000\u0000\u0000\u0000\u0006VirtualDisplaySurface\u0000VirtualDisplaySurface is deleted,WFDMode 0\u0000G\u0000\u0018\u0000x\r\u0000\u0000\u0003\u0013\u0000\u0000\r#�V\u0007@�2\u0000\u0000\u0000\u0000\u0004Sensors\u0000Acc old sensor_state 131073, new sensor_state : 131072 en : 0\u0000S\u0000\u0018\u0000x\r\u0000\u0000\u0003\u0013\u0000\u0000\r#�V\u0007@�2\u0000\u0000\u0000\u0000\u0004Sensors\u0000RotationVectorSensor old sensor_state 131072, new sensor_state : 0 en : 0\u0000(\u0000\u0018\u0000\\a\u0000\u0000\\a\u0000\u0000\r#�V��W3\u0000\u0000\u0000\u0000\u0003SensorManager\u0000unregisterListener :: \u0000�\u0000\u0018\u0000x\r\u0000\u0000�\u0010\u0000\u0000\r#�V\u0007m�3\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000 remove PendingIntent] PendingIntent{eee611b: PendingIntentRecord{45a3edc com.shinhan.smartcaremgr startService}}\u0000O\u0000\u0018\u0000x\r\u0000\u0000�\r\u0000\u0000\r#�V\u0007m�3\u0003\u0000\u0000\u0000\u0005AlarmManager\u0000Suspiciously short interval 4000 millis; expanding to 60 seconds\u0000I\u0000\u0018\u0000x\r\u0000\u0000�#\u0000\u0000\u000f#�V\b�\u0004(\u0003\u0000\u0000\u0000\u0003SSRM:n\u0000SIOP:: AP = 270, PST = 264 (W:24), CP = 262, CUR = 145, LCD = 97\u0000>\u0000\u0018\u0000x\r\u0000\u0000�\u0011\u0000\u0000\u0010#�V�\u0014l\'\u0003\u0000\u0000\u0000\u0003BatteryService\u0000!@BatteryListener : batteryPropertiesChanged!\u0000\u0003\u0001\u0018\u0000x\r\u0000\u0000�\u0011\u0000\u0000\u0010#�V�\u0014l\'\u0003\u0000\u0000\u0000\u0003BatteryService\u0000level:58, scale:100, status:2, health:2, present:true, voltage: 3977, temperature: 275, technology: Li-ion, AC powered:false, USB powered:true, POGO powered:false, Wireless powered:false, icon:17303412, invalid charger:0, maxChargingCurrent:0\u0000�\u0000\u0018\u0000x\r\u0000\u0000�\u0011\u0000\u0000\u0010#�V�\u0014l\'\u0003\u0000\u0000\u0000\u0003BatteryService\u0000online:4, current avg:221, charge type:1, power sharing:false, high voltage charger:false, capacity:280000, batterySWSelfDischarging:false, current_now:286\u00000\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\u0010#�V�\u0014l\'\u0003\u0000\u0000\u0000\u0003BatteryService\u0000Sending ACTION_BATTERY_CHANGED.\u0000"\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\u0010#�V\b�\u0004(\u0003\u0000\u0000\u0000\u0004MotionRecognitionService\u0000Plugged\u0000/\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\u0010#�V\b�\u0004(\u0003\u0000\u0000\u0000\u0003MotionRecognitionService\u0000 cableConnection= 1\u0000Y\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\u0010#�V\b�\u0004(\u0003\u0000\u0000\u0000\u0003MotionRecognitionService\u0000setPowerConnected | current backoffstate = 1024 , state =1024\u00002\u0000\u0018\u0000x\r\u0000\u0000x\r\u0000\u0000\u0010#�V\b�\u0004(\u0003\u0000\u0000\u0000\u0003MotionRecognitionService\u0000skip setTransmitPower. \u0000P\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0010#�V\b�5)\u0000\u0000\u0000\u0000\u0003KeyguardUpdateMonitor\u0000received broadcast android.intent.action.BATTERY_CHANGED\u0000+\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0010#�V\b�5)\u0000\u0000\u0000\u0000\u0003KeyguardUpdateMonitor\u0000handleBatteryUpdate\u0000*\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0010#�V\b�5)\u0003\u0000\u0000\u0000\u0003PowerUI\u0000priorPlugType = 2 mPlugType = 2\u0000�\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0010#�V\b�5)\u0003\u0000\u0000\u0000\u0003PowerUI.Notification\u0000showChargingNotice oldChargingType : 1 currentChargingType : 1 oldChargingTime : 9418000 mChargingTime : 9418000\u0000K\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0010#�V\b�5)\u0003\u0000\u0000\u0000\u0003PowerUI.Notification\u0000There is no change about charging status, so return!\u0000@\u0000\u0018\u0000r\u0012\u0000\u0000r\u0012\u0000\u0000\u0010#�V\b\u0005g*\u0000\u0000\u0000\u0000\u0004BusinessExecutor\u0000registered Task#2385 : PowerInfoEventSource$1\u0000,\u0000\u0018\u0000r\u0012\u0000\u0000A\u0013\u0000\u0000\u0010#�V\b\u0005g*\u0000\u0000\u0000\u0000\u0004BusinessExecutor\u0000Task#2385 : #run() called\u0000+\u0000\u0018\u0000r\u0012\u0000\u0000A\u0013\u0000\u0000\u0010#�V\b\u0005g*\u0000\u0000\u0000\u0000\u0004BusinessExecutor\u0000Task#2385 : #run() ended\u00000\u0000\u0018\u0000�\u0019\u0000\u0000�\u0019\u0000\u0000\u0010#�V\b\u0005g*\u0000\u0000\u0000\u0000\u0003ClientService\u0000Battery State Change, status: 2\u00001\u0000\u0018\u0000�\u0019\u0000\u0000�\u0019\u0000\u0000\u0010#�V\b\u0005g*\u0000\u0000\u0000\u0000\u0003ClientService\u0000Battery State Change, Plugged: 2\u00000\u0000\u0018\u0000�\u0019\u0000\u0000�\u0019\u0000\u0000\u0010#�V\b\u0005g*\u0000\u0000\u0000\u0000\u0003ClientService\u0000Battery State Change, level: 58\u00001\u0000\u0018\u0000�\u0019\u0000\u0000�\u0019\u0000\u0000\u0010#�V\b\u0005g*\u0000\u0000\u0000\u0000\u0003ClientService\u0000Battery State Change, scale: 100\u0000l\u0000\u0018\u0000�`\u0000\u0000�`\u0000\u0000\u0010#�V���*\u0000\u0000\u0000\u0000\u0004STFBatteryMonitor\u0000Battery is charging (good health); connected via usb; level at 58/100; temp [email protected]\u00005\u0000\u0018\u0000�P\u0000\u0000�P\u0000\u0000\u0010#�V��0,\u0000\u0000\u0000\u0000\u0003ConnectivityManager\u0000getMobileDataEnabled()+ subId=1\u0000F\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0010#�V��0,\u0003\u0000\u0000\u0000\u0003BatteryMeterView\u0000ACTION_BATTERY_CHANGED : level:58 status:2 health:2\u0000F\u0000\u0018\u0000�\u000f\u0000\u0000�\u000f\u0000\u0000\u0010#�V��0,\u0003\u0000\u0000\u0000\u0003BatteryMeterView\u0000ACTION_BATTERY_CHANGED : level:58 status:2 health:2\u0000H\u0000\u0018\u0000e\u0011\u0000\u0000m\u0012\u0000\u0000\u0010#�V\b_�,\u0000\u0000\u0000\u0000\u0003PhoneInterfaceManager\u0000[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0\u0000J\u0000\u0018\u0000e\u0011\u0000\u0000m\u0012\u0000\u0000\u0010#�V\b_�,\u0000\u0000\u0000\u0000\u0003PhoneInterfaceManager\u0000[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true\u0000A\u0000\u0018\u0000�P\u0000\u0000�P\u0000\u0000\u0010#�V\b_�,\u0000\u0000\u0000\u0000\u0003ConnectivityManager\u0000getMobileDataEnabled()- subId=1 retVal=true\u00005\u0000\u0018\u0000�P\u0000\u0000�P\u0000\u0000\u0010#�V\b_�,\u0000\u0000\u0000\u0000\u0003ConnectivityManager\u0000getMobileDataEnabled()+ subId=1\u0000H\u0000\u0018\u0000e\u0011\u0000\u0000\u000f\u0017\u0000\u0000\u0010#�V\b_�,\u0000\u0000\u0000\u0000\u0003PhoneInterfaceManager\u0000[PhoneIntfMgr] getDataEnabled: subId=1 phoneId=0\u0000J\u0000\u0018\u0000e\u0011\u0000\u0000\u000f\u0017\u0000\u0000\u0010#�V\b_�,\u0000\u0000\u0000\u0000\u0003PhoneInterfaceManager\u0000[PhoneIntfMgr] getDataEnabled: subId=1 retVal=true\u0000A\u0000\u0018\u0000�P\u0000\u0000�P\u0000\u0000\u0010#�V��a-\u0000\u0000\u0000\u0000\u0003ConnectivityManager\u0000getMobileDataEnabled()- subId=1 retVal=true\u0000H\u0000\u0018\u0000�m\u0000\u0000�m\u0000\u0000\u0011#�V\t�\u0004(\u0000\u0000\u0000\u0000\u0003Timer-0\u0000NetStateManager.java 196 ++ NetStateManager.isEnableWifi()\n\u0000I\u0000\u0018\u0000�m\u0000\u0000�m\u0000\u0000\u0011#�V�A�(\u0000\u0000\u0000\u0000\u0003Timer-0\u0000NetStateManager.java 218 ++ NetStateManager.isUsingMobile()\n\u0000&\u0000\u0018\u0000x\r\u0000\u0000a\u000f\u0000\u0000\u0011#�V\tm�3\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000Expired Alarm result :4\u0000�\u0000\u0018\u0000x\r\u0000\u0000�\r\u0000\u0000\u0011#�V��\u001c8\u0003\u0000\u0000\u0000\u0002AlarmManager\u0000 remove PendingIntent] PendingIntent{7b4b885: PendingIntentRecord{45a3edc com.shinhan.smartcaremgr startService}}\u0000O\u0000\u0018\u0000x\r\u0000\u0000\u001b\u0012\u0000\u0000\u0011#�V��\u001c8\u0003\u0000\u0000\u0000\u0005AlarmManager\u0000Suspiciously short interval 2000 millis; expanding to 60 seconds\u0000a\u0000\u0018\u0000x\r\u0000\u0000~\u0011\u0000\u0000\u0011#�V\t{\u0017;\u0000\u0000\u0000\u0000\u0003SensorService\u0000SensorEventConnection::SocketBufferSize, SystemSocketBufferSize - 102400, 2097152\u0000>\u0000\u0018\u0000x\r\u0000\u0000�\u0011\u0000\u0000\u0011#�V\t{\u0017;\u0000\u0000\u0000\u0000\u0004SensorService\u0000LinearAccelerationSensor setDelay = 200000000 \u0000M\u0000\u0018\u0000x\r\u0000\u0000�\u0011\u0000\u0000\u0011#�V\t{\u0017;\u0000\u0000\u0000\u0000\u0003SensorService\u0000GravitySensor2 setDelay ns = 200000000 mindelay = 200000000\u0000=\u0000\u0018\u0000x\r\u0000\u0000�\u0011\u0000\u0000\u0012#�V�G\u0015\u0000\u0000\u0000\u0000\u0000\u0004Sensors\u0000Acc old sensor_state 0, new sensor_state : 1 en : 1\u0000S\u0000\u0018\u0000x\r\u0000\u0000�\u0011\u0000\u0000\u0012#�V�G\u0015\u0000\u0000\u0000\u0000\u0000\u0004Sensors\u0000RotationVectorSensor old sensor_state 1, new sensor_state : 131073 en : 1\u0000X\u0000\u0018\u0000\\a\u0000\u0000\\a\u0000\u0000\u0012#�V\tޭ\u0000\u0000\u0000\u0000\u0000\u0003SensorManager\u0000registerListener :: 1936484718, Linear Acceleration Sensor, 200000, 0, \u0000G\u0000\u0018\u0000x\r\u0000\u0000\u001b\u0012\u0000\u0000\u0013' }
I capture buffer data to file
var fs = require('fs');
var wstream = fs.createWriteStream('/tmp/stf.txt');
this.buffer = Buffer.concat([this.buffer, chunk]);
wstream.write("\n\n\n\n\n\n\n");
wstream.write(this.buffer);
wstream.write("\n\n\n\n\n\n\n");
I meet the same situation. And found issues in the adbkit-logcat project: https://github.com/openstf/adbkit-logcat/issues/1 https://github.com/openstf/adbkit-logcat/issues/4
Thanks @capasky
I apply feature/android-L branch in adbkit-logcat
Test results, Logs normally is printed in both Galaxy S3(4.4.4) and Galaxy S6 Edge(6.0.1)
OS 5.x did not tested yet
because it operates well in OS6.0.1 it seems to work well on OS 5.x.