Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on firmware install: resources.tar operation timeout #40

Closed
spaceblankey opened this issue Mar 16, 2024 · 8 comments
Closed

Error on firmware install: resources.tar operation timeout #40

spaceblankey opened this issue Mar 16, 2024 · 8 comments
Labels
bugfix Something isn't working

Comments

@spaceblankey
Copy link

spaceblankey commented Mar 16, 2024

Describe the bug.

image

On a fresh 32gb SD card with stock flipper zero firmware, latest release (downloaded today), on Windows 11

Reproduction

Install using Qflipper on windows 11, select Zip file downloaded from Github

Logs

[APP] qFlipper version 1.3.3 commit bfce851d 2023-11-10T19:40:31
[APP] OS info: Windows 11 Version 22H2 11 10.0.22621 Qt 6.4.2
[RPC] Starting RPC session...
[RPC] Failed to start RPC session: Failed to open serial port: Access is denied.
[RPC] Starting RPC session...
[RPC] RPC session started successfully.
[RPC] (1) System Protobuf Version START
[RPC] (1) System Protobuf Version SUCCESS
[RPC] (2) Property Get START
[RPC] (2) Property Get SUCCESS
[RPC] (3) Storage Info @/ext START
[RPC] (3) Storage Info @/ext SUCCESS
[RPC] (4) Storage Stat @/ext/Manifest START
[RPC] (4) Storage Stat @/ext/Manifest SUCCESS
[RPC] (5) System Get DateTime START
[RPC] (5) System Get DateTime SUCCESS
[RPC] (6) System Set DateTime START
[RPC] (6) System Set DateTime SUCCESS
[RPC] Stopping RPC session...
[RPC] RPC session stopped successfully.
[RPC] Starting RPC session...
[RPC] RPC session started successfully.
[RPC] (1) Gui Start ScreenStream START
[RPC] (1) Gui Start ScreenStream SUCCESS
[RPC] (2) Gui Start VirtualDisplay START
[RPC] (2) Gui Start VirtualDisplay SUCCESS
[DEV] Full Update @Algl4t START
[UTL] Region Provisioning @Algl4t START
[UTL] Region Provisioning @Algl4t SUCCESS
[UTL] Refresh Storage Info @Algl4t START
[RPC] (3) Storage Info @/ext START
[RPC] (3) Storage Info @/ext SUCCESS
[RPC] (4) Storage Stat @/ext/Manifest START
[RPC] (4) Storage Stat @/ext/Manifest SUCCESS
[UTL] Refresh Storage Info @Algl4t SUCCESS
[UTL] Create Path @/ext/update/f7-update-dev-11032024-022fccf0 START
[RPC] (5) Storage Stat @/ext/update START
[RPC] (5) Storage Stat @/ext/update SUCCESS
[RPC] (6) Storage MkDir @/ext/update START
[RPC] (6) Storage MkDir @/ext/update SUCCESS
[RPC] (7) Storage MkDir @/ext/update/f7-update-dev-11032024-022fccf0 START
[RPC] (7) Storage MkDir @/ext/update/f7-update-dev-11032024-022fccf0 SUCCESS
[UTL] Create Path @/ext/update/f7-update-dev-11032024-022fccf0 SUCCESS
[UTL] Upload 6 entries @Algl4t START
[RPC] (8) Storage Write @/ext/update/f7-update-dev-11032024-022fccf0/firmware.dfu START
[RPC] (8) Storage Write @/ext/update/f7-update-dev-11032024-022fccf0/firmware.dfu SUCCESS
[RPC] (9) Storage Write @/ext/update/f7-update-dev-11032024-022fccf0/radio.bin START
[RPC] (9) Storage Write @/ext/update/f7-update-dev-11032024-022fccf0/radio.bin SUCCESS
[RPC] (10) Storage Write @/ext/update/f7-update-dev-11032024-022fccf0/resources.tar START
[RPC] (10) Storage Write @/ext/update/f7-update-dev-11032024-022fccf0/resources.tar SUCCESS
[RPC] (11) Storage Write @/ext/update/f7-update-dev-11032024-022fccf0/splash.bin START
[RPC] (11) Storage Write @/ext/update/f7-update-dev-11032024-022fccf0/splash.bin SUCCESS
[RPC] (12) Storage Write @/ext/update/f7-update-dev-11032024-022fccf0/update.fuf START
[RPC] (12) Storage Write @/ext/update/f7-update-dev-11032024-022fccf0/update.fuf SUCCESS
[RPC] (13) Storage Write @/ext/update/f7-update-dev-11032024-022fccf0/updater.bin START
[RPC] (13) Storage Write @/ext/update/f7-update-dev-11032024-022fccf0/updater.bin SUCCESS
[UTL] Upload 6 entries @Algl4t SUCCESS
[UTL] Start Update @Algl4t START
[RPC] (14) System Update @/ext/update/f7-update-dev-11032024-022fccf0/update.fuf START
[RPC] (14) System Update @/ext/update/f7-update-dev-11032024-022fccf0/update.fuf SUCCESS
[RPC] (15) System Reboot START
[RPC] (15) System Reboot SUCCESS
[RPC] Serial connection was lost.
[RPC] Stopping RPC session...
[RPC] RPC session stopped successfully.
[RPC] Starting RPC session...
[RPC] RPC session started successfully.
[RPC] (1) System Protobuf Version START
[RPC] (1) System Protobuf Version SUCCESS
[RPC] (2) Property Get START
[RPC] (2) Property Get SUCCESS
[RPC] (3) Storage Info @/ext START
[RPC] (3) Storage Info @/ext SUCCESS
[RPC] (4) Storage Stat @/ext/Manifest START
[RPC] (4) Storage Stat @/ext/Manifest SUCCESS
[RPC] (5) System Get DateTime START
[RPC] (5) System Get DateTime SUCCESS
[RPC] (6) System Set DateTime START
[RPC] (6) System Set DateTime SUCCESS
[RPC] Stopping RPC session...
[RPC] RPC session stopped successfully.
[RPC] Starting RPC session...
[RPC] RPC session started successfully.
[UTL] Start Update @Algl4t SUCCESS
[DEV] Full Update @Algl4t SUCCESS
[RPC] (16) Gui Start ScreenStream START
[RPC] (16) Gui Start ScreenStream SUCCESS
[RPC] (17) Storage Info @/ext START
[RPC] (17) Storage Info @/ext SUCCESS
[DEV] Full Update @Algl4t START
[RPC] (18) Gui Start VirtualDisplay START
[UTL] Region Provisioning @Algl4t START
[RPC] (18) Gui Start VirtualDisplay SUCCESS
[RPC] (19) Storage Write @/int/.region_data START
[RPC] (19) Storage Write @/int/.region_data SUCCESS
[UTL] Region Provisioning @Algl4t SUCCESS
[UTL] Refresh Storage Info @Algl4t START
[RPC] (20) Storage Info @/ext START
[RPC] (20) Storage Info @/ext SUCCESS
[RPC] (21) Storage Stat @/ext/Manifest START
[RPC] (21) Storage Stat @/ext/Manifest SUCCESS
[UTL] Refresh Storage Info @Algl4t SUCCESS
[UTL] Create Path @/ext/update/f7-update-mntm-001 START
[RPC] (22) Storage Stat @/ext/update START
[RPC] (22) Storage Stat @/ext/update SUCCESS
[RPC] (23) Storage Stat @/ext/update/f7-update-mntm-001 START
[RPC] (23) Storage Stat @/ext/update/f7-update-mntm-001 SUCCESS
[RPC] (24) Storage MkDir @/ext/update/f7-update-mntm-001 START
[RPC] (24) Storage MkDir @/ext/update/f7-update-mntm-001 SUCCESS
[UTL] Create Path @/ext/update/f7-update-mntm-001 SUCCESS
[UTL] Upload 7 entries @Algl4t START
[RPC] (25) Storage Write @/ext/update/f7-update-mntm-001/firmware.dfu START
[RPC] (25) Storage Write @/ext/update/f7-update-mntm-001/firmware.dfu SUCCESS
[RPC] (26) Storage Write @/ext/update/f7-update-mntm-001/firstboot.bin START
[RPC] (26) Storage Write @/ext/update/f7-update-mntm-001/firstboot.bin SUCCESS
[RPC] (27) Storage Write @/ext/update/f7-update-mntm-001/radio.bin START
[RPC] (27) Storage Write @/ext/update/f7-update-mntm-001/radio.bin SUCCESS
[RPC] (28) Storage Write @/ext/update/f7-update-mntm-001/resources.tar START
[UTL] Upload 7 entries @Algl4t ERROR: Operation timeout (generic)
[DEV] Full Update @Algl4t ERROR: Operation timeout (generic)
[RPC] (28) Storage Write @/ext/update/f7-update-mntm-001/resources.tar ERROR: Operation timeout (generic)
[RPC] (32) Gui Stop VirtualDisplay START
[DEV] Full Update @Algl4t START
[UTL] Region Provisioning @Algl4t START
[RPC] (32) Gui Stop VirtualDisplay ERROR: Operation timeout (generic)
@Willy-JL
Copy link
Member

