主要步骤就三步:
1 找到挂载分区,mount命令完成。
2 找到名字与分区对应关系,为使用dd命令准备。
ls -al /dev/block/platform/hi_mci.1/by-name 这一长串从上面查到
3 找自己的移动硬盘挂载点,df命令
4 备份最简单了,按照上面对应关系,可把bootargs,baseparam,misc,recovery.fastboot,system等一起做dd ,命令类似:
dd if=/dev/block/mmcblk0p10 of=/mnt/usbdisk/system10.img.20181220
这个需要adb shell 有管理员权限,是否必须未知。可能需要电视root。
相关搜索关键字 adb.exe adb用法 "adb connect" "adb shell" "adb install" 超级adb
root@Hi3751:/data # mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,size=750556k,nr_inodes=74142,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /mnt tmpfs rw,relatime,size=750556k,nr_inodes=74142,mode=775,gid=1000 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,relatime,size=750556k,nr_inodes=74142,mode=750,gid=1000 0 0
tmpfs /mnt/secure tmpfs rw,relatime,size=750556k,nr_inodes=74142,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,relatime,size=750556k,nr_inodes=74142,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,size=750556k,nr_inodes=74142,mode=755,gid=1000 0 0
/dev/block/platform/hi_mci.1/by-name/system /system ext4 ro,relatime,journal_checksum,commit=1,data=ordered 0 0
/dev/block/platform/hi_mci.1/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,journal_checksum,data=ordered 0 0
/dev/block/platform/hi_mci.1/by-name/cache /cache ext4 rw,nosuid,nodev,noatime,journal_checksum,data=ordered 0 0
/dev/block/platform/hi_mci.1/by-name/atv /atv ext4 rw,nosuid,nodev,noatime,journal_checksum,data=ordered 0 0
/dev/block/platform/hi_mci.1/by-name/dtv /dtv ext4 rw,nosuid,nodev,noatime,journal_checksum,data=ordered 0 0
/dev/block/platform/hi_mci.1/by-name/tmp /tmp ext4 rw,nosuid,nodev,noatime,journal_checksum,data=ordered 0 0
/dev/block/vold/8:1 /mnt/usbdisk tntfs rw,dirsync,nosuid,nodev,relatime,uid=1000,gid=1015,umask=00,nls=utf8,min_prealloc_size=64k,max_prealloc_size=1953513556,readahead=4M,user_xattr,case_sensitive,reset_journal,fail_safe,hidden=show,dotfile=show,errors=continue,mft_zone_multiplier=1 0 0
root@Hi3751:/data # ls -al /dev/block/platform/hi_mci.1/by-name
ls -al /dev/block/platform/hi_mci.1/by-name
lrwxrwxrwx root root 1970-01-01 08:00 atv -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-01-01 08:00 baseparam -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-01-01 08:00 bootargs -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-01-01 08:00 bootmusic -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-01-01 08:00 cache -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-01-01 08:00 deviceinfo -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-01-01 08:00 dtv -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-01-01 08:00 fastboot -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-01-01 08:00 kernel -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-01-01 08:00 logo -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-01-01 08:00 logoext -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 1970-01-01 08:00 misc -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-01-01 08:00 panelparam -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-01-01 08:00 recovery -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-01-01 08:00 system -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-01-01 08:00 tmp -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-01-01 08:00 userdata -> /dev/block/mmcblk0p11
root@Hi3751:/data # df
df
Filesystem Size Used Free Blksize
/dev 733.0M 164.0K 732.8M 4096
/mnt 733.0M 0.0K 733.0M 4096
/sys/fs/cgroup 733.0M 12.0K 733.0M 4096
/mnt/secure 733.0M 0.0K 733.0M 4096
/mnt/asec 733.0M 0.0K 733.0M 4096
/mnt/obb 733.0M 0.0K 733.0M 4096
/system 991.9M 783.4M 208.4M 4096
/data 2.1G 872.7M 1.2G 4096
/cache 94.4M 44.0K 94.4M 4096
/atv 15.7M 84.0K 15.6M 4096
/dtv 74.7M 3.6M 71.1M 4096
/tmp 5.8M 324.0K 5.5M 4096
/mnt/usbdisk 1863.0G 1240.2G 622.9G 4096
root@Hi3751:/data # dd if=/dev/block/mmcblk0p10 of=/mnt/usbdisk/system10.img.20181220
f=/mnt/usbdisk/system10.img.20181220 <
2097152+0 records in
2097152+0 records out
1073741824 bytes transferred in 33.486 secs (32065395 bytes/sec)
阅读(3444) | 评论(0) | 转发(0) |