Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Issues to explore mobile filesystem

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
cronomorfo
Posts: 13
Joined: 2019-02-21 18:53

Issues to explore mobile filesystem

#1 Post by cronomorfo »

Hello,

I'm trying to explore the contents of my Huawei mobile phone and while Debian recognizes some sort of partition dedicated to install a Windows app associated with that given model, the OS fails to mount the filesystem.

I'm running Debian Buster, and my mobile phone is a Huawei Mate 9 lite.

After plugging the phone through a USB cable, and answering the prompt raised by the phone that allows exploring data through USB to a computer, Debian raises an error that, in English, should roughly be translated as "Failed to mount the filesystem: the device doesn't respond".

Please bear with me, I'm not very adept at looking under the hood in Linux systems, I've been more of a Windows person for years until... yesteryear?

Using lsusb, I can see that the computer recognizes the device:

Code: Select all

USER@SYSTEM:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 024: ID 13d3:3487 IMC Networks 
Bus 001 Device 003: ID 0bda:57ed Realtek Semiconductor Corp. 
Bus 001 Device 018: ID 0c45:7692 Microdia 
Bus 001 Device 017: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 015: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 036: ID 12d1:107e Huawei Technologies Co., Ltd. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The info obtained through lsblk, however, shows that OS doesn't list it as a block device (which I understand would allow me to mount it manually)... but it lists something in the Huawei devide as "rom", which is the Windows app included.

Code: Select all

USER@SYSTEM:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931,5G  0 disk 
├─sda1   8:1    0   260M  0 part /boot/efi
├─sda2   8:2    0    16M  0 part 
├─sda3   8:3    0 922,9G  0 part /
├─sda4   8:4    0   499M  0 part 
└─sda5   8:5    0   7,9G  0 part [SWAP]
sr0     11:0    1   5,7M  0 rom  /media/USER/My CDROM
Here are the dmesg log related to the Huawei device. I thought that you might be interested in seeing it, but I don't have enough experience on the system to see if anything here is indicative of the issue.

Code: Select all

[114732.550057] usb 1-2: new high-speed USB device number 38 using xhci_hcd
[114732.698732] usb 1-2: New USB device found, idVendor=12d1, idProduct=107e, bcdDevice= 2.99
[114732.698735] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[114732.698736] usb 1-2: Product: BLL-L23
[114732.698747] usb 1-2: Manufacturer: HUAWEI
[114732.698749] usb 1-2: SerialNumber: 9DLDU17828005658
[114732.702069] usb-storage 1-2:1.1: USB Mass Storage device detected
[114732.702229] scsi host1: usb-storage 1-2:1.1
[114733.734438] scsi 1:0:0:0: CD-ROM            Linux    File-CD Gadget   0401 PQ: 0 ANSI: 2
[114733.734765] sr 1:0:0:0: Power-on or device reset occurred
[114733.735089] sr 1:0:0:0: [sr0] scsi-1 drive
[114733.735266] sr 1:0:0:0: Attached scsi CD-ROM sr0
[114733.735358] sr 1:0:0:0: Attached scsi generic sg1 type 5
[114742.858341] usb 1-2: reset high-speed USB device number 38 using xhci_hcd
[114743.134254] usb 1-2: reset high-speed USB device number 38 using xhci_hcd
[114743.482309] usb 1-2: reset high-speed USB device number 38 using xhci_hcd
[114744.006447] sr 1:0:0:0: Power-on or device reset occurred
[115014.158316] usb 1-2: reset high-speed USB device number 38 using xhci_hcd
[115014.312909] sr 1:0:0:0: Power-on or device reset occurred
Can anybody give me a hand? I'd appreciate it. I'd even appreciate at least having a sentence or something that helps me define the issue so I can Google my way in.
Last edited by cronomorfo on 2022-11-28 15:27, edited 1 time in total.
Cronomorfo.
ESL and new Linux user, finding my bearings here. Please be patient.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Issues to explore mobile filesystem

#2 Post by L_V »

1 - You first need to be sure usb data transfer is active on your mobile (a menu somewhere in android / I use lineageOS)
2 - the protocol used to access the mobile memory should be mtp (multimedia protocol).
3 - check that you have some mtp protocol libs installed

Code: Select all

apt list --installed '*mtp*'
libmtp9 for example.

cronomorfo
Posts: 13
Joined: 2019-02-21 18:53

Re: Issues to explore mobile filesystem

#3 Post by cronomorfo »

Hi!

1.- I'm aware of this sort of issues. My phone model prompts me to confirm whether USB data transfer is to be enabled each time I plug it to a computer. And I can do it correctly on other computers, so this doesn't seem to be the issue.
2.- Confirmed. I've been trying through MTP.
3.- It seems that this is not the issue either:

Code: Select all

USER@SYSTEM:~$ apt list --installed '*mtp*'
Listando... Hecho
libkpimsmtp5abi1/stable,now 18.08.3-1 amd64 [instalado, automático]
libmtp-common/stable,now 1.1.16-2 all [instalado, automático]
libmtp-runtime/stable,now 1.1.16-2 amd64 [instalado, automático]
libmtp9/stable,now 1.1.16-2 amd64 [instalado, automático]
libnet-smtp-ssl-perl/stable,now 1.04-1 all [instalado, automático]
Last edited by cronomorfo on 2022-11-28 15:26, edited 1 time in total.
Cronomorfo.
ESL and new Linux user, finding my bearings here. Please be patient.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Issues to explore mobile filesystem

#4 Post by L_V »

launch this

Code: Select all

udevadm monitor --environment --udev
and see what happen when you connect your phone

cronomorfo
Posts: 13
Joined: 2019-02-21 18:53

Re: Issues to explore mobile filesystem

#5 Post by cronomorfo »

This is the data generated after plugging in the phone but before providing access to device data (as per mobile UI prompt).

Code: Select all

