read back raw images from storage with firehose

1. get partition size : 


cat /sys/block/mmcblk0/mmcblk0p55/size   #   sectors
more /proc/partitions    # KB


2.  create rawdump xml : "rawprogram.xml" :


<?xml version="1.0" ?>

<data>
  <!--NOTE: This is an ** Autogenerated file **-->
  <!--NOTE: Sector size is 512bytes-->
  <program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="system.img" label="rawdump"num_partition_sectors="8388608" physical_partition_number="0"size_in_KB="4194304.0"sparse="false" start_byte_hex="0x34000000" start_sector="1703936"/>
  <program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="userdata.img" label="rawdump"num_partition_sectors="112050143" physical_partition_number="0"size_in_KB="56025071"sparse="false"start_byte_hex="0x134000000" start_sector="10092544"/>  
  </data>



3. read back

adb reboot edl

QSaharaServer.exe -s 13:programmer.mbn -p \\.\COM3
fh_loader.exe --memoryname=emmc --sendxml=rawprogram.xml --convertprogram2read --port=\\.\COM3


Of Course !  you can disable it by deviceprogramer ...


also see : https://github.com/binsys/emmcdl

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值