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

Feature Request: Altserver for Linux. #433

Closed
Spidy123222 opened this issue Nov 13, 2020 · 6 comments
Closed

Feature Request: Altserver for Linux. #433

Spidy123222 opened this issue Nov 13, 2020 · 6 comments

Comments

@Spidy123222
Copy link

Spidy123222 commented Nov 13, 2020

There has been program that have been used on Linux to sign apps especially recently like Zsign wich is on Linux. I don't know if this of any use but I thought this would be a nice way to sign apps. Using like ISH or on a small Linux server you can carry around and can sign with hotspot on.
Zsign Github: https://github.com/zhlynn/zsign

@Spidy123222 Spidy123222 changed the title Feature Request: Making Altserver on Linux. Feature Request: Altserver for Linux. Nov 13, 2020
@JoelOsler
Copy link

JoelOsler commented Nov 14, 2020

AltServer running in iSH would be absolutely epic!

@pixelcmtd
Copy link

Have been wanting this for a long time, porting a macOS daemon to Linux/other Unixes shouldn’t be a big problem.

@Spidy123222
Copy link
Author

Spidy123222 commented Nov 19, 2020

Have been wanting this for a long time, porting a macOS daemon to Linux/other Unixes shouldn’t be a big problem.

Yes I hope that the GitHub link I sent will help. I haven't coded so this can't be a PR so it's here.

There's a program somewhere that's going to release that uses your appID is for signing on device only. I'm going to try and find it.

EDIT:
I have found it. If it's possible maybe can find out what this is even though. This is a little off topic but I find it interesting. https://www.supercharge.app/

@ghost
Copy link

ghost commented Nov 19, 2020

@Spidy123222 AltServer doesn't really perform the signing, its primary job is installing and refreshing what is on the device via iTunes WiFi Sync.

With that in mind, digging through the implementation of AltServer, it looks to heavily depend on libimobiledevice to handle communication with iOS devices in ALTDeviceManager. This library does natively support GNU/Linux, including WiFi Sync features on which AltServer requires. Given the recent port of Swift Core to GNU/Linux, AltServer's transition from CocoaPod to Swift and the cross-platform nature of this library, it seems feasible at first glance.

Don't get your hopes too high yet. AltServer's Windows port requires iTunes and iCloud to be installed. As the documentation in libimobiledevice requires digging through each file, I haven't had the time yet to determine if there are specific library functions that depend on iTunes or not, let alone finding them in AltServer itself.

If @rileytestut could confirm which parts of AltServer interact with iTunes, I would be happy to lend some time to this effort. If iTunes is a strict requirement that cannot be worked around, that will impede such a port. Though I am not myself a Swift developer (primarily Python at the moment), the best way to learn is by doing.

@Spidy123222
Copy link
Author

@Spidy123222 AltServer doesn't really perform the signing, its primary job is installing and refreshing what is on the device via iTunes WiFi Sync.

With that in mind, digging through the implementation of AltServer, it looks to heavily depend on libimobiledevice to handle communication with iOS devices in ALTDeviceManager. This library does natively support GNU/Linux, including WiFi Sync features on which AltServer requires. Given the recent port of Swift Core to GNU/Linux, AltServer's transition from CocoaPod to Swift and the cross-platform nature of this library, it seems feasible at first glance.

Don't get your hopes too high yet. AltServer's Windows port requires iTunes and iCloud to be installed. As the documentation in libimobiledevice requires digging through each file, I haven't had the time yet to determine if there are specific library functions that depend on iTunes or not, let alone finding them in AltServer itself.

If @rileytestut could confirm which parts of AltServer interact with iTunes, I would be happy to lend some time to this effort. If iTunes is a strict requirement that cannot be worked around, that will impede such a port. Though I am not myself a Swift developer (primarily Python at the moment), the best way to learn is by doing.

Yeah I knew Altserver utilizes Libimobiledevice wich kind of made me think Linux is possible and obviously other programs can run on Linux that are similar and idk they use libimobiledevice but they probobly do. If making Altserver on Linux it would make it possible in theory to not need iTunes or iCloud imo. I only do luau scripting so I won't be too much help.

@noah978
Copy link
Member

noah978 commented Jan 5, 2021

Duplicate of #6

@noah978 noah978 marked this as a duplicate of #6 Jan 5, 2021
@noah978 noah978 closed this as completed Jan 5, 2021
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