Bug 1612126 - Heimdall not being able to flash images bigger than 3.5GB
Summary: Heimdall not being able to flash images bigger than 3.5GB
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: heimdall
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Juan Orti
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-03 14:21 UTC by Michal Ambroz
Modified: 2018-10-30 17:25 UTC (History)
2 users (show)

Fixed In Version: heimdall-1.4.2-6.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-19 16:07:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Ambroz 2018-08-03 14:21:50 UTC
Description of problem:
Heimdall is in current version 1.4.2 able to flash a firmware to system partition bigger than 3.5GB due to internal types used to iterate through the files are 32 bit only.
Theoretically it should allow 4GB to be adressed, but the limit is probably reached sooner than that.


Version-Release number of selected component (if applicable):
1.4.2

How reproducible:
100%


Steps to Reproduce:
1. dnf -y install heimdall
2. Use heimdall-frontend to flash boot+recovery+system partition from some recent Samsung firmware - for example O2C-A520FXXU4CRF1-20180712094635 for Samsung A5 2017.
tar xvf AP_A520FXXU4CRF1_CL13712092_QB18397585_REV00.tar.md5
lz4 -d boot.img.lz4
lz4 -d recovery.img.lz4
lz4 -d system.img.lz4


Actual results:
/boot and /recovery flashes OK, but /system will fail.

Expected results:
Should flash all partitions.

Additional info:
- please consider switch to current gitlab repository
- Please consider including the patch proposed patch to the issue:
https://github.com/Blefish/Heimdall/commit/d8a14b556d9a16d1dc4501c1a1db4bc473efd1c1.patch

Comment 1 Fedora Update System 2018-10-11 14:20:01 UTC
heimdall-1.4.2-6.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e5aa15f5bc

Comment 2 Fedora Update System 2018-10-11 14:32:56 UTC
heimdall-1.4.2-6.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-32666e7d26

Comment 3 Fedora Update System 2018-10-11 19:00:22 UTC
heimdall-1.4.2-6.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e5aa15f5bc

Comment 4 Fedora Update System 2018-10-12 00:24:21 UTC
heimdall-1.4.2-6.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-32666e7d26

Comment 5 Fedora Update System 2018-10-19 16:07:25 UTC
heimdall-1.4.2-6.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2018-10-30 17:25:13 UTC
heimdall-1.4.2-6.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.