mobileinsight-mobile icon indicating copy to clipboard operation
mobileinsight-mobile copied to clipboard

[ERROR]: The diagnostic mode is disabled. Please Check your phone settings.

Open ltshandsome opened this issue 3 years ago • 14 comments

Versions

  • OS: Android 10
  • Device: Samsung Galaxy A71 (rooted using the tutorial https://www.youtube.com/watch?v=5RowR4r0AsQ, root checker passed)
  • Installing APP method: Download and install the apk file

Description

  • Samsung Galaxy A71:

    • Both Mobile Insight version 5.0 and Mobile Insight version 6.0:

      • When enter the APP:

      [ERROR]: The diagnostic mode is disabled. Please Check your phone settings.

      • When run the NetLogger:

      [WARNING][OnlineMonitor]: Unsupported chipset type

I also tried to open the diagnostic mode by typing the command in the emulated terminal: setprop sys.usb.config diag,adb but it still had this error.

I also used the desktop version to monitor the cellphone. (I opened the diagnostic mode using the method above) Nevertheless, there was no output on the terminal when I used monitor-example.py

Do you have some suggestion for this error? Thank you so much for the helping!

ltshandsome avatar Apr 11 '21 04:04 ltshandsome

I have same problem with OS: Android 10 Device: Samsung Galaxy Note 10 5G MI version for both 5.0 and 6.0

lgs96 avatar Apr 12 '21 13:04 lgs96

I am facing the same issue with: OS: Android 11 Device: Google Pixel 4a 5G Rooted device by following instructions from: https://www.youtube.com/watch?v=l7ScFdgu3EM Do we need "SafetyNet" to pass?

apushpar avatar Apr 12 '21 19:04 apushpar

Thanks @ltshandsome @apushpar @lgs96 for your feedback. Could you please provide the output of the following adb shell command: getprop ro.board.platform;? This would be helpful for fixing this bug.

yuanjieli avatar Apr 14 '21 01:04 yuanjieli

@yuanjieli thanks for getting back. Command getprop ro.board.platform; returns lito

apushpar avatar Apr 14 '21 17:04 apushpar

@yuanjieli thank you for your help. For me the command getprop ro.board.platform returns universal980

ltshandsome avatar Apr 15 '21 14:04 ltshandsome

Thanks @apushpar @ltshandsome . Please try this version to see if it works for you: http://mobileinsight.net/MobileInsight-debug-6.0.0.apk

@ltshandsome You may also check if /dev/diag exists inside your phone. If not, it implies your phone model may not support in-device network data collection. You can use the desktop version instead.

yuanjieli avatar Apr 16 '21 00:04 yuanjieli

@yuanjieli the version doesn't work for me as well. I don't have /dev/diag inside my phone, and I have problem that my monitor didn't output anything when I used the desktop version. (I directly used the command setprop sys.usb.config diag,adb to try to have the diagnostic mode) May I ask is it the right way to open the diagnostic mode? Thank you for your spending time helping us!

ltshandsome avatar Apr 16 '21 06:04 ltshandsome

@yuanjieli thanks for sharing the apk. I can't see this issue anymore but there is a new issue. I get "Monitoring daemon is terminated. Restart the daemon...". Do you know what's the fix for this issue?

apushpar avatar Apr 22 '21 17:04 apushpar

I also have same problem with OS: Android 11 Device: OnePlus 9 pro MI version 6.0 Command getprop ro.board.platform return lahaina I don't have /dev/diag inside my phone and setprop sys.usb.config diag,adb done nothing to me.

Thanks @apushpar @ltshandsome . Please try this version to see if it works for you: http://mobileinsight.net/MobileInsight-debug-6.0.0.apk

@ltshandsome You may also check if /dev/diag exists inside your phone. If not, it implies your phone model may not support in-device network data collection. You can use the desktop version instead.

After using the above debug-6.0.apk, the error is gone, but when running the NetLogger plugin a warning message will show up with "Unsupported chipset type"

Can anyone help? And does anyone also using OnePlus 9 pro for MobileInsight and having the same issue?

VincentCheng0113 avatar Jul 01 '22 14:07 VincentCheng0113

I also have same problem with OS: Android 11 Device: OnePlus 9 pro MI version 6.0 Command getprop ro.board.platform return lahaina I don't have /dev/diag inside my phone and setprop sys.usb.config diag,adb done nothing to me.

Thanks @apushpar @ltshandsome . Please try this version to see if it works for you: http://mobileinsight.net/MobileInsight-debug-6.0.0.apk @ltshandsome You may also check if /dev/diag exists inside your phone. If not, it implies your phone model may not support in-device network data collection. You can use the desktop version instead.

After using the above debug-6.0.apk, the error is gone, but when running the NetLogger plugin a warning message will show up with "Unsupported chipset type"

Can anyone help? And does anyone also using OnePlus 9 pro for MobileInsight and having the same issue?

Hello, I'm using Oneplus 10 pro(Android 12) and facing the same issue with you. Did you figure it out? Thanks.

helloTkk avatar Oct 23 '22 15:10 helloTkk

Hi, I am also facing same error/issue: The diagnostic mode is disabled.. and i have observed this issue on two phones.. Android Version 12 One is Sony Xperia XQ-BC52(Tems also installed).. for this daig port enabled through adb by below command setprop persist.sys.usb.config diag,serial_cdev,rmnet,adb and i can see after this QXDM also able to detect and start work.. another device is: Xiaomi 11T Pro.. here also Tems installed and able to see logs in QXDM also..

but this issue keep on coming and not able to proceed further.. below apks used: [MobileInsight-debug-6.0.0.apk] MobileInsight-6.0.0.apk

XQ-BC52:/ # getprop ro.board.platform lahaina

harishpadi avatar Jan 10 '23 09:01 harishpadi

Same issue here, I'm using Oneplus 9PRO and Oneplus 10PRO. The /dev/diag port is not visible because of diagchar driver is not in kernel 5.x.

@harishpadi Can you see /dev/diag after execute "setprop persist.sys.usb.config diag,serial_cdev,rmnet,adb" or while QXDM is working?

Regards.

bernarcase avatar Jan 27 '23 09:01 bernarcase

OnePlus 10 Pro How to enable diagnostic port Gen 1 Processor

Anjum908 avatar Nov 26 '23 18:11 Anjum908