Announcement

Collapse
No announcement yet.

Xiaomi Mi A2 -loader response: NAK-

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Xiaomi Mi A2 -loader response: NAK-

    Hi there, I have a Xiaomi Mi A2 who stuck on bootlogo, and when i try recover it, show me the next log error.


    [nop response] value = "NAK"
    [nop log] value = "Recognized Attribute Number 58 ('value') with value 'ping' type is 's'"
    [nop log] value = "Binary build date: Apr 3 2019 @ 20:06:55
    "
    [nop log] value = "fh.attrs.Verbose is set to 1"
    [nop log] value = "Chip serial num: 0 (0x0)"
    [nop log] value = "Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase "
    [nop response] value = "ACK"
    [configure log] value = "Recognized Attribute Number 56 ('TargetName') with value '8960' type is 's'"
    [configure log] value = "Recognized Attribute Number 23 ('SkipStorageInit') with value '0' type is 'i'"
    [configure log] value = "Recognized Attribute Number 14 ('ZlpAwareHost') with value '1' type is 'i'"
    [configure log] value = "Recognized Attribute Number 1 ('MaxPayloadSizeToTargetInBytes') with value '4294967295' type is 'i'"
    [configure log] value = "Attribute 'MaxPayloadSizeToTargetInBytes' is not a multiple of 512"
    [configure log] value = "AssignAttribute failed"
    [configure response] value = "NAK"
    [configure log] value = "Recognized Attribute Number 56 ('TargetName') with value '8960' type is 's'"
    [configure log] value = "Recognized Attribute Number 23 ('SkipStorageInit') with value '0' type is 'i'"
    [configure log] value = "Recognized Attribute Number 14 ('ZlpAwareHost') with value '1' type is 'i'"
    [configure log] value = "Recognized Attribute Number 1 ('MaxPayloadSizeToTargetInBytes') with value '0' type is 'i'"
    [configure log] value = "Recognized Attribute Number 2 ('MaxDigestTableSizeInBytes') with value '8192' type is 'i'"
    [configure log] value = "Recognized Attribute Number 17 ('AlwaysValidate') with value '0' type is 'i'"
    [configure log] value = "Recognized Attribute Number 0 ('Verbose') with value '1' type is 'i'"
    [configure log] value = "Recognized Attribute Number 55 ('MemoryName') with value 'emmc' type is 's'"
    [configure log] value = "Host's payload to target size not provided or 0; using 1048576"
    [configure log] value = "Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1'"
    [configure log] value = "Calling storage_device_open(0x1) - If this hangs use SkipStorageInit='1' for configure"
    [configure log] value = "memory_name set to 'eMMC' and fh.sector_size = 512"
    [configure response] value = "ACK"
    [configure response] MinVersionSupported = "1"
    [configure response] MemoryName = "eMMC"
    [configure response] MaxPayloadSizeFromTargetInBytes = "4096"
    [configure response] MaxPayloadSizeToTargetInBytes = "1048576"
    [configure response] MaxPayloadSizeToTargetInBytesSupported = "1048576"
    [configure response] MaxXMLSizeInBytes = "4096"
    [configure response] Version = "1"
    [configure response] TargetName = "MSM8996"
    [configure response] DateTime = "Apr 3 2019 - 20:06:55"
    [getstorageinfo log] value = "Recognized Attribute Number 10 ('physical_partition_number') with value '0' type is 'i'"
    [getstorageinfo log] value = "INFO: Device Total Logical Blocks: 0x747c000"
    [getstorageinfo log] value = "INFO: Device Block Size in Bytes: 0x200"
    [getstorageinfo log] value = "INFO: Device Total Physical Partitions: 0x0"
    [getstorageinfo log] value = "INFO: Device Manufacturer ID: 0x13"
    [getstorageinfo log] value = "INFO: Device Serial Number: 0x2fcc806"
    [getstorageinfo log] value = "INFO: {"storage_info": {"total_blocks":122142720, "block_size":512, "page_size":512, "num_physical":4, "manufacturer_id":19, "serial_num":50120710, "fw_version":"4","mem_type":"eMMC","prod_name":"S0 J9D8"}}"
    [getstorageinfo log] value = "eMMC Extended CSD Revision: 0x8"
    [getstorageinfo log] value = "eMMC Firmware Version: 0x4"
    [getstorageinfo log] value = "eMMC_RAW_DATA [0:265]00000000000000000000000000000000010100406802000000 00000000000001000000000000000000000000000000000000 00000000000000000000000000000393100000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000200000 20000000000100000000000000000000000000000000000000 00000000000000B40900070001020000151F20001E00000000 000000000000000000010000000000000008000200571FFF01 000000000008120810080E0100C047070F1514080810012201 09200007A0A055220000120000000001280000000002323200 08000000040000000000000009000108"
    [getstorageinfo log] value = "eMMC_RAW_DATA [266:531]01010A07010000000000000000000000000000000000000000 000000000000000000000000000000001F0100000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000001FFFF0000 000003030B05000301000001010100000000000000534E0113 32015FD0FF13598FEFFFFFFF00004096"
    [getstorageinfo response] value = "ACK"
    [getstorageinfo log] value = "Recognized Attribute Number 10 ('physical_partition_number') with value '1' type is 'i'"
    [getstorageinfo log] value = "INFO: Device Total Logical Blocks: 0x2000"
    [getstorageinfo log] value = "INFO: Device Block Size in Bytes: 0x200"
    [getstorageinfo log] value = "INFO: Device Total Physical Partitions: 0x0"
    [getstorageinfo log] value = "INFO: Device Manufacturer ID: 0x13"
    [getstorageinfo log] value = "INFO: Device Serial Number: 0x2fcc806"
    [getstorageinfo log] value = "INFO: {"storage_info": {"total_blocks":8192, "block_size":512, "page_size":512, "num_physical":4, "manufacturer_id":19, "serial_num":50120710, "fw_version":"4","mem_type":"eMMC","prod_name":"S0 J9D8"}}"
    [getstorageinfo log] value = "eMMC Extended CSD Revision: 0x8"
    [getstorageinfo log] value = "eMMC Firmware Version: 0x4"
    [getstorageinfo log] value = "eMMC_RAW_DATA [0:265]00000000000000000000000000000000010100406802000000 00000000000001000000000000000000000000000000000000 00000000000000000000000000000393100000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000200000 20000000000100000000000000000000000000000000000000 00000000000000B40900070001020000151F20001E00000000 000000000000000000010000000000000008000200571FFF01 000000000008120810080E0100C047070F1514080810012201 09200007A0A055220000120000000001280000000002323200 08000000040000000000000009000108"
    [getstorageinfo log] value = "eMMC_RAW_DATA [266:531]01010A07010000000000000000000000000000000000000000 000000000000000000000000000000001F0100000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000001FFFF0000 000003030B05000301000001010100000000000000534E0113 32015FD0FF13598FEFFFFFFF00004096"
    [getstorageinfo response] value = "ACK"
    [getstorageinfo log] value = "Recognized Attribute Number 10 ('physical_partition_number') with value '2' type is 'i'"
    [getstorageinfo log] value = "INFO: Device Total Logical Blocks: 0x2000"
    [getstorageinfo log] value = "INFO: Device Block Size in Bytes: 0x200"
    [getstorageinfo log] value = "INFO: Device Total Physical Partitions: 0x0"
    [getstorageinfo log] value = "INFO: Device Manufacturer ID: 0x13"
    [getstorageinfo log] value = "INFO: Device Serial Number: 0x2fcc806"
    [getstorageinfo log] value = "INFO: {"storage_info": {"total_blocks":8192, "block_size":512, "page_size":512, "num_physical":4, "manufacturer_id":19, "serial_num":50120710, "fw_version":"4","mem_type":"eMMC","prod_name":"S0 J9D8"}}"
    [getstorageinfo log] value = "eMMC Extended CSD Revision: 0x8"
    [getstorageinfo log] value = "eMMC Firmware Version: 0x4"
    [getstorageinfo log] value = "eMMC_RAW_DATA [0:265]00000000000000000000000000000000010100406802000000 00000000000001000000000000000000000000000000000000 00000000000000000000000000000393100000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000200000 20000000000100000000000000000000000000000000000000 00000000000000B40900070001020000151F20001E00000000 000000000000000000010000000000000008000200571FFF01 000000000008120810080E0100C047070F1514080810012201 09200007A0A055220000120000000001280000000002323200 08000000040000000000000009000108"
    [getstorageinfo log] value = "eMMC_RAW_DATA [266:531]01010A07010000000000000000000000000000000000000000 000000000000000000000000000000001F0100000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000001FFFF0000 000003030B05000301000001010100000000000000534E0113 32015FD0FF13598FEFFFFFFF00004096"
    [getstorageinfo response] value = "ACK"
    [read log] value = "Recognized Attribute Number 8 ('SECTOR_SIZE_IN_BYTES') with value '512' type is 'i'"
    [read log] value = "Recognized Attribute Number 60 ('num_partition_sectors') with value '2048' type is 'x'"
    [read log] value = "Recognized Attribute Number 10 ('physical_partition_number') with value '1' type is 'i'"
    [read log] value = "Recognized Attribute Number 59 ('start_sector') with value '0' type is 'x'"
    [read response] value = "ACK"
    [read response] rawmode = "true"
    [log] value = "Read failed at sector 0"
    [log] value = "ERROR 4: Line 2450: STORAGE_READ_FAILURE"
    [log] value = "Finished reading from sector address 0 to 2048"
    [response] value = "NAK"
    [response] rawmode = "false"
    ty in advance

  • #2
    Here I have another one log error.


    [nop response] value = "NAK"
    [nop log] value = "Recognized Attribute Number 58 ('value') with value 'ping' type is 's'"
    [nop log] value = "Binary build date: Apr 3 2019 @ 20:06:55
    "
    [nop log] value = "fh.attrs.Verbose is set to 1"
    [nop log] value = "Chip serial num: 0 (0x0)"
    [nop log] value = "Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase "
    [nop response] value = "ACK"
    [configure log] value = "Recognized Attribute Number 56 ('TargetName') with value '8960' type is 's'"
    [configure log] value = "Recognized Attribute Number 23 ('SkipStorageInit') with value '0' type is 'i'"
    [configure log] value = "Recognized Attribute Number 14 ('ZlpAwareHost') with value '1' type is 'i'"
    [configure log] value = "Recognized Attribute Number 1 ('MaxPayloadSizeToTargetInBytes') with value '4294967295' type is 'i'"
    [configure log] value = "Attribute 'MaxPayloadSizeToTargetInBytes' is not a multiple of 512"
    [configure log] value = "AssignAttribute failed"
    [configure response] value = "NAK"
    [configure log] value = "Recognized Attribute Number 56 ('TargetName') with value '8960' type is 's'"
    [configure log] value = "Recognized Attribute Number 23 ('SkipStorageInit') with value '0' type is 'i'"
    [configure log] value = "Recognized Attribute Number 14 ('ZlpAwareHost') with value '1' type is 'i'"
    [configure log] value = "Recognized Attribute Number 1 ('MaxPayloadSizeToTargetInBytes') with value '0' type is 'i'"
    [configure log] value = "Recognized Attribute Number 2 ('MaxDigestTableSizeInBytes') with value '8192' type is 'i'"
    [configure log] value = "Recognized Attribute Number 17 ('AlwaysValidate') with value '0' type is 'i'"
    [configure log] value = "Recognized Attribute Number 0 ('Verbose') with value '1' type is 'i'"
    [configure log] value = "Recognized Attribute Number 55 ('MemoryName') with value 'emmc' type is 's'"
    [configure log] value = "Host's payload to target size not provided or 0; using 1048576"
    [configure log] value = "Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1'"
    [configure log] value = "Calling storage_device_open(0x1) - If this hangs use SkipStorageInit='1' for configure"
    [configure log] value = "memory_name set to 'eMMC' and fh.sector_size = 512"
    [configure response] value = "ACK"
    [configure response] MinVersionSupported = "1"
    [configure response] MemoryName = "eMMC"
    [configure response] MaxPayloadSizeFromTargetInBytes = "4096"
    [configure response] MaxPayloadSizeToTargetInBytes = "1048576"
    [configure response] MaxPayloadSizeToTargetInBytesSupported = "1048576"
    [configure response] MaxXMLSizeInBytes = "4096"
    [configure response] Version = "1"
    [configure response] TargetName = "MSM8996"
    [configure response] DateTime = "Apr 3 2019 - 20:06:55"
    [getstorageinfo log] value = "Recognized Attribute Number 10 ('physical_partition_number') with value '0' type is 'i'"
    [getstorageinfo log] value = "INFO: Device Total Logical Blocks: 0x747c000"
    [getstorageinfo log] value = "INFO: Device Block Size in Bytes: 0x200"
    [getstorageinfo log] value = "INFO: Device Total Physical Partitions: 0x0"
    [getstorageinfo log] value = "INFO: Device Manufacturer ID: 0x13"
    [getstorageinfo log] value = "INFO: Device Serial Number: 0x2fcc806"
    [getstorageinfo log] value = "INFO: {"storage_info": {"total_blocks":122142720, "block_size":512, "page_size":512, "num_physical":4, "manufacturer_id":19, "serial_num":50120710, "fw_version":"4","mem_type":"eMMC","prod_name":"S0 J9D8"}}"
    [getstorageinfo log] value = "eMMC Extended CSD Revision: 0x8"
    [getstorageinfo log] value = "eMMC Firmware Version: 0x4"
    [getstorageinfo log] value = "eMMC_RAW_DATA [0:265]00000000000000000000000000000000010100406802000000 00000000000001000000000000000000000000000000000000 00000000000000000000000000000393100000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000200000 20000000000100000000000000000000000000000000000000 00000000000000B40900070001020000151F20001E00000000 000000000000000000010000000000000008000200571FFF01 000000000008120810080E0100C047070F1514080810012201 09200007A0A055220000120000000001280000000002323200 08000000040000000000000009000108"
    [getstorageinfo log] value = "eMMC_RAW_DATA [266:531]01010A07010000000000000000000000000000000000000000 000000000000000000000000000000001F0100000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000001FFFF0000 000003030B05000301000001010100000000000000534E0113 32015FD0FF13598FEFFFFFFF00004096"
    [getstorageinfo response] value = "ACK"
    [getstorageinfo log] value = "Recognized Attribute Number 10 ('physical_partition_number') with value '1' type is 'i'"
    [getstorageinfo log] value = "INFO: Device Total Logical Blocks: 0x2000"
    [getstorageinfo log] value = "INFO: Device Block Size in Bytes: 0x200"
    [getstorageinfo log] value = "INFO: Device Total Physical Partitions: 0x0"
    [getstorageinfo log] value = "INFO: Device Manufacturer ID: 0x13"
    [getstorageinfo log] value = "INFO: Device Serial Number: 0x2fcc806"
    [getstorageinfo log] value = "INFO: {"storage_info": {"total_blocks":8192, "block_size":512, "page_size":512, "num_physical":4, "manufacturer_id":19, "serial_num":50120710, "fw_version":"4","mem_type":"eMMC","prod_name":"S0 J9D8"}}"
    [getstorageinfo log] value = "eMMC Extended CSD Revision: 0x8"
    [getstorageinfo log] value = "eMMC Firmware Version: 0x4"
    [getstorageinfo log] value = "eMMC_RAW_DATA [0:265]00000000000000000000000000000000010100406802000000 00000000000001000000000000000000000000000000000000 00000000000000000000000000000393100000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000200000 20000000000100000000000000000000000000000000000000 00000000000000B40900070001020000151F20001E00000000 000000000000000000010000000000000008000200571FFF01 000000000008120810080E0100C047070F1514080810012201 09200007A0A055220000120000000001280000000002323200 08000000040000000000000009000108"
    [getstorageinfo log] value = "eMMC_RAW_DATA [266:531]01010A07010000000000000000000000000000000000000000 000000000000000000000000000000001F0100000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000001FFFF0000 000003030B05000301000001010100000000000000534E0113 32015FD0FF13598FEFFFFFFF00004096"
    [getstorageinfo response] value = "ACK"
    [getstorageinfo log] value = "Recognized Attribute Number 10 ('physical_partition_number') with value '2' type is 'i'"
    [getstorageinfo log] value = "INFO: Device Total Logical Blocks: 0x2000"
    [getstorageinfo log] value = "INFO: Device Block Size in Bytes: 0x200"
    [getstorageinfo log] value = "INFO: Device Total Physical Partitions: 0x0"
    [getstorageinfo log] value = "INFO: Device Manufacturer ID: 0x13"
    [getstorageinfo log] value = "INFO: Device Serial Number: 0x2fcc806"
    [getstorageinfo log] value = "INFO: {"storage_info": {"total_blocks":8192, "block_size":512, "page_size":512, "num_physical":4, "manufacturer_id":19, "serial_num":50120710, "fw_version":"4","mem_type":"eMMC","prod_name":"S0 J9D8"}}"
    [getstorageinfo log] value = "eMMC Extended CSD Revision: 0x8"
    [getstorageinfo log] value = "eMMC Firmware Version: 0x4"
    [getstorageinfo log] value = "eMMC_RAW_DATA [0:265]00000000000000000000000000000000010100406802000000 00000000000001000000000000000000000000000000000000 00000000000000000000000000000393100000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000200000 20000000000100000000000000000000000000000000000000 00000000000000B40900070001020000151F20001E00000000 000000000000000000010000000000000008000200571FFF01 000000000008120810080E0100C047070F1514080810012201 09200007A0A055220000120000000001280000000002323200 08000000040000000000000009000108"
    [getstorageinfo log] value = "eMMC_RAW_DATA [266:531]01010A07010000000000000000000000000000000000000000 000000000000000000000000000000001F0100000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000001FFFF0000 000003030B05000301000001010100000000000000534E0113 32015FD0FF13598FEFFFFFFF00004096"
    [getstorageinfo response] value = "ACK"
    [program log] value = "Recognized Attribute Number 8 ('SECTOR_SIZE_IN_BYTES') with value '512' type is 'i'"
    [program log] value = "Recognized Attribute Number 13 ('file_sector_offset') with value '0' type is 'i'"
    [program log] value = "IGNORING UNRECOGNIZED Attribute 'sparse' with value 'false'"
    [program log] value = "Recognized Attribute Number 60 ('num_partition_sectors') with value '20' type is 'x'"
    [program log] value = "Recognized Attribute Number 10 ('physical_partition_number') with value '0' type is 'i'"
    [program log] value = "Recognized Attribute Number 59 ('start_sector') with value '0' type is 'x'"
    [program log] value = "start 0, num 20"
    [program response] value = "ACK"
    [program response] rawmode = "true"
    [log] value = "ERROR: SDCC Error 3 (3)"
    [log] value = "ERROR: Write Failed sector 0, size 20"
    [log] value = "ERROR: Failed to write 1 slot 0, partition 0, start_sector 20 num_sectors 0, error 3"
    [log] value = "Finished programming start_sector 20 and TotalSectorsToProgram 20"
    [response] value = "NAK"
    [response] rawmode = "false"

    Comment


    • #3
      [log] value = "ERROR 4: Line 2450: STORAGE_READ_FAILURE"


      Looks like bad emmc.
      ICQ: 299-912-089
      QQ: 1634811353

      Comment

      Working...
      X