android 手機ROM的分區說明

來源:互聯網
上載者:User

  1、查看分區情況

adb shell 

   su #獲得ROOT許可權   cat /proc/mtd  查看分區情況

dev:    size   erasesize  name
mtd0: 00040000 00020000 "preloader"
mtd1: 000c0000 00020000 "dsp_bl"
mtd2: 00300000 00020000 "nvram"
mtd3: 00020000 00020000 "seccnfg"
mtd4: 00060000 00020000 "uboot"
mtd5: 00600000 00020000 "boot"
mtd6: 00600000 00020000 "recovery"
mtd7: 00120000 00020000 "secstatic"
mtd8: 00060000 00020000 "misc"
mtd9: 00300000 00020000 "logo"
mtd10: 000a0000 00020000 "expdb"
mtd11: 0c800000 00020000 "system"
mtd12: 03c00000 00020000 "cache"
mtd13: 0dc20000 00020000 "userdata"

為了更詳細瞭解分區資訊用mtd_debug命令

mtd_debug info /dev/mtd5查看boot分區資訊

2、

刷回備份  flash_image recovery /sdcard/recovery.img

3、

adb shell  su ;

cat /dev/mtd/mtd4 > /sdcard/boot.img放到SD卡

cat /dev/mtd/mtd0 >> mtd0.img放到本地硬碟

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.