synacktiv-contrib / modmobmap Goto Github PK
View Code? Open in Web Editor NEWMap 2G/3G/4G and more cellular networks in real live with a simple smart phone, pretty much like osmocomBB monitoring feature.
Map 2G/3G/4G and more cellular networks in real live with a simple smart phone, pretty much like osmocomBB monitoring feature.
Although it is a Nuand issue, you might have a workaround
root@kali:~/mnrt/Modmobmap# python modmobmap.py -m srslte_pss -g 'id=1'
Bands argument not set! Using band 7 by default instead.
[INFO] [UHD] linux; GNU C++ version 10.2.1 20201207; Boost_107400; UHD_3.15.0.0-4+b1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
/root/mnrt/Modmobmap/thirdparty/srsLTE/lib/src/phy/rf/rf_uhd_imp.c.187: Error opening UHD: code 11
[ERROR] avahi_service_browser_new() failed: Bad state
[INFO] [UHD] linux; GNU C++ version 10.2.1 20201207; Boost_107400; UHD_3.15.0.0-4+b1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
/root/mnrt/Modmobmap/thirdparty/srsLTE/lib/src/phy/rf/rf_uhd_imp.c.187: Error opening UHD: code 11
[ERROR] avahi_service_browser_new() failed: Bad state
[INFO] [UHD] linux; GNU C++ version 10.2.1 20201207; Boost_107400; UHD_3.15.0.0-4+b1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
/root/mnrt/Modmobmap/thirdparty/srsLTE/lib/src/phy/rf/rf_uhd_imp.c.187: Error opening UHD: code 11
[ERROR] avahi_service_browser_new() failed: Bad state
[INFO] bladerf_open_with_devinfo()
[INFO] bladerf_get_serial() = 5ddcbad6986d4221b002d771858b6cfb
[INFO] setSampleRate(Rx, 0, 4.000000 MHz), actual = 4.000000 MHz
[INFO] setSampleRate(Tx, 0, 4.000000 MHz), actual = 4.000000 MHz
[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
[INFO] setSampleRate(Tx, 0, 1.920000 MHz), actual = 1.920000 MHz
[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
00000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
00[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
00[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
00000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
0000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
00000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
000[INFO] setSampleRate(Rx, 0, 1.920000 MHz), actual = 1.920000 MHz
I use samsung S5;
should i root it or not need to do this ? and on the computer, should i use debbuger mode for connection With usb3.0?
root@kali:~/Downloads/Modmobmap-master# python modmobmap.py
Traceback (most recent call last):
File "modmobmap.py", line 39, in
startServiceModeCollect()
File "/root/Downloads/Modmobmap-master/utils/logprocess.py", line 52, in startServiceModeCollect
bringTestMode()
File "/root/Downloads/Modmobmap-master/utils/logprocess.py", line 36, in bringTestMode
statesmv(sm.pushsecretcode, arg='4636', wait=2)
File "/root/Downloads/Modmobmap-master/utils/logprocess.py", line 28, in statesmv
func(arg)
File "/root/Downloads/Modmobmap-master/engines/android/generic/ADBshell.py", line 216, in pushsecretcode
process = self.run_adbcmdshell("su -c 'am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://%s'" % secretcode)
File "/root/Downloads/Modmobmap-master/engines/android/generic/ADBshell.py", line 83, in run_adbcmdshell
return subprocess.Popen(commandstring, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 394, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Why I am taking this error ?
Hi, seems like HackRF is found but it timeouts after a while when opening.
root@kali:~/mnrt/Modmobmap# python modmobmap.py -m srslte_pss -g 'id=1'
Bands argument not set! Using band 7 by default instead.
[INFO] [UHD] linux; GNU C++ version 10.2.1 20201207; Boost_107400; UHD_3.15.0.0-4+b1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
/root/mnrt/Modmobmap/thirdparty/srsLTE/lib/src/phy/rf/rf_uhd_imp.c.187: Error opening UHD: code 11
[ERROR] avahi_service_browser_new() failed: Bad state
[INFO] Opening HackRF One #0 75b068dc32087f07...
[INFO] [UHD] linux; GNU C++ version 10.2.1 20201207; Boost_107400; UHD_3.15.0.0-4+b1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
/root/mnrt/Modmobmap/thirdparty/srsLTE/lib/src/phy/rf/rf_uhd_imp.c.187: Error opening UHD: code 11
[ERROR] avahi_service_browser_new() failed: Bad state
[INFO] Opening HackRF One #0 75b068dc32087f07...
[INFO] [UHD] linux; GNU C++ version 10.2.1 20201207; Boost_107400; UHD_3.15.0.0-4+b1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
/root/mnrt/Modmobmap/thirdparty/srsLTE/lib/src/phy/rf/rf_uhd_imp.c.187: Error opening UHD: code 11
[ERROR] avahi_service_browser_new() failed: Bad state
[INFO] Opening HackRF One #0 75b068dc32087f07...
[INFO] [UHD] linux; GNU C++ version 10.2.1 20201207; Boost_107400; UHD_3.15.0.0-4+b1
[INFO] [LOGGING] Fastpath logging disabled at runtime.
/root/mnrt/Modmobmap/thirdparty/srsLTE/lib/src/phy/rf/rf_uhd_imp.c.187: Error opening UHD: code 11
[ERROR] avahi_service_browser_new() failed: Bad state
[INFO] Opening HackRF One #0 75b068dc32087f07...
So I have a galaxy s5. Everything is installed. I verified that the adb devices command that my OS (Ubuntu) sees my phone
python3 modmobmap.py -s /home/jo/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
cops = sm.getCOPSfromRIL()
File "/home/jo/Modmobmap/engines/android/generic/ADBshell.py", line 124, in getCOPSfromRIL
devfile = self.getDevfile()
File "/home/jo/Modmobmap/engines/android/generic/ADBshell.py", line 99, in getDevfile
raise ADBError('dev')
engines.android.generic.ADBshell.ADBError: 'libRIL use an unsupported argument.'
help would get greatly appreciated
@FlUxIuS,
I didn't know how to write the problem through a fork, how do you like idea of creating a new OpenBTS-UMTS repository as a continuation of its development and modification, the goal is to refactor it into modern C++17 or C++20 using CMake, adding support for new SDRs and possibly add HSPA and HSPA+ mode. I already have a local branch with CMake to switch to.
I can not search any 4G by using this tools,only search 3G and 2G
@FlUxIuS, hi, does project have no Soapy driver support?
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:
#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,
Hello.
I am not able to catch numbers with "Sansumg S7" and also with "RTL-SDR-2832U".
The terminal works normally, but does not capture any number, see:
- MOBILE:
──(kali㉿kali)-[~/Modmobmap]
└─$ sudo python3 modmobmap.py -s /usr/lib/android-sdk/ -a /dev/ttyACM0 -n 72406
=> Manual MCC/MNC processing...
Found 1 operator(s)
{'72406': '72406'}
[+] Unregistered from current PLMN
=> Changing MCC/MNC for: 72406
=> Changing network type for 3G only
=> Changing network type for 2G only
=> Switching back to auto-mode
- RTL-SDR:
──(kali㉿kali)-[~/Modmobmap]
└─$ sudo python3 modmobmap.py -m grgsm -b GSM-R,GSM900 -g rtlsdr
=> Switching to GSM-R band
Try scan CCCH on 955-1023 arfcn`s:
Scanning: 0.00% done..
Can you help me?
Thanks.
I'd like to know if anyone has tried mapping the cellular networks using an SDR like HackRF or USPR?
If not I'd like to know how can one proceed to do the same.
Regards.
i hope you will be enjoying good of your health...
Actually I a trying to run Modmobmap using hackrf from past few days but no success.
I want to use this script with kal...is it possible??
root@kali:~/Downloads/Modmobmap-master# sudo python2 modmobmap.py
=> Requesting a list of MCC/MNC. Please wait, it may take a while...
Problem with AT+COPS=? anwser. Please reboot the phone and try again
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.