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

Req: AltServer on linux #6

Open
rodalpho opened this issue Sep 26, 2019 · 106 comments
Open

Req: AltServer on linux #6

rodalpho opened this issue Sep 26, 2019 · 106 comments
Labels
enhancement New feature or request

Comments

@rodalpho
Copy link

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.

@tech234a
Copy link

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.

@rodalpho
Copy link
Author

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

@nullpixel
Copy link

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

@tech234a
Copy link

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.

@nullpixel
Copy link

nullpixel commented Sep 26, 2019

it does block requests from localhost, yeah

@tech234a
Copy link

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

@nullpixel
Copy link

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

@LittleWhole
Copy link

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

@asdfugil
Copy link
Collaborator

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)

@CraftyCanine
Copy link

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.

@HPaulson
Copy link

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

@nullpixel
Copy link

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

@tech234a
Copy link

Well this probably has a lot of that information on Anisette as used in iCloud: horrorho/InflatableDonkey#87

@Dadoum
Copy link

Dadoum commented May 2, 2020

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.

@noah978 noah978 added the enhancement New feature or request label May 22, 2020
@stoladev
Copy link

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).

@nihaals
Copy link

nihaals commented May 31, 2020

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.

@Dadoum
Copy link

Dadoum commented May 31, 2020

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.

@kylejbrk
Copy link

Another vote for this

@czp6
Copy link

czp6 commented Aug 9, 2020

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

@jimm-e
Copy link
Collaborator

jimm-e commented Aug 9, 2020

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.

@kquote03
Copy link

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....

@Dadoum
Copy link

Dadoum commented Sep 22, 2020 via email

@iksaku
Copy link

iksaku commented Sep 25, 2020

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

https://github.com/libimobiledevice/libimobiledevice

@iMonZ
Copy link

iMonZ commented Dec 7, 2020

Anything new?

@Leeo6002
Copy link

Any breakthroughs?

@Midou36O
Copy link

I have also tried to install an ipa via AltServer-Linux. My device is recognised, there is a message Starting notification connection to device: My iPhone 12 mini and then nothing happens :(

Same error :P

@surfer245
Copy link

I had a look at the source code. The installation of an ipa (e.g. the AltStore app) is disabled in the current source code. So compiled the AltServer binary myself (which is kind of difficult because of the unusual library dependencies) and "hacked" a working solution.
I guess the best bet would be to install the AltStore app via Windows or MacOSX and then use the released AltServer binary for Linux to handle the communication with the apple servers.

@zhifuchang
Copy link

zhifuchang commented Oct 22, 2021

yes, the released version has bug in it, It cannot install the ipa.
I compiled the source code in archlinux with PKGBUILD, not suited to everybody, but you can have a try.
the binary is static linked, maybe works.
(url
AltServer.zip
)

@hu3rror
Copy link

hu3rror commented Oct 22, 2021

yes, the released version has bug in it, It cannot install the ipa. I compiled the source code in archlinux with PKGBUILD, not suited to everybody, but you can have a try. the binary is static linked, maybe works. (url AltServer.zip )

I am also an archlinux user and this binary works fine via USB.

btw, this binary needs to run idevicepair pair before using it.

@fuad00
Copy link

fuad00 commented Nov 14, 2021

Anything new?

@Dadoum
Copy link

Dadoum commented Nov 14, 2021

Anything new?

Since you can use the AltServer Linux, I stopped working on mine for some time (I was originally doing it for another project, but this project needs some more important parts, hence why I stopped working on it)

@huantianad
Copy link

@zenochen if you have a PKGBUILD could you possibly post it?

@Phantop
Copy link

Phantop commented Nov 27, 2021

I've managed to use the binary to install AltStore, however it closes immediately when I try opening it. What do I do? Does IPA installation work or do I need to install AltStore first using Windows/macOS?

@VelocityDesign
Copy link

yes, the released version has bug in it, It cannot install the ipa.
I compiled the source code in archlinux with PKGBUILD, not suited to everybody, but you can have a try.
the binary is static linked, maybe works.
(url
AltServer.zip
)

Can you please release the binary for arm64 devices if possible? That way it might be possible to run altserver directly on android devices.

That's rather ironic. Running AltServer for an iPhone on an Android device. This would be ideal for those who have a Raspberry Pi or Pine64 boards.

@loligans
Copy link

There is a project that lets you run MacOS in a Docker container on Linux. It is able to use iMessage, so it may also be able to install and use AltServer. I'm setting it up to see if it works https://github.com/sickcodes/Docker-OSX

@AlejandroAkbal
Copy link

There is a project that lets you run MacOS in a Docker container on Linux. It is able to use iMessage, so it may also be able to install and use AltServer. I'm setting it up to see if it works https://github.com/sickcodes/Docker-OSX

Any news? Did it work?

@ghost
Copy link

ghost commented Jan 2, 2022 via email

@iMonZ
Copy link

iMonZ commented Jan 3, 2022

There is a project that lets you run MacOS in a Docker container on Linux. It is able to use iMessage, so it may also be able to install and use AltServer. I'm setting it up to see if it works https://github.com/sickcodes/Docker-OSX

Any news? Did it work?

Doesn’t work anymore :(
Really sad

@NyaMisty
Copy link

NyaMisty commented Jan 9, 2022

@zenochen @Surfer298 thanks for point that out. Totally my fault!

@olivertzeng
Copy link

@powenn
Copy link

powenn commented Mar 19, 2022

imageimage

A simple GUI for NyaMisty's AltServer-Linux ,should work on newer version of Linux distributions,tested on Ubuntu 20.04,Ubuntu 21.04,Debian 11,Manjaro 21.2.4

@d-513
Copy link

d-513 commented Mar 19, 2022

@powenn awesome!!! I'll package it for the AUR

@dtantono
Copy link

@powenn what kind of packaging do you use? Appimage?

@olivertzeng
Copy link

olivertzeng commented Apr 12, 2022 via email

@nbycoder
Copy link

imageimage

A simple GUI for NyaMisty's AltServer-Linux ,should work on newer version of Linux distributions,tested on Ubuntu 20.04,Ubuntu 21.04,Debian 11,Manjaro 21.2.4

don't know if I am doing anything wrong but this isn't opening for me on Ubuntu 21.10. Just a heads up.

@olivertzeng
Copy link

it's supposed to be

@powenn
Copy link

powenn commented Apr 24, 2022

Do you have gnome shell extension-app indicator installed,requires that to display tray menu app

@nbycoder
Copy link

nbycoder commented Apr 24, 2022

Yup. Still nothing

Update: About the tray menu: It works if I run ./altserver with sudo from /usr/lib/altserver, there might be a problem with the .desktop file. At first, it wasn't able to detect my device but I restarted usbmuxd and it worked!

Do you have gnome shell extension-app indicator installed,requires that to display tray menu app

@Dadoum
Copy link

Dadoum commented Jun 23, 2022

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

It took one year and a half but I managed to make it working! (reducing the size of the big Windows docker to few megabytes payload to generate missing data + my method allows very easy dynamic reverse-engineering if you want to get rid of these few megabytes!)

Now there should not be any real blocker (no work-around needed).

@roykim98
Copy link

Can probably close out this issue as https://github.com/NyaMisty/AltServer-Linux is operational.

@aaronliu0130
Copy link

aaronliu0130 commented Apr 10, 2023

aaand altserver-linux is inactive now

@Dadoum
Copy link

Dadoum commented Apr 10, 2023

aaand altserver-linux is inactive again

it is still working isn't it?

@aaronliu0130
Copy link

Maybe. I'm not sure what the latest update did besides updating the IPA but altserver-linux hasn't been released yet for an entire year, so maybe building it yourself would work, maybe not. There also used to be sync with upstream commits which haven't been done lately, but maybe the submodules alleviate this. I'm planning a alinux migration but currently haven't done so yet.

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

No branches or pull requests