GithubHelp home page GithubHelp logo

psyphyaudio / altserver-linux Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nyamisty/altserver-linux

2.0 0.0 0.0 83 KB

AltServer for AltStore, but on-device

License: GNU Affero General Public License v3.0

Makefile 2.12% C 10.01% C++ 87.87%

altserver-linux's Introduction

AltServer-Linux

AltServer for AltStore, but on-device

Usage

  • For build configuration 1 (AltServer): Works just like a normal AltServer on windows
    • Install IPA: ./AltServer -u [UDID] -a [AppleID account] -p [AppleID password] [ipaPath.ipa]
    • Running as AltServer Daemon: ./AltServer
  • For build configuration 2 (AltServerNet): AltServer over Network
    • Install IPA: ./AltServerNet -u [UDID] -P [jitterbug pair file] -i [device IP] -a [AppleID account] -p [AppleID password] [ipaPath.ipa]
    • Running as AltServer Daemon not supported
  • For build configuration 2 (AltServerUPnP): AltServer over Network
    • Install IPA: ./AltServerUPnP -u [UDID] -P [jitterbug pair file] -i [device IP] -a [AppleID account] -p [AppleID password] [ipaPath.ipa]

Build Instruction

  • Preparation: git clone --recursive https://github.com/NyaMisty/AltServer-Linux

  • Install corecrypto_static, cpprestsdk static lib, boost static lib

  • Build Configuration 1 (AltServer): Simple AltServer running on normal Linux host, working through usbmuxd

    make NO_USBMUXD_STUB=1 NO_UPNP_STUB=1
    
  • Build Configuration 2 (AltServerNet): AltServer running on normal Linux host, working through manually specifying IP

    make NO_UPNP_STUB=1
    
  • Build Configuration 3 (AltServerUPnP): AltServer running on iSH, working through manually specifying IP in a UPnP enabled router

    make
    
  • My own build note for you

      1. Run alpine docker (change --platform to corresponding architecture you want): 
          docker run --platform=linux/arm/v7 --name altserver-builder-alpine-armv7 -it alpine:3.15 
      2. Install dependencies:
          apk add zsh git curl wget g++ clang boost-static ninja boost-dev cmake make sudo bash vim libressl-dev util-linux-dev zlib-dev zlib-static
      3. Install corecrypto
          download corecrypto from apple website, unzip corecrypto.zip; cd corecrypto; mkdir build; cd build; CC=clang CXX=clang++ cmake ..;
          vim CMakeFiles/Makefile2, delete line starts with "all: corecrypto_perf/....." and "all: corecrypto_test/.....", then make; make install
      4. Install cpprestsdk
          git clone --recursive https://github.com/microsoft/cpprestsdk; cd cpprestsdk; mkdir build; cmake -DBUILD_SHARED_LIBS=0 ..; make; make install
          (if you're compiling for armv7, you have to grep -Wcast-align, and remove it, or the compiling would fail)
      5. Install libzip
          git clone https://github.com/nih-at/libzip; cd libzip; mkdir build; cd build; cmake -DBUILD_SHARED_LIBS=0 ..; make; make install
      6. Compile AltServer-Linux
          git clone --recursive https://github.com/NyaMisty/AltServer-Linux
          make NO_USBMUXD_STUB=1 NO_UPNP_STUB=1
          (if you're compiling for ARM, i.e. armv7 or aarch64, you'll have to remove the -mno-default flag in Makefile)
    
    

TODO

  • Support Wi-Fi Refresh

altserver-linux's People

Contributors

joematt avatar nyamisty avatar

Stargazers

 avatar  avatar

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.