Coder Social home page Coder Social logo

atcmd's People

Contributors

choijo avatar daveti avatar grant-h 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  avatar  avatar

Watchers

 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

atcmd's Issues

cant get kc

my samsung galaxy y gives me the tmsi with the code AT+CRSM=176,28542,0,0,11 but when i try AT+CRSM=176,28448,0,0,9 for the kc then its says error3

docker image with atextract deps?

atextract has a fairly long list of deps that aren't commonly packaged by linux distros. A docker image/etc. with all of the deps pre-installed would be a great kindness to folks just wanting to check an image or two.

INFINIX NOT SUPPORTED

I tried to add my infinix_vendorid and producti id but it still shows VENDOR/PRODUCT ID not found.
how can i add it?

interact - No devices found

Heya,

While running python atinteract.py

Probing for TTY devices...
No devices found

My phone is an ASUS _Z010D and connected using USB Cable to my laptop running Ubuntu 16.04.

Am I missing something?

Appreciate any help, thanks!

Nexus 5 LG

Hi,
I tried to play with AT commands for Nexus 5. As mentioned in the paper, I rooted the phone and set the USB configuration to diag,adb. usbswitcher found just one configuration for the LG phone, and so did the lsusb -v. When I run atinteract.py, I run into the following exception:

serial.serialutil.SerialException: [Errno 16] could not open port /dev/ttyACM0: [Errno 16] Device or resource busy: '/dev/ttyACM0'

Could you please tell me if I have missed anything for which I am running into this issue?

Thanks.

Exception in thread "main" java.lang.IllegalArgumentException: Cannot find file or directory "$HOME/atsh_odex0/out"

Just can't get this tool to work right. So far have manually updated the atextract.sh script with all the binaries and apps linked to correct areas. Running samsung firmware that's been extracted from .tar and put into .zip file. Everytime smali decompiles apk, i get the same error on every APK file:
Exception in thread "main" java.lang.IllegalArgumentException: Cannot find file or directory "/home/kevin/atsh_odex0/out"
Help?

tune the usbswither

Hi!
First I want to thank for your research activities! What you are doing is really cool.
I have one small question, how to configure usbswitcher for other manufacturers?
I am a beginner in research, and would be very grateful for the tips

Not working (ubuntu 17.04)

[501894.459779] usb 1-1: new high-speed USB device number 31 using xhci_hcd
[501894.609544] usb 1-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00
[501894.609550] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[501894.609554] usb 1-1: Product: SAMSUNG_Android
[501894.609557] usb 1-1: Manufacturer: SAMSUNG
[501894.609560] usb 1-1: SerialNumber: ********
[501894.615911] cdc_acm 1-1:1.1: ttyACM0: USB ACM device
zibri@zibrixnb:~/atcmd/usbswitch$ sudo ./usbswitcher -s
usbswitcher - Info: switching Samsung phones
vendor/product id mismatch
hello, device found with vendor id
[*] Device found, 1 configuration(s)
usbswitcher: usbswitcher.c:125: main: Assertion `dev->descriptor.bNumConfigurations == 2' failed.
Aborted

Unable to compile

Heya,

While trying to compile these are the error message I'm getting

gcc usbswitcher.c -o usbswitcher -lusb

usbswitcher.c: In function ‘find_device’:
usbswitcher.c:64:12: error: ‘usb_busses’ undeclared (first use in this function)
for (bus=usb_busses; bus != NULL; bus=bus->next) {
^
usbswitcher.c:64:12: note: each undeclared identifier is reported only once for each function it appears in
usbswitcher.c:64:44: error: dereferencing pointer to incomplete type ‘struct usb_bus’
for (bus=usb_busses; bus != NULL; bus=bus->next) {
^
usbswitcher.c:65:40: error: dereferencing pointer to incomplete type ‘struct usb_device’
for (dev=bus->devices; dev; dev=dev->next) {
^
usbswitcher.c: In function ‘main’:
usbswitcher.c:82:3: error: unknown type name ‘usb_dev_handle’
usb_dev_handle *udev;
^
usbswitcher.c:113:3: warning: implicit declaration of function ‘usb_init’ [-Wimplicit-function-declaration]
usb_init();
^
usbswitcher.c:114:3: warning: implicit declaration of function ‘usb_find_busses’ [-Wimplicit-function-declaration]
usb_find_busses();
^
usbswitcher.c:115:3: warning: implicit declaration of function ‘usb_find_devices’ [-Wimplicit-function-declaration]
usb_find_devices();
^
usbswitcher.c:129:10: warning: implicit declaration of function ‘usb_open’ [-Wimplicit-function-declaration]
udev = usb_open(dev);
^
usbswitcher.c:129:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
udev = usb_open(dev);
^
usbswitcher.c:136:3: warning: implicit declaration of function ‘usb_reset’ [-Wimplicit-function-declaration]
usb_reset(udev);
^
usbswitcher.c:138:7: warning: implicit declaration of function ‘usb_set_configuration’ [-Wimplicit-function-declaration]
r = usb_set_configuration(udev, 2);
^
usbswitcher.c:144:5: warning: implicit declaration of function ‘usb_close’ [-Wimplicit-function-declaration]
usb_close(udev);
^

dpkg -L libusb-1.0-0-dev | grep .h$

returns

/usr/include/libusb-1.0/libusb.h

So had to change the from #include "usb.h" to #include "libusb-1.0/libusb.h"

Please let me know if there's a workaround for this.

Thanks

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.