I plugged an Android (HarmonyOS 2.0.0) phone into a Linux laptop using USB connection. I want to mount the storage of the phone in Linux, so that I can transfer files between the phone and the laptop. But I can't find the phone in
$ sudo fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000LM014-1EJ1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: ...
Device Start End Sectors Size Type
/dev/sda1 1048576 69206015 68157440 32.5G Linux swap
/dev/sda2 69206016 195035135 125829120 60G Linux filesystem
/dev/sda3 195035136 1953523711 1758488576 838.5G Linux filesystem
/dev/sda4 2048 1048575 1046528 511M EFI System
Partition table entries are not in disk order.
but in
$sudo lshw
...
*-usb
physical id: 14
bus info: pci@0000:00:14.0
version: 31
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:129 memory:df410000-df41ffff
*-usbhost:0
product: xHCI Host Controller
vendor: Linux 5.19.0 xhci-hcd
physical id: 0
bus info: usb@1
logical name: usb1
version: 5.19
capabilities: usb-2.00
configuration: driver=hub slots=16 speed=480Mbit/s
*-usb:0
description: Mass storage device
product: BKL-AL20
vendor: HUAWEI
physical id: 1
bus info: usb@1:1
version: 2.99
serial:
capabilities: usb-2.10 scsi
configuration: driver=usb-storage maxpower=500mA speed=480Mbit/s
How shall I find the device of the phone's storage so that I can mount it in Linux?
The phone is under "File Transfer via USB".
The phone has an internal memory and probably a SD card.