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

[Question] Safe to delete folders in the "update" folder? #387

Closed
junghyuneun opened this issue Mar 20, 2025 · 1 comment
Closed

[Question] Safe to delete folders in the "update" folder? #387

junghyuneun opened this issue Mar 20, 2025 · 1 comment
Labels
question Some information is requested

Comments

@junghyuneun
Copy link

I am asking this question because I couldn't find any issue / doc related to this topic.

After flashing a new build, a new folder with the version name (ex: f7-update-mmtm-dev-${commitId}) is created in the update folder.

At first I didn't really care about it, but after I started flashing dev builds the number of folders keep increasing and they each take about ~10MB, so I can't really ignore it any more.

Is it safe to delete these folders? I am worried it might break the device because it contains files like backup.tar, firmware.dfu, firstboot.bin, and I am not sure if these files are just used at the time of update or if they are used every time I use the device.

Thanks in advance!

@junghyuneun junghyuneun changed the title [Question] Safe to delete update folder [Question] Safe to delete folders in the "update" folder? Mar 20, 2025
@Willy-JL
Copy link
Member

Your suspicion is correct, the update folder contains update bundles, which during installation make a backup of internal settings for backwards compatibility (in the past the internal storage was reset at every firmware install so it made a backup and restored after, now internal storage is fake and lives on sd card but it is still backed up and restored for compatibility), and the firstboot file is specific to momentum, it is the intro animation you see when first installing momentum.

You're absolutely free to delete the update folder!

@Willy-JL Willy-JL added the question Some information is requested label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Some information is requested
Projects
None yet
Development

No branches or pull requests

2 participants