Logcat error message from datarouter

So, I get my logarithm whose spam code is caused by this datarouter error. Anyone who can help me solve this problem and tell me why this is happening?

Oh, I tried to restart the phone and outshine.

Edit: this seems to be happening primarily on a working Mac.

Here is the full spam log that it gives every 30 seconds:

11-23 14:25:46.917: E/DataRouter(82): After the usb select 11-23 14:25:46.917: E/DataRouter(82): Before checking the modem suspend state 11-23 14:25:46.917: E/DataRouter(82): PDP is resumed now 11-23 14:25:46.917: E/DataRouter(82): After checking the modem suspend state 11-23 14:25:46.917: E/DataRouter(82): Path set is DATA_PATH_CHAR_MODEM 11-23 14:25:46.917: E/DataRouter(82): Send [1] bytes to SMD. message:A 11-23 14:25:46.917: E/DataRouter(82): Sending data to SMD: Len = [1] 11-23 14:25:46.917: E/DataRouter(82): buffer = [A] 11-23 14:25:46.917: E/DataRouter(82): Wrote 1 chars to EXTERNAL PORT fd=12 ch = 41 11-23 14:25:46.917: E/DataRouter(82): Before the usb select 11-23 14:25:46.929: E/DataRouter(82): After the usb select 11-23 14:25:46.929: E/DataRouter(82): Before checking the modem suspend state 11-23 14:25:46.929: E/DataRouter(82): PDP is resumed now 11-23 14:25:46.929: E/DataRouter(82): After checking the modem suspend state 11-23 14:25:46.929: E/DataRouter(82): Path set is DATA_PATH_CHAR_MODEM 11-23 14:25:46.929: E/DataRouter(82): Send [1] bytes to SMD. message:T 11-23 14:25:46.929: E/DataRouter(82): Sending data to SMD: Len = [1] 11-23 14:25:46.929: E/DataRouter(82): buffer = [T] 11-23 14:25:46.929: E/DataRouter(82): Wrote 1 chars to EXTERNAL PORT fd=12 ch = 54 11-23 14:25:46.929: E/DataRouter(82): Before the usb select 11-23 14:25:46.929: E/DataRouter(82): After the Modem Read select 11-23 14:25:46.929: E/DataRouter(82): Read 1 chars from SMD Modem file fd = 12 11-23 14:25:46.929: E/DataRouter(82): buf = A 11-23 14:25:46.929: E/DataRouter(82): Wrote 1 chars to USB PORT fd=29 11-23 14:25:46.929: E/DataRouter(82): buf=A 11-23 14:25:46.929: E/DataRouter(82): Before the Modem Read select 11-23 14:25:46.941: E/DataRouter(82): After the usb select 11-23 14:25:46.941: E/DataRouter(82): Before checking the modem suspend state 11-23 14:25:46.941: E/DataRouter(82): PDP is resumed now 11-23 14:25:46.941: E/DataRouter(82): After checking the modem suspend state 11-23 14:25:46.941: E/DataRouter(82): Path set is DATA_PATH_CHAR_MODEM 11-23 14:25:46.941: E/DataRouter(82): Send [1] bytes to SMD. message: 11-23 14:25:46.941: E/DataRouter(82): Sending data to SMD: Len = [1] 11-23 14:25:46.941: E/DataRouter(82): buffer = [ ] 11-23 14:25:46.941: E/DataRouter(82): Wrote 1 chars to EXTERNAL PORT fd=12 ch = d 11-23 14:25:46.941: E/DataRouter(82): Before the usb select 11-23 14:25:46.949: E/DataRouter(82): After the Modem Read select 11-23 14:25:46.949: E/DataRouter(82): Read 8 chars from SMD Modem file fd = 12 11-23 14:25:46.949: E/DataRouter(82): buf = T 11-23 14:25:46.949: E/DataRouter(82): OK 11-23 14:25:46.949: E/DataRouter(82): Wrote 8 chars to USB PORT fd=29 11-23 14:25:46.949: E/DataRouter(82): buf=T 11-23 14:25:46.949: E/DataRouter(82): OK 11-23 14:25:46.949: E/DataRouter(82): Before the Modem Read select 11-23 14:25:46.953: E/DataRouter(82): After the usb select 11-23 14:25:46.953: E/DataRouter(82): Before checking the modem suspend state 11-23 14:25:46.953: E/DataRouter(82): PDP is resumed now 11-23 14:25:46.953: E/DataRouter(82): After checking the modem suspend state 11-23 14:25:46.953: E/DataRouter(82): Got command as string 11-23 14:25:46.953: E/DataRouter(82): last char is 13 11-23 14:25:46.953: E/DataRouter(82): last second char is 73 11-23 14:25:46.953: E/DataRouter(82): IsDeviceManagerCmd buffer in usb = AT+CGMI 11-23 14:25:46.953: E/DataRouter(82): Data Path Found is DATA_PATH_SMD 11-23 14:25:46.953: E/DataRouter(82): Path set is DATA_PATH_SMD 11-23 14:25:46.953: E/DataRouter(82): Send [8] bytes to SMD. message:AT+CGMI 11-23 14:25:46.953: E/DataRouter(82): Sending data to SMD: Len = [8] 11-23 14:25:46.953: E/DataRouter(82): buffer = [AT+CGMI ] 11-23 14:25:46.953: E/DataRouter(82): Wrote 8 chars to EXTERNAL PORT fd=12 ch = 41 11-23 14:25:46.953: E/DataRouter(82): Before the usb select 11-23 14:25:46.957: E/DataRouter(82): After the Modem Read select 11-23 14:25:46.957: E/DataRouter(82): Read 8 chars from SMD Modem file fd = 12 11-23 14:25:46.957: E/DataRouter(82): buf = AT+CGMI 11-23 14:25:46.957: E/DataRouter(82): Wrote 8 chars to USB PORT fd=29 11-23 14:25:46.957: E/DataRouter(82): buf=AT+CGMI 11-23 14:25:46.957: E/DataRouter(82): Before the Modem Read select 11-23 14:25:46.960: E/DataRouter(82): After the Modem Read select 11-23 14:25:46.960: E/DataRouter(82): Read 11 chars from SMD Modem file fd = 12 11-23 14:25:46.960: E/DataRouter(82): buf = 11-23 14:25:46.960: E/DataRouter(82): SAMSUNG 11-23 14:25:46.960: E/DataRouter(82): Wrote 11 chars to USB PORT fd=29 11-23 14:25:46.960: E/DataRouter(82): buf= 11-23 14:25:46.960: E/DataRouter(82): SAMSUNG 11-23 14:25:46.960: E/DataRouter(82): Before the Modem Read select 11-23 14:25:46.960: E/DataRouter(82): After the Modem Read select 11-23 14:25:46.960: E/DataRouter(82): Read 6 chars from SMD Modem file fd = 12 11-23 14:25:46.960: E/DataRouter(82): buf = 11-23 14:25:46.960: E/DataRouter(82): OK 11-23 14:25:46.960: E/DataRouter(82): Wrote 6 chars to USB PORT fd=29 11-23 14:25:46.960: E/DataRouter(82): buf= 11-23 14:25:46.960: E/DataRouter(82): OK 11-23 14:25:46.960: E/DataRouter(82): Before the Modem Read select 11-23 14:25:46.964: E/DataRouter(82): After the usb select 11-23 14:25:46.964: E/DataRouter(82): Before checking the modem suspend state 11-23 14:25:46.964: E/DataRouter(82): PDP is resumed now 11-23 14:25:46.964: E/DataRouter(82): After checking the modem suspend state 11-23 14:25:46.964: E/DataRouter(82): Got command as string 11-23 14:25:46.964: E/DataRouter(82): last char is 13 11-23 14:25:46.964: E/DataRouter(82): last second char is 77 11-23 14:25:46.964: E/DataRouter(82): IsDeviceManagerCmd buffer in usb = AT+CGMM 11-23 14:25:46.964: E/DataRouter(82): Data Path Found is DEVICE MANAGER 11-23 14:25:46.964: E/DataRouter(82): Path set is DATA_PATH_DR_DEVICE_MANAGER 11-23 14:25:46.964: E/DataRouter(82): Message:AT+CGMM 11-23 14:25:46.964: E/DataRouter(82): processing AT command of length 8 11-23 14:25:46.964: E/DataRouter(82): -------- buffer is =AT+CGMM 11-23 14:25:46.964: E/DataRouter(82): CGMM Request 11-23 14:25:46.964: E/DataRouter(82): [ro.product.model]: [GT-I9000] 11-23 14:25:46.964: E/DataRouter(82): write [16] bytes of data to USB fd[29] 11-23 14:25:46.964: E/DataRouter(82): write [6] bytes of data to USB fd[29] 11-23 14:25:46.964: E/DataRouter(82): Before the usb select 
+4
source share
2 answers

This is not a normal mistake, in fact it is not a mistake at all. This is (stupid?) The way Android RIL (especially on Samsung devices) presents its debug logs. The "DataRouter" that you see is usually classified as "Debug" and with the tag "AT" in old / other phones / modems. This really confuses the developers, unaware of these changes. Most likely, because Samsung uses its own protocols to communicate with the Baseband modem, and not with the standard AT kit, which is interpreted somewhere along the way ...

A good reference is the XDA thread: " How to talk with a modem with AT commands "

+5
source

You can use filters to ignore it. Use this regex (in eclipse):

 tag:^((?!DataRouter).*)$ 

or this is on the command line:

 adb logcat DataRouter:S 
+2
source

Source: https://habr.com/ru/post/1382703/


All Articles