UDEV  [213429.240095] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/001/043
DEVTYPE=usb_device
PRODUCT=12d1/107e/299
TYPE=0/0/0
BUSNUM=001
DEVNUM=043
SEQNUM=4459
USEC_INITIALIZED=213429226142
ID_VENDOR=HUAWEI
ID_VENDOR_ENC=HUAWEI
ID_VENDOR_ID=12d1
ID_MODEL=BLL-L23
ID_MODEL_ENC=BLL-L23
ID_MODEL_ID=107e
ID_REVISION=0299
ID_SERIAL=HUAWEI_BLL-L23_9DLDU17828005658
ID_SERIAL_SHORT=9DLDU17828005658
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
DRIVER=usb
ID_MTP_DEVICE=1
ID_PATH=pci-0000:00:14.0-usb-0:2
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2
ID_FOR_SEAT=usb-pci-0000_00_14_0-usb-0_2
COLORD_DEVICE=1
COLORD_KIND=camera
MAJOR=189
MINOR=42
DEVLINKS=/dev/libmtp-1-2
TAGS=:uaccess:seat:

UDEV  [213429.244300] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=12d1/107e/299
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v12D1p107Ed0299dc00dsc00dp00ic08isc06ip50in01
SEQNUM=4461
USEC_INITIALIZED=213429243780
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
DRIVER=usb-storage
COLORD_DEVICE=1
COLORD_KIND=camera

UDEV  [213429.244848] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=12d1/107e/299
TYPE=0/0/0
INTERFACE=255/255/0
MODALIAS=usb:v12D1p107Ed0299dc00dsc00dp00icFFiscFFip00in00
SEQNUM=4460
USEC_INITIALIZED=213429244448
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
COLORD_DEVICE=1
COLORD_KIND=camera

UDEV  [213429.248926] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1
SUBSYSTEM=scsi
DEVTYPE=scsi_host
SEQNUM=4462
USEC_INITIALIZED=213429248826

UDEV  [213429.250507] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/scsi_host/host1 (scsi_host)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/scsi_host/host1
SUBSYSTEM=scsi_host
SEQNUM=4463
USEC_INITIALIZED=213429250440

UDEV  [213429.252200] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1
SUBSYSTEM=usb
DEVTYPE=usb_interface
DRIVER=usb-storage
PRODUCT=12d1/107e/299
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v12D1p107Ed0299dc00dsc00dp00ic08isc06ip50in01
SEQNUM=4464
USEC_INITIALIZED=213429243780
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
COLORD_DEVICE=1
COLORD_KIND=camera

UDEV  [213429.255323] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-2 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/001/043
DEVTYPE=usb_device
DRIVER=usb
PRODUCT=12d1/107e/299
TYPE=0/0/0
BUSNUM=001
DEVNUM=043
SEQNUM=4465
USEC_INITIALIZED=213429226142
ID_VENDOR=HUAWEI
ID_VENDOR_ENC=HUAWEI
ID_VENDOR_ID=12d1
ID_MODEL=BLL-L23
ID_MODEL_ENC=BLL-L23
ID_MODEL_ID=107e
ID_REVISION=0299
ID_SERIAL=HUAWEI_BLL-L23_9DLDU17828005658
ID_SERIAL_SHORT=9DLDU17828005658
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
ID_MTP_DEVICE=1
ID_PATH=pci-0000:00:14.0-usb-0:2
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2
ID_FOR_SEAT=usb-pci-0000_00_14_0-usb-0_2
COLORD_DEVICE=1
COLORD_KIND=camera
MAJOR=189
MINOR=42
DEVLINKS=/dev/libmtp-1-2
TAGS=:uaccess:seat:

UDEV  [213430.230671] add      /devices/virtual/bdi/11:0 (bdi)
ACTION=add
DEVPATH=/devices/virtual/bdi/11:0
SUBSYSTEM=bdi
SEQNUM=4469
USEC_INITIALIZED=213430230615

UDEV  [213430.231009] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_target
SEQNUM=4466
USEC_INITIALIZED=213430230963

UDEV  [213430.232447] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_device
MODALIAS=scsi:t-0x05
SEQNUM=4467
USEC_INITIALIZED=213430232318
DRIVER=sr

UDEV  [213430.233860] change   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0 (scsi)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0
SUBSYSTEM=scsi
SDEV_UA=POWER_ON_RESET_OCCURRED
DEVTYPE=scsi_device
DRIVER=sr
MODALIAS=scsi:t-0x05
SEQNUM=4468
USEC_INITIALIZED=213430233798

UDEV  [213430.356304] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0 (block)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0
SUBSYSTEM=block
DEVNAME=/dev/sr0
DEVTYPE=disk
SEQNUM=4470
USEC_INITIALIZED=213430355914
ID_CDROM=1
SYSTEMD_MOUNT_DEVICE_BOUND=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
ID_VENDOR=Linux
ID_VENDOR_ENC=Linux\x20\x20\x20
ID_VENDOR_ID=12d1
ID_MODEL=File-CD_Gadget
ID_MODEL_ENC=File-CD\x20Gadget\x20\x20
ID_MODEL_ID=107e
ID_REVISION=0401
ID_SERIAL=Linux_File-CD_Gadget_9DLDU17828005658-0:0
ID_SERIAL_SHORT=9DLDU17828005658
ID_TYPE=cd
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_USB_INTERFACE_NUM=01
ID_USB_DRIVER=usb-storage
ID_PATH=pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
ID_FS_SYSTEM_ID=APPLE\x20COMPUTER\x2c\x20INC.\x2c\x20TYPE:\x200002
ID_FS_APPLICATION_ID=TOAST\x20ISO\x209660\x20BUILDER\x20COPYRIGHT\x20\x28C\x29\x201997-2005\x20SONIC\x20SOLUTIONS\x20-\x20HAVE\x20A\x20NICE\x20DAY
ID_FS_UUID=2017-01-14-16-54-41-00
ID_FS_UUID_ENC=2017-01-14-16-54-41-00
ID_FS_VERSION=Joliet Extension
ID_FS_LABEL=My_CDROM
ID_FS_LABEL_ENC=My\x20CDROM
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ID_PART_TABLE_TYPE=mac
ID_FOR_SEAT=block-pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
MAJOR=11
MINOR=0
DEVLINKS=/dev/cdrom /dev/disk/by-id/usb-Linux_File-CD_Gadget_9DLDU17828005658-0:0 /dev/disk/by-label/My\x20CDROM /dev/disk/by-path/pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0 /dev/disk/by-uuid/2017-01-14-16-54-41-00
TAGS=:uaccess:systemd:seat:

UDEV  [213430.358148] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0 (scsi)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_device
DRIVER=sr
MODALIAS=scsi:t-0x05
SEQNUM=4471
USEC_INITIALIZED=213430358077

UDEV  [213430.360221] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0 (scsi_device)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0
SUBSYSTEM=scsi_device
SEQNUM=4472
USEC_INITIALIZED=213430360162

UDEV  [213430.360880] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/scsi_generic/sg1 (scsi_generic)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/scsi_generic/sg1
SUBSYSTEM=scsi_generic
DEVNAME=/dev/sg1
SEQNUM=4473
USEC_INITIALIZED=213430360623
ID_PATH=pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
ID_FOR_SEAT=scsi_generic-pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
MAJOR=21
MINOR=1
TAGS=:uaccess:seat:

UDEV  [213430.370128] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/bsg/1:0:0:0 (bsg)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/bsg/1:0:0:0
SUBSYSTEM=bsg
DEVNAME=/dev/bsg/1:0:0:0
SEQNUM=4474
USEC_INITIALIZED=213430370016
MAJOR=247
MINOR=1

UDEV  [213430.391821] change   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0 (block)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0
SUBSYSTEM=block
DISK_MEDIA_CHANGE=1
DEVNAME=/dev/sr0
DEVTYPE=disk
SEQNUM=4475
USEC_INITIALIZED=213430355914
ID_CDROM=1
SYSTEMD_MOUNT_DEVICE_BOUND=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
ID_VENDOR=Linux
ID_VENDOR_ENC=Linux\x20\x20\x20
ID_VENDOR_ID=12d1
ID_MODEL=File-CD_Gadget
ID_MODEL_ENC=File-CD\x20Gadget\x20\x20
ID_MODEL_ID=107e
ID_REVISION=0401
ID_SERIAL=Linux_File-CD_Gadget_9DLDU17828005658-0:0
ID_SERIAL_SHORT=9DLDU17828005658
ID_TYPE=cd
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_USB_INTERFACE_NUM=01
ID_USB_DRIVER=usb-storage
ID_PATH=pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
ID_FS_SYSTEM_ID=APPLE\x20COMPUTER\x2c\x20INC.\x2c\x20TYPE:\x200002
ID_FS_APPLICATION_ID=TOAST\x20ISO\x209660\x20BUILDER\x20COPYRIGHT\x20\x28C\x29\x201997-2005\x20SONIC\x20SOLUTIONS\x20-\x20HAVE\x20A\x20NICE\x20DAY
ID_FS_UUID=2017-01-14-16-54-41-00
ID_FS_UUID_ENC=2017-01-14-16-54-41-00
ID_FS_VERSION=Joliet Extension
ID_FS_LABEL=My_CDROM
ID_FS_LABEL_ENC=My\x20CDROM
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ID_PART_TABLE_TYPE=mac
ID_FOR_SEAT=block-pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
MAJOR=11
MINOR=0
DEVLINKS=/dev/disk/by-uuid/2017-01-14-16-54-41-00 /dev/disk/by-id/usb-Linux_File-CD_Gadget_9DLDU17828005658-0:0 /dev/disk/by-label/My\x20CDROM /dev/cdrom /dev/disk/by-path/pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
TAGS=:uaccess:systemd:seat:

UDEV  [213430.412318] change   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0 (block)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0
SUBSYSTEM=block
SYNTH_UUID=0
DEVNAME=/dev/sr0
DEVTYPE=disk
SEQNUM=4476
USEC_INITIALIZED=213430355914
ID_CDROM=1
SYSTEMD_MOUNT_DEVICE_BOUND=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
ID_VENDOR=Linux
ID_VENDOR_ENC=Linux\x20\x20\x20
ID_VENDOR_ID=12d1
ID_MODEL=File-CD_Gadget
ID_MODEL_ENC=File-CD\x20Gadget\x20\x20
ID_MODEL_ID=107e
ID_REVISION=0401
ID_SERIAL=Linux_File-CD_Gadget_9DLDU17828005658-0:0
ID_SERIAL_SHORT=9DLDU17828005658
ID_TYPE=cd
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_USB_INTERFACE_NUM=01
ID_USB_DRIVER=usb-storage
ID_PATH=pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
ID_FS_SYSTEM_ID=APPLE\x20COMPUTER\x2c\x20INC.\x2c\x20TYPE:\x200002
ID_FS_APPLICATION_ID=TOAST\x20ISO\x209660\x20BUILDER\x20COPYRIGHT\x20\x28C\x29\x201997-2005\x20SONIC\x20SOLUTIONS\x20-\x20HAVE\x20A\x20NICE\x20DAY
ID_FS_UUID=2017-01-14-16-54-41-00
ID_FS_UUID_ENC=2017-01-14-16-54-41-00
ID_FS_VERSION=Joliet Extension
ID_FS_LABEL=My_CDROM
ID_FS_LABEL_ENC=My\x20CDROM
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ID_PART_TABLE_TYPE=mac
ID_FOR_SEAT=block-pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
MAJOR=11
MINOR=0
DEVLINKS=/dev/disk/by-id/usb-Linux_File-CD_Gadget_9DLDU17828005658-0:0 /dev/disk/by-uuid/2017-01-14-16-54-41-00 /dev/disk/by-path/pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0 /dev/cdrom /dev/disk/by-label/My\x20CDROM
TAGS=:uaccess:systemd:seat:
This is the data generated after providing access to the phone's data, but before trying to access such data.

Code: Select all

UDEV  [213734.305366] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0 (usb)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=12d1/107e/299
TYPE=0/0/0
INTERFACE=255/255/0
MODALIAS=usb:v12D1p107Ed0299dc00dsc00dp00icFFiscFFip00in00
SEQNUM=4609
USEC_INITIALIZED=213727979762
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
COLORD_DEVICE=1
COLORD_KIND=camera

UDEV  [213734.306521] remove   /devices/virtual/bdi/11:0 (bdi)
ACTION=remove
DEVPATH=/devices/virtual/bdi/11:0
SUBSYSTEM=bdi
SEQNUM=4613
USEC_INITIALIZED=213734304507

UDEV  [213734.306564] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/bsg/1:0:0:0 (bsg)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/bsg/1:0:0:0
SUBSYSTEM=bsg
DEVNAME=/dev/bsg/1:0:0:0
SEQNUM=4610
USEC_INITIALIZED=213734303537
MAJOR=247
MINOR=1

UDEV  [213734.307887] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/scsi_generic/sg1 (scsi_generic)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/scsi_generic/sg1
SUBSYSTEM=scsi_generic
DEVNAME=/dev/sg1
SEQNUM=4611
USEC_INITIALIZED=213729248543
ID_PATH=pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
ID_FOR_SEAT=scsi_generic-pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
MAJOR=21
MINOR=1
TAGS=:uaccess:seat:

UDEV  [213734.308235] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0 (scsi_device)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0
SUBSYSTEM=scsi_device
SEQNUM=4612
USEC_INITIALIZED=213734304189

UDEV  [213734.309677] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0 (block)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0
SUBSYSTEM=block
DEVNAME=/dev/sr0
DEVTYPE=disk
SEQNUM=4614
USEC_INITIALIZED=213729227848
ID_CDROM=1
SYSTEMD_MOUNT_DEVICE_BOUND=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
ID_VENDOR=Linux
ID_VENDOR_ENC=Linux\x20\x20\x20
ID_VENDOR_ID=12d1
ID_MODEL=File-CD_Gadget
ID_MODEL_ENC=File-CD\x20Gadget\x20\x20
ID_MODEL_ID=107e
ID_REVISION=0401
ID_SERIAL=Linux_File-CD_Gadget_9DLDU17828005658-0:0
ID_SERIAL_SHORT=9DLDU17828005658
ID_TYPE=cd
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_USB_INTERFACE_NUM=01
ID_USB_DRIVER=usb-storage
ID_PATH=pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
ID_FS_SYSTEM_ID=APPLE\x20COMPUTER\x2c\x20INC.\x2c\x20TYPE:\x200002
ID_FS_APPLICATION_ID=TOAST\x20ISO\x209660\x20BUILDER\x20COPYRIGHT\x20\x28C\x29\x201997-2005\x20SONIC\x20SOLUTIONS\x20-\x20HAVE\x20A\x20NICE\x20DAY
ID_FS_UUID=2017-01-14-16-54-41-00
ID_FS_UUID_ENC=2017-01-14-16-54-41-00
ID_FS_VERSION=Joliet Extension
ID_FS_LABEL=My_CDROM
ID_FS_LABEL_ENC=My\x20CDROM
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ID_PART_TABLE_TYPE=mac
ID_FOR_SEAT=block-pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
MAJOR=11
MINOR=0
DEVLINKS=/dev/disk/by-label/My\x20CDROM /dev/disk/by-uuid/2017-01-14-16-54-41-00 /dev/disk/by-path/pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0 /dev/disk/by-id/usb-Linux_File-CD_Gadget_9DLDU17828005658-0:0 /dev/cdrom
TAGS=:uaccess:seat:systemd:

UDEV  [213734.313301] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0 (scsi)
ACTION=unbind
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_device
SEQNUM=4615
USEC_INITIALIZED=213734313226

UDEV  [213734.314462] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0 (scsi)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_device
MODALIAS=scsi:t-0x05
SEQNUM=4616
USEC_INITIALIZED=213734305285

UDEV  [213734.338189] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0 (scsi)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_target
SEQNUM=4617
USEC_INITIALIZED=213734337326

UDEV  [213734.338290] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/scsi_host/host1 (scsi_host)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/scsi_host/host1
SUBSYSTEM=scsi_host
SEQNUM=4618
USEC_INITIALIZED=213734337442

UDEV  [213734.339241] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1 (scsi)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1
SUBSYSTEM=scsi
DEVTYPE=scsi_host
SEQNUM=4619
USEC_INITIALIZED=213734337490

UDEV  [213734.354189] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1 (usb)
ACTION=unbind
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=12d1/107e/299
TYPE=0/0/0
INTERFACE=8/6/80
SEQNUM=4620
USEC_INITIALIZED=213727988876

UDEV  [213734.355148] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1 (usb)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=12d1/107e/299
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v12D1p107Ed0299dc00dsc00dp00ic08isc06ip50in01
SEQNUM=4621
USEC_INITIALIZED=213734353438

UDEV  [213734.356805] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-2 (usb)
ACTION=unbind
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/001/047
DEVTYPE=usb_device
PRODUCT=12d1/107e/299
TYPE=0/0/0
BUSNUM=001
DEVNUM=047
SEQNUM=4622
USEC_INITIALIZED=213727961933
MAJOR=189
MINOR=46

