mobileinsight-core
mobileinsight-core copied to clipboard
Monitoring Daemon Terminated
Hello!
I'm trying to run MI 6.0.0 on a OnePlus 8T (OxygenOS Android 13) and MI-Core on Ubuntu 20.04.
When I start the NetLogger on the phone, it appears to initially start correctly, but then switches to printing the following repeatedly:
[b][color=ffff00][WARNING][/color] [OnlineMonitor][/b]: Monitoring daemon is terminated. Restart the daemon ...
I did a search of this support site, and did see this issue reported last year, but I wasn't able to find a resolution.
Alternatively (and this is actually a second issue) I tried to run the OnlineMonitor() on my Ubuntu machine, but ended up with the following error:
ImportError: /home/vagrant/mi-dev/mobileinsight-core/mobile_insight/monitor/dm_collector/dm_collector_c.so: invalid ELF header
Interestingly, I got this same error both when I ran from the source or from the VirtualBox version. I understand that this error indicates that the shared object was compiled for a different machine architecture, but I was wondering if there was an easy way to fix this issue.
I appreciate any help anyone can give to get me up and running!
Thanks! Keith
Hello, Hello, I'm facing the same problem on Pixel 5. Did you solve the problem please ? Thanks
Unfortunately, I did not solve the problem and eventually gave up. It appears to me as though Mobile-Insight is no longer being actively supported.
Hope you have had more success than me!
On Wed, Mar 29, 2023 at 10:01 AM Younes ST @.***> wrote:
Hello, Hello, I'm facing the same problem on Pixel 5. Did you solve the problem please ? Thanks
— Reply to this email directly, view it on GitHub https://github.com/mobile-insight/mobileinsight-core/issues/125#issuecomment-1488796303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZCNYU4KTOZSM6JE5ORYI4LW6RFC5ANCNFSM6AAAAAAUCQJAQI . You are receiving this because you authored the thread.Message ID: @.***>
@TKBElecEngr @SmartCar11 I also encountered with the problem and solved it successullfy. MI project is in poor maintenance.
here is the issue, the "dm_collector_c.so" come with git clone is a compiled version for other architecture (guessing for andorid it might be armv8) so when you try to
readelf mobileinsight-core/mobile_insight/monitor/dm_collector/dm_collector_c.so
it will error as
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start.
Actually in the setup.py it does compile a new version of dm_collector_c.so using your own complier on your machine. The stupid part is the script didnt copy generated mobile_insight library back to the directory. So what you need to do is basically use your own complied build/lib.[your-compiler]>/mobile_insight/ to replace the mobile_insight/ coming along with git clone.
I should have said "Thanks!" long ago for the information.
On Mon, Jun 26, 2023 at 6:45 AM NeutrinoLiu @.***> wrote:
@TKBElecEngr https://github.com/TKBElecEngr @SmartCar11 https://github.com/SmartCar11 I also encountered with the problem and solved it successullfy. MI project is in poor maintenance.
here is the issue, the "dm_collector_c.so" come with git clone is a compiled version for other architecture (guessing for andorid it might be armv8) so when you try to readelf mobileinsight-core/mobile_insight/monitor/dm_collector/dm_collector_c.so it will error as readelf: Error: Not an ELF file - it has the wrong magic bytes at the start.
Actually in the setup.py it does compile a new version of dm_collector_c.so using your own complier on your machine. The stupid part is the program didnt copy generated mobile_insight library back to the directory. So what you do is basically replace your own complied build/lib./mobile_insight/ with the mobile_insight/ coming along with git clone.
— Reply to this email directly, view it on GitHub https://github.com/mobile-insight/mobileinsight-core/issues/125#issuecomment-1607297491, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZCNYUZOYEYOYYQKCEKFTSDXNFY5BANCNFSM6AAAAAAUCQJAQI . You are receiving this because you were mentioned.Message ID: @.***>