Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samsung Galaxy A5 (2016) #269

Closed
mskiptr opened this issue Aug 21, 2023 · 0 comments
Closed

Samsung Galaxy A5 (2016) #269

mskiptr opened this issue Aug 21, 2023 · 0 comments

Comments

@mskiptr
Copy link
Contributor

mskiptr commented Aug 21, 2023

I'll send patches after #266 lands. For now, here are all the IDs I could find. I don't have this phone at hand anymore, but I should be able to test things out in a few weeks. If there's anything I had missed do tell me about it.

One thing to note is, since this is a Samsung device, it uses Odin instead of fastboot.

Hardware info

Codename: samsung-a5xelte
Model #: SM-A510F
16113
GH90-42117T
Name: Galaxy A5 (2016)

(The model number is accompanied by these two other things on a sticker in the box. I'm including these for search engine accessibility I guess.)

Software info

Android version: 7.0
Version number: NRD90M.A510FXXS8CTI7

Summary

Here are the non-Android USB modes:

Odin sideload off
04e8:685d 04e8:6860 04e8:6860

These are available from the notification that appears after connecting the phone to a PC:

Debugging? MTP PTP MIDI Charging
off 04e8:6860 04e8:6865 04e8:686c 04e8:6860
on 04e8:6860 04e8:6866 04e8:686c 04e8:6860

And these are what's available in Settings > Developer options > USB configuration:

Debugging? MTP PTP MIDI Charging RNDIS Audio Source
off 04e8:6860 04e8:6865 04e8:686c ----------- 04e8:6863 18d1:2d02
on 04e8:6860 04e8:6866 04e8:686c 04e8:6860 04e8:6864 18d1:2d03

Even though 04e8:6860 appears a lot, these cases can be (fully?) differentiated based on other factors, such as the length of the serial number or that ACM stuff (see the kernel logs with debugging on).

(And here is something interesting: https://youtu.be/I5MtbF4KsDw?t=150. Tho I found about it too late and can't check it out right now.)

Data gathering

All tested with a USB 2.0 A-to-µB cable.
Nothing below is too important. I include it so that it's easy to tell if I made mistakes anywhere and in case additional details are needed.

Phone off:

Bus 001 Device 007: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Aug 20 03:17:29 andrad kernel: usb 1-1: new high-speed USB device number 7 using xhci_hcd
Aug 20 03:17:29 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00
Aug 20 03:17:29 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 03:17:29 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 03:17:29 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 03:17:29 andrad kernel: usb 1-1: SerialNumber: [-serialno-]

Neither fastboot devices, adb devices nor heimdall detect gave any output.

Just after powering on:

Bus 001 Device 008: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Aug 20 03:19:18 andrad kernel: usb 1-1: new high-speed USB device number 8 using xhci_hcd
Aug 20 03:19:18 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00
Aug 20 03:19:18 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 03:19:18 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 03:19:18 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 03:19:18 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

The phone re-connects after unlocking it (maybe the cable is wonky?).
Second try of everything: I was careful not to disturb the cable, yet it reconnected after just waiting a little longer. After unlocking it didn't re-connect, but there was this message about the PC not being able to access data on the device and about installing some Mac OS X software.

After clicking the notification I can select the following options:

  • Prześlij pliki multim.
  • Prześlij obrazy
  • Podłącz urządzenie MIDI
  • Naładuj ten telefon

(Here's this menu in English: https://deviceguides.vodafone.co.uk/samsung/galaxy-j5-2016-android-6-0/connectivity/transfer-files-between-computer-and-phone/. It's on a J5 and not A5 because the only examples of it that I could find were from an earlier Android version which only had MTP and PTP available.)

After selecting "Prześlij obrazy" (was: "Prześlij pliki multim."):

Bus 001 Device 010: ID 04e8:6865 Samsung Electronics Co., Ltd Galaxy (PTP mode)
Aug 20 03:21:58 andrad kernel: usb 1-1: new high-speed USB device number 10 using xhci_hcd
Aug 20 03:21:58 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6865, bcdDevice=ff.ff
Aug 20 03:21:58 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 03:21:58 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 03:21:58 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 03:21:58 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

After selecting "Podłącz urządzenie MIDI":

Bus 001 Device 011: ID 04e8:686c Samsung Electronics Co., Ltd SAMSUNG_Android
Aug 20 03:23:25 andrad kernel: usb 1-1: new high-speed USB device number 11 using xhci_hcd
Aug 20 03:23:25 andrad kernel: usb 1-1: config 1 interface 1 altsetting 0 bulk endpoint 0x2 has invalid maxpacket 256
Aug 20 03:23:25 andrad kernel: usb 1-1: config 1 interface 1 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 256
Aug 20 03:23:25 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=686c, bcdDevice=ff.ff
Aug 20 03:23:25 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 03:23:25 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 03:23:25 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 03:23:25 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]
Aug 20 03:23:25 andrad kernel: usbcore: registered new interface driver snd-usb-audio

After selecting "Naładuj ten telefon":

Bus 001 Device 012: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Aug 20 03:24:27 andrad kernel: usb 1-1: new high-speed USB device number 12 using xhci_hcd
Aug 20 03:24:27 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00
Aug 20 03:24:27 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 03:24:27 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 03:24:27 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 03:24:27 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

After enabling usb debugging:

Bus 001 Device 022: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Aug 20 03:47:01 andrad kernel: usb 1-1: new high-speed USB device number 22 using xhci_hcd
Aug 20 03:47:01 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00
Aug 20 03:47:01 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 03:47:01 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 03:47:01 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 03:47:01 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]
Aug 20 03:47:01 andrad kernel: cdc_acm 1-1:1.1: ttyACM0: USB ACM device
Aug 20 03:47:01 andrad kernel: usbcore: registered new interface driver cdc_acm
Aug 20 03:47:01 andrad kernel: cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

After selecting "Prześlij pliki multim.":

Bus 001 Device 025: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Aug 20 03:51:51 andrad kernel: usb 1-1: new high-speed USB device number 25 using xhci_hcd
Aug 20 03:51:52 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00
Aug 20 03:51:52 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 03:51:52 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 03:51:52 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 03:51:52 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]
Aug 20 03:51:52 andrad kernel: cdc_acm 1-1:1.1: ttyACM0: USB ACM device

adb shell works

After selecting "Prześlij obrazy":

Bus 001 Device 026: ID 04e8:6866 Samsung Electronics Co., Ltd Galaxy (debugging mode)
Aug 20 03:53:25 andrad kernel: usb 1-1: new high-speed USB device number 26 using xhci_hcd
Aug 20 03:53:25 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6866, bcdDevice=ff.ff
Aug 20 03:53:25 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 03:53:25 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 03:53:25 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 03:53:25 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

adb shell works

After selecting "Podłącz urządzenie MIDI":

Bus 001 Device 027: ID 04e8:686c Samsung Electronics Co., Ltd SAMSUNG_Android
Aug 20 03:54:36 andrad kernel: usb 1-1: new high-speed USB device number 27 using xhci_hcd
Aug 20 03:54:36 andrad kernel: usb 1-1: config 1 interface 1 altsetting 0 bulk endpoint 0x2 has invalid maxpacket 256
Aug 20 03:54:36 andrad kernel: usb 1-1: config 1 interface 1 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 256
Aug 20 03:54:36 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=686c, bcdDevice=ff.ff
Aug 20 03:54:36 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 03:54:36 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 03:54:36 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 03:54:36 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

adb shell works

After selecting "Naładuj ten telefon":

Bus 001 Device 028: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Aug 20 03:55:55 andrad kernel: usb 1-1: new high-speed USB device number 28 using xhci_hcd
Aug 20 03:55:56 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00
Aug 20 03:55:56 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 03:55:56 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 03:55:56 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 03:55:56 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]
Aug 20 03:55:56 andrad kernel: cdc_acm 1-1:1.1: ttyACM0: USB ACM device

adb shell works

