Skip to content

QDC507/MDM9607 stuck in SBL memory-debug: verified PBL entry or matching DDR NPRG? #837

Open

Description

@0xAAcodeislaw

I am recovering an owned DJI first-generation Baiwang QDC507GLEFM21 module. Its original firmware was 01.001.02.004. Two identical 128 MiB full-NAND backups and the original five application-partition slices are preserved privately.

Current observations:

  • USB 2c7c:0125, product QHSUSB__BULK, one vendor-specific interface, bulk endpoints 0x81/0x01.
  • Fresh power-on sends Sahara v2 HELLO in mode 2. Reading the crash directory and its small RAM regions works.
  • Client command 1 reads the expected chip serial. Other metadata queries are not supported; we are not attaching device identifiers or raw dumps.
  • The original SBL's command callback also only handles client command 1. An unsupported query returns END_TRANSFER status 31, after which mode-switch requests return status 1. No RESET is being sent in that error state.
  • Returning a fresh session to image transfer requests image 7, then ranges (0,52), (52,96), and (4096,2048) for the signed EG25 NPRG. Transfer then stalls, without a successful END_TRANSFER or DONE.
  • The original unsigned Firehose requests a 136-byte hash segment and disconnects. Its entry point is 0x08005800, overlapping the original SBL's load range; DDR NPRG7 candidates instead load around 0x80000028. We have not established the active execution location during the attempted handoff or the root cause.
  • Several public NPRG/Firehose certificate roots differ from the saved SBL's root. Device fuses/authentication policy could not be read, so this is not being asserted as a proven signature failure.
  • Standard USB configuration reselection and an unconfigure/reconfigure cycle were tested on this device only. The original configuration and option driver were restored, but the Sahara handshake did not recover. The latest mode-switch attempt timed out. No hub/controller reset, additional NAND writes or generic firmware flashing is being attempted.

An unusually close vendor case has the same image/range sequence and was recovered with hardware-forced download mode:
https://forums.quectel.com/t/ec25-flash-new-firmware-error/5214

Environment: native x86-64 Linux USB host with access through a Debian LXC; edl 3.62 libraries, Python 3.11.2, PyUSB 1.3.1 with a libusb backend, and a separately bounded diagnostic harness. An additional Quectel-derived native Sahara harness reproduced the same three image requests. No other application is intentionally sharing the target interface.

Questions:

  1. Is there a verified QDC507-specific way to enter PBL download from this SBL crash state?
  2. Is there a documented QDC507 USB_BOOT/VDD_EXT test-point map or a matching DDR NPRG7, with a verifiable source? We will not infer QDC507 pin locations from EC25 diagrams.
  3. Is the mode-2-to-image-7 handoff a supported recovery path for this hardware, or should the tool require genuine PBL mode before loading the Firehose?

Raw NAND, RAM, device serial/IMEI, SIM data, credentials and host details are deliberately omitted. This draft is not authorization to flash or a claim that any public candidate is compatible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions