| # heimdall flash --BOOT /tmp/postmarketOS-export/boot.img --SYSTEM /tmp/postmarketOS-export/system.raw --no-reboot --verbose
|
| Heimdall v2.2.2
|
|
|
| Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna https://glassechidna.com.au
|
| Copyright (c) 2021-2024 Henrik Grimler
|
| This software is provided free of charge. Copying and redistribution is encouraged.
|
|
|
| Initialising connection...
|
| Detecting device...
|
| Manufacturer: "SAMSUNG"
|
| Product: "Gadget Serial"
|
|
|
| length: 18
|
| device class: 2
|
| S/N: 0
|
| VID:PID: 04E8:685D
|
| bcdDevice: 021B
|
| iMan:iProd:iSer: 1:2:0
|
| nb confs: 1
|
|
|
| interface[0].altsetting[0]: num endpoints = 1
|
| Class.SubClass.Protocol: 02.02.01
|
| endpoint[0].address: 83
|
| max packet size: 0010
|
| polling interval: 09
|
|
|
| interface[1].altsetting[0]: num endpoints = 2
|
| Class.SubClass.Protocol: 0A.00.00
|
| endpoint[0].address: 81
|
| max packet size: 0200
|
| polling interval: 00
|
| endpoint[1].address: 02
|
| max packet size: 0200
|
| polling interval: 00
|
| Claiming interface...
|
| Initialising protocol...
|
| Linux distro ID: arch
|
| Protocol initialisation successful.
|
|
|
| Beginning session...
|
|
|
| Some devices may take up to 2 minutes to respond.
|
| Please be patient!
|
|
|
| Session begun.
|
|
|
| Downloading device's PIT file...
|
| WARNING: Empty bulk transfer after receiving packet failed. Continuing anyway...
|
| PIT file download successful.
|
|
|
| Uploading BOOT
|
| 0%
|
| 3%
|
|
|
| 6%
|
|
|
| 9%
|
|
|
| 13%
|
|
|
| 16%
|
|
|
| 19%
|
|
|
| 23%
|
|
|
| 26%
|
|
|
| 29%
|
|
|
| 33%
|
|
|
| 36%
|
|
|
| 39%
|
|
|
| 43%
|
|
|
| 46%
|
|
|
| 49%
|
|
|
| 53%
|
|
|
| 56%
|
|
|
| 59%
|
|
|
| 63%
|
|
|
| 66%
|
|
|
| 69%
|
|
|
| 73%
|
|
|
| 76%
|
|
|
| 79%
|
|
|
| 83%
|
|
|
| 86%
|
|
|
| 89%
|
|
|
| 93%
|
|
|
| 96%
|
|
|
| 99%
|
|
|
| 100%
|
| BOOT upload successful
|
|
|
| Uploading SYSTEM
|
| 0%
|
| 1%
|
|
|
| 2%
|
|
|
| 3%
|
| ERROR: Failed to unpack received packet.
|
|
|
| ERROR: Failed to confirm end of file transfer sequence!
|
| ERROR: SYSTEM upload failed!
|
|
|
| Ending session...
|
| ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
|
| ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
|
| ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
|
| ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
|
| ERROR: libusb error -7 whilst sending bulk transfer. Retrying...
|
| ERROR: libusb error -7 whilst sending bulk transfer.
|
| ERROR: Failed to send end session packet!
|
| Releasing device interface...
|