Open Tarch1 opened 8 months ago
Did you install all dependencies ? Tethered mode or wifi mode ?
Also please provide more details on the installation procedure, like start the script -> t option -> plugin iPhone -> try install altstore
HI thanks for the support. Yes I did install everything, I even followed most of this guide (https://www.reddit.com/r/jailbreak/comments/18fkjqy/tutorial_how_to_setup_altserver_on_raspberry/) but in the end keep asking me the index. That's the process:
python3.11 main.py
Fetching version ...
Done
Enter sudo password :
#####################################
# Welcome to the AltServer script #
#####################################
ScriptUsage: [OPTION]
OPTIONS
i, --Install AltStore or ipa files
Install AltStore or ipa files to your device
w, --Switch to wifi Daemode mode (Default using it after launch)
Switch and restart to wifi Daemode mode to refresh apps or AltStore
t, --Switch to usb tethered Daemode mode
Switch and restart to usb tethered Daemode mode to refresh apps or AltStore
e, --Exit
Exit script
h, --Help
Show this message
p, --Pair
Show paired devices
u, --Update
Update this script
For more information:
https://github.com/powenn/AltServer-Linux-PyScript
Enter OPTION to continue : No argument supplied, if you want for help, please use -h or --help
Not supplying ipa, running in server mode!
Running python3 command to advertise AltServer: from ctypes import *; dll = CDLL('libdns_sd.so'); sdRef = c_int(); flags = 0; interfaceIndex = 0; name = None; regtype = br'_altserver._tcp'; domain = None; host = None; port = 9193; txtLen = 17; txtRecord = b'\x10\x73\x65\x72\x76\x65\x72\x49\x44\x3D\x31\x32\x33\x34\x35\x36\x37'; ret = dll.DNSServiceRegister(byref(sdRef), flags, interfaceIndex, name, regtype, domain, host, port, txtLen, txtRecord, None, None); print('DNSServiceRegister result: %d' % ret); from threading import Event; Event().wait();
Starting netmuxd
Starting mDNS discovery for _apple-mobdev2._tcp.local with mdns
Listening on /var/run/usbmuxd
*** WARNING *** The program 'python3.11' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
DNSServiceRegister result: 0
Adding device 00008110-000E34240250201E
t
Enter OPTION to continue : No argument supplied, if you want for help, please use -h or --help
Not supplying ipa, running in server mode!
Running python3 command to advertise AltServer: from ctypes import *; dll = CDLL('libdns_sd.so'); sdRef = c_int(); flags = 0; interfaceIndex = 0; name = None; regtype = br'_altserver._tcp'; domain = None; host = None; port = 38276; txtLen = 17; txtRecord = b'\x10\x73\x65\x72\x76\x65\x72\x49\x44\x3D\x31\x32\x33\x34\x35\x36\x37'; ret = dll.DNSServiceRegister(byref(sdRef), flags, interfaceIndex, name, regtype, domain, host, port, txtLen, txtRecord, None, None); print('DNSServiceRegister result: %d' % ret); from threading import Event; Event().wait();
*** WARNING *** The program 'python3.11' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
DNSServiceRegister result: 0
Detected device:Tobia’s iPhone
Starting notification connection to device: Tobia’s iPhone
i
[0] : Tobia’s iPhone , 00008110-000E34240250201E
Enter the index of the device for installation : 0
Enter your Apple ID : ***************
Enter password of the Apple ID : ************
Do you want to install AltStore ? (y/n) [n for select your own iPA] : y
Installing app...
parse anisette data ret
Alert: Could not install AltStore.ipa to unknown.
Failed to connect to any resolved endpoint
Press any key to continue...
Exception: Failed to connect to any resolved endpoint
0# 0x00000000005CF298
1# 0x000000000099EC2C
Finished!
and if I open AltStore on device (installed with another windows pc) then it read something:
DNSServiceRegister result: 0
Detected device:Tobia’s iPhone
Starting notification connection to device: Tobia’s iPhone
Sent wired server connection available response!
Started wired server connection!
Receiving request size...
Receiving 48 bytes...
parse anisette data ret
Represented Value: 241
Failed to handle request:Failed to connect to any resolved endpoint
Found same issue on my Kali Linux MBA , I will look into this issue Guess caused by some dependencies upgrade , everything works before on the same device .
Ok thanks again, so I will only have to wait or I have to do some things?
https://github.com/powenn/AltServer-Linux-PyScript/issues/34
Try anisette server docker , and script modification is required
OK resolved, I've installed Doker ( docker docker-compose docker-machine docker-scan docker-buildx ) every packages, just to be sure, then I tried this script from (https://gist.github.com/Jaakkonen/fb2b96915cead9dd77be79644a14c546) :
sudo docker run -d -v lib_cache:/opt/lib/ --restart=always -p 6969:6969 --name anisette dadoum/anisette-server:latest
ALTSERVER_ANISETTE_SERVER=http://127.0.0.1:6969 altserver -a "$MAIL" -p "$PASSWORD" -u "$UUID" AltStore-1_7.ipa
Here the log of the script (log.txt). that installed Altstore correctly, then executing your altserver, refreshing an app (YouTube Music) finally worked, although it was really slow (5 minutes). Later (leaving main.py in the background) I tried refreshing Uyou+ but it cloudn't find Altserver.
PS: leaving main.py in the background and disconnecting and reconnecting the iPhone worked and refreshing uyou+took less time than YM
I have a question, it mandatory to have the iphone unlocked? because if it lock out the server interrupts somehow
As the main title I'm trying to figure out what is the meaning of this request, I type my AppleID and didn't work, then came out this:
Very glad if you could help me. PS: I'm very new to ios (1 month) so if my request is a little noob be kind