GithubHelp home page GithubHelp logo

nyamisty / altserver-linux Goto Github PK

View Code? Open in Web Editor NEW
932.0 932.0 74.0 109 KB

AltServer for AltStore, but on-device

License: GNU Affero General Public License v3.0

Makefile 9.23% C 68.66% C++ 15.57% Dockerfile 0.90% Shell 0.54% Python 5.09%

altserver-linux's People

Contributors

github-actions[bot] avatar nyamisty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

altserver-linux's Issues

Cannot build AltServerNet for all platforms!

Within the source code that author has provided, I have followed all steps in README for building AltServer!
I've tried to build AltServer and AltServerUPnP and it works fine.
But when trying to build AltServerNet, it always failed.
I read the Make file and found that the CFLAGS variable hadn't been used.
Please fix that.
By the way, the AltServer install ipa but the app installed immediately crash!
The version of AltStore: 1.4.8
iOS version: 14.8.1
iPhone 12 Pro!

All Installed ipa crashes immediately

I compiled altserver using the instructions with alpine 3.15 docker container. It works perfectly as a daemon for refreshing apps , and ipa are installed. But all installed apps crash immediately when opened.

./PrefixHeader.pch:12:10: fatal error: 'cpprest/http_client.h' file not found

I followed all this:
image

But if I try to compile AltServer:

#       make NO_USBMUXD_STUB=1 NO_UPNP_STUB=1
make -C libraries/AltSign
make[1]: Entering directory '/root/AltServer-Linux/libraries/AltSign'
clang++ -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o Account.cpp.o -c Account.cpp
In file included from Account.cpp:11:
./PrefixHeader.pch:12:10: fatal error: 'cpprest/http_client.h' file not found
#include <cpprest/http_client.h>
         ^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [Makefile:18: Account.cpp.o] Error 1
make[1]: Leaving directory '/root/AltServer-Linux/libraries/AltSign'
make: *** [Makefile:83: lib_AltSign] Error 2

Feature Request

Hi,

Would it be possible to add a feature to build signed IPAs instead of installing?

AltServer Over Network

Can you please publish the AltServerNet binary for amd64?
I've followed through with all steps but didn't build the AltServerNet with success!

Error when linking - undefined reference to dladdr, dlsym, etc. (SOLUTION)

Hi,

When linking the application, LD reported the following errors