UDEV  [213734.365481] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-2 (usb)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/001/047
DEVTYPE=usb_device
PRODUCT=12d1/107e/299
TYPE=0/0/0
BUSNUM=001
DEVNUM=047
SEQNUM=4623
USEC_INITIALIZED=213734353819
MAJOR=189
MINOR=46

UDEV  [213734.991903] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/001/048
DEVTYPE=usb_device
PRODUCT=12d1/107e/299
TYPE=0/0/0
BUSNUM=001
DEVNUM=048
SEQNUM=4624
USEC_INITIALIZED=213734978208
ID_VENDOR=HUAWEI
ID_VENDOR_ENC=HUAWEI
ID_VENDOR_ID=12d1
ID_MODEL=BLL-L23
ID_MODEL_ENC=BLL-L23
ID_MODEL_ID=107e
ID_REVISION=0299
ID_SERIAL=HUAWEI_BLL-L23_9DLDU17828005658
ID_SERIAL_SHORT=9DLDU17828005658
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
DRIVER=usb
ID_MTP_DEVICE=1
ID_PATH=pci-0000:00:14.0-usb-0:2
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2
ID_FOR_SEAT=usb-pci-0000_00_14_0-usb-0_2
COLORD_DEVICE=1
COLORD_KIND=camera
MAJOR=189
MINOR=47
DEVLINKS=/dev/libmtp-1-2
TAGS=:uaccess:seat:

UDEV  [213734.998940] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=12d1/107e/299
TYPE=0/0/0
INTERFACE=255/255/0
MODALIAS=usb:v12D1p107Ed0299dc00dsc00dp00icFFiscFFip00in00
SEQNUM=4625
USEC_INITIALIZED=213734998465
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
COLORD_DEVICE=1
COLORD_KIND=camera

UDEV  [213734.999071] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=12d1/107e/299
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v12D1p107Ed0299dc00dsc00dp00ic08isc06ip50in01
SEQNUM=4626
USEC_INITIALIZED=213734998555
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
DRIVER=usb-storage
COLORD_DEVICE=1
COLORD_KIND=camera

UDEV  [213735.000308] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1
SUBSYSTEM=scsi
DEVTYPE=scsi_host
SEQNUM=4627
USEC_INITIALIZED=213735000247

UDEV  [213735.001936] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/scsi_host/host1 (scsi_host)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/scsi_host/host1
SUBSYSTEM=scsi_host
SEQNUM=4628
USEC_INITIALIZED=213735001863

UDEV  [213735.003425] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1
SUBSYSTEM=usb
DEVTYPE=usb_interface
DRIVER=usb-storage
PRODUCT=12d1/107e/299
TYPE=0/0/0
INTERFACE=8/6/80
MODALIAS=usb:v12D1p107Ed0299dc00dsc00dp00ic08isc06ip50in01
SEQNUM=4629
USEC_INITIALIZED=213734998555
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
COLORD_DEVICE=1
COLORD_KIND=camera

UDEV  [213735.005730] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-2 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2
SUBSYSTEM=usb
DEVNAME=/dev/bus/usb/001/048
DEVTYPE=usb_device
DRIVER=usb
PRODUCT=12d1/107e/299
TYPE=0/0/0
BUSNUM=001
DEVNUM=048
SEQNUM=4630
USEC_INITIALIZED=213734978208
ID_VENDOR=HUAWEI
ID_VENDOR_ENC=HUAWEI
ID_VENDOR_ID=12d1
ID_MODEL=BLL-L23
ID_MODEL_ENC=BLL-L23
ID_MODEL_ID=107e
ID_REVISION=0299
ID_SERIAL=HUAWEI_BLL-L23_9DLDU17828005658
ID_SERIAL_SHORT=9DLDU17828005658
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
ID_MTP_DEVICE=1
ID_PATH=pci-0000:00:14.0-usb-0:2
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2
ID_FOR_SEAT=usb-pci-0000_00_14_0-usb-0_2
COLORD_DEVICE=1
COLORD_KIND=camera
MAJOR=189
MINOR=47
DEVLINKS=/dev/libmtp-1-2
TAGS=:uaccess:seat:

UDEV  [213735.991611] add      /devices/virtual/bdi/11:0 (bdi)
ACTION=add
DEVPATH=/devices/virtual/bdi/11:0
SUBSYSTEM=bdi
SEQNUM=4634
USEC_INITIALIZED=213735991556

UDEV  [213735.991967] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_target
SEQNUM=4631
USEC_INITIALIZED=213735991895

UDEV  [213735.993478] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_device
MODALIAS=scsi:t-0x05
SEQNUM=4632
USEC_INITIALIZED=213735993301
DRIVER=sr

UDEV  [213735.997016] change   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0 (scsi)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0
SUBSYSTEM=scsi
SDEV_UA=POWER_ON_RESET_OCCURRED
DEVTYPE=scsi_device
DRIVER=sr
MODALIAS=scsi:t-0x05
SEQNUM=4633
USEC_INITIALIZED=213735996930

