JTAG and Chip-Off Acquisition
JTAG and chip-off acquisition are hardware-level forensic extraction techniques used when software methods cannot access a mobile device's storage. JTAG taps the device's test access ports to stream raw memory content, while chip-off physically removes and reads storage chips directly, both requiring specialist equipment and carrying a risk of permanent device damage.
Last updated:
JTAG and chip-off acquisition are hardware-level techniques that extract raw memory content from mobile devices when software-based methods cannot gain access. JTAG connects to a device's test access port (TAP), a set of contacts built into virtually every modern circuit board under the IEEE 1149.1 standard, and uses boundary-scan instructions to read memory directly without invoking the operating system. Chip-off goes further: the storage chip is physically removed from the board and read by a standalone chip reader. Both methods require specialist equipment, board-level knowledge, and careful procedure. Both carry a genuine risk of destroying the evidence they are trying to recover. They are used because, in many locked, damaged, or encrypted device scenarios, they are the only path to the data.
Mobile devices increasingly use full-disk or file-based encryption tied to hardware security modules, making logical and file-system extractions useless once a passcode is unknown. Physical acquisition via bootloader exploits, once reliable, has become far harder as manufacturers patch vulnerabilities and ship dedicated secure enclaves. JTAG and chip-off fill the gap that these trends create: they access the raw NAND flash or eMMC storage layer below the encryption controller, giving the examiner a binary image that can then be processed with decryption keys recovered through other means, or analysed directly if the data was stored unencrypted.
The IEEE 1149.1 boundary-scan standard was designed for manufacturing quality control, not forensics. Forensic practitioners adapted it for extraction purposes in the mid-2000s as encrypted smartphones began defeating software-only tools. Tool vendors such as Cellebrite, MSAB, and third-party hardware providers (RIFF Box, Easy-JTAG, Medusa PRO) have built device databases that map TAP pin assignments for thousands of handset models, making JTAG acquisition faster and more accessible than the early years, though it still demands board-level competence that most examiners acquire only through specialist training.
By the end of this topic you will be able to:
- Explain how the IEEE 1149.1 boundary-scan standard enables JTAG acquisition and identify the TAP signals required for a successful connection.
- Describe the JTAG acquisition workflow from pinout identification through image verification, including common failure points.
- Explain how chip-off acquisition is performed, distinguishing heat-based from chemical desoldering and describing the reader configuration steps.
- Compare JTAG and chip-off on the dimensions of destructiveness, equipment complexity, and suitability for different device conditions.
- Identify the scenarios where JTAG or chip-off is the only viable acquisition method and apply the principle of least-destructive method first.
- JTAG (Joint Test Action Group)
- The industry group that produced IEEE standard 1149.1, which defines the test access port and boundary-scan architecture built into most modern integrated circuits. In forensics, 'JTAG' refers to the technique of using this port to read device memory directly.
- Test access port (TAP)
- The set of four or five contact pads (TDI, TDO, TCK, TMS, and optionally TRST) on a circuit board that implement the IEEE 1149.1 boundary-scan interface. These are the connection points for JTAG acquisition hardware.
- eMMC (embedded MultiMediaCard)
- A package that combines NAND flash memory and a flash controller in a single soldered chip, used as the primary storage in most Android devices. eMMC chips are the target of both JTAG-initiated reads and direct chip-off extraction.
- Chip-off acquisition
- A forensic technique in which the storage chip (eMMC or NAND flash) is physically removed from the device's circuit board using heat or chemicals and then read by a standalone chip programmer. It is the most destructive acquisition method and is considered a last resort.
- Pinout
- A diagram or database entry that maps each physical contact on a device's circuit board to its signal function. For JTAG acquisition, a device-specific pinout is needed to identify TDI, TDO, TCK, TMS, and ground before connecting any hardware.
- ISP (In-System Programming)
- A variant of direct chip access that connects to the eMMC command and data pins while the chip is still on the board, bypassing the processor. ISP sits between JTAG and chip-off in terms of invasiveness and is sometimes used when TAP contacts are unavailable but the eMMC pads are accessible.
The IEEE 1149.1 standard and the JTAG acquisition principle
IEEE 1149.1 was published in 1990 to solve a manufacturing problem: as circuit boards became more densely packed, physical test probes could no longer reach every solder joint. The standard defines a serial shift-register chain connecting every pin of every chip on the board. A controller can shift data into and out of this chain through four TAP signals: TDI (data in), TDO (data out), TCK (clock), and TMS (mode select). A fifth pin, TRST, resets the TAP controller and is present on many but not all devices.
For forensic purposes, the boundary-scan chain can be used to read the contents of the device's memory. The JTAG interface box sends instructions that place the processor in a debug or direct-access state, then issues read commands that cause the processor to output memory content through TDO. The output is captured by the forensic hardware and assembled into a raw binary image. The process does not require the device to boot its operating system; the processor executes instructions fed directly through the TAP. This is why JTAG works on devices with corrupted operating systems, unknown passcodes, and damaged displays or touchscreens.
The TAP contacts on a mobile device are small pads, often unlabelled, located near the processor or on a dedicated test point strip. The examiner must identify them from a pinout reference before connecting anything. Tool databases (JTAG WORLD, Easy-JTAG's device library, Cellebrite's hardware resources) contain pinouts for thousands of handset models identified by device model and PCB revision. When a pinout is unavailable, the examiner must locate the TAP pads using a multimeter and continuity testing against known ground and power rails, a process that requires both patience and electronics knowledge.
JTAG acquisition workflow
A JTAG acquisition follows a defined sequence. Skipping or rushing any step increases the probability of a failed or corrupted extraction. The device should be photographed at each stage and the chain of custody documented before the board is touched.
- Device disassembly. The phone is opened to expose the circuit board. Battery is disconnected (some JTAG procedures require the battery, or a bench power supply, to remain connected during the read; the device specification determines this). Photographs document the board state before any wires are attached.
- Pinout identification. The correct TAP contacts are identified from a pinout database or by manual probing. The voltage level of the TAP (1.8 V or 3.3 V is most common) is confirmed so the JTAG box is set to the correct logic level.
- Physical connection. Wires or a pogo-pin jig are soldered or pressed onto the TAP pads. Ground is connected first. The JTAG interface box (RIFF Box, Easy-JTAG, Medusa PRO, or similar) is connected to the wires on one side and a forensic workstation via USB on the other.
- Software configuration. The acquisition software is configured with the device model, processor type, memory map, and read parameters. The software attempts to detect the JTAG chain and identify the chips in it. A successful detection lists the chips and their JEDEC identifiers.
- Memory read. The software reads the full contents of the eMMC or NAND flash to a raw binary image file (.bin). Read speed depends on the JTAG interface and processor speed, typically 2 to 8 MB/s, meaning a 32 GB storage chip takes one to four hours.
- Hash verification. A SHA-256 hash of the image is computed immediately after acquisition and documented. If a second read is possible, the hashes are compared to confirm read consistency. The image is then processed in a forensic tool (Cellebrite Physical Analyser, Oxygen Forensic Detective, or similar).
Common failure points include incorrect TAP voltage (damaging the controller), a missing ground connection (producing corrupt output), a wrong chip configuration in the software (causing the read to address the wrong memory region), and solder bridging between adjacent pads (shorting signals). Each of these typically produces either no output or a binary image that hashes differently on re-read. If re-reading is not possible, the image may still be partially usable but its integrity cannot be confirmed.
Chip-off acquisition: procedure and risks
Chip-off is the most physically invasive acquisition method available. The storage chip is removed from the board and read independently of the device's processor and operating system. It is used when TAP contacts are absent, damaged, or when the JTAG approach has failed and no less-destructive alternative exists.
Two desoldering approaches are used. Hot-air rework: a controlled-temperature hot-air gun or rework station heats the chip's solder balls or pads until they reflow, allowing the chip to be lifted cleanly from the board. Temperature profiles vary by chip package (BGA packages for eMMC typically reflow around 220 to 240 degrees Celsius); exceeding this by a significant margin damages the memory cells. Chemical desoldering: certain chip packages can be freed using acid-based chemicals (fuming nitric acid is sometimes used in professional settings) that dissolve the substrate while leaving the memory die intact. Chemical methods are slower, require specialist handling and ventilation, and are used mainly when the chip package is damaged or when heat application risks adjacent components.
| Criterion | Hot-air rework | Chemical desoldering |
|---|---|---|
| Speed | 20 to 60 minutes per chip | Several hours per chip |
| Temperature risk | High if profile is wrong | Low (no heat applied) |
| Chemical hazard | None | High (acid, fumes, PPE required) |
| Package suitability | BGA, LGA, QFP | Encapsulated or resin-potted packages |
| Success rate on intact boards | High with correct profile | Moderate |
| Reversibility | None | None |
After removal, the chip is cleaned of residual solder and flux, inspected under magnification for physical damage, and placed in a chip programmer or reader. The reader must be configured for the chip's exact interface (eMMC 4.5, eMMC 5.1, raw NAND, NOR flash), bus width (x8 or x16 for eMMC), and voltage. An incorrect configuration produces a read of all zeros, all ones, or random garbage. The raw binary image produced is processed identically to a JTAG image.
ISP: the middle option between JTAG and chip-off
In-system programming (ISP) connects directly to the eMMC command (CMD), clock (CLK), and data (DAT) lines on the circuit board while the chip remains soldered. Unlike JTAG, ISP bypasses the device processor entirely and communicates directly with the eMMC controller using the MultiMediaCard protocol. Unlike chip-off, the chip is not removed, so the risk of physical damage during extraction is much lower.
ISP is applicable when the processor is damaged or completely unresponsive (making JTAG impossible) but the eMMC chip is physically intact. It requires identifying the eMMC CMD, CLK, and DAT0 to DAT7 pads on the board, connecting an eMMC-capable adapter, and using software that speaks the eMMC protocol directly. Several commercial tools support ISP: Easy-JTAG Plus, Medusa PRO II, and UFi Box are among the most widely used. The read speed for ISP is often faster than JTAG, typically 5 to 20 MB/s, because the eMMC interface is higher bandwidth than the JTAG boundary-scan chain.
The acquisition hierarchy for a locked or damaged device is therefore: logical extraction first, then file-system extraction, then physical extraction via bootloader exploit, then JTAG, then ISP, then chip-off. Each step down the hierarchy increases the potential for damage and the complexity of analysis. The examiner should document the reason for moving to each successive method and confirm that less-destructive options have been exhausted.
When JTAG and chip-off are the only option
Several device conditions make hardware-level acquisition the only practical path to stored data.
- Unknown passcode with no exploit available. If a device is locked, full-disk encrypted, and no software-level exploit exists for its firmware version, neither logical nor file-system extraction yields decrypted content. JTAG or chip-off can image the raw encrypted storage, which may be decryptable if the encryption key material is recovered separately (for example, through cloud backup analysis or a device-specific key extraction technique).
- Damaged or unbootable device. A device with a shattered display, damaged charging port, failed touchscreen, or a corrupt bootloader that prevents normal startup can still be read via JTAG if the processor and memory chip are electrically intact. The operating system does not need to run for JTAG acquisition to succeed.
- Water or impact damage. Liquid damage often affects surface components while leaving the memory chip functional. If the circuit board can be cleaned and stabilised, chip-off or ISP can recover data from a device that will not power on.
- Device wiped or in bootloop. A remote wipe command erases partition tables and file system structures but may leave the underlying NAND flash cells containing recoverable remnants. Raw chip-off images can be analysed with NAND flash reconstruction tools to attempt recovery of data from cells that the erase command did not fully overwrite.
Across jurisdictions, hardware-level acquisition evidence is generally admissible when the examiner can demonstrate that standard acquisition methods were tried and failed, that the hardware method was applied following documented procedures, and that the resulting image was hashed and preserved in its original state. In India, the Bharatiya Sakshya Adhiniyam 2023 (which replaced the Indian Evidence Act 1872) accepts electronic records produced under documented forensic procedures. United States federal courts assess admissibility under Federal Rule of Evidence 702 and the Daubert framework, which require the method to be grounded in accepted scientific practice. The UK's Police and Criminal Evidence Act 1984 codes of practice and the EU's member-state digital evidence rules follow similar competence and documentation requirements.
Processing the raw image: from binary to evidence
A raw binary image from JTAG or chip-off contains everything on the storage chip: the bootloader, partition table, all file system partitions, and any unallocated space. Unlike a logical extraction, which provides only files accessible through the file system, a raw image can be analysed at the sector level. This makes it possible to recover deleted files, reconstruct partially overwritten data, and identify areas of the storage that were never mounted as a file system.
Processing follows these steps. The partition table (GPT for most modern Android devices) is parsed to identify partitions and their boundaries. Each partition is carved out of the image and mounted or analysed individually. The userdata partition, which holds the bulk of user-generated content, is typically formatted as ext4 (Android) or APFS (iOS). If the data is encrypted, the encryption type must be identified (Android Full Disk Encryption uses dm-crypt/LUKS; Android File-Based Encryption uses individual file keys derived from the user's passcode and hardware-backed keys). Forensic platforms such as Cellebrite Physical Analyser and Oxygen Forensic Detective include parsers for both partition formats and common encryption schemes. Evidence found at this level is consistent with what physical acquisition methods yield and can be cross-referenced against logical extraction results from cloud backups, as described in the Data Persistence and Evidence Locations topic.
For chip-off images specifically, an additional step is sometimes required: raw NAND flash chips use error-correcting codes (ECC) and may use proprietary bad-block management and interleaving. The raw chip output must be ECC-decoded and de-interleaved before the binary image matches what the eMMC controller would have presented to the operating system. Some forensic tools (JTAG WORLD's PhysicalAnalyzer module, commercial chip programmer software) perform this automatically for known chip models; for unknown configurations the examiner must reconstruct the ECC parameters manually, which is a specialised skill.
Which four signals are required to establish a JTAG connection to a device's test access port?
Key Takeaways
- JTAG acquisition uses the IEEE 1149.1 boundary-scan port built into mobile device circuit boards to read raw memory content without booting the operating system, making it viable for locked, damaged, or unbootable devices.
- Chip-off physically removes the storage chip from the board and reads it with a standalone programmer. It is the most invasive method, irreversible once started, and is reserved for situations where all less-destructive approaches have failed.
- ISP (in-system programming) sits between JTAG and chip-off: it communicates directly with the eMMC interface while the chip remains soldered, bypassing the processor, and is applicable when the processor is damaged but the memory chip is intact.
- The acquisition hierarchy (logical, file-system, physical exploit, JTAG, ISP, chip-off) is ordered from least to most destructive. Each step requires documented justification that the previous method was tried and failed.
- Raw images from chip-off of bare NAND flash require ECC decoding and de-interleaving before the binary content matches what the eMMC controller would have presented to the operating system. Skipping this step produces an unreadable or misleading image.
What is JTAG acquisition in mobile forensics?
What is chip-off acquisition and how does it differ from JTAG?
When should a forensic examiner choose JTAG over other acquisition methods?
What equipment is needed for JTAG acquisition?
What are the main risks of chip-off acquisition?
Test yourself on Mobile and Network Forensics with free, timed mocks.
Practice Mobile and Network Forensics questionsSpotted an error in this page? Report a correction or read our editorial standards.