mobile-insight / mobileinsight-mobile

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

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

Open ltshandsome opened 3 years ago

ltshandsome commented 3 years ago

Versions

Description

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!

lgs96 commented 3 years ago

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

apushpar commented 3 years ago

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?

yuanjieli commented 3 years ago

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.

apushpar commented 3 years ago

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

ltshandsome commented 3 years ago

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

yuanjieli commented 3 years ago

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.

ltshandsome commented 3 years ago

@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!

apushpar commented 3 years ago

@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?

VincentCheng0113 commented 2 years ago

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?

helloTkk commented 2 years ago

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.

harishpadi commented 1 year ago

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

bernarcase commented 1 year ago

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.

Anjum908 commented 11 months ago

OnePlus 10 Pro How to enable diagnostic port Gen 1 Processor

GhassenKannou commented 1 week ago

using all the commands setprop persist.sys.usb.config diag,serial_cdev,rmnet,adb on Ulefone rmor 24 the mobile app is crashing and still the same error