5/10/2012

How to program eMMC images into blank flash with USB only in MSM7630

Ready the files before start
1.Here is the list of files that need to be placed into a single directory before
 starting the programming process.
 amss.mbn          - Main AMSS binary
 dbl.mbn           - Device boot loader
 eNPRG7500.hex     - eMMCPRG HEX binary, rename from MPROG7x30.hex
 emmc_appsboot.mbn - Apps boot loader
 loadpt.cmm        - Used by MSP.exe
 msp.exe           - Mass Storage Porgrammer
 osbl.mbn          - OS boot loader
 partition.bin     - Partition table, used by msp.exe
 partition.mbn     - Dummy file to make QPST happy, copy of partition.bin file is fine
 system.img.ext3   - Linux system image file
 userdata.img.ext3 - Linux user partition
2. power on the Power on the phone with blank flash,The phone will go into emergency download mode, so connect the USB cable to the phone and QPST will detect it, there will have Q/QCP-XXX display in QPST configuration
3.  Enter software download menu
  3.1 Select "options", "settings"
  3.2 Use the dropdown menu to select "MSM7500 (NAND Flash)"
  3.3 Go into the "multi image" tab, select the image location using the "Browse" button.
  3.4 Make sure the emergency host download box the checked and the boot system is set  to "sec boot 2.0"
  3.5 Next, use the "Advanced" button to select the files(dbl.mbn, osbl.mbn) to download
   When all done, close the window and hit Start to start download and wait until the download
   process completes.The phone won't come back up in Diag mode, so you can either let QPST 
   Software Download time out, or you can hit the "Abort" button at this point to continue 
   the process. The phone should enumerate as a USB mass storage device, and you can verify
   this either in Windows Explorer or in Device Manager under "Disk Drives".
4. Program Raw Image files
   4.1 Open a CMD window and change to the image directory.
   4.2 Enter the following commands:
    msp -d
     This will list all of the block devices in the system. Look for the one that reflects, the size of the eMMC card being used (usually 4GB or 8GB) - this will indicate the device that is used for the phone. It should be /dev/sdc or something similar.
    msp -r /dev/sdc partition.bin 0 (use the appropriate device)
           msp -w /dev/sdc loadpt.cmm ./ (use the appropriate device)
      Wait for the programming process to complete. Unplug the USB cable and reconnect it so that Windows recognizes the new partition layout.
   
5. Copy FAT Files
   In Windows Explorer, locate the drive letter for the phone. It should show up as a "Removable Disk". Double-click on the drive letter and click "Yes"  to format the drive ("Quick format" is fine). Make a folder on that drive called "image" and copy amss.mbn, emmc_appsboot.mbn and boot.img into the directory.

6  Reboot the phone
   The phone should boot to the Android UI.
   
7.Mass Storage Download Example

Example flow for reference:

  C:\emmc\1100_finsmoke>msp -d
      '/dev/sdb' -- Not in use
      '/dev/sdc' -- device with size of 7840 MB
      '/dev/sdd' -- Not in use
      '/dev/sde' -- Not in use
      '/dev/sdf' -- Not in use
      '/dev/sdg' -- Not in use
      '/dev/sdh' -- Not in use
      '/dev/sdi' -- Not in use
      '/dev/sdj' -- Not in use
      '/dev/sdk' -- Not in use
      
  C:\emmc\1100_finsmoke>msp -r /dev/sdc partition.bin 0
      Total disk size 16056320 blocks
      Fill in the curr_sec: c9040
      Fill in the curr_sec: e8c80
      Fill in the curr_sec: f86c0
      Fill in the curr_sec: f9f00
      Fill in the curr_sec: fb740
      Fill in the curr_sec: fe680
      Fill in the curr_sec: ffec0
      Fill in the curr_sec: 101700
      lastlast_size: e4e900
      Before writing, stat:
      start_loc: 9, ext_first_sec: c9000
      Write 22be60 to 133700.
      Write 22bc60 to 1016c0.
      Write 22ba60 to ffe80.
      Write 22b860 to fe640.
      Write 22b660 to fb700.
      Write 22b460 to f9ec0.
      Write 22b260 to f8680.
      Write 22b060 to e8c40.
      Write 22ae60 to c9000.
      Reaching the last extended partition. Done.
  
  C:\emmc\1100_finsmoke>msp -w /dev/sdc loadpt.cmm ./
      Writing dbl.mbn, total size 159248
      Finished.
      Writing osbl.mbn, total size 710464
      Finished.
      Writing adsp.mbn, total size 5365072
      Finished.
      Writing system.img.ext3, total size 100999168
      Finished.
      Writing userdata.img.ext3, total size 81920000
      Finished.
 

12 comments:

  1. Hi ,
    Can please share me emmc image files for Rogers SGH-I727R .I'm searching for many days but I'm not able to get it .

    ReplyDelete
  2. I'm sorry, i can not help you.

    ReplyDelete
  3. when i hit start an error "could noy open flash programming file" appears. what can i do about this?

    ReplyDelete
  4. I need those files, I don't have any of them... Please let me know how can i get those files.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. My phone is huawei u8850. It is hard bricked. i have completed to step 3. My phone enumerate as a USB mass storage device.But it disconnects and connects every time when i connect usb. i am confuse at step 4. how to switch cmd to image directory? how to find msp -d, msp -r, and msp -w commands?

    ReplyDelete
  7. Does anyone have files for Moto E? Blankflash... Single image?

    ReplyDelete
  8. i get that someone has done a big job and research on writing this shit but at least respond with "I don't know" to someone in need of help. assuming that was the reason to write this to begin with

    ReplyDelete
  9. Wao! Amazing, I really like that so if anyone want to convert one file into ianother then use this converter;

    Simple File Converter

    ReplyDelete
  10. That will help everyone to transfer one file into another like those;

    Ods to Pdf

    Vob to Mp4

    Mov to Flv

    Mpg to Avi

    ReplyDelete