Giter VIP home page Giter VIP logo

modmobmap's People

Contributors

fluxius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

modmobmap's Issues

BladeRF setting sample rate is stuck

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

Samsung S5

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?

Please Help error ?

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 ?

HackRF is not being opened

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...

Cant start Modmomap

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

OpenBTS-UMTS project status

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

problems when using Modemobmap

Hi sir,
I am trying to use your modmobmap, but i got stuck. When I run "python3 modmobmap.py -s /home/winlab01/platform-tools/", i got the responses as follows:
2019-02-24 17-27-03
By the way, sdb path is //home/winlab01/platform-tools/. Can you give me some help to handle this? Waiting for your reply, thanks.

Can not search 4G

I can not search any 4G by using this tools,only search 3G and 2G

Can't run Modemobmap

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,

ERROR - MOBILE AND RTLSDR

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.

How to port Modmobmap to an SDR?

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.

modmobmap with kalibrate(KAL for hackrf)

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.