Make fw_prepare pick the right cloudOS IPSW automatically#238
Conversation
|
why hasnt this been implemented yet? |
|
There's an issue in line 722 |
|
I second this, it is pretty annoying still. Ideally we would just specify the iOS version and it would pull the relevant CloudOS kernel automatically. There's no real need for this separation for normal users. Fetching the CloudOS downloads from AppleDB is one option, Also the README already contains a mapping to the relevant CloudOS release, so we could just have a mapping that manually translates the iOS version to the CloudOS download URI, these don't get released so often and anyway probably require manual intervention to modify patches, test, before having it supported officially. |
|
@gilboz to be honest someone should have just written a gui manager by now for this to have a clean UI with drop down of ios versions and list of patch types etc |
|
@madelynmp1-lang Not sure if a GUI is what is missing, but I think having tons of shell scripts launched by a GNU Makefile is just a poor design choice. Many of the shell scripts incorporate inline python code kinda hard to maintain. I think a much more reasonable approach would've been to write all the shell scripts as python scripts and package them normally with a cli tool including many subcommands, proper argparsing etc. |
|
tons of android virtual machine softwares have GUI managers to manage instances, ram size, disk size etc whether its bluestacks, mumu player or ldplayer |
What changed
I updated
fw_prepare.shso it fills inCLOUDOS_SOURCEautomatically when I don't pass one.Instead of falling back to a single hardcoded cloudOS URL, it now:
ComputeModule14,2)I kept the manual override path the same, so
--cloudos-source/CLOUDOS_SOURCEstill win if I want to pin a specific cloudOS IPSW.Why
I don't want to keep matching the cloudOS IPSW by hand every time I change the iPhone firmware. This makes the default path do the right thing and avoids mismatching the PCC firmware.
Quick check
bash -n scripts/fw_prepare.sh23D*iPhone build resolves to downloadable cloudOS23D128on AppleDB