UDEV  [213736.011269] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0 (block)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0
SUBSYSTEM=block
DEVNAME=/dev/sr0
DEVTYPE=disk
SEQNUM=4635
USEC_INITIALIZED=213736010897
ID_CDROM=1
SYSTEMD_MOUNT_DEVICE_BOUND=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
ID_VENDOR=Linux
ID_VENDOR_ENC=Linux\x20\x20\x20
ID_VENDOR_ID=12d1
ID_MODEL=File-CD_Gadget
ID_MODEL_ENC=File-CD\x20Gadget\x20\x20
ID_MODEL_ID=107e
ID_REVISION=0401
ID_SERIAL=Linux_File-CD_Gadget_9DLDU17828005658-0:0
ID_SERIAL_SHORT=9DLDU17828005658
ID_TYPE=cd
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_USB_INTERFACE_NUM=01
ID_USB_DRIVER=usb-storage
ID_PATH=pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
ID_FS_SYSTEM_ID=APPLE\x20COMPUTER\x2c\x20INC.\x2c\x20TYPE:\x200002
ID_FS_APPLICATION_ID=TOAST\x20ISO\x209660\x20BUILDER\x20COPYRIGHT\x20\x28C\x29\x201997-2005\x20SONIC\x20SOLUTIONS\x20-\x20HAVE\x20A\x20NICE\x20DAY
ID_FS_UUID=2017-01-14-16-54-41-00
ID_FS_UUID_ENC=2017-01-14-16-54-41-00
ID_FS_VERSION=Joliet Extension
ID_FS_LABEL=My_CDROM
ID_FS_LABEL_ENC=My\x20CDROM
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ID_PART_TABLE_TYPE=mac
ID_FOR_SEAT=block-pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
MAJOR=11
MINOR=0
DEVLINKS=/dev/disk/by-path/pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0 /dev/disk/by-label/My\x20CDROM /dev/disk/by-id/usb-Linux_File-CD_Gadget_9DLDU17828005658-0:0 /dev/disk/by-uuid/2017-01-14-16-54-41-00 /dev/cdrom
TAGS=:uaccess:seat:systemd:

UDEV  [213736.013330] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0 (scsi)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0
SUBSYSTEM=scsi
DEVTYPE=scsi_device
DRIVER=sr
MODALIAS=scsi:t-0x05
SEQNUM=4636
USEC_INITIALIZED=213736012837

UDEV  [213736.015903] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0 (scsi_device)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0
SUBSYSTEM=scsi_device
SEQNUM=4637
USEC_INITIALIZED=213736015461

UDEV  [213736.017722] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/scsi_generic/sg1 (scsi_generic)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/scsi_generic/sg1
SUBSYSTEM=scsi_generic
DEVNAME=/dev/sg1
SEQNUM=4638
USEC_INITIALIZED=213736016865
ID_PATH=pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
ID_FOR_SEAT=scsi_generic-pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
MAJOR=21
MINOR=1
TAGS=:uaccess:seat:

UDEV  [213736.017774] add      /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/bsg/1:0:0:0 (bsg)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/bsg/1:0:0:0
SUBSYSTEM=bsg
DEVNAME=/dev/bsg/1:0:0:0
SEQNUM=4639
USEC_INITIALIZED=213736017563
MAJOR=247
MINOR=1

UDEV  [213736.045092] change   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0 (block)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0
SUBSYSTEM=block
DISK_MEDIA_CHANGE=1
DEVNAME=/dev/sr0
DEVTYPE=disk
SEQNUM=4640
USEC_INITIALIZED=213736010897
ID_CDROM=1
SYSTEMD_MOUNT_DEVICE_BOUND=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
ID_VENDOR=Linux
ID_VENDOR_ENC=Linux\x20\x20\x20
ID_VENDOR_ID=12d1
ID_MODEL=File-CD_Gadget
ID_MODEL_ENC=File-CD\x20Gadget\x20\x20
ID_MODEL_ID=107e
ID_REVISION=0401
ID_SERIAL=Linux_File-CD_Gadget_9DLDU17828005658-0:0
ID_SERIAL_SHORT=9DLDU17828005658
ID_TYPE=cd
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_USB_INTERFACE_NUM=01
ID_USB_DRIVER=usb-storage
ID_PATH=pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
ID_FS_SYSTEM_ID=APPLE\x20COMPUTER\x2c\x20INC.\x2c\x20TYPE:\x200002
ID_FS_APPLICATION_ID=TOAST\x20ISO\x209660\x20BUILDER\x20COPYRIGHT\x20\x28C\x29\x201997-2005\x20SONIC\x20SOLUTIONS\x20-\x20HAVE\x20A\x20NICE\x20DAY
ID_FS_UUID=2017-01-14-16-54-41-00
ID_FS_UUID_ENC=2017-01-14-16-54-41-00
ID_FS_VERSION=Joliet Extension
ID_FS_LABEL=My_CDROM
ID_FS_LABEL_ENC=My\x20CDROM
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ID_PART_TABLE_TYPE=mac
ID_FOR_SEAT=block-pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
MAJOR=11
MINOR=0
DEVLINKS=/dev/disk/by-label/My\x20CDROM /dev/disk/by-id/usb-Linux_File-CD_Gadget_9DLDU17828005658-0:0 /dev/disk/by-uuid/2017-01-14-16-54-41-00 /dev/cdrom /dev/disk/by-path/pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
TAGS=:uaccess:seat:systemd:

UDEV  [213736.068913] change   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0 (block)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0
SUBSYSTEM=block
SYNTH_UUID=0
DEVNAME=/dev/sr0
DEVTYPE=disk
SEQNUM=4641
USEC_INITIALIZED=213736010897
ID_CDROM=1
SYSTEMD_MOUNT_DEVICE_BOUND=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
ID_VENDOR=Linux
ID_VENDOR_ENC=Linux\x20\x20\x20
ID_VENDOR_ID=12d1
ID_MODEL=File-CD_Gadget
ID_MODEL_ENC=File-CD\x20Gadget\x20\x20
ID_MODEL_ID=107e
ID_REVISION=0401
ID_SERIAL=Linux_File-CD_Gadget_9DLDU17828005658-0:0
ID_SERIAL_SHORT=9DLDU17828005658
ID_TYPE=cd
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_USB_INTERFACE_NUM=01
ID_USB_DRIVER=usb-storage
ID_PATH=pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
ID_FS_SYSTEM_ID=APPLE\x20COMPUTER\x2c\x20INC.\x2c\x20TYPE:\x200002
ID_FS_APPLICATION_ID=TOAST\x20ISO\x209660\x20BUILDER\x20COPYRIGHT\x20\x28C\x29\x201997-2005\x20SONIC\x20SOLUTIONS\x20-\x20HAVE\x20A\x20NICE\x20DAY
ID_FS_UUID=2017-01-14-16-54-41-00
ID_FS_UUID_ENC=2017-01-14-16-54-41-00
ID_FS_VERSION=Joliet Extension
ID_FS_LABEL=My_CDROM
ID_FS_LABEL_ENC=My\x20CDROM
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ID_PART_TABLE_TYPE=mac
ID_FOR_SEAT=block-pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
MAJOR=11
MINOR=0
DEVLINKS=/dev/disk/by-path/pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0 /dev/disk/by-label/My\x20CDROM /dev/cdrom /dev/disk/by-uuid/2017-01-14-16-54-41-00 /dev/disk/by-id/usb-Linux_File-CD_Gadget_9DLDU17828005658-0:0
TAGS=:uaccess:seat:systemd:
This is the data generated after the previous step, when I try to access the phone's storage.

