mobile-insight / mobileinsight-mobile

Mobile Network Intelligence Made Easy -- Android version of MobileInsight app
http://mobileinsight.net
Other
88 stars 54 forks source link

Connection problem with diag on Samsung S20 Ultra 5G Qualcomm (Connect to MDM) #39

Closed LeeTiK closed 3 years ago

LeeTiK commented 3 years ago

Android 11

Good afternoon, to be honest, the question is not entirely about your application, but I hope you can help me.

If you turn on the DM mode on the phone, then 2 com ports of the diag are revealed there and one of them swears at almost all commands, but in the second SDX55M everything is super, and L3 messages go

image

I use your diag_revealer and the diag connection happens, everything is fine and the commands go through, but apparently to the SM8250, what should I do to connect to the SDX55M, an application such as Signal Guru seems to connect perfectly, I recorded them through the strace utility and they still connect to / dev / diag. Feature I noticed that they have a command headder of 8 bytes, USER_SPACE + 0xFF 0xFF 0xFF 0xFF. In your code, I saw that there is remote_procs, but it is almost everywhere commented out.

image

P.s Your application does not start for me because when I try to disable SeLinux, my phone reboots, root through Magisk

LeeTiK commented 3 years ago

Looking at the diag_mdlog utility, I realized that I needed to access mdm and not msm. It is in mdm that the useful data, tell me your remote_device does not seem to work, I try to set 1, and I try to make a header 8 bytes to the commands, but because of this fd_diag falls image

LeeTiK commented 3 years ago

Solved the problem, you have errors in the code remote_dev connection

lgs96 commented 2 years ago

@LeeTiK Hi, I'm currently using MobileInsight-6.0 on Samsung S20 Ultra. But it does not work. In detail, the phone reboots when the MobileInsight turns on. I guess that it may the problem of a malfunctioning rooted phone, so I tried installing network signal guru. However, the network signal guru app works well. I wonder how did you fix this app to run on the Samsung S20 Ultra. Can you tell me what is the errors in the code remote_dev connection and how to solve them?

Thanks in advance.

Sinclair19 commented 7 months ago

Solved the problem, you have errors in the code remote_dev connection

Hi, could you please share more information of how did you fix the problem in the code remote_dev connection? I am facing some writing command I/O error and 0kb in log. Thanks in advance