yup, problem on OFW. if you want to make yourself heard on the matter, here flipperdevices/flipperzero-firmware#3452

@Willy-JL
Copy link
Member

Willy-JL commented Mar 16, 2024

in the meantime, try downgrading to ofw 0.97.1 (tgz download), then installing momentum again

read the update below

@Willy-JL Willy-JL mentioned this issue Mar 19, 2024
@Willy-JL Willy-JL added bugfix Something isn't working invalid This doesn't seem right labels Mar 19, 2024
@feldlef

This comment was marked as duplicate.

@Willy-JL
Copy link
Member

@feldlef read what i said to the other person, right above your comment. follow those instructions.

@dalaeance
Copy link

Not sure if it was just a fluke, or what, but I was having this issue. I tried twice, with failures. Before my third attempt, I increased my screen lock timeout from 2 minutes to 10 minutes, on a hunch, and it worked. I didn't test it scientifically, so it may have been a coincidence. Figured I'd mention it anyway.

@syntaxHax
Copy link

had the same error

resolution:

  • formatted the sd card (fat32)

next attempt went smoothly

@Willy-JL Willy-JL pinned this issue May 12, 2024
@Willy-JL Willy-JL added release-pending This is done, will be in next release and removed invalid This doesn't seem right labels Jun 13, 2024
@Willy-JL
Copy link
Member

Update: OFW has now rectified the issue, and all CFWs either have the new proper fix to this issue (Momentum, Unleashed, probably RM soon enough) or the old USB CDC revert patch (XFW). OFW is still affected by this bug in 0.102.3, but is fixed in dev branch and will be fixed from next OFW release.

If you are affected by this issue: select "development" channel in qflipper / phone app, and update to latest OFW dev; then, update to Momentum / whatever FW you want.

@Willy-JL
Copy link
Member

Fix released in OFW 0.103.1, if necessary update to OFW if you have issues installing Momentum or any other CFW. After that, CFW updates should be fine and not affected by this bug.

@Willy-JL Willy-JL removed the release-pending This is done, will be in next release label Jul 10, 2024
@Willy-JL Willy-JL unpinned this issue Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants