mobile-insight / mobileinsight-mobile

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

Daemon terminated, please restart daemon #38

Open SergiAlcala opened 3 years ago

SergiAlcala commented 3 years ago

Versions

Description

I've installed the MI v6.0 in Google Pixel 4a 5G, rooted and everything seems to be correct, but when I try to run the NetLogger plugin, I receive a warning saying:

"Monitoring daemon is terminated. Restart the daemon".

I attach a link with the MI Log.

https://drive.google.com/file/d/1BFwi23sRZtDDXoKvCsGqtjhtZC5DN7a1/view?usp=sharing

Thank you

yuanjieli commented 3 years ago

Thanks for your feedback. We observed similar issues on Google Pixel 5, and found it is because Google has recently disabled the diagnostic mode in their latest Pixel phone models. We are fixing it now.

To work it around, you many try to flash some 3rd-part custom ROM with root privilege and diagnostic mode to your Google phone, or try some other models.

SergiAlcala commented 3 years ago

Thanks for your feedback. We observed similar issues on Google Pixel 5, and found it is because Google has recently disabled the diagnostic mode in their latest Pixel phone models. We are fixing it now.

To work it around, you many try to flash some 3rd-part custom ROM with root privilege and diagnostic mode to your Google phone, or try some other models.

Thank you for your response, do you recommend any custom ROM for this usage?

Kind Regards

Awais174 commented 3 years ago

@yuanjieli I have faced the same issue on the same mobile phone.

I might be able to contribute - are you planning to enable mobileinsight application to enable diagnostic mode itself?

yuanjieli commented 3 years ago

Yes, we are working on it now.

lgs96 commented 3 years ago

Hi, I'm facing the same problem on Pixel 5. Is the problem solved in the latest version? (dev6.0-pixel)

lnxgod commented 3 years ago

I'm running into the same issue. I have no issue switching firmwares if you can suggest a firmware thats friendly with your software.

lnxgod commented 3 years ago

I've switched to Lineage 18.1 same issue.

lnxgod commented 3 years ago

What other model?

yuanjieli commented 3 years ago

Thanks for your feedback. Please check the following APK to see if it works on your phone:

https://github.com/mobile-insight/mobileinsight-mobile/releases/download/v6.0.0-beta/MobileInsight-6.0.0-beta.apk

ltshandsome commented 3 years ago

@yuanjieli I tried the new APK file using Google pixel 5. It doesn't show the string "Monitoring daemon is terminated. Restart the daemon" anymore, but it seems that the plugins don't collect anything and I don't know why:

Netlogger: when stop the plugin, it will show "Found undersized orphan log, file saved to ..." and the file size is 0 B. RrcAnalysis and KPIAnalyzer: attached

Thank you

NetLogger_log[1].txt RrcAnalysis_log[2].txt KPIAnalyzer_log[1].txt

why36 commented 2 years ago

@yuanjieli I got the same problem with rooted MI 10, OS version: Android 10 "Monitoring daemon is terminated. Restart the daemon". always appear whatever plugin I chose. Besides /dev/diag does not appear in my phone. However, MI 10 is the model you have tested on the website?

Do you have some idea for this?

noahsmartin commented 2 years ago

I'm seeing the same problem with a pixel 5 on Android 12 build # SP2A.220305.012 using 6.0.0 beta, are there any workarounds for this phone?

limlynn commented 2 years ago

I'm seeing the same problem with a pixel 5 on Android 11. Are there any improvements to this problem? BTW, Thank you for your dedicated work and support.

hur commented 2 years ago

pixel 5, android 11 AND 12, same issue (No logs appear). From dmesg, I can see: [ 130.377138] diag: In diag_switch_logging, request to switch to invalid mode: 1061109567 the number is 0x3F3F3F3F in hex.

SmartCar11 commented 1 year ago

Versions

  • OS: Android 11
  • Python version: python3
  • Device:: Google Pixel 4a 5G *Build Version: RD1A.200810.021.A1, Oct 2020

Description

I've installed the MI v6.0 in Google Pixel 4a 5G, rooted and everything seems to be correct, but when I try to run the NetLogger plugin, I receive a warning saying:

"Monitoring daemon is terminated. Restart the daemon".

I attach a link with the MI Log.

https://drive.google.com/file/d/1BFwi23sRZtDDXoKvCsGqtjhtZC5DN7a1/view?usp=sharing

Thank you

Hello, I had the same problem with google Pixel 5, did you fix the problem ? thanks

lnxgod commented 1 year ago

The only way I could get it to work was to run an older version of the operating system. They remove some of the debug things in the newer operating system and it doesn't work.

On Wed, Mar 29, 2023, 11:03 AM Younes ST @.***> wrote:

Versions

  • OS: Android 11
  • Python version: python3
  • Device:: Google Pixel 4a 5G *Build Version: RD1A.200810.021.A1, Oct 2020

Description

I've installed the MI v6.0 in Google Pixel 4a 5G, rooted and everything seems to be correct, but when I try to run the NetLogger plugin, I receive a warning saying:

"Monitoring daemon is terminated. Restart the daemon".

I attach a link with the MI Log.

https://drive.google.com/file/d/1BFwi23sRZtDDXoKvCsGqtjhtZC5DN7a1/view?usp=sharing

Thank you

Hello, I had the same problem with google Pixel 5, did you fix the problem ? thanks

— Reply to this email directly, view it on GitHub https://github.com/mobile-insight/mobileinsight-mobile/issues/38#issuecomment-1489063182, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK3D7FJ536W4QR7UH5AM23W6R2NRANCNFSM4U2OOUBQ . You are receiving this because you commented.Message ID: @.***>

SmartCar11 commented 1 year ago

The only way I could get it to work was to run an older version of the operating system. They remove some of the debug things in the newer operating system and it doesn't work. On Wed, Mar 29, 2023, 11:03 AM Younes ST @.> wrote: Versions - OS: Android 11 - Python version: python3 - Device:: Google Pixel 4a 5G Build Version: RD1A.200810.021.A1, Oct 2020 Description I've installed the MI v6.0 in Google Pixel 4a 5G, rooted and everything seems to be correct, but when I try to run the NetLogger plugin, I receive a warning saying: "Monitoring daemon is terminated. Restart the daemon". I attach a link with the MI Log. https://drive.google.com/file/d/1BFwi23sRZtDDXoKvCsGqtjhtZC5DN7a1/view?usp=sharing Thank you Hello, I had the same problem with google Pixel 5, did you fix the problem ? thanks — Reply to this email directly, view it on GitHub <#38 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK3D7FJ536W4QR7UH5AM23W6R2NRANCNFSM4U2OOUBQ . You are receiving this because you commented.Message ID: **@.***>

Hi @Inxgod,

Thanks for your response, I have changed the version of the phone and resolve the problem of daemon but when I run the log I get an empty log 0Kb. Have you faced the same problem? thanks in advance.

cellular777 commented 1 year ago

The only way I could get it to work was to run an older version of the operating system. They remove some of the debug things in the newer operating system and it doesn't work. On Wed, Mar 29, 2023, 11:03 AM Younes ST @.*> wrote: Versions - OS: Android 11 - Python version: python3 - Device:: Google Pixel 4a 5G Build Version: RD1A.200810.021.A1, Oct 2020 Description I've installed the MI v6.0 in Google Pixel 4a 5G, rooted and everything seems to be correct, but when I try to run the NetLogger plugin, I receive a warning saying: "Monitoring daemon is terminated. Restart the daemon". I attach a link with the MI Log. https://drive.google.com/file/d/1BFwi23sRZtDDXoKvCsGqtjhtZC5DN7a1/view?usp=sharing Thank you Hello, I had the same problem with google Pixel 5, did you fix the problem ? thanks — Reply to this email directly, view it on GitHub <#38 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASK3D7FJ536W4QR7UH5AM23W6R2NRANCNFSM4U2OOUBQ . You are receiving this because you commented.Message ID: @.>

Hi @Inxgod,

Thanks for your response, I have changed the version of the phone and resolve the problem of daemon but when I run the log I get an empty log 0Kb. Have you faced the same problem? thanks in advance.

@SmartCar11 @lnxgod I have the same issue. Pixel 4a 5G. I tried Android 13 and got daemon errors. I tried Android 11 and get empty logs. Is there a certain version of Android's OS that does work? Any other options?

@yuanjieli is there an updated list of devices (besides the one on the website) that recommends any that are 5G capable? Assuming there is no way to get this to work with the Pixel 4a 5G.

hur commented 1 year ago

For the record, I was able to use Pixel 5 with Android 11 build RQ2A.210305.006. Any newer Android versions did not work because of empty logs since I don't know how to enable diag on the newer versions. I followed https://band.radio/diag to enable diag on this android version.

cellular777 commented 1 year ago

@hur Thank you for the information. I have tried those same instructions for diag with RD1A.200810 (empty logs) and RQ3A.211001 (daemon errors). Ha, I didn't try RQ2A, maybe that is a sweet spot. I will report back.

cellular777 commented 1 year ago

@hur very strange. I did not try RQ2A. I am still on RQ3A.211001 and it is now working. What is weird is that I already ran the commands from https://band.radio/diag though I was following https://forum.xda-developers.com/t/network-signal-guru.4005511/page-4#post-83499679 which has the exact same commands. Hmm. Idk, maybe I rebooted or ran something in the wrong order.

Either way thanks for responding. I can see message logs now. I have a chicken and egg problem though. I can only get LTE connections (even with the network ##4636## set to both LTE/NR. However, if I upgrade to Android 13 I get NR connections fine (normally happens when I play a video. But, I can't go to Android 13 because of the daemon issues and diag issues...

I do wonder, are you able to see 5G NR logs on the Pixel 5? This would be NSA stuff.

hur commented 1 year ago

@hur very strange. I did not try RQ2A. I am still on RQ3A.211001 and it is now working. What is weird is that I already ran the commands from https://band.radio/diag though I was following https://forum.xda-developers.com/t/network-signal-guru.4005511/page-4#post-83499679 which has the exact same commands. Hmm. Idk, maybe I rebooted or ran something in the wrong order.

Either way thanks for responding. I can see message logs now. I have a chicken and egg problem though. I can only get LTE connections (even with the network ##4636## set to both LTE/NR. However, if I upgrade to Android 13 I get NR connections fine (normally happens when I play a video. But, I can't go to Android 13 because of the daemon issues and diag issues...

I do wonder, are you able to see 5G NR logs on the Pixel 5? This would be NSA stuff.

I was working with LTE logs only so can't say for sure, sorry, although someone I was working used the same setup as me for some 5G logs if I recall correctly.

The daemon errors can be fixed by patching diag_revealer with the right logic and struct definitions for the particular kernel version, but enabling diag may be problematic on newer devices, I spent hours on it but couldn't get it working on Android 12