adb works consistently when it's enabled in the settings (and doesn't when it's disabled).
After rebooting debugging stays as it was.
Toggling debugging state in the settings doesn't mess with the usb connection mode. The phone simply reconnects in the same mode it was in, just with debugging state changed.

Overall debugging on/off is the only piece of persistent state I can see.
USB connection being in MTP/PTP/MIDI/Charging mode is an ephemeral state. It is maintained until either the phone is rebooted or the usb cable is physically reconnected (the default is MTP after either of the two occurs).

After adb reboot recovery (or [power]+[home]+[vol-up] with the phone turned off or charging) I got a loading screen "Installing system update…". After a while it arrived at the "No command" screen. After [power]+[vol-up] I got the recovery menu (re-plugging the phone seemed to have done the trick at first, but I couldn't get it to work again):

  • Reboot system now
  • Reboot to bootloader
  • Apply update from ADB [this causes the phone to connect over USB]
  • Apply update from SD card [no USB activity; I didn't have an SD card inserted so it failed anyway]
  • Wipe data/factory reset [not gonna rn]
  • Wipe cache partition
  • Mount /system [no effect on USB]
  • View recovery logs
  • Run graphics test
  • Power off

Plugging the phone in or turning it off while it's plugged in, after it was in recovery sometimes boots the phone into recovery again.

After selecting "Apply update from ADB":

Bus 001 Device 057: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Aug 20 04:46:40 andrad kernel: usb 1-1: new high-speed USB device number 57 using xhci_hcd
Aug 20 04:46:40 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice=ff.ff
Aug 20 04:46:40 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 04:46:40 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 04:46:40 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 04:46:40 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

adb shell gives error: closed

After selecting "Reboot to bootloader" or issuing adb reboot bootloader the phone just reboots into Android.

After holding [power]+[home]+[vol-down] when the phone is off displays a warning about installing custom OSes.
[vol-down] cancels this and reboots the phone.
[vol-up], but also [home] or [power] start the download mode (Odin).

Bus 001 Device 088: ID 04e8:685d Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II] (Download mode)
Aug 20 06:14:24 andrad kernel: usb 1-1: new high-speed USB device number 88 using xhci_hcd
Aug 20 06:14:24 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=685d, bcdDevice= 2.1b
Aug 20 06:14:24 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 20 06:14:24 andrad kernel: usb 1-1: Product: Gadget Serial
Aug 20 06:14:24 andrad kernel: usb 1-1: Manufacturer: SAMSUNG

heimdall detect prints Device detected.
adb devices doesn't list anything and neither does fastboot.

Later, I've noticed 'Developer options' contain a separate USB mode switcher. It offers more entries than the notification that appears when you plug the phone in and it turns out they behave (to some extent) differently!

Here they are:

  • Naładuj ten telefon
  • MTP (Media Transfer Protocol)
  • PTP (Picture Transfer Protocol)
  • RNDIS (USB Ethernet)
  • Źródło dżwięku
  • MIDI

(the ones in Polish translate to "Charge this phone" and "Sound source" respectively)
Also, here's the same thing in English: https://youtu.be/joPcGu86UUU?t=60

When I plugged the phone in, MTP had already been selected:

Bus 001 Device 014: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Aug 20 20:18:32 andrad kernel: usb 1-1: new high-speed USB device number 14 using xhci_hcd
Aug 20 20:18:32 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00
Aug 20 20:18:32 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:18:32 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 20:18:32 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 20:18:32 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

After selecting "Naładuj ten telefon", it has simply disconnected and shown no further USB activity.

After selecting "PTP (Picture Transfer Protocol)":

Bus 001 Device 015: ID 04e8:6865 Samsung Electronics Co., Ltd Galaxy (PTP mode)
Aug 20 20:20:10 andrad kernel: usb 1-1: new high-speed USB device number 15 using xhci_hcd
Aug 20 20:20:11 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6865, bcdDevice=ff.ff
Aug 20 20:20:11 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:20:11 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 20:20:11 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 20:20:11 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

After selecting "RNDIS (USB Ethernet)":

Bus 001 Device 016: ID 04e8:6863 Samsung Electronics Co., Ltd Galaxy series, misc. (tethering mode)
Aug 20 20:20:38 andrad kernel: usb 1-1: new high-speed USB device number 16 using xhci_hcd
Aug 20 20:20:38 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6863, bcdDevice=ff.ff
Aug 20 20:20:38 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:20:38 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 20:20:38 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 20:20:38 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]
Aug 20 20:20:39 andrad kernel: usbcore: registered new interface driver cdc_ether
Aug 20 20:20:39 andrad kernel: rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-1, RNDIS device, [m:ac:ad:dr:es:s]
Aug 20 20:20:39 andrad kernel: usbcore: registered new interface driver rndis_host
Aug 20 20:20:39 andrad kernel: rndis_host 1-1:1.0 enp0s20f0u1: renamed from usb0

