Acquisition methods · Lesson 6 of 7
Android full file system and physical acquisition: root, bootloader, EDL and chip-off
9 min read
Everything in an Android app's private directory, including the databases of messaging apps, sits in Credential Encrypted storage that adb cannot read (lesson 2.5). To reach it, an examiner needs either root privileges on the running phone or a way to read the storage below Android and then decrypt it. This lesson covers the main routes: exploits that give temporary root, the bootloader and why unlocking it is not an option, the chipset service modes Qualcomm EDL and MediaTek BROM, and board-level methods such as JTAG, ISP and chip-off. For each, it explains what file-based encryption (FBE) leaves you with.
What a full file system extraction is on Android
An Android FFS is a copy of the readable file system, typically /data and shared storage, taken with root privileges, delivered as a TAR or ZIP archive with paths, permissions and timestamps. It includes /data/user/0/<package> for each app (for example WhatsApp's databases in /data/user/0/com.whatsapp/databases), system databases in /data/system and /data/system_ce, and DE storage.
As on iOS, decryption is done by the running system with keys available at that moment. An FFS of an AFU phone includes the CE storage of each user or profile whose CE keys are loaded when the extraction runs; for the others, it contains only encrypted file names and contents. One unlock since boot does not guarantee that. Android does not stop user 0, so its keys stay loaded until a restart, but it can stop other users and profiles while the phone runs, and by default in AOSP that evicts their CE keys, for example when a work profile is paused. A locked profile is not always in that state either: AOSP code for Android 15 and 16 lets a private space keep its CE storage unlocked after it is locked, and Samsung's public description of Secure Folder does not state when its keys are evicted. An FFS of a BFU phone contains only DE storage and system data. Before you start, check which users exist (lesson 2.5) and which have unlocked CE storage; in AOSP for Android 15 and 16, adb shell dumpsys mount prints them on a line that starts with CE unlocked users.
Temporary root on the running phone
The least disruptive route to an FFS is to gain root on the phone while it is running, without restarting it, so that the AFU state and its loaded keys are kept. Forensic tools do this with exploits for vulnerabilities in the kernel, drivers or system services of specific chipsets, manufacturers and security patch levels. Typically the tool connects over adb (USB debugging must be on and authorized), runs the exploit to obtain a root shell with an SELinux context that can read /data, streams /data to the workstation, and cleans up. The phone must be in AFU; its screen has to be unlocked only while USB debugging is being enabled or authorized.
The method depends on the security patch level. Google publishes a monthly Android Security Bulletin, and each patch closes vulnerabilities that tools may rely on, so record ro.build.version.security_patch before planning and keep the phone from updating. Risks and traces:
- Crashes. A failed exploit can panic the kernel and restart the phone into BFU. Collect logical data first.
- Changes. Exploit files are usually written to a temporary location such as /data/local/tmp and removed afterward; logs record the activity. Document the tool, version and times.
Commercial forensic vendors also sell systems that gain privileged access to locked Android phones through undisclosed vulnerabilities; one such exploit chain, against USB drivers in the kernel, was documented publicly in 2025. Their support depends on model, chipset and patch level and is not public. Treat a vendor's support list as a claim to verify, and record the tool and version used.
A phone the owner has already rooted is a different case. Persistent root tools, such as Magisk, require an unlocked bootloader, which shows the orange boot state (lesson 1.3). On such a phone, root may already be available through the root manager app, which normally asks the user to grant access on screen. Using it is still a change and must be within your authority.
The bootloader: why unlocking is not an option
Developers unlock the bootloader with fastboot flashing unlock to install custom software. On almost every device this wipes the user data partition, by design (lesson 1.3), so it destroys exactly what you want to acquire. Some bootloaders have had vulnerabilities that let tools boot code without unlocking, but these are model- and version-specific and are usually patched quickly. Treat any bootloader-based method as a vendor capability to validate, not a general technique.
Chipset service modes
Phone chipsets include low-level modes for factory programming and repair. On vulnerable models, they give access to the storage below Android.
Qualcomm Emergency Download mode (EDL)
EDL is a mode of the Qualcomm Primary Bootloader, which is stored in ROM. A device enters it when the normal boot chain fails, when test points on the board are shorted during power-on, through special cables or key combinations on some models, or with adb reboot edl where the manufacturer allows it. On the computer, the phone appears as "Qualcomm HS-USB 9008". The Sahara protocol then loads a programmer, a small loader that must be signed for that device by the manufacturer. Modern programmers use the Firehose protocol, which accepts XML commands to read, write and erase storage, among others.
With a suitable signed programmer, a tool can read the partitions of the storage chip, including userdata. Three cautions apply:
- It starts from a restart. Entering EDL ends AFU. Without the user's credential, CE storage stays encrypted.
- The image is encrypted. FBE, plus metadata encryption on devices launching with Android 11 or later, means a raw userdata image is ciphertext. Decrypting it requires a further, chip-specific weakness that exposes key material from the TEE or lets the tool run the device's own key derivation, usually combined with the screen lock credential or with guessing it on the device's hardware.
- It can write. A programmer can also erase and flash. Use only read commands and keep a log of every command sent.
Manufacturers increasingly restrict EDL with authentication and tie programmers to specific hardware, so support is narrow and changes over time.
MediaTek Boot ROM mode (BROM)
MediaTek chipsets have a similar mode in their Boot ROM. It is typically entered by connecting the powered-off phone while holding a volume key. On vulnerable chips, Boot ROM exploits bypass secure boot checks and allow the storage to be read; the open-source mtkclient project implements several of them. Its documentation notes that newer chipsets, such as the MT6781, MT6789, MT6855, MT6886, MT6895 and MT6983, use a newer protocol and have a patched Boot ROM, so access goes through the preloader instead and needs a suitable loader. The same encryption limits as EDL apply: reading the storage is not the same as decrypting it.
Devices with Samsung Exynos or Google Tensor chips need other, vendor-specific approaches. Galaxy A-series phones use Exynos, Qualcomm or MediaTek chips depending on the model and region, so identify the chipset from the exact model number before planning.
JTAG, ISP and chip-off
These methods read the storage through hardware:
- JTAG uses a processor debug interface through test points on the board. On most current production phones it is disabled or fused off.
- ISP (in-system programming) connects directly to the data lines of the storage chip on the board and reads it in place. It is practical for eMMC chips, the older of the two types of flash storage chip used in phones; the UFS chips in most current phones are much harder.
- Chip-off removes the storage chip from the board with heat and reads it in an adapter. It is destructive: the phone will not work again without skilled rework.
On an FBE phone, all three produce ciphertext. The keys are protected by hardware in the system on a chip, and once the storage is separated from it, decryption is not practical. These methods remain relevant for older or unencrypted devices, some memory cards and embedded devices, and damaged phones. For a damaged modern phone, repairing it, for example replacing the screen, battery or charging port, so that the original board boots and can be unlocked is usually more productive than chip-off.
Comparing the routes
| Method | Device state needed | Keeps AFU | Main risk | Output on an FBE phone |
|---|---|---|---|---|
| Exploit root on running phone | AFU, USB debugging on and authorized, supported patch level | Yes | Crash and restart | Decrypted FFS of unlocked users |
| Vendor exploit on a locked phone | Locked; model and patch level on the vendor's support list | Only if no restart | Crash and restart | Limited by the keys available at that moment |
| Existing root | Owner-rooted, AFU, screen unlocked for the grant | Yes | On-screen grants, changes | Decrypted FFS of unlocked users |
| Bootloader unlock | Unlocked phone | No | Wipes user data | Nothing useful |
| Qualcomm EDL, MediaTek BROM | Vulnerable chipset, signed programmer or loader | No | Writes, making the phone unable to start | Raw partitions; decrypted only with key exposure and credential |
| JTAG, ISP | Board access, usable interface | No | Board damage | Encrypted image |
| Chip-off | Chip removal | No | Destroys device | Encrypted image |
Whichever route you use, record the chipset, the exact method and tool version, every command or step with its time, and any write the method performed. Hash the result (lesson 2.7) and test the method on a reference device of the same model where possible.
Applying this to the Corvane case
Victor's Galaxy A phone, which runs Android 16 with One UI 8, was unlocked under the court-ordered protocol, and the logical extraction is complete (lesson 2.5). The examiner identifies the chipset from the model number and checks the security patch level against the laboratory tool's support list. The tool supports a temporary-root exploit for that model and patch level, so the examiner runs it with the phone still unlocked, logs the exploit's start and cleanup, and obtains an FFS. It contains /data/user/0/com.whatsapp/databases with WhatsApp's message database, the evidence the logical extraction could not reach (lesson 5.2). The protocol does not cover the Secure Folder, which stays locked. Before extracting, the examiner confirms that the CE storage of user 150 is locked, so the FFS holds only encrypted file names and contents under /data/user/150, and the report lists it as not examined. Had the patch level been unsupported, the examiner would have recorded that limitation and turned to cloud and companion sources (lesson 2.7) and to the WhatsApp data on Lena's iPhone, rather than attempt a bootloader unlock.
Exam focus: Know why an Android FFS normally requires root on a running AFU phone and holds decrypted data only for the users and profiles whose CE keys are loaded when it runs, why unlocking the bootloader is excluded on evidence, and how EDL and BROM work and what they yield on FBE devices. Be able to explain why JTAG, ISP and chip-off produce ciphertext on current phones and when they are still useful.
Practice questions
Check your understanding. These questions do not count towards the exam.
Sign in to save your progress and continue where you left off. It is free. Sign in