UBports Robot Logo UBports Forum
    • 版面
    • 最新
    • 標籤
    • 熱門
    • 使用者
    • 群組
    • 搜尋
    • 註冊
    • 登入

    View partitions

    已排程 已置頂 已鎖定 已移動 Unsolved Support
    5 貼文 4 Posters 556 瀏覽 1 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
      回覆
      • 在新貼文中回覆
      登入後回覆
      此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
      • C 離線
        Cesar Herrera
        最後由 編輯

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

        AppLeeA A 2 條回覆 最後回覆 回覆 引用 0
        • CiberSheepC CiberSheep moved this topic from General on
        • CiberSheepC CiberSheep marked this topic as a question on
        • MrT10001M 離線
          MrT10001
          最後由 編輯

          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 條回覆 最後回覆 回覆 引用 0
          • AppLeeA 離線
            AppLee @Cesar Herrera
            最後由 編輯

            @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 條回覆 最後回覆 回覆 引用 0
            • A 離線
              Aloys @Cesar Herrera
              最後由 編輯

              @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
              
              AppLeeA 1 條回覆 最後回覆 回覆 引用 0
              • AppLeeA 離線
                AppLee @Aloys
                最後由 編輯

                @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 條回覆 最後回覆 回覆 引用 0
                • 第一個貼文
                  最後的貼文