/usr/bin/ld: src/AltServerMain.cpp.o: in function `boost::stacktrace::detail::location_from_symbol::location_from_symbol(void const*)':
/usr/include/boost/stacktrace/detail/location_from_symbol.hpp:31: undefined reference to `dladdr'
/usr/bin/ld: src/AltServerMain.cpp.o: in function `boost::stacktrace::frame::name[abi:cxx11]() const':
/usr/include/boost/stacktrace/detail/frame_unwind.ipp:94: undefined reference to `dladdr'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): in function `dlfcn_globallookup':
(.text+0x17): undefined reference to `dlopen'
/usr/bin/ld: (.text+0x2a): undefined reference to `dlsym'
/usr/bin/ld: (.text+0x35): undefined reference to `dlclose'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): in function `dlfcn_pathbyaddr':
(.text+0x86): undefined reference to `dladdr'
/usr/bin/ld: (.text+0xf7): undefined reference to `dlerror'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): in function `dlfcn_bind_func':
(.text+0x407): undefined reference to `dlsym'
/usr/bin/ld: (.text+0x4d2): undefined reference to `dlerror'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): in function `dlfcn_load':
(.text+0x545): undefined reference to `dlopen'
/usr/bin/ld: (.text+0x5b9): undefined reference to `dlclose'
/usr/bin/ld: (.text+0x5f5): undefined reference to `dlerror'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libcrypto.a(dso_dlfcn.o): in function `dlfcn_unload':
(.text+0x6b8): undefined reference to `dlclose'
collect2: error: ld returned 1 exit status
make: *** [Makefile:89: AltServer] Error 1

SOLUTION: In the MAKEFILE, add the following flag to LDFLAGS (line 85)
-ldl

So line 85 of the MAKEFILE should look like
LDFLAGS = libraries/AltSign/AltSign.a -static -lssl -lcrypto -lpthread -lcorecrypto_static -lzip -lm -lz -lcpprest -lboost_system -lboost_filesystem -lstdc++ -lssl -lcrypto -luuid -ldl

Hope this information helps!

Error when linking - Cannot find lzip or lcpprest

Hi,

When linking the application, LD returns the following error:

/usr/bin/ld: cannot find -lzip
/usr/bin/ld: cannot find -lcpprest
collect2: error: ld returned 1 exit status
make: *** [Makefile:89: AltServer] Error 1

The command executed by the makefile prior to the error is:
cc -o AltServer src/muslfix.c.o src/PhoneHelper.c.o src/AltServerMain.cpp.o src/AltServerApp.cpp.o src/ClientConnection.cpp.o src/ServerError.cpp.o src/AnisetteDataManager.cpp.o src/ConnectionManager.cpp.o src/WiredConnection.cpp.o src/NotificationConnection.cpp.o src/WirelessConnection.cpp.o src/DeviceManager.cpp.o libraries/miniupnp.a libraries/libimobiledevice.a libraries/libplist.a libraries/AltSign/AltSign.a -static -lssl -lcrypto -lpthread -lcorecrypto_static -lzip -lm -lz -lcpprest -lboost_system -lboost_filesystem -lstdc++ -lssl -lcrypto -luuid

I had tested on two machines (Ubuntu 21.04/CPU x86_64 and Raspbian 5.10.60/CPU armv7), and I have the following packages installed

libcpprest-dev
libcpprest2.10
libzip-dev

Running the CC command manually without the -static linking option avoids these errors, however then there is another error, which I am assuming is because linking libraries dynamically isn't supported:

/usr/bin/ld: src/AltServerMain.cpp.o: undefined reference to symbol 'dladdr@@GLIBC_2.4'
/usr/bin/ld: //lib/arm-linux-gnueabihf/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

Let me know if any additional information is needed, and sorry if this is a stupid question (I'm not a programmer lol).

clould not find altserver

I open the altstore, if use wifi, I click the sign in with Apple ID, It shows the tip "clould not find altserver"

I tested with usb connected, it's ok.

Refusal to operate after removing device access from iCloud.

Hey, AltServer-Linux works great. Although, there seems to be a problem for me. During some troubleshooting steps, I accidentally removed the 'iMac' created by this program within the authorized devices located in Settings. So, whenever I try to refresh or install any applications, it returns multiple errors:

Received auth response status code: 200
Received auth response status code: 200
Alert: Could not install YouTube-Custom.ipa to unknown.
Unable to sign you in to your Apple ID. Try again later. (-36607)

I suppose the device is blacklisted from my Apple ID, is there anyway to spoof the device created so this program will operate normally again? (The password is definitely correct)

Thanks in advance.

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

image

Getting this message "Failed to handle request:AltServer could not find the device." after AltServer queries cert and is ready to sideload app. Phone gets recognized, it queries Apple and gets back cert info but after AltStore does it's thing, AltServer complains....

where can i find the corecrypto_static?

Thanks for your job.

when compiling, my system didn't find the corecrypto library, I thought it is apple'code, so I used one of the github hosted, but says: cc/src/cc_clear.c:66:10: fatal error: 'corecrypto/fipspost_trace.h' file not found

and I found that some files is missing, can you give us your code, thanks.

AltServer 1.5

AltServer 1.5 has just released, will the new changes be applied from upstream, or is there anything special to be done?

App is killed.

Hello,

I tried to run the latest X64 binary with the command
AltServer -u [MYUUID] -a [MYAPPLEID] -p [MYPASSWD] ./AltStore.ipa
I got the following output:
Installing app...
Killed

I tried to specify "-d", but it did not give additional information.

AltServer ignores IPA, always runs as daemon (SOLUTION)

Altserver Build Configuration 1 appears to be ignoring the option to Install an IPA, instead it always runs in daemon mode, even if an IPA file, UDID, username, and password are specified.

SOLUTION:
src/AltServerMain.cpp -> Line 166, add installApp = true;

ipaPath = argv[optind];

Change

    } else if (optind + 1 == argc) {
		ipaPath = argv[optind];

To

    } else if (optind + 1 == argc) {
		ipaPath = argv[optind];
		installApp = true;

Hope that helps!

OPENSSL_API_COMPAT error when compiling

clang++ -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o Account.cpp.o -c Account.cpp
In file included from Account.cpp:11:
In file included from ./PrefixHeader.pch:12:
In file included from /usr/include/cpprest/http_client.h:68:
In file included from /usr/include/boost/asio/ssl.hpp:18:
In file included from /usr/include/boost/asio/ssl/context.hpp:23:
In file included from /usr/include/boost/asio/ssl/context_base.hpp:19:
In file included from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:23:
In file included from /include/openssl/conf.h:4:
In file included from /include/openssl/./conf_asm.h:11:
In file included from /include/openssl/./archs/linux-x86_64/asm/include/openssl/conf.h:19:
/include/openssl/macros.h:155:4: error: "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
#  error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
   ^
1 error generated.

Please help

[Suggestion] Openwrt Support

Since openwrt is linux-based, it would be nice to have a version of altserver running on openwrt, so refresh could occur automatically over the network.

can't install altstore

i'm using the usbmuxd version it just wouldn't establish notification connection if altstore is not opend on the device so can't install it just refresh i stiil have to use windows and connection over the wifi with usbmuxd2 whould not connect the altserver

anyway you did a great job and i liked this keep on you can replay to me if i'm wrong maybe i messed something

i wish you can just create a simple tool to sign the ipa file on linux without altserver or installing it just sign with free apple id and the installation with ideviceinstaller

Fedora support

Hi! Im using Fedora and I cant run this app. Can you please do Fedora rpm support?

Failed to create heartbeat service: -256 using AltServerUPnP (from iSH)

Hello. I'm trying to use AltServerUPnP from iSH running on iOS device, but always get error:

[setupPairInfo:131] Setup pairInfo...
setsockopt(IP_MULTICAST_TTL,...): Invalid argument
[initUPnP:45] Got good upnp igd: http://192.168.1.1:52869/upnp/control/WANIPConn1
[initUPnP:63] Got ExternalIPAddress = 100.104.43.198

[main:182] upnp init successfully!
[main:185] Connect device...
[initHeartbeat:100] Start hb...
10:39:42 src/phone/idevice-stub.c:54 idevice_connect(): Connecting to 192.168.1.8:62078 via 100.104.43.198:24522...
10:39:47 src/phone/idevice-stub.c:63 idevice_connect(): ERROR: Connecting to network device failed: 115 (Operation in progress)
10:39:47 libraries/libimobiledevice/src/lockdown.c:635 lockdownd_client_new(): could not connect to lockdownd (device 00000000-MYDEVICEUUID)
10:39:47 libraries/libimobiledevice/src/lockdown.c:667 lockdownd_client_new_with_handshake(): failed to create lockdownd client.
10:39:47 libraries/libimobiledevice/src/service.c:89 service_client_factory_start_service(): Could not create a lockdown client.
[initHeartbeat:105] Failed to create heartbeat service: -256
[main:191] failed to init heartbeat! exitting...

UPnP is enabled on router, port is open:

nc -vnzu 100.104.43.198 24522
Connection to 100.104.43.198 port 24522 [udp/*] succeeded!

I think this happens because of 115 (Operation in progress) is not error, when getting this code we should wait asynchronously for connection establishment.

Support for Development Profiles.

Hey, is it possible to add support for development profiles?
They are some services that charges you 10 Bucks and gives you a Certificate for your Device instead of buying the 100 Bucks Certificate from apple.
This would make sideloading so much easier.

Error when linking - Cannot find lzip or lcpprest (SOLUTION)

Hi,

Sorry for the duplicate issue, my previous post (with the same name) got locked, not sure why.

I had reported the following errors when compiling:

/usr/bin/ld: cannot find -lzip
/usr/bin/ld: cannot find -lcpprest
collect2: error: ld returned 1 exit status
make: *** [Makefile:89: AltServer] Error 1

Solution: Had to manually download and compile cpprestsdk and libzip sources as static libraries. Errors went away thereafter.

cpprestsdk

git clone https://github.com/Microsoft/cpprestsdk.git casablanca
cd casablanca
mkdir build.debug
cd build.debug
cmake -G Ninja .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=0 #Build static libraries
ninja

libzip

git clone https://github.com/nih-at/libzip.git libzip
cd libzip
mkdir build
cd build
cmake .. -DBUILD_SHARED_LIBS=OFF  #Build static libraries
make
make test
make install

I thought I'd post this in case any one else has trouble with the same errors. Hope this information helps!

Cannot compile statically on Arch Linux

I'm getting this error: ryancdotorg/brainflayer#16

Specifically with

  • lcrypto
  • lssl
  • lzip
==> Starting build()...
make -C libraries/AltSign
make[1]: Entering directory '/tmp/makepkg/altserver-git/src/AltServer-Linux/libraries/AltSign'
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o Account.cpp.o -c Account.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o AnisetteData.cpp.o -c AnisetteData.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o AppGroup.cpp.o -c AppGroup.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o AppID.cpp.o -c AppID.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o AppleAPI+Authentication.cpp.o -c AppleAPI+Authentication.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o AppleAPI.cpp.o -c AppleAPI.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o AppleAPISession.cpp.o -c AppleAPISession.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o Application.cpp.o -c Application.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o Archiver.cpp.o -c Archiver.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o Certificate.cpp.o -c Certificate.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o CertificateRequest.cpp.o -c CertificateRequest.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o Device.cpp.o -c Device.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o ProvisioningProfile.cpp.o -c ProvisioningProfile.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o Signer.cpp.o -c Signer.cpp
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o Team.cpp.o -c Team.cpp
clang -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse  -o minizip/ioapi.c.o -c minizip/ioapi.c
clang -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse  -o minizip/zip.c.o -c minizip/zip.c
minizip/zip.c:761:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((level==2))
         ~~~~~^~~
minizip/zip.c:761:15: note: remove extraneous parentheses around the comparison to silence this warning
    if ((level==2))
        ~     ^  ~
minizip/zip.c:761:15: note: use '=' to turn this equality comparison into an assignment
    if ((level==2))
              ^~
              =
minizip/zip.c:763:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((level==1))
         ~~~~~^~~
minizip/zip.c:763:15: note: remove extraneous parentheses around the comparison to silence this warning
    if ((level==1))
        ~     ^  ~
minizip/zip.c:763:15: note: use '=' to turn this equality comparison into an assignment
    if ((level==1))
              ^~
              =
minizip/zip.c:883:28: warning: incompatible pointer types assigning to 'const unsigned long *' from 'const z_crc_t *' (aka 'const unsigned int *') [-Wincompatible-pointer-types]
        zi->ci.pcrc_32_tab = get_crc_table();
                           ^ ~~~~~~~~~~~~~~~
3 warnings generated.
clang -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse  -o minizip/unzip.c.o -c minizip/unzip.c
minizip/unzip.c:613:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else if (uMagic!=0x02014b50)
        ^
minizip/unzip.c:693:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
minizip/unzip.c:718:13: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
minizip/unzip.c:982:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
        else if (uMagic!=0x04034b50)
        ^
minizip/unzip.c:1170:24: warning: incompatible pointer types assigning to 'const unsigned long *' from 'const z_crc_t *' (aka 'const unsigned int *') [-Wincompatible-pointer-types]
        s->pcrc_32_tab = get_crc_table();
                       ^ ~~~~~~~~~~~~~~~
minizip/unzip.c:1242:46: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((pfile_in_zip_read_info->read_buffer == NULL))
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
minizip/unzip.c:1242:46: note: remove extraneous parentheses around the comparison to silence this warning
    if ((pfile_in_zip_read_info->read_buffer == NULL))
        ~                                    ^      ~
minizip/unzip.c:1242:46: note: use '=' to turn this equality comparison into an assignment
    if ((pfile_in_zip_read_info->read_buffer == NULL))
                                             ^~
                                             =
6 warnings generated.
clang++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse -std=c++17  -o ldid/ldid.cpp.o -c ldid/ldid.cpp
In file included from AppleAPI+Authentication.cpp:9:
In file included from /usr/include/corecrypto/ccsrp.h:15:
In file included from /usr/include/corecrypto/ccn.h:15:
In file included from /usr/include/corecrypto/cc.h:15:
/usr/include/corecrypto/cc_config.h:327:3: warning: "You are using the default corecrypto configuration, assembly optimizations may not be available for your platform" [-W#warnings]
 #warning "You are using the default corecrypto configuration, assembly optimizations may not be available for your platform"
  ^
clang -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Iminizip -I../libplist/include -I. -mno-sse  -o ldid/lookup2.c.o -c ldid/lookup2.c
Certificate.cpp:278:27: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations]
    char *cName = (char *)ASN1_STRING_data(nameData);
                          ^
/usr/include/openssl/asn1.h:554:1: note: 'ASN1_STRING_data' has been explicitly marked deprecated here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
^
/usr/include/openssl/opensslconf.h:154:34: note: expanded from macro 'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:112:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
ldid/ldid.cpp:1876:40: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations]
                        team.assign(reinterpret_cast<char*>(ASN1_STRING_data(asn)), ASN1_STRING_length(asn));
                                                            ^
/usr/include/openssl/asn1.h:554:1: note: 'ASN1_STRING_data' has been explicitly marked deprecated here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
^
/usr/include/openssl/opensslconf.h:154:34: note: expanded from macro 'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:112:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
ldid/ldid.cpp:2191:13: warning: 'uncaught_exception' is deprecated [-Wdeprecated-declarations]
                if (!std::uncaught_exception())
                          ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../include/c++/11.1.0/exception:105:3: note: 'uncaught_exception' has been explicitly marked deprecated here
  _GLIBCXX17_DEPRECATED
  ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../include/c++/11.1.0/x86_64-pc-linux-gnu/bits/c++config.h:109:34: note: expanded from macro '_GLIBCXX17_DEPRECATED'
# define _GLIBCXX17_DEPRECATED [[__deprecated__]]
                                 ^
ldid/ldid.cpp:2475:16: warning: 'auto_ptr<ldid::Expression>' is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
                mutable std::auto_ptr<Expression> regex_;
                             ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../include/c++/11.1.0/backward/auto_ptr.h:287:7: note: 'auto_ptr<ldid::Expression>' has been explicitly marked deprecated here
    } _GLIBCXX11_DEPRECATED_SUGGEST("std::unique_ptr");
      ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../include/c++/11.1.0/x86_64-pc-linux-gnu/bits/c++config.h:102:45: note: expanded from macro '_GLIBCXX11_DEPRECATED_SUGGEST'
# define _GLIBCXX11_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
                                            ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../include/c++/11.1.0/x86_64-pc-linux-gnu/bits/c++config.h:94:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
  __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
                  ^
1 warning generated.
3 warnings generated.
1 warning generated.
ar rcs AltSign.a Account.cpp.o AnisetteData.cpp.o AppGroup.cpp.o AppID.cpp.o AppleAPI+Authentication.cpp.o AppleAPI.cpp.o AppleAPISession.cpp.o Application.cpp.o Archiver.cpp.o Certificate.cpp.o CertificateRequest.cpp.o Device.cpp.o ProvisioningProfile.cpp.o Signer.cpp.o Team.cpp.o minizip/ioapi.c.o minizip/zip.c.o minizip/unzip.c.o ldid/ldid.cpp.o ldid/lookup2.c.o
make[1]: Leaving directory '/tmp/makepkg/altserver-git/src/AltServer-Linux/libraries/AltSign'
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/miniupnpc -Ilibraries/AltSign -o src/muslfix.c.o -c src/muslfix.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/miniupnpc -Ilibraries/AltSign -o src/PhoneHelper.c.o -c src/PhoneHelper.c
g++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -std=c++17 -Ilibraries -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/miniupnpc -Ilibraries/AltSign -o src/AltServerApp.cpp.o -c src/AltServerApp.cpp
g++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -std=c++17 -Ilibraries -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/miniupnpc -Ilibraries/AltSign -o src/AltServerMain.cpp.o -c src/AltServerMain.cpp
g++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -std=c++17 -Ilibraries -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/miniupnpc -Ilibraries/AltSign -o src/AnisetteDataManager.cpp.o -c src/AnisetteDataManager.cpp
g++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -std=c++17 -Ilibraries -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/miniupnpc -Ilibraries/AltSign -o src/ClientConnection.cpp.o -c src/ClientConnection.cpp
g++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -std=c++17 -Ilibraries -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/miniupnpc -Ilibraries/AltSign -o src/ConnectionManager.cpp.o -c src/ConnectionManager.cpp
g++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -std=c++17 -Ilibraries -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/miniupnpc -Ilibraries/AltSign -o src/DeviceManager.cpp.o -c src/DeviceManager.cpp
g++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -std=c++17 -Ilibraries -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/miniupnpc -Ilibraries/AltSign -o src/NotificationConnection.cpp.o -c src/NotificationConnection.cpp
g++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -std=c++17 -Ilibraries -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/miniupnpc -Ilibraries/AltSign -o src/ServerError.cpp.o -c src/ServerError.cpp
g++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -std=c++17 -Ilibraries -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/miniupnpc -Ilibraries/AltSign -o src/WiredConnection.cpp.o -c src/WiredConnection.cpp
In file included from src/NotificationConnection.cpp:3:
src/ServerError.hpp: In member function โ€˜virtual std::string ServerError::localizedDescription() constโ€™:
src/ServerError.hpp:120:5: warning: control reaches end of non-void function [-Wreturn-type]
  120 |     }
      |     ^
g++ -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -std=c++17 -Ilibraries -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/miniupnpc -Ilibraries/AltSign -o src/WirelessConnection.cpp.o -c src/WirelessConnection.cpp
In file included from src/WiredConnection.cpp:2:
src/ServerError.hpp: In member function โ€˜virtual std::string ServerError::localizedDescription() constโ€™:
src/ServerError.hpp:120:5: warning: control reaches end of non-void function [-Wreturn-type]
  120 |     }
      |     ^
In file included from src/ClientConnection.cpp:12:
src/ServerError.hpp: In member function โ€˜virtual std::string ServerError::localizedDescription() constโ€™:
src/ServerError.hpp:120:5: warning: control reaches end of non-void function [-Wreturn-type]
  120 |     }
      |     ^
In file included from src/DeviceManager.cpp:28:
src/ServerError.hpp: In member function โ€˜virtual std::string ServerError::localizedDescription() constโ€™:
src/ServerError.hpp:120:5: warning: control reaches end of non-void function [-Wreturn-type]
  120 |     }
      |     ^
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/minissdpc.c.o -c libraries/miniupnpc/minissdpc.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/miniwget.c.o -c libraries/miniupnpc/miniwget.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/minixml.c.o -c libraries/miniupnpc/minixml.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/igd_desc_parse.c.o -c libraries/miniupnpc/igd_desc_parse.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/minisoap.c.o -c libraries/miniupnpc/minisoap.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/miniupnpc.c.o -c libraries/miniupnpc/miniupnpc.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/upnpreplyparse.c.o -c libraries/miniupnpc/upnpreplyparse.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/upnpcommands.c.o -c libraries/miniupnpc/upnpcommands.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/upnperrors.c.o -c libraries/miniupnpc/upnperrors.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/connecthostport.c.o -c libraries/miniupnpc/connecthostport.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/portlistingparse.c.o -c libraries/miniupnpc/portlistingparse.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/receivedata.c.o -c libraries/miniupnpc/receivedata.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/upnpdev.c.o -c libraries/miniupnpc/upnpdev.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/miniupnpc -o libraries/miniupnpc/addr_is_reserved.c.o -c libraries/miniupnpc/addr_is_reserved.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/afc.c.o -c libraries/libimobiledevice/src/afc.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/companion_proxy.c.o -c libraries/libimobiledevice/src/companion_proxy.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/debugserver.c.o -c libraries/libimobiledevice/src/debugserver.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/device_link_service.c.o -c libraries/libimobiledevice/src/device_link_service.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/diagnostics_relay.c.o -c libraries/libimobiledevice/src/diagnostics_relay.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/file_relay.c.o -c libraries/libimobiledevice/src/file_relay.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/heartbeat.c.o -c libraries/libimobiledevice/src/heartbeat.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/house_arrest.c.o -c libraries/libimobiledevice/src/house_arrest.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/idevice.c.o -c libraries/libimobiledevice/src/idevice.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/installation_proxy.c.o -c libraries/libimobiledevice/src/installation_proxy.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/lockdown.c.o -c libraries/libimobiledevice/src/lockdown.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/misagent.c.o -c libraries/libimobiledevice/src/misagent.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/mobileactivation.c.o -c libraries/libimobiledevice/src/mobileactivation.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/mobilebackup2.c.o -c libraries/libimobiledevice/src/mobilebackup2.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/mobilebackup.c.o -c libraries/libimobiledevice/src/mobilebackup.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/mobile_image_mounter.c.o -c libraries/libimobiledevice/src/mobile_image_mounter.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/mobilesync.c.o -c libraries/libimobiledevice/src/mobilesync.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/notification_proxy.c.o -c libraries/libimobiledevice/src/notification_proxy.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/preboard.c.o -c libraries/libimobiledevice/src/preboard.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/property_list_service.c.o -c libraries/libimobiledevice/src/property_list_service.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/restore.c.o -c libraries/libimobiledevice/src/restore.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/sbservices.c.o -c libraries/libimobiledevice/src/sbservices.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/screenshotr.c.o -c libraries/libimobiledevice/src/screenshotr.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/service.c.o -c libraries/libimobiledevice/src/service.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/syslog_relay.c.o -c libraries/libimobiledevice/src/syslog_relay.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/src/webinspector.c.o -c libraries/libimobiledevice/src/webinspector.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/common/debug.c.o -c libraries/libimobiledevice/common/debug.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/common/socket.c.o -c libraries/libimobiledevice/common/socket.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/common/thread.c.o -c libraries/libimobiledevice/common/thread.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/common/userpref.c.o -c libraries/libimobiledevice/common/userpref.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libimobiledevice/common/utils.c.o -c libraries/libimobiledevice/common/utils.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libusbmuxd/src/libusbmuxd.c.o -c libraries/libusbmuxd/src/libusbmuxd.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libusbmuxd/common/collection.c.o -c libraries/libusbmuxd/common/collection.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libusbmuxd/common/socket.c.o -c libraries/libusbmuxd/common/socket.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libimobiledevice/include -Ilibraries/libimobiledevice -Ilibraries/libusbmuxd/include -Ilibraries/libplist/include -Ilibraries/libimobiledevice/common -Ilibraries/libusbmuxd/common -o libraries/libusbmuxd/common/thread.c.o -c libraries/libusbmuxd/common/thread.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libplist/include -Ilibraries/libplist/libcnary/include -Ilibraries/libplist/src -o libraries/libplist/src/base64.c.o -c libraries/libplist/src/base64.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libplist/include -Ilibraries/libplist/libcnary/include -Ilibraries/libplist/src -o libraries/libplist/src/bplist.c.o -c libraries/libplist/src/bplist.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libplist/include -Ilibraries/libplist/libcnary/include -Ilibraries/libplist/src -o libraries/libplist/src/bytearray.c.o -c libraries/libplist/src/bytearray.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libplist/include -Ilibraries/libplist/libcnary/include -Ilibraries/libplist/src -o libraries/libplist/src/hashtable.c.o -c libraries/libplist/src/hashtable.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libplist/include -Ilibraries/libplist/libcnary/include -Ilibraries/libplist/src -o libraries/libplist/src/plist.c.o -c libraries/libplist/src/plist.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libplist/include -Ilibraries/libplist/libcnary/include -Ilibraries/libplist/src -o libraries/libplist/src/ptrarray.c.o -c libraries/libplist/src/ptrarray.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libplist/include -Ilibraries/libplist/libcnary/include -Ilibraries/libplist/src -o libraries/libplist/src/time64.c.o -c libraries/libplist/src/time64.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libplist/include -Ilibraries/libplist/libcnary/include -Ilibraries/libplist/src -o libraries/libplist/src/xplist.c.o -c libraries/libplist/src/xplist.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libplist/include -Ilibraries/libplist/libcnary/include -Ilibraries/libplist/src -o libraries/libplist/libcnary/node.c.o -c libraries/libplist/libcnary/node.c
cc -DHAVE_CONFIG_H -DDEBUG -O0 -g -DNO_USBMUXD_STUB -Ilibraries -Ilibraries/libplist/include -Ilibraries/libplist/libcnary/include -Ilibraries/libplist/src -o libraries/libplist/libcnary/node_list.c.o -c libraries/libplist/libcnary/node_list.c
ar rcs libraries/miniupnp.a libraries/miniupnpc/minissdpc.c.o libraries/miniupnpc/miniwget.c.o libraries/miniupnpc/minixml.c.o libraries/miniupnpc/igd_desc_parse.c.o libraries/miniupnpc/minisoap.c.o libraries/miniupnpc/miniupnpc.c.o libraries/miniupnpc/upnpreplyparse.c.o libraries/miniupnpc/upnpcommands.c.o libraries/miniupnpc/upnperrors.c.o libraries/miniupnpc/connecthostport.c.o libraries/miniupnpc/portlistingparse.c.o libraries/miniupnpc/receivedata.c.o libraries/miniupnpc/upnpdev.c.o libraries/miniupnpc/addr_is_reserved.c.o
ar rcs libraries/libimobiledevice.a libraries/libimobiledevice/src/afc.c.o libraries/libimobiledevice/src/companion_proxy.c.o libraries/libimobiledevice/src/debugserver.c.o libraries/libimobiledevice/src/device_link_service.c.o libraries/libimobiledevice/src/diagnostics_relay.c.o libraries/libimobiledevice/src/file_relay.c.o libraries/libimobiledevice/src/heartbeat.c.o libraries/libimobiledevice/src/house_arrest.c.o libraries/libimobiledevice/src/idevice.c.o libraries/libimobiledevice/src/installation_proxy.c.o libraries/libimobiledevice/src/lockdown.c.o libraries/libimobiledevice/src/misagent.c.o libraries/libimobiledevice/src/mobileactivation.c.o libraries/libimobiledevice/src/mobilebackup2.c.o libraries/libimobiledevice/src/mobilebackup.c.o libraries/libimobiledevice/src/mobile_image_mounter.c.o libraries/libimobiledevice/src/mobilesync.c.o libraries/libimobiledevice/src/notification_proxy.c.o libraries/libimobiledevice/src/preboard.c.o libraries/libimobiledevice/src/property_list_service.c.o libraries/libimobiledevice/src/restore.c.o libraries/libimobiledevice/src/sbservices.c.o libraries/libimobiledevice/src/screenshotr.c.o libraries/libimobiledevice/src/service.c.o libraries/libimobiledevice/src/syslog_relay.c.o libraries/libimobiledevice/src/webinspector.c.o libraries/libimobiledevice/common/debug.c.o libraries/libimobiledevice/common/socket.c.o libraries/libimobiledevice/common/thread.c.o libraries/libimobiledevice/common/userpref.c.o libraries/libimobiledevice/common/utils.c.o libraries/libusbmuxd/src/libusbmuxd.c.o libraries/libusbmuxd/common/collection.c.o libraries/libusbmuxd/common/socket.c.o libraries/libusbmuxd/common/thread.c.o
ar rcs libraries/libplist.a libraries/libplist/src/base64.c.o libraries/libplist/src/bplist.c.o libraries/libplist/src/bytearray.c.o libraries/libplist/src/hashtable.c.o libraries/libplist/src/plist.c.o libraries/libplist/src/ptrarray.c.o libraries/libplist/src/time64.c.o libraries/libplist/src/xplist.c.o libraries/libplist/libcnary/node.c.o libraries/libplist/libcnary/node_list.c.o
src/AltServerApp.cpp: In lambda function:
src/AltServerApp.cpp:156:9: warning: control reaches end of non-void function [-Wreturn-type]
  156 |         });
      |         ^
In file included from src/AltServerApp.cpp:12:
src/InstallError.hpp: In member function โ€˜virtual std::string InstallError::localizedDescription() constโ€™:
src/InstallError.hpp:54:5: warning: control reaches end of non-void function [-Wreturn-type]
   54 |     }
      |     ^
In file included from src/AltServerApp.cpp:16:
src/ServerError.hpp: In member function โ€˜virtual std::string ServerError::localizedDescription() constโ€™:
src/ServerError.hpp:120:5: warning: control reaches end of non-void function [-Wreturn-type]
  120 |     }
      |     ^
cc -o AltServer src/muslfix.c.o src/PhoneHelper.c.o src/AltServerApp.cpp.o src/AltServerMain.cpp.o src/AnisetteDataManager.cpp.o src/ClientConnection.cpp.o src/ConnectionManager.cpp.o src/DeviceManager.cpp.o src/NotificationConnection.cpp.o src/ServerError.cpp.o src/WiredConnection.cpp.o src/WirelessConnection.cpp.o libraries/miniupnp.a libraries/libimobiledevice.a libraries/libplist.a libraries/AltSign/AltSign.a -static -lssl -lcrypto -lpthread -lcorecrypto_static -lzip -lm -lz -lcpprest -lboost_system -lboost_filesystem -lstdc++ -lssl -lcrypto -luuid
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
/usr/bin/ld: cannot find -lzip
collect2: error: ld returned 1 exit status
make: *** [Makefile:89: AltServer] Error 1
==> ERROR: A failure occurred in build().
    Aborting..

Is there any I can complete the build process using dynamic linking? Or a workaround to avoid creating a static package version of openssl, libzip and so on?

Not relevant I guess, but I had to comment out -mno-default also on x86_64 to avoid its error

I've ported AltServer-Linux to macOS cli

do you need a PR?

ไปฅๅŠ๏ผŒๆœ‰ๆฒกๆœ‰ไป€ไนˆ็ป„็ป‡๏ผŒๅฏไปฅไธญๆ–‡ไบคๆต็š„๏ผŒ่‹ฑๆ–‡ๅ†™็€็ดฏ็š„ๆ…Œ :-(

AltServer never progresses past `Starting notification connection to device`

I have compiled this for aarch64 on my Raspberry Pi 4, but running

./AltServer -u [UDID] -a [AppleID account] -p [AppleID password] [ipaPath.ipa]

never progresses past

Detected device:Davisโ€™s iPad
Starting notification connection to device: Davisโ€™s iPad

Replugging the device reprints the message.

I am unsure is this is related to running on aarch64 or not.

Minor modifications to the compilation process are required for aarch64. -mno-default is not supported, so this needs to be removed from the CFLAGS, static linking to libcrypto appears to be unsupported so -static needs to be removed from the LDFLAGS, and additionally -mno-sse is useless on aarch64 but -fPIC is required in the CFLAGS for AltSign.

Any help is appreciated.

Add a license

I wish to be able to use and modify the code of this project, but the lack of a license means all rights are reserved.
Would it be possible to add a license for this project?

Issue installing Altstore

I get an error saying, "A device with this number 'example numbers' already exists on this team (35) But I do not have it installed.

AltServer could not find this device.

When i want to refresh in AltStore, then promt "AltServer could not find this device. / make sure you have trusted this device with your computer and wifi sync is enabled. "

in console i see this:

Represented Value: 596
Sent Bytes Count: 4 (4)
Sent Data: 4 Bytes
Sent Bytes Count: 596 (596)
Sent Data: 596 Bytes
Finished handling request!
Other Socket:7. Port: 54649. Error: 0
Receiving request size...
Checking socket: 7
Received bytes: 4(of 4)
Receiving 33747 bytes...
Checking socket: 7
Received bytes: 1448(of 33747)
Checking socket: 7
Received bytes: 5544(of 33747)
Checking socket: 7
Received bytes: 9640(of 33747)
Checking socket: 7
Received bytes: 10136(of 33747)
Checking socket: 7
Received bytes: 11584(of 33747)
Checking socket: 7
Received bytes: 15680(of 33747)
Checking socket: 7
Received bytes: 19776(of 33747)
Checking socket: 7
Received bytes: 23872(of 33747)
Checking socket: 7
Received bytes: 27968(of 33747)
Checking socket: 7
Received bytes: 31856(of 33747)
Checking socket: 7
Received bytes: 33304(of 33747)
Checking socket: 7
Received bytes: 33747(of 33747)
Represented Value: 86
Sent Bytes Count: 4 (Failed to4)
Sent Data: 4 Bytes
handle request:AltServeSent Bytes Count: 86 (86)
Sent Data: 86 Bytes
r could not find the device.

Exception: Error in SSL handshake

Hello everyone,

First of all, thanks a lot for this project. I've been trying to jailbreak a really old iPad 2 2011, without success for the moment.

My setup is the following:

  • Using the latest tag: https://github.com/NyaMisty/AltServer-Linux/releases/tag/v0.0.2-1
  • (I've found myself unable to compile from source this project, seems like apple's corecrypto library is missing its cmakefile)
  • Downloaded AltServer_aarch64 and copied it to a running arm64v8/ubuntu docker container with QEMU installed.
  • Successfuly started AltServer inside the container, but, the following error appears when trying to install Phoenix6 IPA:

image

I've been unable to get any more logs out of it.

Best regards.

Docker Image of AltServer

Hello,

I usually manage all my homelab services with docker. It would be awesome to manage AltServer like all my other services in docker as well. That would be much cleaner solution than running everything in tmux/screen or as systemd services. So what would it take to get a docker image with a proper example compose file and manual - is it even feasible at all?

There are some hurdles but none is a real showstopper:

  • Have a way to not only run AltServer permanently as a daemon but also add ipa. Could be solved with docker run -rm -it or docker exec on an existing container. Maybe even docker secrets could help.
  • Custom Anisette Server could directly be integrated in the example compose file
  • usb access could be granted with the docker device key
  • To my understanding wifi refresh depends on multicast traffic. Thus it would not be enough to simply expose a port like one usually does with a docker service. The network mode host could be used or even a bit cleaner to not collider with other services a macvlan interface could be integrated in the example compose file. The intial setup with netmuxd could be a bit more complicated but all dependencies could be packaged in the docker image and maybe an additional script could simplify the whole initial pairing process?

What are your thoughts?

Customizable anisette URL

The endpoint for obtaining anisette data is currently hardwired to use armconverter.com (i.e., sideloadly.io):

auto client = web::http::client::http_client(U("https://armconverter.com"));

This single point of failure could become invalid in a variety of ways without any advance warning or recourse.

I've created an aniserve.swift microservice that serves anisette data via HTTP from a mac that is running the AltServer mail plug-in, using the same JSON structure as that returned from armconverter.

Adding a flag to AltServer-Linux that enables a customizable URL (or, ideally, multiple customizable URLs that would be attempted round-robin-style) would enable people to run anisette servers, either on their local network or publicly, that would more reliably return valid and up-to-date anisette data for AltServer to use.

I envision using it something like this, where each server specified with multiple -q flags would be attempted until one of them returns a valid payload:

./AltServer -u [UDID] -a [AppleID account] -p [AppleID password] \
    -q http://192.168.200.1:6969/anisette \
    -q http://somehelpfuldude.net:6969/anisette \
    -q http://anotherhelpfuldude.org:6969/anisette \
    -q https://armconverter.com/anisette/irGb3Quww8zrhgqnzmrx \
    -q https://sideloadly.io/anisette/irGb3Quww8zrhgqnzmrx

Issue with packaging and releases

So, after failing to make a source package because of #29, I decided to try altserver-bin
Unfortunetly, it doesn't work anymore so I tried to update it.
There are a couple of upstream issues though:

  • 0.0.2 was removed, and 0.0.2-1 was made, which (accidentally?) removed the x86 build
  • 0.0.2-1 is hard to use in packages. the pkgrel (after the dash) is supposed to be used for packages to signal something being updated in the package but not upstream, and it gets messy when upstream has versions with a -1 for example

Failed to sign into the apple id

Hello!

When I run the AltServer in the server mode and try to refresh an ipa, I get the following error on my iPhone: "Failed to sign into the apple id"

Here is the terminal output:

Not supplying ipa, running in server mode!
Detected device:iPhone
Starting notification connection to device: iPhone
Sent wired server connection available response!
Started wired server connection!
Receiving request size...
Receiving 48 bytes...
Received response status code: 200
parse anisette data ret
Got anisetteData json: {"X-Apple-I-Client-Time":"2022-03-06T19:33:49Z","X-Apple-I-MD":"AAAABQAAABByN1SY6snwOoAC3WwpJBqbAAAAAQ==","X-Apple-I-MD-LU":"CE99147F8610526892ED1AC53931EF38552A2CB64C2DC433D242FDAE789A7F80","X-Apple-I-MD-M":"wbxShQ1m2WmGT+Sf496k3tYfwQhrzQ+79dQKNUVBzpz/rO+4faO/k3ZjePXDCXk1jMefsXn7NllulZOH","X-Apple-I-MD-RINFO":"17106176","X-Apple-I-SRL-NO":"0","X-Apple-I-TimeZone":"GMT+0","X-Apple-Locale":"en_GB","X-MMe-Client-Info":"<iMac11,3> <Mac OS X;10.15.6;19G2021> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>","X-Mme-Device-Id":"F6C158F4-BD50-4EDD-B897-9BE4349EEED5"}
X-Apple-I-MD-M: wbxShQ1m2WmGT+Sf496k3tYfwQhrzQ+79dQKNUVBzpz/rO+4faO/k3ZjePXDCXk1jMefsXn7NllulZOH
X-Apple-I-MD: AAAABQAAABByN1SY6snwOoAC3WwpJBqbAAAAAQ==
X-Apple-I-MD-LU: CE99147F8610526892ED1AC53931EF38552A2CB64C2DC433D242FDAE789A7F80
X-Apple-I-MD-RINFO: 17106176
X-Mme-Device-Id: F6C158F4-BD50-4EDD-B897-9BE4349EEED5
X-Apple-I-SRL-NO: 0
X-MMe-Client-Info: <iMac11,3> <Mac OS X;10.15.6;19G2021> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>
X-Apple-I-Client-Time: 2022-03-06T19:33:49Z
X-Apple-Locale: en_GB
X-Apple-I-TimeZone: GMT+0
Building anisetteData obj...
MachineID : wbxShQ1m2WmGT+Sf496k3tYfwQhrzQ+79dQKNUVBzpz/rO+4faO/k3ZjePXDCXk1jMefsXn7NllulZOH
One-Time Password: AAAABQAAABByN1SY6snwOoAC3WwpJBqbAAAAAQ==
Local User ID: CE99147F8610526892ED1AC53931EF38552A2CB64C2DC433D242FDAE789A7F80
Device UDID: F6C158F4-BD50-4EDD-B897-9BE4349EEED5
Device Description: <iMac11,3> <Mac OS X;10.15.6;19G2021> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>
Date: 1899-12-31T00:00:00+0009
Represented Value: 600
Finished handling request!
20:40:11 libraries/libimobiledevice/src/notification_proxy.c:295 np_get_notification(): got notification np_get_notification
20:40:11 libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
20:40:11 libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
20:40:11 libraries/libimobiledevice/src/property_list_service.c:132 internal_plist_send(): sending 330 bytes
20:40:11 libraries/libimobiledevice/src/service.c:144 service_send(): sending 4 bytes
20:40:11 libraries/libimobiledevice/src/idevice.c:901 internal_ssl_write(): pre-send length = 33 bytes
20:40:11 libraries/libimobiledevice/src/idevice.c:907 internal_ssl_write(): post-send sent 33 bytes
20:40:11 libraries/libimobiledevice/src/idevice.c:604 idevice_connection_send(): SSL_write 4, sent 4
20:40:11 libraries/libimobiledevice/src/service.c:144 service_send(): sending 330 bytes
20:40:11 libraries/libimobiledevice/src/idevice.c:901 internal_ssl_write(): pre-send length = 359 bytes
20:40:11 libraries/libimobiledevice/src/idevice.c:907 internal_ssl_write(): post-send sent 359 bytes
20:40:11 libraries/libimobiledevice/src/idevice.c:604 idevice_connection_send(): SSL_write 330, sent 330
20:40:11 libraries/libimobiledevice/src/property_list_service.c:137 internal_plist_send(): sent 330 bytes
20:40:11 libraries/libimobiledevice/src/property_list_service.c:138 internal_plist_send(): printing 330 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Command</key>
	<string>PostNotification</string>
	<key>Name</key>
	<string>io.altstore.Response.WiredServerConnectionAvailable</string>
</dict>
</plist>
20:40:11 libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
20:40:12 libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
20:40:12 libraries/libimobiledevice/src/idevice.c:863 internal_ssl_read(): pre-read length = 5 bytes
20:40:12 libraries/libimobiledevice/src/idevice.c:880 internal_ssl_read(): read 5 bytes
20:40:12 libraries/libimobiledevice/src/idevice.c:889 internal_ssl_read(): post-read received 5 bytes
20:40:12 libraries/libimobiledevice/src/idevice.c:863 internal_ssl_read(): pre-read length = 28 bytes
20:40:12 libraries/libimobiledevice/src/idevice.c:880 internal_ssl_read(): read 28 bytes
20:40:12 libraries/libimobiledevice/src/idevice.c:889 internal_ssl_read(): post-read received 28 bytes
20:40:12 libraries/libimobiledevice/src/idevice.c:735 idevice_connection_receive_timeout(): SSL_read 4, received 4
20:40:12 libraries/libimobiledevice/src/property_list_service.c:205 internal_plist_receive_timeout(): initial read=4
20:40:12 libraries/libimobiledevice/src/property_list_service.c:211 internal_plist_receive_timeout(): 326 bytes following
20:40:12 libraries/libimobiledevice/src/idevice.c:863 internal_ssl_read(): pre-read length = 5 bytes
20:40:12 libraries/libimobiledevice/src/idevice.c:880 internal_ssl_read(): read 5 bytes
20:40:12 libraries/libimobiledevice/src/idevice.c:889 internal_ssl_read(): post-read received 5 bytes
20:40:12 libraries/libimobiledevice/src/idevice.c:863 internal_ssl_read(): pre-read length = 350 bytes
20:40:12 libraries/libimobiledevice/src/idevice.c:880 internal_ssl_read(): read 350 bytes
20:40:12 libraries/libimobiledevice/src/idevice.c:889 internal_ssl_read(): post-read received 350 bytes
20:40:12 libraries/libimobiledevice/src/idevice.c:735 idevice_connection_receive_timeout(): SSL_read 326, received 326
20:40:12 libraries/libimobiledevice/src/property_list_service.c:224 internal_plist_receive_timeout(): received 326 bytes
20:40:12 libraries/libimobiledevice/src/property_list_service.c:253 internal_plist_receive_timeout(): printing 326 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Command</key>
	<string>RelayNotification</string>
	<key>Name</key>
	<string>io.altstore.Request.WiredServerConnectionStart</string>
</dict>
</plist>
20:40:12 libraries/libimobiledevice/src/notification_proxy.c:295 np_get_notification(): got notification np_get_notification
20:40:12 libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
20:40:12 libraries/libimobiledevice/src/idevice.c:621 idevice_connection_send(): internal_connection_send 4, sent 4
20:40:12 libraries/libimobiledevice/src/idevice.c:621 idevice_connection_send(): internal_connection_send 600, sent 600
20:40:13 libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
20:40:13 libraries/libimobiledevice/src/idevice.c:863 internal_ssl_read(): pre-read length = 5 bytes
20:40:14 libraries/libimobiledevice/src/idevice.c:735 idevice_connection_receive_timeout(): SSL_read 4, received 0
20:40:14 libraries/libimobiledevice/src/property_list_service.c:196 internal_plist_receive_timeout(): initial read failed!
20:40:14 libraries/libimobiledevice/src/notification_proxy.c:270 np_get_notification(): NotificationProxy: no notification received!
20:40:14 libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
20:40:15 libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
20:40:15 libraries/libimobiledevice/src/idevice.c:863 internal_ssl_read(): pre-read length = 5 bytes
20:40:15 libraries/libimobiledevice/src/idevice.c:735 idevice_connection_receive_timeout(): SSL_read 4, received 0
20:40:15 libraries/libimobiledevice/src/property_list_service.c:196 internal_plist_receive_timeout(): initial read failed!
20:40:15 libraries/libimobiledevice/src/notification_proxy.c:270 np_get_notification(): NotificationProxy: no notification received!
20:40:15 libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked

The binary was built using alpine docker image as per the instruction from the README. Phone is connected via USB.

Edit: it was built on a x86_64 system if that makes a difference.

Edit2: it seems that something either broke or changed on apple's end so others sideload services are also affected.

No Notification Received

On first glance AltStore just isn't detecting my device, but running it with -d I get the following output:

I'm not sure what it means so hopefully someone else can make more sense of it than me, but I've tested it on an iPhone 8 on iOS 14.7.1 and an iPhone XR on iOS 15.3.1 and they both do the same thing.

00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:651 lockdownd_client_new(): device udid: 35ad0392e49844e5a0cc105ff2b46188fbf3f11a
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:132 internal_plist_send(): sending 326 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 4 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:603 idevice_connection_send(): internal_connection_send 4, sent 4
00:35:33 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 326 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:603 idevice_connection_send(): internal_connection_send 326, sent 326
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:137 internal_plist_send(): sent 326 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:138 internal_plist_send(): printing 326 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>altserver</string>
	<key>Key</key>
	<string>DeviceName</string>
	<key>Request</key>
	<string>GetValue</string>
</dict>
</plist>
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:205 internal_plist_receive_timeout(): initial read=4
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:211 internal_plist_receive_timeout(): 335 bytes following
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:224 internal_plist_receive_timeout(): received 335 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:253 internal_plist_receive_timeout(): printing 335 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Key</key>
	<string>DeviceName</string>
	<key>Request</key>
	<string>GetValue</string>
	<key>Value</key>
	<string>Aurillium Phone</string>
</dict>
</plist>
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:449 lockdownd_get_value(): success
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:460 lockdownd_get_value(): has a value
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:132 internal_plist_send(): sending 327 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 4 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:603 idevice_connection_send(): internal_connection_send 4, sent 4
00:35:33 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 327 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:603 idevice_connection_send(): internal_connection_send 327, sent 327
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:137 internal_plist_send(): sent 327 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:138 internal_plist_send(): printing 327 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>altserver</string>
	<key>Key</key>
	<string>ProductType</string>
	<key>Request</key>
	<string>GetValue</string>
</dict>
</plist>
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:205 internal_plist_receive_timeout(): initial read=4
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:211 internal_plist_receive_timeout(): 328 bytes following
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:224 internal_plist_receive_timeout(): received 328 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:253 internal_plist_receive_timeout(): printing 328 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Key</key>
	<string>ProductType</string>
	<key>Request</key>
	<string>GetValue</string>
	<key>Value</key>
	<string>iPhone10,1</string>
</dict>
</plist>
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:449 lockdownd_get_value(): success
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:460 lockdownd_get_value(): has a value
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:132 internal_plist_send(): sending 330 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 4 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:603 idevice_connection_send(): internal_connection_send 4, sent 4
00:35:33 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 330 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:603 idevice_connection_send(): internal_connection_send 330, sent 330
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:137 internal_plist_send(): sent 330 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:138 internal_plist_send(): printing 330 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>altserver</string>
	<key>Key</key>
	<string>ProductVersion</string>
	<key>Request</key>
	<string>GetValue</string>
</dict>
</plist>
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:205 internal_plist_receive_timeout(): initial read=4
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:211 internal_plist_receive_timeout(): 327 bytes following
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:224 internal_plist_receive_timeout(): received 327 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:253 internal_plist_receive_timeout(): printing 327 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Key</key>
	<string>ProductVersion</string>
	<key>Request</key>
	<string>GetValue</string>
	<key>Value</key>
	<string>14.7.1</string>
</dict>
</plist>
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:449 lockdownd_get_value(): success
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:460 lockdownd_get_value(): has a value
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:651 lockdownd_client_new(): device udid: 35ad0392e49844e5a0cc105ff2b46188fbf3f11a
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:380 lockdownd_query_type(): called
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:132 internal_plist_send(): sending 282 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 4 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:603 idevice_connection_send(): internal_connection_send 4, sent 4
00:35:33 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 282 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:603 idevice_connection_send(): internal_connection_send 282, sent 282
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:137 internal_plist_send(): sent 282 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:138 internal_plist_send(): printing 282 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>altserver</string>
	<key>Request</key>
	<string>QueryType</string>
</dict>
</plist>
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:205 internal_plist_receive_timeout(): initial read=4
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:211 internal_plist_receive_timeout(): 297 bytes following
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:224 internal_plist_receive_timeout(): received 297 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:253 internal_plist_receive_timeout(): printing 297 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Request</key>
	<string>QueryType</string>
	<key>Type</key>
	<string>com.apple.mobile.lockdown</string>
</dict>
</plist>
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:396 lockdownd_query_type(): success with type com.apple.mobile.lockdown
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:132 internal_plist_send(): sending 330 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 4 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:603 idevice_connection_send(): internal_connection_send 4, sent 4
00:35:33 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 330 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:603 idevice_connection_send(): internal_connection_send 330, sent 330
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:137 internal_plist_send(): sent 330 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:138 internal_plist_send(): printing 330 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>altserver</string>
	<key>Key</key>
	<string>ProductVersion</string>
	<key>Request</key>
	<string>GetValue</string>
</dict>
</plist>
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:205 internal_plist_receive_timeout(): initial read=4
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:211 internal_plist_receive_timeout(): 327 bytes following
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:224 internal_plist_receive_timeout(): received 327 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:253 internal_plist_receive_timeout(): printing 327 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Key</key>
	<string>ProductVersion</string>
	<key>Request</key>
	<string>GetValue</string>
	<key>Value</key>
	<string>14.7.1</string>
</dict>
</plist>
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:449 lockdownd_get_value(): success
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:460 lockdownd_get_value(): has a value
00:35:33 /workdir/libraries/libimobiledevice/common/userpref.c:193 userpref_read_system_buid(): using 067CA9C3-9210-AE0A-868C-4308BFBAE234 as SystemBUID
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:132 internal_plist_send(): sending 437 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 4 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:603 idevice_connection_send(): internal_connection_send 4, sent 4
00:35:33 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 437 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:603 idevice_connection_send(): internal_connection_send 437, sent 437
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:137 internal_plist_send(): sent 437 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:138 internal_plist_send(): printing 437 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>altserver</string>
	<key>Request</key>
	<string>StartSession</string>
	<key>HostID</key>
	<string>0B1528A6-CC4A-8BB0-3CA9-AB9ED5084CDA</string>
	<key>SystemBUID</key>
	<string>067CA9C3-9210-AE0A-868C-4308BFBAE234</string>
</dict>
</plist>
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:205 internal_plist_receive_timeout(): initial read=4
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:211 internal_plist_receive_timeout(): 354 bytes following
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:224 internal_plist_receive_timeout(): received 354 bytes
00:35:33 /workdir/libraries/libimobiledevice/src/property_list_service.c:253 internal_plist_receive_timeout(): printing 354 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>EnableSessionSSL</key>
	<true/>
	<key>Request</key>
	<string>StartSession</string>
	<key>SessionID</key>
	<string>9B00C6A7-5752-461E-82CC-958D72A4E41A</string>
</dict>
</plist>
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:1168 lockdownd_start_session(): Session startup OK
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:1180 lockdownd_start_session(): SessionID: 9B00C6A7-5752-461E-82CC-958D72A4E41A
00:35:33 /workdir/libraries/libimobiledevice/src/lockdown.c:1187 lockdownd_start_session(): Enable SSL Session: true
00:35:33 /workdir/libraries/libimobiledevice/src/idevice.c:1083 idevice_connection_enable_ssl(): Performing SSL handshake
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:1107 idevice_connection_enable_ssl(): SSL mode enabled, TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:132 internal_plist_send(): sending 359 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 4 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:586 idevice_connection_send(): SSL_write 4, sent 4
00:35:34 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 359 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:586 idevice_connection_send(): SSL_write 359, sent 359
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:137 internal_plist_send(): sent 359 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:138 internal_plist_send(): printing 359 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>altserver</string>
	<key>Request</key>
	<string>StartService</string>
	<key>Service</key>
	<string>com.apple.mobile.notification_proxy</string>
</dict>
</plist>
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 4, received 4
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:205 internal_plist_receive_timeout(): initial read=4
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:211 internal_plist_receive_timeout(): 394 bytes following
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 394, received 394
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:224 internal_plist_receive_timeout(): received 394 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:253 internal_plist_receive_timeout(): printing 394 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>EnableServiceSSL</key>
	<true/>
	<key>Port</key>
	<integer>49623</integer>
	<key>Request</key>
	<string>StartService</string>
	<key>Service</key>
	<string>com.apple.mobile.notification_proxy</string>
</dict>
</plist>
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:1083 idevice_connection_enable_ssl(): Performing SSL handshake
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:1107 idevice_connection_enable_ssl(): SSL mode enabled, TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384
00:35:34 /workdir/libraries/libimobiledevice/src/lockdown.c:262 lockdownd_stop_session(): stopping session 9B00C6A7-5752-461E-82CC-958D72A4E41A
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:132 internal_plist_send(): sending 361 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 4 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:586 idevice_connection_send(): SSL_write 4, sent 4
00:35:34 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 361 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:586 idevice_connection_send(): SSL_write 361, sent 361
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:137 internal_plist_send(): sent 361 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:138 internal_plist_send(): printing 361 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Label</key>
	<string>altserver</string>
	<key>Request</key>
	<string>StopSession</string>
	<key>SessionID</key>
	<string>9B00C6A7-5752-461E-82CC-958D72A4E41A</string>
</dict>
</plist>
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 4, received 4
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:205 internal_plist_receive_timeout(): initial read=4
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:211 internal_plist_receive_timeout(): 238 bytes following
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 238, received 238
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:224 internal_plist_receive_timeout(): received 238 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:253 internal_plist_receive_timeout(): printing 238 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Request</key>
	<string>StopSession</string>
</dict>
</plist>
00:35:34 /workdir/libraries/libimobiledevice/src/lockdown.c:278 lockdownd_stop_session(): success
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:1199 idevice_connection_disable_bypass_ssl(): Skipping bidirectional SSL shutdown. SSL error code: 5

00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:1214 idevice_connection_disable_bypass_ssl(): SSL mode disabled
00:35:34 /workdir/libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:132 internal_plist_send(): sending 332 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 4 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:586 idevice_connection_send(): SSL_write 4, sent 4
00:35:34 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 332 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:586 idevice_connection_send(): SSL_write 332, sent 332
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:137 internal_plist_send(): sent 332 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:138 internal_plist_send(): printing 332 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Command</key>
	<string>ObserveNotification</string>
	<key>Name</key>
	<string>io.altstore.Request.WiredServerConnectionAvailable</string>
</dict>
</plist>
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:132 internal_plist_send(): sending 328 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 4 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:586 idevice_connection_send(): SSL_write 4, sent 4
00:35:34 /workdir/libraries/libimobiledevice/src/service.c:144 service_send(): sending 328 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:586 idevice_connection_send(): SSL_write 328, sent 328
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:137 internal_plist_send(): sent 328 bytes
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:138 internal_plist_send(): printing 328 bytes plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Command</key>
	<string>ObserveNotification</string>
	<key>Name</key>
	<string>io.altstore.Request.WiredServerConnectionStart</string>
</dict>
</plist>
00:35:34 /workdir/libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
00:35:34 /workdir/libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
00:35:34 /workdir/libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
00:35:34 /workdir/libraries/libimobiledevice/src/notification_proxy.c:329 np_notifier(): starting callback.
00:35:34 /workdir/libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
00:35:34 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 4, received 0
00:35:34 /workdir/libraries/libimobiledevice/src/property_list_service.c:196 internal_plist_receive_timeout(): initial read failed!
00:35:34 /workdir/libraries/libimobiledevice/src/notification_proxy.c:270 np_get_notification(): NotificationProxy: no notification received!
00:35:34 /workdir/libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
00:35:35 /workdir/libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
00:35:36 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 4, received 0
00:35:36 /workdir/libraries/libimobiledevice/src/property_list_service.c:196 internal_plist_receive_timeout(): initial read failed!
00:35:36 /workdir/libraries/libimobiledevice/src/notification_proxy.c:270 np_get_notification(): NotificationProxy: no notification received!
00:35:36 /workdir/libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
00:35:37 /workdir/libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
00:35:37 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 4, received 0
00:35:37 /workdir/libraries/libimobiledevice/src/property_list_service.c:196 internal_plist_receive_timeout(): initial read failed!
00:35:37 /workdir/libraries/libimobiledevice/src/notification_proxy.c:270 np_get_notification(): NotificationProxy: no notification received!
00:35:37 /workdir/libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
00:35:38 /workdir/libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
00:35:39 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 4, received 0
00:35:39 /workdir/libraries/libimobiledevice/src/property_list_service.c:196 internal_plist_receive_timeout(): initial read failed!
00:35:39 /workdir/libraries/libimobiledevice/src/notification_proxy.c:270 np_get_notification(): NotificationProxy: no notification received!
00:35:39 /workdir/libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
00:35:40 /workdir/libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
00:35:40 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 4, received 0
00:35:40 /workdir/libraries/libimobiledevice/src/property_list_service.c:196 internal_plist_receive_timeout(): initial read failed!
00:35:40 /workdir/libraries/libimobiledevice/src/notification_proxy.c:270 np_get_notification(): NotificationProxy: no notification received!
00:35:40 /workdir/libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
00:35:41 /workdir/libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
00:35:42 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 4, received 0
00:35:42 /workdir/libraries/libimobiledevice/src/property_list_service.c:196 internal_plist_receive_timeout(): initial read failed!
00:35:42 /workdir/libraries/libimobiledevice/src/notification_proxy.c:270 np_get_notification(): NotificationProxy: no notification received!
00:35:42 /workdir/libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
00:35:43 /workdir/libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
00:35:43 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 4, received 0
00:35:43 /workdir/libraries/libimobiledevice/src/property_list_service.c:196 internal_plist_receive_timeout(): initial read failed!
00:35:43 /workdir/libraries/libimobiledevice/src/notification_proxy.c:270 np_get_notification(): NotificationProxy: no notification received!
00:35:43 /workdir/libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
00:35:44 /workdir/libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
00:35:45 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 4, received 0
00:35:45 /workdir/libraries/libimobiledevice/src/property_list_service.c:196 internal_plist_receive_timeout(): initial read failed!
00:35:45 /workdir/libraries/libimobiledevice/src/notification_proxy.c:270 np_get_notification(): NotificationProxy: no notification received!
00:35:45 /workdir/libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked
00:35:46 /workdir/libraries/libimobiledevice/src/notification_proxy.c:51 np_lock(): Locked
00:35:46 /workdir/libraries/libimobiledevice/src/idevice.c:715 idevice_connection_receive_timeout(): SSL_read 4, received 0
00:35:46 /workdir/libraries/libimobiledevice/src/property_list_service.c:196 internal_plist_receive_timeout(): initial read failed!
00:35:46 /workdir/libraries/libimobiledevice/src/notification_proxy.c:270 np_get_notification(): NotificationProxy: no notification received!
00:35:46 /workdir/libraries/libimobiledevice/src/notification_proxy.c:62 np_unlock(): Unlocked```