Code: Select all

UDEV  [213833.909429] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DRIVER=usbfs
PRODUCT=12d1/107e/299
TYPE=0/0/0
INTERFACE=255/255/0
MODALIAS=usb:v12D1p107Ed0299dc00dsc00dp00icFFiscFFip00in00
SEQNUM=4642
USEC_INITIALIZED=213734998465
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
COLORD_DEVICE=1
COLORD_KIND=camera

UDEV  [213834.332388] unbind   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0 (usb)
ACTION=unbind
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
PRODUCT=12d1/107e/299
TYPE=0/0/0
INTERFACE=255/255/0
SEQNUM=4643
USEC_INITIALIZED=213734998465

UDEV  [213834.871240] change   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0 (scsi)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0
SUBSYSTEM=scsi
SDEV_UA=POWER_ON_RESET_OCCURRED
DEVTYPE=scsi_device
DRIVER=sr
MODALIAS=scsi:t-0x05
SEQNUM=4644
USEC_INITIALIZED=213834871178

UDEV  [213834.887453] change   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0 (block)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0
SUBSYSTEM=block
DISK_MEDIA_CHANGE=1
DEVNAME=/dev/sr0
DEVTYPE=disk
SEQNUM=4645
USEC_INITIALIZED=213736010897
ID_CDROM=1
SYSTEMD_MOUNT_DEVICE_BOUND=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
ID_VENDOR=Linux
ID_VENDOR_ENC=Linux\x20\x20\x20
ID_VENDOR_ID=12d1
ID_MODEL=File-CD_Gadget
ID_MODEL_ENC=File-CD\x20Gadget\x20\x20
ID_MODEL_ID=107e
ID_REVISION=0401
ID_SERIAL=Linux_File-CD_Gadget_9DLDU17828005658-0:0
ID_SERIAL_SHORT=9DLDU17828005658
ID_TYPE=cd
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_USB_INTERFACE_NUM=01
ID_USB_DRIVER=usb-storage
ID_PATH=pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
ID_FS_SYSTEM_ID=APPLE\x20COMPUTER\x2c\x20INC.\x2c\x20TYPE:\x200002
ID_FS_APPLICATION_ID=TOAST\x20ISO\x209660\x20BUILDER\x20COPYRIGHT\x20\x28C\x29\x201997-2005\x20SONIC\x20SOLUTIONS\x20-\x20HAVE\x20A\x20NICE\x20DAY
ID_FS_UUID=2017-01-14-16-54-41-00
ID_FS_UUID_ENC=2017-01-14-16-54-41-00
ID_FS_VERSION=Joliet Extension
ID_FS_LABEL=My_CDROM
ID_FS_LABEL_ENC=My\x20CDROM
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ID_PART_TABLE_TYPE=mac
ID_FOR_SEAT=block-pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
MAJOR=11
MINOR=0
DEVLINKS=/dev/disk/by-id/usb-Linux_File-CD_Gadget_9DLDU17828005658-0:0 /dev/disk/by-uuid/2017-01-14-16-54-41-00 /dev/disk/by-label/My\x20CDROM /dev/cdrom /dev/disk/by-path/pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
TAGS=:uaccess:seat:systemd:

UDEV  [213834.904826] change   /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0 (block)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/host1/target1:0:0/1:0:0:0/block/sr0
SUBSYSTEM=block
SYNTH_UUID=0
DEVNAME=/dev/sr0
DEVTYPE=disk
SEQNUM=4646
USEC_INITIALIZED=213736010897
ID_CDROM=1
SYSTEMD_MOUNT_DEVICE_BOUND=1
ID_CDROM_MEDIA=1
ID_CDROM_MEDIA_CD=1
ID_CDROM_MEDIA_TRACK_COUNT=1
ID_CDROM_MEDIA_TRACK_COUNT_DATA=1
ID_VENDOR=Linux
ID_VENDOR_ENC=Linux\x20\x20\x20
ID_VENDOR_ID=12d1
ID_MODEL=File-CD_Gadget
ID_MODEL_ENC=File-CD\x20Gadget\x20\x20
ID_MODEL_ID=107e
ID_REVISION=0401
ID_SERIAL=Linux_File-CD_Gadget_9DLDU17828005658-0:0
ID_SERIAL_SHORT=9DLDU17828005658
ID_TYPE=cd
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:ffff00:080650:
ID_USB_INTERFACE_NUM=01
ID_USB_DRIVER=usb-storage
ID_PATH=pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
ID_FS_SYSTEM_ID=APPLE\x20COMPUTER\x2c\x20INC.\x2c\x20TYPE:\x200002
ID_FS_APPLICATION_ID=TOAST\x20ISO\x209660\x20BUILDER\x20COPYRIGHT\x20\x28C\x29\x201997-2005\x20SONIC\x20SOLUTIONS\x20-\x20HAVE\x20A\x20NICE\x20DAY
ID_FS_UUID=2017-01-14-16-54-41-00
ID_FS_UUID_ENC=2017-01-14-16-54-41-00
ID_FS_VERSION=Joliet Extension
ID_FS_LABEL=My_CDROM
ID_FS_LABEL_ENC=My\x20CDROM
ID_FS_TYPE=iso9660
ID_FS_USAGE=filesystem
ID_PART_TABLE_TYPE=mac
ID_FOR_SEAT=block-pci-0000_00_14_0-usb-0_2_1_1-scsi-0_0_0_0
MAJOR=11
MINOR=0
DEVLINKS=/dev/cdrom /dev/disk/by-id/usb-Linux_File-CD_Gadget_9DLDU17828005658-0:0 /dev/disk/by-path/pci-0000:00:14.0-usb-0:2:1.1-scsi-0:0:0:0 /dev/disk/by-label/My\x20CDROM /dev/disk/by-uuid/2017-01-14-16-54-41-00
TAGS=:uaccess:seat:systemd:

