提取 boot.img, dtbo.img
目的
从机器中提取 boot.img
, dtbo.img
进行备用。
方法
- 打开
/dev/block/platform/soc/7824900.sdhci/by-name
,然后ls -l
,就可以看到所有分区的具体指向,比如lrwxrwxrwx 1 root root 21 1970-01-03 23:21 boot -> /dev/block/mmcblk0p32
,lrwxrwxrwx 1 root root 21 1970-01-03 23:21 dtbo -> /dev/block/mmcblk0p28
sdcard
/storage/emulated/0
/storage/self/primary
指向的是同一个地方,打开这个位置dd if=/dev/block/mmcblk0p32 of=/storage/self/primary/Download/boot.img
备份boot.img
dd if=/dev/block/mmcblk0p28 of=/storage/self/primary/Download/dtbo.img
备份dtbo.img
adb pull /storage/self/primary/Download/boot.img
,adb pull /storage/self/primary/Download/dtbo.img
提取出boot.img
和dtbo.img
.
参考
从手机中提取boot.img
https://www.cnblogs.com/xirtam/p/10782679.html