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 retrieving beta versions #614

Open
airsquared opened this issue Aug 21, 2023 · 23 comments
Open

Error retrieving beta versions #614

airsquared opened this issue Aug 21, 2023 · 23 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@airsquared
Copy link
Owner

airsquared commented Aug 21, 2023

Enabling "Include Betas" will produce an error. The only workaround to save blobs for beta versions is to manually specify a URL.

This is due to the BetaHub API being shut down without warning. Any GET request to the API returns code 302. I am looking for an alternative API or another way to do this.

Logs

HTTP Response was (GET https://www.betahub.cn/api/apple/firmwares/iPhone12,8?type=2) 302
Screenshot
@airsquared airsquared added bug Something isn't working help wanted Extra attention is needed labels Aug 21, 2023
@ghost
Copy link

ghost commented Aug 21, 2023

How do you change the url

@airsquared
Copy link
Owner Author

How do you change the url

Use the "Manually Specify URL" checkbox

@LunarN0v4
Copy link

maybe something like https://ipswdownloads.docs.apiary.io/ ?

@ghost
Copy link

ghost commented Aug 22, 2023

How do you change the url

Use the "Manually Specify URL" checkbox

ok thx

@ghost
Copy link

ghost commented Aug 22, 2023

Maybe use https://ipswbeta.dev/ ?

@airsquared
Copy link
Owner Author

maybe something like https://ipswdownloads.docs.apiary.io/ ?

This is already used in blobsaver for release versions; but it doesn't provide information on betas.

Maybe use https://ipswbeta.dev/ ?

This website doesn't provide information on the signing status of betas - same issue with https://appledb.dev/ .

@olivertzeng
Copy link

olivertzeng commented Sep 4, 2023

Hey @airsquared I've thought a great way to make saving bets blobs happen! Although you can't find the signing status just from ipswbeta.dev but you can fetch the list of available IPSW from ipswbeta.dev and let the users choose which version to save(while notifying that they can only save blobs that are signed) or you can make it automatically fetch the signing status here.

TL;DR Fetch beta IPSWs from one website and fetch signing status from the other.

@ghost
Copy link

ghost commented Sep 14, 2023

Hey @airsquared ive thought a great way to make saving bets blobs happen! Although you can't find signing status just from ipswbeta.dev but you can fetch the list of available ipas from ipswbeta.dev and let the users choose which version to save(while notifying that they can only save blobs that are signed) or you can check signing status at https://idevicecentral.com/ios-updates/ios-beta-signing-status/

genius

@olivertzeng
Copy link

Hey @airsquared ive thought a great way to make saving bets blobs happen! Although you can't find signing status just from ipswbeta.dev but you can fetch the list of available ipas from ipswbeta.dev and let the users choose which version to save(while notifying that they can only save blobs that are signed) or you can check signing status at https://idevicecentral.com/ios-updates/ios-beta-signing-status/

genius

Lol thanks, but I'm the only one who does not really code for others and talking like a genius, like those corrupt politicians.

@LunarN0v4
Copy link

Hey @airsquared ive thought a great way to make saving bets blobs happen! Although you can't find signing status just from ipswbeta.dev but you can fetch the list of available ipas from ipswbeta.dev and let the users choose which version to save(while notifying that they can only save blobs that are signed) or you can check signing status at https://idevicecentral.com/ios-updates/ios-beta-signing-status/

genius

Lol thanks, but I'm the only one who does not really code for others and talking like a genius, like those corrupt politicians.

That's actually a good simile, might steal that >:D

@olivertzeng
Copy link

Hey @airsquared ive thought a great way to make saving bets blobs happen! Although you can't find signing status just from ipswbeta.dev but you can fetch the list of available ipas from ipswbeta.dev and let the users choose which version to save(while notifying that they can only save blobs that are signed) or you can check signing status at https://idevicecentral.com/ios-updates/ios-beta-signing-status/

genius

Lol thanks, but I'm the only one who does not really code for others and talking like a genius, like those corrupt politicians.

That's actually a good simile, might steal that >:D

(⁎⁍̴̛ᴗ⁍̴̛⁎)

@airsquared
Copy link
Owner Author

Based on the whole situation with Cryptex, saving these beta blobs will not be useful until we are able to save Cryptex blobs as well. Because of this, I will be holding off on implementing this feature until we can save Cryptex blobs.

If someone else wants to work on @olivertzeng's idea, I can help and accept a PR. Another idea I had (if someone else wants to try) was to write a new API that just updates a GitHub repository with json files every hour or so with GitHub Actions.

@olivertzeng
Copy link

Based on the whole situation with Cryptex, saving these beta blobs will not be useful until we are able to save Cryptex blobs as well. Because of this, I will be holding off on implementing this feature until we can save Cryptex blobs.

If someone else wants to work on @olivertzeng's idea, I can help and accept a PR. Another idea I had (if someone else wants to try) was to write a new API that just updates a GitHub repository with json files every hour or so with GitHub Actions.

Thanks @airsquared !

@yodaluca23
Copy link

Based on the whole situation with Cryptex, saving these beta blobs will not be useful until we are able to save Cryptex blobs as well.

I mean, you never know who knows what the future will look like maybe they'll be some exploit that we can use them with or something...

@airsquared
Copy link
Owner Author

You can still save blobs for beta versions manually with an IPSW URL, if you really want to. I just won't be working further on beta versions until there is a clear way to use them.

@Infinitay
Copy link

I realized now that all my saves have potentially been broken since I haven't updated in a while and have been relying on the background service. Furthermore, all my saved devices have the beta firmware option checked, so it would have been broken anyways I reckon.

Since there won't be an update and there still isn't a way to persist saved-device changes, is there a way to mass edit them so I don't have to re-create all of my profiles?

@airsquared
Copy link
Owner Author

airsquared commented Oct 5, 2023

@Infinitay
It will always save blobs for non-beta versions first before attempting (and failing) to save blobs for beta versions, meaning your blobs will still be saved regardless of whether beta blobs are working or not.

If you want to edit them anyway, you can export them to XML, edit the XML file, then import the new XML file.

You can also use the CLI:

blobsaver --export export.xml
sed -i 's/"Include Betas" value="true"/"Include Betas" value="false"/g' export.xml
blobsaver --import export.xml

@olivertzeng
Copy link

@Infinitay It will always save blobs for non-beta versions first before attempting (and failing) to save blobs for beta versions, meaning your blobs will still be saved regardless of whether beta blobs are working or not.

If you want to edit them anyway, you can export them to XML, edit the XML file, then import the new XML file.

You can also use the CLI:

blobsaver --export export.xml
sed -i 's/"Include Betas" value="true"/"Include Betas" value="false"/g' export.xml
blobsaver --import export.xml

whoa cool thank you @airsquared ||However blobs are useless anyway(I'm on A15)...||

@olivertzeng
Copy link

Hey @airsquared I've thought a great way to make saving bets blobs happen! Although you can't find the signing status just from ipswbeta.dev but you can fetch the list of available IPSW from ipswbeta.dev and let the users choose which version to save(while notifying that they can only save blobs that are signed) or you can make it automatically fetch the signing status here.

TL;DR Fetch beta IPSWs from one website and fetch signing status from the other.

I've updated my comment.

@Infinitay
Copy link

It will always save blobs for non-beta versions first before attempting (and failing) to save blobs for beta versions, meaning your blobs will still be saved regardless of whether beta blobs are working or not.

After almost a month I checked my folder and noticed that it still didn't save any of the new iOS versions because I assumed this held true. It does not. I tested it now myself too on my new phone and a new folder, and the blobs weren't saving because I had beta versions checked. Whether I was force checking the background task or doing a manual run.

After exporting, disabling saving beta, and importing, everything worked fine.

Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you would like this issue to remain open, please comment.

@stale stale bot added the Stale label Mar 17, 2024
@Mukul1127
Copy link

Don't know what has happened but it seems the url you provided: https://www.betahub.cn/api/apple/firmwares/iPhone12,8?type=2 works just fine

@stale stale bot removed the Stale label Mar 21, 2024
@Mukul1127
Copy link

Don't know what has happened but it seems the url you provided: https://www.betahub.cn/api/apple/firmwares/iPhone12,8?type=2 works just fine

EDIT: It's down again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants