AltServer-Linux icon indicating copy to clipboard operation
AltServer-Linux copied to clipboard

Failed to handle request: AltServer could not find the device.

Open zimsneexh opened this issue 3 years ago • 27 comments

Hello, I am running netmuxd and AltServer-linux-x86_64, but if I try to refresh an app in Altstore I get "Failed to handle request: AltServer could not find the device" and on the device itself I get: "Could not find AltServer".

Happy to provide log files, if needed. Could it be that a pairing step is necessary? If so, how would I go about that?

zimsneexh avatar Apr 19 '22 11:04 zimsneexh

Pairing is not necessary at all

powenn avatar Apr 19 '22 12:04 powenn

What muxer are you using?

jkcoxson avatar Apr 19 '22 12:04 jkcoxson

I'm using https://github.com/jkcoxson/netmuxd

zimsneexh avatar Apr 19 '22 12:04 zimsneexh

You will need to temporarily use another muxer to pair your device. Netmuxd does not include usb drivers.

jkcoxson avatar Apr 19 '22 12:04 jkcoxson

So I do need to pair it, alright. Pairing with idevicepair and usbmuxd should work?

zimsneexh avatar Apr 19 '22 12:04 zimsneexh

Plugging it in while usbmuxd is running should do the trick

jkcoxson avatar Apr 19 '22 13:04 jkcoxson

You can always run netmuxd in extension mode to usbmuxd so that both can live. If you want both pass —disable-unix and pass —host 127.0.0.1. Then before running AltServer set USBMUXD_SOCKET_ADRESS=127.0.0.1:27015

jkcoxson avatar Apr 19 '22 13:04 jkcoxson

Pairing is not necessary at all

needed. you don't need to pairing simply because netmuxd uses original usbmuxd's pair data

NyaMisty avatar Apr 19 '22 13:04 NyaMisty

You can always run netmuxd in extension mode to usbmuxd so that both can live. If you want both pass —disable-unix and pass —host 127.0.0.1. Then before running AltServer set USBMUXD_SOCKET_ADRESS=127.0.0.1:27015

We can update netmuxd's documentation instead of giving small instructions here ;)

NyaMisty avatar Apr 19 '22 13:04 NyaMisty

i dont understand how this command help me ? "sudo idevice_id -l -n" . for me is using a cable not an option.

i dont understand why i get the message that my phone doesnt find the server, but installed the sideloaded app. The sideloaded app doesend start correctly, it boots for 2sek and shut down.

sorry for my bad language

kerim-dev avatar Apr 19 '22 13:04 kerim-dev

Cable is a requirement, not an option

jkcoxson avatar Apr 19 '22 13:04 jkcoxson

but for every refresh?

kerim-dev avatar Apr 19 '22 13:04 kerim-dev

No, just the first one while you generate your pairing file

jkcoxson avatar Apr 19 '22 13:04 jkcoxson

ok, i try to install again a sideloaded app with altstore with cable

kerim-dev avatar Apr 19 '22 13:04 kerim-dev

Any fix? Since the problem still exists for me

SoftwareRat avatar May 01 '22 15:05 SoftwareRat

I was struggling to figure out the same issue. I realized that I never hooked my iPad up to a windows device and enabled the wifi sync. I booted into windows, installed itunes and hooked up my ipad finally enabling wifi sync. Once turning on that option I booted back to linux and was able to connect my ipad with netmuxd and the linux altserver.

raulvasquez avatar May 16 '22 16:05 raulvasquez

I have the same problem. Despite being able to see my device with idevice_id -l -n. Is there any way to force pairing via usb ?

netmuxd shows that it has successfully added the device:

Added device <some-id>
Added device <some hash>

I clicked on refresh inside AltStore app on my iPhone. Then it asked for the 2FA code, that's fine, then the process starts and I get the error Failed to handle request: AltServer could not find the device.

DrissiReda avatar Jun 29 '22 14:06 DrissiReda

For all those meeting this issue, make sure you can run ideviceinstaller -l and list your device's installed app. If you can't, then it's not AltServer's fault :(

NyaMisty avatar Jun 30 '22 06:06 NyaMisty

Sadly I can list the device. And it still doesn’t work.

DrissiReda avatar Jun 30 '22 06:06 DrissiReda

Sadly I can list the device. And it still doesn’t work.

@DrissiReda Besure you use ideviceinstaller -l instead of idevice_id -l

NyaMisty avatar Jun 30 '22 06:06 NyaMisty

Sadly I can list the device. And it still doesn’t work.

@DrissiReda Besure you use ideviceinstaller -l instead of idevice_id -l

Yes I can see installed apps. It's a 3 column csv output.

Here is a snippet:

com.waze.iphone, "0", "Waze"
com.voiturelib.voiturelib, "8300200", "Getaround"
com.5DY8CMDJ8W.com.rileytestut.AltStore, "1", "AltStore"
com.weward, "81", "Weward"
com.MuslimPlus.MuslimPlus, "59", "Pillars"
com.ookla.speedtest, "4", "Speedtest"
com.microsoft.azureauthenticator, "3", "Authenticator"

DrissiReda avatar Jun 30 '22 06:06 DrissiReda

@DrissiReda Strange, are you still not able to use AltServer? Can you retry?

NyaMisty avatar Jun 30 '22 07:06 NyaMisty

I retried multiple times. It looks like it starts installing, then it fails with the error I outlined below

I have the same problem. Despite being able to see my device with idevice_id -l -n. Is there any way to force pairing via usb ?

netmuxd shows that it has successfully added the device:

Added device <some-id>
Added device <some hash>

I clicked on refresh inside AltStore app on my iPhone. Then it asked for the 2FA code, that's fine, then the process starts and I get the error Failed to handle request: AltServer could not find the device.

DrissiReda avatar Jun 30 '22 07:06 DrissiReda

Well, can you use AltServer without netmuxd?

NyaMisty avatar Jun 30 '22 07:06 NyaMisty

I haven't tried

DrissiReda avatar Jun 30 '22 07:06 DrissiReda

@NyaMisty I'm getting error "unable to sign to your apple ID -36607". I tried to relog to my apple ID from my AltStore app, and now I can't I keep getting that same error.

DrissiReda avatar Jun 30 '22 07:06 DrissiReda

I was struggling to figure out the same issue. I realized that I never hooked my iPad up to a windows device and enabled the wifi sync. I booted into windows, installed itunes and hooked up my ipad finally enabling wifi sync. Once turning on that option I booted back to linux and was able to connect my ipad with netmuxd and the linux altserver.

just wanted to point out how this still applies. thank you.

darderik avatar Dec 10 '23 13:12 darderik