-
How can I see the partitions of the phone in the PC, and read them?
-
-
-
I have not been able to do this. I can see it as a device and view certain folders on an Ubuntu VM or Ubuntu PC.
-
@cesar-herrera
You can't for many reasons.Now it doesn't mean you cannot access them, just that it's not like a raspberry pi.
You'll have to give us context on what you're trying to do if you want to have some help. -
@cesar-herrera
This link give useful info on android partitions:
https://forum.xda-developers.com/t/info-android-device-partitions-and-filesystems.3586565/Being interested in this topic, I did this recently: listing the partitions on FP2 device with Ubuntu Touch OTA 22:
- Connect FP2 to PC
- on PC run: adb root (note: can be avoided, and may not work on some device like on FP3 for example)
- then: adb shell
in shell, list partitions with parted (because gdisk is not installed)
run:parted -l
(or runsudo parted -l
if shell not in root)
and for example I get this:root@ubuntu-phablet:~# parted -l Error: /dev/mmcblk0rpmb: unrecognised disk label Model: Generic SD/MMC Storage Card (sd/mmc) Disk /dev/mmcblk0rpmb: 4194kB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: Model: MMC BWBC3R (sd/mmc) Disk /dev/mmcblk0: 31.3GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 67.1MB 134MB 67.1MB fat16 modem msftdata 2 134MB 135MB 524kB sbl1 3 135MB 135MB 32.8kB dbi 4 201MB 201MB 32.8kB DDR 5 268MB 269MB 1049kB aboot 6 269MB 280MB 10.5MB splash 7 280MB 280MB 512kB rpm 8 336MB 352MB 16.8MB boot 9 403MB 403MB 512kB tz 10 403MB 404MB 1049kB pad msftdata 11 404MB 406MB 1573kB modemst1 12 406MB 407MB 1573kB modemst2 13 470MB 2617MB 2147MB ext4 system msftdata 14 2617MB 2651MB 33.6MB ext4 persist msftdata 15 2651MB 3322MB 671MB ext4 cache msftdata 16 3322MB 3339MB 16.8MB recovery 17 3339MB 3340MB 1573kB fsg 18 3355MB 3355MB 1024B fsc 19 3355MB 3355MB 8192B ssd 20 3423MB 31.3GB 27.8GB ext4 userdata msftdata
-
@aloys
No really on the PC.
But if that's what OP meant there is also possibility using SSH or even directly in the terminal of the device...