After selecting "Źródło dżwięku":

Bus 001 Device 017: ID 18d1:2d02 Google Inc. Android Open Accessory device (audio)
Aug 20 20:20:57 andrad kernel: usb 1-1: new high-speed USB device number 17 using xhci_hcd
Aug 20 20:20:57 andrad kernel: usb 1-1: New USB device found, idVendor=18d1, idProduct=2d02, bcdDevice=ff.ff
Aug 20 20:20:57 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:20:57 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 20:20:57 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 20:20:57 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

After selecting "MIDI":

Bus 001 Device 018: ID 04e8:686c Samsung Electronics Co., Ltd SAMSUNG_Android
Aug 20 20:21:15 andrad kernel: usb 1-1: new high-speed USB device number 18 using xhci_hcd
Aug 20 20:21:16 andrad kernel: usb 1-1: config 1 interface 1 altsetting 0 bulk endpoint 0x2 has invalid maxpacket 256
Aug 20 20:21:16 andrad kernel: usb 1-1: config 1 interface 1 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 256
Aug 20 20:21:16 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=686c, bcdDevice=ff.ff
Aug 20 20:21:16 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:21:16 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 20:21:16 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 20:21:16 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

and after switching debugging on, the phone stayed in MIDI mode:

Aug 20 20:21:52 andrad kernel: usb 1-1: new high-speed USB device number 19 using xhci_hcd
Aug 20 20:21:52 andrad kernel: usb 1-1: config 1 interface 1 altsetting 0 bulk endpoint 0x2 has invalid maxpacket 256
Aug 20 20:21:52 andrad kernel: usb 1-1: config 1 interface 1 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 256
Aug 20 20:21:52 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=686c, bcdDevice=ff.ff
Aug 20 20:21:52 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:21:52 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 20:21:52 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 20:21:52 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

This time after selecting "Naładuj ten telefon":

Bus 001 Device 020: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Aug 20 20:22:40 andrad kernel: usb 1-1: new high-speed USB device number 20 using xhci_hcd
Aug 20 20:22:40 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice=ff.ff
Aug 20 20:22:40 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:22:40 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 20:22:40 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 20:22:40 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

After selecting "MTP (Media Transfer Protocol)":

Bus 001 Device 021: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Aug 20 20:22:57 andrad kernel: usb 1-1: new high-speed USB device number 21 using xhci_hcd
Aug 20 20:22:58 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00
Aug 20 20:22:58 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:22:58 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 20:22:58 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 20:22:58 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]
Aug 20 20:22:58 andrad kernel: cdc_acm 1-1:1.1: ttyACM0: USB ACM device

After selecting "PTP (Picture Transfer Protocol)":

Bus 001 Device 022: ID 04e8:6866 Samsung Electronics Co., Ltd Galaxy (debugging mode)
Aug 20 20:23:21 andrad kernel: usb 1-1: new high-speed USB device number 22 using xhci_hcd
Aug 20 20:23:21 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6866, bcdDevice=ff.ff
Aug 20 20:23:21 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:23:21 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 20:23:21 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 20:23:21 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

After selecting "RNDIS (USB Ethernet)":

