• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

View partitions

Scheduled Pinned Locked Moved Unsolved Support
5 Posts 4 Posters 565 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      Cesar Herrera
      last edited by 11 Apr 2022, 21:36

      How can I see the partitions of the phone in the PC, and read them?

      A A 2 Replies Last reply 12 Apr 2022, 09:41 Reply Quote 0
      • C CiberSheep moved this topic from General on 12 Apr 2022, 00:08
      • C CiberSheep marked this topic as a question on 12 Apr 2022, 00:09
      • M Offline
        MrT10001
        last edited by 12 Apr 2022, 03:19

        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.

        Xiaomi Redmi Note 7.... And more...
        I have too many devices...

        1 Reply Last reply Reply Quote 0
        • A Offline
          AppLee @Cesar Herrera
          last edited by 12 Apr 2022, 09:41

          @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.

          1 Reply Last reply Reply Quote 0
          • A Offline
            Aloys @Cesar Herrera
            last edited by 12 Apr 2022, 20:04

            @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 run sudo 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
            
            A 1 Reply Last reply 13 Apr 2022, 07:43 Reply Quote 0
            • A Offline
              AppLee @Aloys
              last edited by 13 Apr 2022, 07:43

              @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...

              1 Reply Last reply Reply Quote 0
              4 out of 5
              • First post
                4/5
                Last post