AltStore icon indicating copy to clipboard operation
AltStore copied to clipboard

Req: AltServer on linux

Open rodalpho opened this issue 6 years ago • 102 comments

I run all my home lab stuff on linux and would like to run the server there too. This would also open it up to raspberry pi devices and such.

rodalpho avatar Sep 26 '19 02:09 rodalpho

To build upon this idea, maybe something like iSH could be supported by (or perhaps even embedded in) AltStore to allow on-device signing. iSH emulates a sandboxed x86 Linux environment.

tech234a avatar Sep 26 '19 03:09 tech234a

Oh yeah, if it could run in iSH that would be a major improvement overall!

rodalpho avatar Sep 26 '19 12:09 rodalpho

On device signing is a cool idea but without a really good workaround it’s infeasible. You can’t easily install an ad-hoc app on a server hosted locally

nullpixel avatar Sep 26 '19 21:09 nullpixel

I think iTunes Wifi sync may provide that workaround. Cydia Impactor already runs on Linux anyway, so while I assume a computer would be needed for initial setup, couldn't iSH host the signing and iTunes Wifi sync environment afterwards by identifying itself as the computer used for setup? I'm not sure if iOS rejects iTunes Wifi sync requests from localhost.

tech234a avatar Sep 26 '19 21:09 tech234a

it does block requests from localhost, yeah

nullpixel avatar Sep 26 '19 21:09 nullpixel

Ah, ok. I assume it won't accept a VPN that fakes a local network, right?

tech234a avatar Sep 26 '19 21:09 tech234a

I think that works but it requires a paid developer account because of the entitlements needed

nullpixel avatar Sep 26 '19 22:09 nullpixel

I second this. I use Linux as my daily driver and this would be much appreciated.

LittleWhole avatar Oct 05 '19 05:10 LittleWhole

I think that works but it requires a paid developer account because of the entitlements needed

Well that is still a very useful feature for developers since altserver is not required to install apps. (Refreshing isn’t really a problem here since it is 365 days)

asdfugil avatar Mar 21 '20 12:03 asdfugil

If you have enough horsepower, you can run Windows 10 in QEMU (https://www.qemu.org/) and AltServer/iTunes work fine. I just got a Proxmox (https://www.proxmox.com/en/) VM up and running just for AltServer. Its not the same and it's a pretty big resource drain for one program but it works.

CraftyCanine avatar Apr 13 '20 18:04 CraftyCanine

This would be very very nice to run to server on Pi’s as well as linux desktop machines. Would definitely love to see this, however I don’t think Apple supports native Linux builds for iTunes and iCloud

HPaulson avatar Apr 30 '20 16:04 HPaulson

If you could reverse engineer the Anisette stuff you wouldn’t need it.

nullpixel avatar Apr 30 '20 16:04 nullpixel

Well this probably has a lot of that information on Anisette as used in iCloud: https://github.com/horrorho/InflatableDonkey/issues/87

tech234a avatar Apr 30 '20 17:04 tech234a

ARM Linux has already a working implementation of CoreADI, library that reads authentication data. It was made for Apple Music for Android but it turns out that it does not needs libandroid.so. I thinks it is a good start point.

Dadoum avatar May 02 '20 16:05 Dadoum

Would be an amazing addition and allow me to do all that I need from within Archlinux instead of having to reboot into my Windows 10 or use a VM. As mentioned above, implementation would be quite streamlined (albeit, I have no idea of the realistic difficulty).

stoladev avatar May 23 '20 16:05 stoladev

Maybe using a light weight virtual machine that hosts only the required components could be the best course. Does Wine work well with iTunes? Could be another route.

nihaals avatar May 31 '20 18:05 nihaals

I started a project like that but it depends a lot on the host machine (some shared libraries such as GNUTLS are not recognized correctly) and it is illegal to redistribute iTunes if I remember well.

Dadoum avatar May 31 '20 19:05 Dadoum

Another vote for this

kylejbrk avatar Jul 14 '20 22:07 kylejbrk

I also vote for this, it would be very nice as I use Linux as my daily driver.

czp6 avatar Aug 09 '20 00:08 czp6

There are still files that AltServer requires that aren't available for linux yet. Once a workaround is found there will definitely be official support for it. We all want to see linux support, including Riley.

jimm-e avatar Aug 09 '20 01:08 jimm-e

Maybe using a light weight virtual machine that hosts only the required components could be the best course. Does Wine work well with iTunes? Could be another route.

iTunes is kinda broken in the current version of wine, the GUI is all blacked out with some elements popping in and out of existence. But even if there was a workaround for that, iTunes just won’t be able to recognize any iOS device as USB support in wine is lacking currently, I say currently because it is something they’re working on but it’ll most likely take a long while to come out....

kquote03 avatar Sep 22 '20 04:09 kquote03

We can use wine with basic libraries, since it works (I tried it) in order to get anisette. But nothing more. Everything should be made on Linux. So to do it there must be a self contained executable with wine et prefix that will return anisette data in serialized format, that will be read by another native program, that will do all requests. The only things that is missing is the WiFi sync support in libimobiledevice

Le mar. 22 sept. 2020 à 06:26, kenan1099 [email protected] a écrit :

Maybe using a light weight virtual machine that hosts only the required components could be the best course. Does Wine work well with iTunes? Could be another route.

iTunes is kinda broken in the current version of wine, the GUI is all blacked out with some elements popping in and out of existence.

But even if there was a workaround for that, iTunes just won’t be able to recognize any iOS device as USB support in wine is lacking currently, I say currently because it is something they’re working on but it’ll most likely take a long while to come out....

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rileytestut/AltStore/issues/6#issuecomment-696501642, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF4JG4AHAAOCH7ZK7R73TTLSHARQLANCNFSM4I2UE3FA .

Dadoum avatar Sep 22 '20 05:09 Dadoum

Looks like there's now Wifi-sync support on latest libimobiledevice version.

https://github.com/libimobiledevice/libimobiledevice

iksaku avatar Sep 25 '20 20:09 iksaku

Anything new?

iMonZ avatar Dec 07 '20 09:12 iMonZ

Anything new on this? It would be really cool if I could run AltServer on my Raspberry Pi HomeBridge!

techman55 avatar Jan 23 '21 22:01 techman55

I got something on my side but still require some time before it is ready

Dadoum avatar Jan 23 '21 22:01 Dadoum

I got something on my side but still require some time before it is ready

Ok, cool

techman55 avatar Jan 23 '21 22:01 techman55

I got something on my side but still require some time before it is ready

anything new?

twlswan avatar Mar 15 '21 21:03 twlswan

I got something on my side but still require some time before it is ready

anything new?

~~Sorry to break hype, but my research gave something, that cannot finally be used to install apps without wine.~~

Dadoum avatar Mar 15 '21 23:03 Dadoum

Okay I cancel what I said it should let us go further on the objective (but still not sure)

Dadoum avatar May 03 '21 00:05 Dadoum