Synacktiv-contrib / Modmobmap

Map 2G/3G/4G and more cellular networks in real live with a simple smart phone, pretty much like osmocomBB monitoring feature.
97 stars 72 forks source link

Can't run Modemobmap #4

Closed Antanide closed 4 years ago

Antanide commented 5 years ago

I get this:

antani sdr/Modmobmap ‹master*› » python modmobmap.py -s ~fabio/Android/Sdk => Requesting a list of MCC/MNC. Please wait, it may take a while... Traceback (most recent call last): File "modmobmap.py", line 52, in <module> cops = sm.getCOPSfromRIL() File "/home/fabio/tsm/sdr/Modmobmap/engines/android/generic/ADBshell.py", line 124, in getCOPSfromRIL devfile = self.getDevfile() File "/home/fabio/tsm/sdr/Modmobmap/engines/android/generic/ADBshell.py", line 99, in getDevfile raise ADBError('dev') engines.android.generic.ADBshell.ADBError: 'libRIL use an unsupported argument.'

I tried to follow the instructions here: https://github.com/Synacktiv-contrib/Modmobmap/issues/2

This is my output for getprop rild.libargs

HWFIG-H:/ # getprop rild.libargs
-m modem0

I have no /dev/smd* device whatsoever.

I tried this nevertheless setprop rild.libargs "-d /dev/smd0" And then I got this```

=> Requesting a list of MCC/MNC. Please wait, it may take a while... /system/bin/sh: syntax error: '&&' unexpected Problem with AT+COPS=? anwser. Please reboot the phone and try again



Rebooting the phone actually reset the setprop and brought me to the starting point.

Thank you,