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

Provide an option to pre-download all files before flashing #81

Open
Stevie-O opened this issue Feb 19, 2019 · 6 comments
Open

Provide an option to pre-download all files before flashing #81

Stevie-O opened this issue Feb 19, 2019 · 6 comments

Comments

@Stevie-O
Copy link

It may seem incredible, but even in this day and age, there are regions without ubiquitous Internet access. They're generally rural areas. Rural mountain areas are arguably the worst, because with all that rock in the way, even cellular service is incredibly slow or nonexistent.

This weekend, I was in a situation where I could not get AC power and Internet access simultaneously. Doing a firmware update on battery power is not my idea of a good time.

(One might ask "what's the point of having a Chromebook when you don't have Internet access?" Well, that's why I'm flashing the firmware to turn it into a regular Linux machine!)

@MrChromebox
Copy link
Owner

this adds a lot of complexity / reworking for a really small percentage use case. Seems like you might be better off just downloading the required files for your device and flashing manually?

@ciriousjoker
Copy link

What about just checking if the file is already downloaded and flashing that instead if the user declines a fresh download?

@MrChromebox
Copy link
Owner

I could certainly download the checksum file first, compare, and only download if it fails. But really what's the use case for that? The script would need quite a bit of work to properly cache everything locally, and re-use would only work if flashing multiples of the same device, since the tools downloads are pretty tiny

@ciriousjoker
Copy link

ciriousjoker commented Nov 3, 2019

Would it be easy to ask the user once at the start of flashing ("redownload everything?")?
If he says yes, all local files (checksums and images) are deleted.

Then you could just replace every curl call with a custom one that does nothing if the file exists.

The use case is if you're on a train or something and dont have (stable) internet, you can't switch the bootloader unless you do it completely manually.

In Germany for example, when you're not at home you have to be really lucky to find a public wifi OR have a cellular connection unless you're in a bigger city (often not even then).

cyclist276 referenced this issue Dec 13, 2022
Add UEFI Full ROM support for a handful of TGL/JSL boards.

Signed-off-by: Matt DeVillier <[email protected]>
@weirdal3333
Copy link

weirdal3333 commented Nov 14, 2023

Other, older, custom firmware installations are built assuming there is no internet access.
Most of the Wii and 3DS cfw installers have this baked in, as well as several other older games consoles...
I understand that a chromebook is not a game console, but this idea of looking for stored files first before looking on the internet should NEVER die. It shouldn't be a choice, either. If the files are there, use them! Checksum files too! If they aren't, download them.

What if the website goes down? What if you're in a country with limited internet access? There are a LOT of people that this applies to. Chromebooks are cheap and easy to get in less fortunate areas. Not everyone (for example in the US) can afford anything better than mcdonalds/xfinity free trial wifi.

Having the option for predownloaded files (and checksums) is a good way to keep things easy and open for everyone.

@MrChromebox
Copy link
Owner

the logistics of doing this and supporting 250+ devices isn't as easy as you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants