返回列表 发帖

EMMC UserData.BIN access to data/convert to mountable image

Hello,

I need your advice. I'm newbie.
I did EMMC dump I have UserData.BIN (size almost 16GB)
Data on this EMMC is FAT32 partition.
Disk is not encrypted.

I want to have access to files by mounting image to system then do some modification in files and then convert it again to bin file and program to the chip.
How to do it?


BR,
STr
PS I have no possibility to use emmc to sd card


Additional information:
APP Version : 11.90   Model : T56  MFG:2021-03-04

     Device : THGBMHG7C1LBAIL_8Bit @BGA153



*************************************************
1 Programmer Connected.
*************************************************
  Device 1: XGecu T56 Ver: 00.01.55
       USB POWER VOLTAGE: 05.02V
       USB SPEED MODE: HS 480MHZ
*************************************************
  < Analysis  IC >

    Pin Detected Passed.
      **********************************
      * Clock Frequence is 8.000 MHZ   *
      **********************************

      1..Emmc Initialization ......
             OCR register : C0FF8080
      2..Read device CID .......Successed
      3..Read device CSD .......Successed
      4..Read device ECSD ......Successed

  <1> -- Production Info.and Device life time--

      MID          : 11
      PNM          : 016G30
      Product Date : 12-2016
      Version      : MMC V5.1

      Device life time Type A : 0%-10% device life time used  
      Device life time Type B : Not defined
      Device life time (PRE_EOL_INFO) : Normal

  <2> -- Partition Size Info.--

      BOOT1 SIZE   : 4096 KB
      BOOT2 SIZE   : 4096 KB
      RPMB SIZE    : 4096 KB
      GPP1 SIZE    : 0 KB
      GPP2 SIZE    : 0 KB
      GPP3 SIZE    : 0 KB
      GPP4 SIZE    : 0 KB
      USER SIZE    : 15,388,672 KB
                      ( 0x 03_AB40_0000 )

[...]

      1 . BOOT1 Partition Not be Permanent write-protected, it can be Read or Edited or Erased.
      2 . BOOT2 Partition Not be Permanent write-protected, it can be Read or Edited or Erased.
      3 . GPP1 GPP2 GPP3 GPP4 The Partition Invalid
      4 . USER  Partition Not be Permanent write-protected, it can be Read or Edited or Erased.
      5 . RPMB  Partition is Blank, not be Used.
      6 . This chip's content can be completely copied to another chip .

回复 2# str


   binwalk tool: Some file systems may not be recognized correctly.

TOP

I found something.
I looked for FAT32 (EB 58 90 6D) (ëXmkfs.fat)
skipping data to offset 0x4000000  (67108864 bytes) helps :)
(from 0 to 67108864 first bytes)
So everything from EB 58 90 to the end of file is image.

dd if=./UserData.BIN of=./temp.img skip=67108864 bs=1

Now I can mount image and edit files.
I don't understand why binwalk not found it (or possible I ignored it)

If you have any additional advice please write it.

Regards,
Sebastian

TOP

返回列表 回复 发帖