Galaxy S21 5G
jeffreykog opened this issue · 5 comments
It seems the Galaxy S21 is not supported. In the *#0808#
menu, only 'MTP' and 'RNDIS + ACM + DM' are shown. When selecting the last option i don't get any data when i run scat using the following command:
jeffrey@lptp-jeffrey:~/projects/scat$ sudo python3 scat.py -t sec -m e333 -u -a 003:002 -i 4
Trying USB device at address 003:002
CONFIGURATION 1: 0 mA ====================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x2 Configuration
wTotalLength : 0xa4 (164 bytes)
bNumInterfaces : 0x5
bConfigurationValue : 0x1
iConfiguration : 0x4 rndis_acm_dm
bmAttributes : 0xc0 Self Powered
bMaxPower : 0x0 (0 mA)
INTERFACE 0: Wireless Controller =======================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x4 Interface
bInterfaceNumber : 0x0
bAlternateSetting : 0x0
bNumEndpoints : 0x1
bInterfaceClass : 0xe0 Wireless Controller
bInterfaceSubClass : 0x1
bInterfaceProtocol : 0x3
iInterface : 0x5 RNDIS Communications Control
ENDPOINT 0x82: Interrupt IN ==========================
bLength : 0x7 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x82 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0x8 (8 bytes)
bInterval : 0x9
INTERFACE 1: CDC Data ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x4 Interface
bInterfaceNumber : 0x1
bAlternateSetting : 0x0
bNumEndpoints : 0x2
bInterfaceClass : 0xa CDC Data
bInterfaceSubClass : 0x0
bInterfaceProtocol : 0x0
iInterface : 0x6 RNDIS Ethernet Data
ENDPOINT 0x81: Bulk IN ===============================
bLength : 0x7 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x81 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x1: Bulk OUT ===============================
bLength : 0x7 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x1 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
INTERFACE 2: CDC Communication =========================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x4 Interface
bInterfaceNumber : 0x2
bAlternateSetting : 0x0
bNumEndpoints : 0x1
bInterfaceClass : 0x2 CDC Communication
bInterfaceSubClass : 0x2
bInterfaceProtocol : 0x1
iInterface : 0x9 CDC Abstract Control Model (ACM)
ENDPOINT 0x84: Interrupt IN ==========================
bLength : 0x7 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x84 IN
bmAttributes : 0x3 Interrupt
wMaxPacketSize : 0xa (10 bytes)
bInterval : 0x9
INTERFACE 3: CDC Data ==================================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x4 Interface
bInterfaceNumber : 0x3
bAlternateSetting : 0x0
bNumEndpoints : 0x2
bInterfaceClass : 0xa CDC Data
bInterfaceSubClass : 0x0
bInterfaceProtocol : 0x0
iInterface : 0xa CDC ACM Data
ENDPOINT 0x83: Bulk IN ===============================
bLength : 0x7 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x83 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x2: Bulk OUT ===============================
bLength : 0x7 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x2 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
INTERFACE 4: Vendor Specific ===========================
bLength : 0x9 (9 bytes)
bDescriptorType : 0x4 Interface
bInterfaceNumber : 0x4
bAlternateSetting : 0x0
bNumEndpoints : 0x2
bInterfaceClass : 0xff Vendor Specific
bInterfaceSubClass : 0x10
bInterfaceProtocol : 0x1
iInterface : 0x0
ENDPOINT 0x85: Bulk IN ===============================
bLength : 0x7 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x85 IN
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
ENDPOINT 0x3: Bulk OUT ===============================
bLength : 0x7 (7 bytes)
bDescriptorType : 0x5 Endpoint
bEndpointAddress : 0x3 OUT
bmAttributes : 0x2 Bulk
wMaxPacketSize : 0x200 (512 bytes)
bInterval : 0x0
2021-02-09 12:02:55,100 scat.samsungparser (stop_diag) INFO: Stopping diag
2021-02-09 12:02:55,101 scat.samsungparser (init_diag) INFO: Initialize diag
2021-02-09 12:02:55,102 scat.samsungparser (run_diag) INFO: Starting diag
^C2021-02-09 12:04:57,170 scat.samsungparser (stop_diag) INFO: Stopping diag
It seems it is properly detecting some interfaces, but no UP/CP data is sent to localhost. I don't think this can be changed by a configuration option, but don't know the modem internals.
See #27 there isn't much you can do if samsung has "blocked" diag in your firmware
Someone solved enabling "AT 3GPP commands" in developer options, but your mileage may vary
Thanks for your response. Enabling the 3GPP AT commands doesn't seem to help, so i think i'm out of luck with a locked-down modem firmware.
Did you try changing the last parameter from python3 scat.py -t sec -m e333 -u -a 003:002 -i 4
for me -i sometimes works with 1 instead of 4, even though I use a Qualcomm phone, don't know if for Exynos would be the same.
Same issue. Is it just a Samsung thing?