34.0.4-1 breaks fastboot
| Task Info (Flyspray) | |
|---|---|
| Opened By | Luca Weiss (z3ntu) |
| Task ID | 79685 |
| Type | Bug Report |
| Project | Arch Linux |
| Category | Packages: Extra |
| Version | None |
| OS | All |
| Opened | 2023-09-14 08:14:18 UTC |
| Status | Assigned |
| Assignee | Anatol Pomozov (anatolik) |
| Assignee | Filipe Laíns (FFY00) |
Details
Description:
After upgrading android-tools from 34.0.1-3 to 34.0.4-1, "fastboot flash super super.img" doesn't work anymore.
$ fastboot flash super images/super.img terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::compare: __pos (which is 464) > this->size() (which is 0) fish: Job 1, 'fastboot flash super images/sup…' terminated by signal SIGABRT (Abort)
This is reproducible every time. Downgrading to the previous version makes it work again.
Also reported 3 days ago on XDA (using Artix Linux and not Arch directly though): https://forum.xda-developers.com/t/some-std-out_of_range-error-with-fastboot-on-linux.4626285/
Additional info:
- android-tools 34.0.4-1
Steps to reproduce: fastboot flash super super.img (for reference my super.img is ~4GB and flashes in 6 parts (1/6 -> 6/6))