Bus 001 Device 023: ID 04e8:6864 Samsung Electronics Co., Ltd GT-I9070 (network tethering, USB debugging enabled)
Aug 20 20:23:43 andrad kernel: usb 1-1: new high-speed USB device number 23 using xhci_hcd
Aug 20 20:23:43 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=6864, bcdDevice=ff.ff
Aug 20 20:23:43 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:23:43 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 20:23:43 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 20:23:43 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]
Aug 20 20:23:43 andrad kernel: rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-0000:00:14.0-1, RNDIS device, [m:ac:ad:dr:es:s]
Aug 20 20:23:43 andrad kernel: rndis_host 1-1:1.0 enp0s20f0u1: renamed from usb0

After selecting "Źródło dżwięku":

Bus 001 Device 024: ID 18d1:2d03 Google Inc. Android Open Accessory device (audio + ADB)
Aug 20 20:24:00 andrad kernel: usb 1-1: new high-speed USB device number 24 using xhci_hcd
Aug 20 20:24:00 andrad kernel: usb 1-1: New USB device found, idVendor=18d1, idProduct=2d03, bcdDevice=ff.ff
Aug 20 20:24:00 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:24:00 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 20:24:00 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 20:24:00 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]

After selecting "MIDI":

Bus 001 Device 025: ID 04e8:686c Samsung Electronics Co., Ltd SAMSUNG_Android
Aug 20 20:24:22 andrad kernel: usb 1-1: new high-speed USB device number 25 using xhci_hcd
Aug 20 20:24:22 andrad kernel: usb 1-1: config 1 interface 1 altsetting 0 bulk endpoint 0x2 has invalid maxpacket 256
Aug 20 20:24:22 andrad kernel: usb 1-1: config 1 interface 1 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 256
Aug 20 20:24:22 andrad kernel: usb 1-1: New USB device found, idVendor=04e8, idProduct=686c, bcdDevice=ff.ff
Aug 20 20:24:22 andrad kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 20 20:24:22 andrad kernel: usb 1-1: Product: SAMSUNG_Android
Aug 20 20:24:22 andrad kernel: usb 1-1: Manufacturer: SAMSUNG
Aug 20 20:24:22 andrad kernel: usb 1-1: SerialNumber: [-serialnumber-]
mskiptr added a commit to mskiptr/android-udev-rules that referenced this issue Aug 23, 2023
No other device was harmed in the making of this commit.

Closes: M0Rf30#269
mskiptr added a commit to mskiptr/android-udev-rules that referenced this issue Aug 23, 2023
No other device was harmed in the making of this commit.

Closes: M0Rf30#269
mskiptr added a commit to mskiptr/android-udev-rules that referenced this issue Aug 23, 2023
No other device was harmed in the making of this commit.

Closes: M0Rf30#269
JoesCat pushed a commit to JoesCat/android-udev-rules that referenced this issue Aug 29, 2023
Details as seen in issue M0Rf30#269 - Samsung Galaxy A5 (2016)
JoesCat added a commit to JoesCat/libmtp that referenced this issue Sep 29, 2023
Thanks to Piotr Masłowski (mskiptr) for a detailed capture of all
these different modes listed here for the A5 seen in issue 269:
M0Rf30/android-udev-rules#269

I also can confirm a subset of the PIDs above for the Core:
M0Rf30/android-udev-rules#276
JoesCat pushed a commit to JoesCat/android-udev-rules that referenced this issue Sep 29, 2023
Thanks to Piotr Masłowski (mskiptr) for the detailed work done here.
See issue M0Rf30#269
M0Rf30 pushed a commit that referenced this issue Sep 29, 2023
Thanks to Piotr Masłowski (mskiptr) for the detailed work done here.
See issue #269

Co-authored-by: Piotr Masłowski <piotr@maslowski.xyz>
@M0Rf30 M0Rf30 closed this as completed Sep 29, 2023
M0Rf30 pushed a commit that referenced this issue Sep 29, 2023
Details as seen in issue #269 - Samsung Galaxy A5 (2016)

Co-authored-by: Piotr Masłowski <piotr@maslowski.xyz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants