V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
linux40
V2EX  ›  Android

关于 android 手机文件恢复,试了几个应用没用后,我尝试用 adb,然而。。。

  •  
  •   linux40 · 2017-05-13 10:31:31 +08:00 · 9840 次点击
    这是一个创建于 2754 天前的主题,其中的信息可能已经有所发展或是发生改变。

    是不是米 5 的分区太奇葩了,哪个是 sdcard 的分区呀。。。

    gemini:/ # cat /proc/partitions
    major minor  #blocks  name
    
       8        0   57794560 sda
       8        1         16 sda1
       8        2          8 sda2
       8        3        720 sda3
       8        4        128 sda4
       8        5        128 sda5
       8        6        512 sda6
       8        7        512 sda7
       8        8       2048 sda8
       8        9       4096 sda9
       8       10       8192 sda10
       8       11      16384 sda11
       8       12      32768 sda12
       8       13     262144 sda13
       8       14   57466860 sda14
       8       16       4096 sdb
       8       17       4052 sdb1
       8       32       4096 sdc
       8       33       4052 sdc1
       8       48     131072 sdd
       8       49         32 sdd1
       8       50        936 sdd2
       8       51         32 sdd3
       8       52       1024 sdd4
       8       53       1024 sdd5
       8       64    4521984 sde
       8       65          4 sde1
       8       66          4 sde2
       8       67         32 sde3
       8       68        192 sde4
       8       69        256 sde5
       8       70        256 sde6
       8       71        128 sde7
       8       72        128 sde8
       8       73        512 sde9
       8       74        512 sde10
       8       75       1024 sde11
       8       76       1024 sde12
       8       77       1024 sde13
       8       78       1024 sde14
       8       79       4096 sde15
     259        0       4096 sde16
     259        1       1024 sde17
     259        2       1024 sde18
     259        3       1024 sde19
     259        4       1024 sde20
     259        5       1024 sde21
     259        6       1024 sde22
     259        7       2048 sde23
     259        8       2048 sde24
     259        9       1024 sde25
     259       10       1024 sde26
     259       11       2048 sde27
     259       12       4096 sde28
     259       13       2048 sde29
     259       14       2048 sde30
     259       15       8192 sde31
     259       16      20480 sde32
     259       17      32768 sde33
     259       18      32768 sde34
     259       19     196608 sde35
     259       20      65536 sde36
     259       21      65536 sde37
     259       22     851968 sde38
     259       23    3145728 sde39
     259       24       1024 sde40
       8       80      32768 sdf
       8       81          4 sdf1
       8       82        996 sdf2
       8       83       4096 sdf3
       8       84       3072 sdf4
       8       85       4096 sdf5
       8       86       1024 sdf6
     253        0   57466844 dm-0
    

    下面是 mount:

    gemini:/ # mount
    rootfs on / type rootfs (ro,seclabel,size=1284728k,nr_inodes=321182)
    tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=1362424k,nr_inodes=340606,mode=755)
    devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
    proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)
    sysfs on /sys type sysfs (rw,seclabel,relatime)
    selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,seclabel,relatime)
    none on /acct type cgroup (rw,relatime,cpuacct)
    tmpfs on /mnt type tmpfs (rw,seclabel,relatime,size=1362424k,nr_inodes=340606,mode=755,gid=1000)
    none on /config type configfs (rw,relatime)
    none on /dev/memcg type cgroup (rw,relatime,memory)
    none on /dev/cpuctl type cgroup (rw,relatime,cpu)
    none on /dev/cpuset type cgroup (rw,relatime,cpuset,noprefix,release_agent=/sbin/cpuset_release_agent)
    pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)
    none on /dev/bfqio type cgroup (rw,relatime,bfqio)
    /dev/block/sda13 on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,data=ordered)
    /dev/block/sde39 on /system type ext4 (ro,seclabel,relatime,data=ordered)
    /dev/block/sda12 on /persist type ext4 (rw,seclabel,nosuid,nodev,relatime,data=ordered)
    /dev/block/sde32 on /dsp type ext4 (ro,context=u:object_r:dsp_file:s0,nosuid,nodev,relatime,data=ordered)
    /dev/block/sde35 on /firmware type vfat (ro,context=u:object_r:firmware_file:s0,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
    /dev/block/sde26 on /bt_firmware type vfat (ro,context=u:object_r:bt_firmware_file:s0,relatime,uid=1002,gid=3002,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
    adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
    tmpfs on /storage type tmpfs (rw,seclabel,relatime,size=1362424k,nr_inodes=340606,mode=755,gid=1000)
    /dev/block/dm-0 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,noauto_da_alloc,data=ordered)
    /data/media on /mnt/runtime/default/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6)
    /data/media on /storage/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6)
    /data/media on /mnt/runtime/read/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=23)
    /data/media on /mnt/runtime/write/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=7)
    
    第 1 条附言  ·  2017-05-13 11:04:31 +08:00

    找到了 /dev/block/platform/XXX/for-name 下面有一行

    lrwxrwxrwx 1 root root 16 2017-05-06 23:17 userdata -> /dev/block/sda14
    

    。。。其实看大小也可以

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1291 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 23:22 · PVG 07:22 · LAX 15:22 · JFK 18:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.