fics / atcmd Goto Github PK
View Code? Open in Web Editor NEWAndroid AT command scripts and firmware extraction
Home Page: https://atcommands.org
Android AT command scripts and firmware extraction
Home Page: https://atcommands.org
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
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.
I tried to add my infinix_vendorid and producti id but it still shows VENDOR/PRODUCT ID not found.
how can i add it?
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!
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.
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?
Hi,
I am trying to follow the same procedure as you used for ZenPhone 2. But I could not find any system.at-proxy.mode[1-4]. Can you give me any ideas or suggestions?
Newer AOSP images (specifically payload.bin) cannot be extracted due to the new format.
This tool does the job: https://github.com/cyxx/extract_android_ota_payload
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
[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
e.g. my phone is a Samsung SM-A320F. If I wanted to get it into your database, what steps are required?
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
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.