Skip to content

A PowerShell script that attempts to keep AltServer connected to iDevices that are on the same WiFi network

License

Notifications You must be signed in to change notification settings

CrazeeGhost/AltCheck

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

AltCheck-Reborn

A port of classic AltCheck for Windows into PowerShell, to improve stability and maintainability.

ToDo to get this to work

  1. Download iMobileDevice from the link at the bottom of this Readme.
  2. Extract the zip file and name the folder "imobiledevice", make sure this folder is next to the AltCheck-Reborn.ps1 file.
  3. Start PowerShell and type: Get-ExecutionPolicy
    If it doesn't output "unrestricted", you have to change it with "Set-ExecutionPolicy unrestricted".
  4. Navigate with the PowerShell to the AltCheck-Reborn.ps1 file and run it once to see if it executes. ".\AltCheck-Reborn.ps1"
    When you get a prompt, make sure to "Always trust", so you can automate the launching of this file without confirmation every time.
  5. Either create shortcuts yourself, or create two scheduled tasks.
    For scheduled tasks you have to launch the PowerShell script with following arguments:
    -Mode serviceMonitor
    -Mode checkAltServer
  6. Always launch PowerShell as Administrator or elevated privileges, otherwise service restarts won't work.

Windows Firewall

For best results you may want to disable your Windows Firewall.
If you make use of the Windows Firewall make sure to create two new rules containing following:

Rules need to be created for: Incoming connections
TCP Ports 123, 3689
UDP Ports 123, 5353

Also create a rule for the AltServer.exe binary for incoming TCP and UDP connections on all ports.

Optional parameters

The service monitor checks if the "Apple Mobile Device Service" is running.
If the service ever gets renamed you can specify a different service name using the "-appleServiceName" parameter.

Following optional parameters are available:

-monitorAltserverInterval (How long it should wait between checks for AltServer.exe)
-monitoriDeviceInterval (How long it should wait between checks for the detection of iOS devices)
-iMobileDeviceFolder (Relative folder name of the folder containing iMobileDevice binaries)
-altServerPath (Path of AltServer.exe)
-appleServiceName (Name of the Apple Mobile Device Service)

iMobileDevice download

Quamotion iMobileDevice for 64-bit: http://docs.quamotion.mobi/docs/imobiledevice/download/
Link from wayback machine: https://web.archive.org/web/20190415225927if_/https://qmcdn.blob.core.windows.net/imobiledevice/imobiledevice-x64-1.2.1-r223.zip

About

A PowerShell script that attempts to keep AltServer connected to iDevices that are on the same WiFi network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%