https://github.com/linux-surface/sam-fwxtract
Firmware unwrapping/extraction scripts for Surface System Aggregator Module firmware
https://github.com/linux-surface/sam-fwxtract
Last synced: 5 months ago
JSON representation
Firmware unwrapping/extraction scripts for Surface System Aggregator Module firmware
- Host: GitHub
- URL: https://github.com/linux-surface/sam-fwxtract
- Owner: linux-surface
- License: mit
- Created: 2021-06-05T18:53:33.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-06T13:16:02.000Z (over 4 years ago)
- Last Synced: 2025-05-14T16:17:36.698Z (9 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Firmware extraction scripts for Surface SAM firmware
Firmware extraction and unpacking scripts for Surface System Aggregator Module (SAM) firmware UEFI capsules.
## Usage
1. Extract UEFI capsule via:
```bash
./uefi-unwrap.py SurfaceSAM_1.108.139.bin SurfaceSAM_1.108.139.fwimg
```
This may generate multiple firmware image files.
2. Extract (one) Firmware Image via:
```bash
./uefi-unwrap.py SurfaceSAM_1.108.139.0.fwimg SurfaceSAM_1.108.139.img
```
3. Open image with ghidra, have fun...
## Note
Currently only works with firmware for newer devices, e.g. Surface Laptop 3 and Surface Pro X.
Older models, e.g. the Surface Book 2, are currently unsupported.