Can not compiled under aarch64

make -C libraries/AltSign
make[1]: Entering directory '/home/interland/AltServer-Linux/libraries/AltSign'
clang++ -Iminizip -I../libplist/include -I. -mno-sse -std=c++17 -o Team.cpp.o -c Team.cpp
clang: warning: argument unused during compilation: '-mno-sse' [-Wunused-command-line-argument]
In file included from Team.cpp:9:
./Team.hpp:15:10: fatal error: 'cpprest/http_client.h' file not found
#include <cpprest/http_client.h>
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [Makefile:18: Team.cpp.o] Error 1
make[1]: Leaving directory '/home/interland/AltServer-Linux/libraries/AltSign'
make: *** [Makefile:83: lib_AltSign] Error 2

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

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?

Code will not compile/link on ARM (SOLUTION)

The code would not compile on an ARM32 CPU (armv7l). GCC didn't know how to process the flag -mno-default as it is specific to x86-based platforms.

Additionally, the linker (LD) could not find certain filesystem-related functions, specifically std::experimental::filesystem and others.

SOLUTION:

  1. Remove -mno-default from the CFLAGS section of the MAKEFILE (line 18). The code compiles and links fine without it on ARM32 CPUs (tested with Raspberry Pi 2B, Raspbian 5.10.60). Line 18 should look like:
    CFLAGS := -DHAVE_CONFIG_H -DDEBUG -O0 -g

  2. Add -lstdc++fs to the LDFLAGS (line 85) and move -lpthread to the end. So Line 85 should look like:
    LDFLAGS = libraries/AltSign/AltSign.a -static -lssl -lcrypto -lcorecrypto_static -lzip -lm -lz -lcpprest -lboost_system -lboost_filesystem -lstdc++ -lssl -lcrypto -luuid -ldl -lstdc++fs -lpthread

Following these two changes to the MAKEFILE, I was successfully able to compile AltServer-Linux on a Raspberry Pi 2B running Raspbian 5.10.60 Lite. After installing libimobiledevice-dev and libimobiledevice-utils the binary was fully functional and AltStore on the phone was able to communicate with it over USB just like on a Windows PC.

AltServer-Linux Hangs

on Debian Sid

It quite literally just hangs on this:
Starting notification connection to device: iPhone 11

The full command:

user@pc:~/Downloads$ ./AltServer -u {UDID} -a {EMAIL} -p {PASSWORD} altstore.ipa
Detected device:iPhone 11
Starting notification connection to device: iPhone 11

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.