I did a successful flash of PureOS onto a Librem 5. Then realized I entered a password for disk encryption I did not want, so I tried to re flash about 20 minutes later. All the same commands in the same terminal, same cable …all the same. But failure.
[Bulk(R):LIBUSB_ERROR_IO ] FB: flash -raw2sparse all librem5r4.img
Is there a limit to how soon a re-flash can be done?
++++++++++++++++++++++++++++++++++++++++++++++++++++++
2024-11-13 13:34:16 INFO Downloading uboot from https://arm01.puri.sm/job/u-boot_builds/job/uboot_librem5_build/85/artifact/output/uboot-librem5/u-boot-librem5.imx
Enter the flashing mode by holding volume-up button while turning the phone on.
If it's not detected, follow these steps:
- Ensure that the phone is powered off
- Turn all Hardware-Kill-Switches off
- Unplug the USB cable if connected
- Remove battery
- Hold volume-up button
- Insert the USB-C cable (red light blinks, no green light)
- Reinsert the battery (red and green lights constantly on, the script will continue)
- Release volume-up button
Searching…
uuu (Universal Update Utility) for nxp imx chips – lib1.4.193
Success 0 Failure 1
1:1 3/ 5 [Bulk(R):LIBUSB_ERROR_IO ] FB: flash -raw2sparse all librem5r4.img
2024-11-13 13:34:40 INFO Cleaning up.
Traceback (most recent call last):
File “/home/dick/librem5-flash-image/./scripts/librem5-flash-image”, line 538, in
sys.exit(main())
^^^^^^
File “/home/dick/librem5-flash-image/./scripts/librem5-flash-image”, line 521, in main
flash_image(uuu_target, args.debug)
File “/home/dick/librem5-flash-image/./scripts/librem5-flash-image”, line 351, in flash_image
subprocess.check_call([‘uuu’, uuu_target])
File “/usr/lib/python3.11/subprocess.py”, line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘uuu’, ‘./tmp_librem5-flash-image_tutrwqyp/flash_librem5r4.lst’]’ returned non-zero exit status 2