UDEV  [213837.044159] bind     /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0 (usb)
ACTION=bind
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DRIVER=usbfs
PRODUCT=12d1/107e/299
TYPE=0/0/0
INTERFACE=255/255/0
MODALIAS=usb:v12D1p107Ed0299dc00dsc00dp00icFFiscFFip00in00
SEQNUM=4647
USEC_INITIALIZED=213837043901
ID_VENDOR_FROM_DATABASE=Huawei Technologies Co., Ltd.
GPHOTO2_DRIVER=PTP
ID_GPHOTO2=1
ID_MEDIA_PLAYER=1
COLORD_DEVICE=1
COLORD_KIND=camera
Any clue?
Cronomorfo.
ESL and new Linux user, finding my bearings here. Please be patient.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Issues to explore mobile filesystem

#6 Post by L_V »

Your udev seems to correctly detect your phone.
Can you be 100% sure usb data access (mtp ) is active on your phone ? On mine I need to activate it.
You say yours is "automatic", but ... you can't access your data.... then verify.

I don't use same mtp libs as yours (libmtp9), but never had any issue in KDE with my mobile.

cronomorfo
Posts: 13
Joined: 2019-02-21 18:53

Re: Issues to explore mobile filesystem

#7 Post by cronomorfo »

I've never had any issues with the phone when I was using Windows. Once I jumped to Debian I just couldn't access the filesystem though MTP with that machine. I still can connect it to my partner's Windows computer and do whatever I need to do, so I don't think this has to do with the phone.

I understand that it actually detects stuff in there. As I mentioned, I can interact with some stuff in the phone, mainly the things that are stuffed in that "My_CDROM" space (partition? I don't know what it is) where it's located the recommended app to manage the phone on Windows (never used it, though, it worked just fine as any other phone connected through USB). I think I can access photos through the access method that's oriented to work on the phone as a camera.

It's just weird.
Cronomorfo.
ESL and new Linux user, finding my bearings here. Please be patient.

CwF
Global Moderator
Global Moderator
Posts: 2709
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 201 times

Re: Issues to explore mobile filesystem

#8 Post by CwF »

cronomorfo wrote: I can interact with some stuff in the phone, mainly the things that are stuffed in that "My_CDROM" space (partition
Like additional drivers and a pdf manual in/on that CD image?
bingo, it is in your phone settings. I can't say exactly but I had a phone like that and there was an additional mode setting on the phone for it to appear as storage, ie internal plus SD, OR, that's OR emulate a CD rom. I tried to make that emulation serve up a bootable image and the largest image size possible was like 50MB or something. Point is, since you are seeing the CDROM, you dig deeper into the phone settings.
Another question would be, does windows NOT show the CDROM, or does it show 3 devices, CDROM, Internal, External SD? if windows does not show the CDROM, I have to ask what are you changing as you walk over to the windows machine after debian said it was a CDROM.

My example was either or. I eventually did get it to show 2 CDROMS, with images from the SD, and yes it would boot a computer, and no I couldn't see the standard MTP storage in that mode.

I do think camera mode gives access to the default camera storage only.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Issues to explore mobile filesystem

#9 Post by pylkko »

Android offers to be able to show the phone over USB in multiple ways. One such way is a virtual CD-ROM. Some manufacturer's devices use this virtual cd-rom device to supply their own tethering software.

However, you can, with relative easy access any phone wirelessly using ftp. Since many clients software, most file managers and browsers can browse ftp, this is makes it - I would argue - much easier and convenient than going over USB. And transfer speeds in LAN are pretty good nowadays. I mean, you don't even need a cable... you can even send the files over the internet if you connect over VPN.

cronomorfo
Posts: 13
Joined: 2019-02-21 18:53

Re: Issues to explore mobile filesystem

#10 Post by cronomorfo »

I think you're right. It seems to me that it's something in the phone's settings. Even though I've been messing around with the USB connection settings, nothing has worked.

In Windows machines, I usually can see right away a MyCDRom drive, and the phone produces a prompt asking for authorization for data transfer and afterwards the sort of data being transfered: MTP, Camera or MIDI data. After making a choice, Windows announces a new drive, which can be accessed as expected.

In Debian the phone does the same routine, but Debian detects right away that you can get into the phone through two different ways (MTP or Camera) and a CDROM unit has been inserted. The CD can be accessed as expected, and in Camera you can remove files (but not add them, as it appears to be a regular limitation of the method). If you try to go to MTP, Debian answers that the filesystem couldn't be built. If I go back one level and try to get again, Debian sees the folders but can't actually open them. Only certain segments (the Downloads folder, for example) can be accessed and manipulated, but not all.

I guess this has to do with finicky settings in Huawei's implementation of Android. As I'm tired of struggling with this, I'll probably try loading a Win VM and do my business with my phone over there. It's not ideal, but it's something. Otherwise, i'll be just Bluetooth transfers.

Thanks for your help.
pylkko wrote: However, you can, with relative easy access any phone wirelessly using ftp.
How would that work?
Cronomorfo.
ESL and new Linux user, finding my bearings here. Please be patient.

Post Reply