mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
Compare commits
15
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91c5de6408 | ||
|
|
d65877f851 | ||
|
|
3df6791ebd | ||
|
|
06a93e697b | ||
|
|
ffad44ce10 | ||
|
|
4775c8ab23 | ||
|
|
7992b1e2a9 | ||
|
|
3fdb75b9fa | ||
|
|
3b0d8ece54 | ||
|
|
7a20bc0ad9 | ||
|
|
0194d5296a | ||
|
|
ef55859eb0 | ||
|
|
b5db51c1ac | ||
|
|
5106372a4b | ||
|
|
6686fdd1a4 |
No files matched your search
@@ -45,7 +45,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: wangyucode/sftp-upload-action@v2.0.2
|
uses: wangyucode/sftp-upload-action@v1.4.8
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
||||||
port: ${{ secrets.NICKCHAN_FTP_PORT }}
|
port: ${{ secrets.NICKCHAN_FTP_PORT }}
|
||||||
@@ -335,7 +335,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: wangyucode/sftp-upload-action@v2.0.2
|
uses: wangyucode/sftp-upload-action@v1.4.8
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
||||||
port: ${{ secrets.NICKCHAN_FTP_PORT }}
|
port: ${{ secrets.NICKCHAN_FTP_PORT }}
|
||||||
@@ -377,7 +377,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
packages: sed coreutils
|
packages: sed coreutils
|
||||||
cache: true
|
cache: true
|
||||||
mirror: 'https://procursus.itsnebula.net/'
|
mirror: 'https://apt.procurs.us/'
|
||||||
|
|
||||||
- name: Download all Darwin artifacts
|
- name: Download all Darwin artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
@@ -393,6 +393,7 @@ jobs:
|
|||||||
cp palera1n-macos ready/palera1n-macos-universal
|
cp palera1n-macos ready/palera1n-macos-universal
|
||||||
cp ./palera1n-macosx-x86_64/palera1n-macosx-x86_64 ready/palera1n-macos-x86_64
|
cp ./palera1n-macosx-x86_64/palera1n-macosx-x86_64 ready/palera1n-macos-x86_64
|
||||||
cp ./palera1n-macosx-arm64/palera1n-macosx-arm64 ready/palera1n-macos-arm64
|
cp ./palera1n-macosx-arm64/palera1n-macosx-arm64 ready/palera1n-macos-arm64
|
||||||
|
cp ./palera1n-iphoneos-arm64/palera1n-iphoneos-arm64 ready/palera1n-iphoneos-arm64
|
||||||
zip -r9 ready/palera1n-iphoneos-arm64.dSYM.zip palera1n-iphoneos-arm64.dSYM
|
zip -r9 ready/palera1n-iphoneos-arm64.dSYM.zip palera1n-iphoneos-arm64.dSYM
|
||||||
zip -r9 ready/palera1n-macos.dSYM.zip palera1n-macos.dSYM
|
zip -r9 ready/palera1n-macos.dSYM.zip palera1n-macos.dSYM
|
||||||
|
|
||||||
@@ -484,7 +485,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: wangyucode/sftp-upload-action@v2.0.2
|
uses: wangyucode/sftp-upload-action@v1.4.8
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
||||||
port: ${{ secrets.NICKCHAN_FTP_PORT }}
|
port: ${{ secrets.NICKCHAN_FTP_PORT }}
|
||||||
@@ -600,6 +601,7 @@ jobs:
|
|||||||
git clone --depth=1 https://github.com/libimobiledevice/libirecovery
|
git clone --depth=1 https://github.com/libimobiledevice/libirecovery
|
||||||
git clone --depth=1 https://github.com/libimobiledevice/libusbmuxd
|
git clone --depth=1 https://github.com/libimobiledevice/libusbmuxd
|
||||||
git clone --depth=1 https://github.com/libimobiledevice/libimobiledevice
|
git clone --depth=1 https://github.com/libimobiledevice/libimobiledevice
|
||||||
|
git clone --depth=1 https://github.com/libimobiledevice/usbmuxd
|
||||||
|
|
||||||
- name: Build Mbed TLS
|
- name: Build Mbed TLS
|
||||||
run: |
|
run: |
|
||||||
@@ -749,9 +751,25 @@ jobs:
|
|||||||
sudo rm /usr/local
|
sudo rm /usr/local
|
||||||
sudo mv /usr/local.bak /usr/local
|
sudo mv /usr/local.bak /usr/local
|
||||||
|
|
||||||
|
- name: Build usbmuxd
|
||||||
|
run: |
|
||||||
|
cd usbmuxd
|
||||||
|
autoreconf -fiv
|
||||||
|
./configure ${{ env.CONFIGURE_ARGS }} --without-systemd
|
||||||
|
${{ matrix.triple }}-gcc ${{ env.CFLAGS }} -I${{ env.DESTDIR }}/${{ env.PREFIX }}/include/libusb-1.0 src/*.c \
|
||||||
|
-DHAVE_CONFIG_H -no-pie \
|
||||||
|
-I. -static ${{ env.LDFLAGS }}} -limobiledevice-1.0 -lusbmuxd-2.0 -limobiledevice-glue-1.0 \
|
||||||
|
-lplist-2.0 -lusb-1.0 -lmbedtls -lmbedcrypto -lmbedx509 -lpthread -o usbmuxd
|
||||||
|
mkdir -p ${{ env.DESTDIR }}/${{ env.PREFIX }}/sbin
|
||||||
|
${{ matrix.triple }}-objcopy --only-keep-debug usbmuxd usbmuxd.debug
|
||||||
|
${{ matrix.triple }}-strip --strip-debug --strip-unneeded usbmuxd
|
||||||
|
${{ matrix.triple }}-objcopy --add-gnu-debuglink=usbmuxd.debug usbmuxd
|
||||||
|
install -m755 usbmuxd usbmuxd.debug ${{ env.DESTDIR }}/${{ env.PREFIX }}/sbin
|
||||||
|
cd ..
|
||||||
|
|
||||||
- name: Build palera1n
|
- name: Build palera1n
|
||||||
run: |
|
run: |
|
||||||
cp -a sysroot/${{ env.PREFIX }}/{include,lib} dep_root
|
cp -a ${{ env.DESTDIR }}/${{ env.PREFIX }}/{include,lib} dep_root
|
||||||
find dep_root -name '*.so' -delete
|
find dep_root -name '*.so' -delete
|
||||||
find dep_root -name '*.la' -delete
|
find dep_root -name '*.la' -delete
|
||||||
CC="${{ matrix.triple }}-gcc" make -j$(nproc)
|
CC="${{ matrix.triple }}-gcc" make -j$(nproc)
|
||||||
@@ -762,13 +780,15 @@ jobs:
|
|||||||
${{ matrix.triple }}-strip --strip-debug --strip-unneeded src/palera1n
|
${{ matrix.triple }}-strip --strip-debug --strip-unneeded src/palera1n
|
||||||
${{ matrix.triple }}-objcopy --add-gnu-debuglink=palera1n.debug src/palera1n
|
${{ matrix.triple }}-objcopy --add-gnu-debuglink=palera1n.debug src/palera1n
|
||||||
chmod -x palera1n.debug
|
chmod -x palera1n.debug
|
||||||
|
|
||||||
- name: Prepare artifact
|
- name: Prepare artifact
|
||||||
run: |
|
run: |
|
||||||
mkdir ready
|
mkdir ready usbmuxd-static
|
||||||
mv palera1n.debug ready/palera1n-${{ env.CHECKRA1N_NAME }}.debug
|
mv palera1n.debug ready/palera1n-${{ env.CHECKRA1N_NAME }}.debug
|
||||||
mv src/palera1n ready/palera1n-${{ env.CHECKRA1N_NAME }}
|
mv src/palera1n ready/palera1n-${{ env.CHECKRA1N_NAME }}
|
||||||
tar -zcf ready/dep_root_${{ matrix.triple }}.tgz dep_root
|
tar -zcf ready/dep_root_${{ matrix.triple }}.tgz dep_root
|
||||||
|
install -m755 sysroot/${{ env.PREFIX }}/sbin/usbmuxd usbmuxd-static/usbmuxd-${{ env.CHECKRA1N_NAME }}
|
||||||
|
install -m755 sysroot/${{ env.PREFIX }}/sbin/usbmuxd.debug usbmuxd-static/usbmuxd-${{ env.CHECKRA1N_NAME }}.debug
|
||||||
|
|
||||||
- name: Build debs
|
- name: Build debs
|
||||||
run: |
|
run: |
|
||||||
@@ -797,7 +817,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
uses: wangyucode/sftp-upload-action@v2.0.2
|
uses: wangyucode/sftp-upload-action@v1.4.8
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
||||||
port: ${{ secrets.NICKCHAN_FTP_PORT }}
|
port: ${{ secrets.NICKCHAN_FTP_PORT }}
|
||||||
@@ -808,6 +828,19 @@ jobs:
|
|||||||
localDir: 'ready/'
|
localDir: 'ready/'
|
||||||
remoteDir: "/palera1n/artifacts/c-rewrite/${{ steps.branch-name.outputs.ref_branch || github.ref }}/${{ github.run_number }}"
|
remoteDir: "/palera1n/artifacts/c-rewrite/${{ steps.branch-name.outputs.ref_branch || github.ref }}/${{ github.run_number }}"
|
||||||
|
|
||||||
|
- name: Upload usbmuxd artifact
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
|
uses: wangyucode/[email protected]
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.NICKCHAN_FTP_HOST }}
|
||||||
|
port: ${{ secrets.NICKCHAN_FTP_PORT }}
|
||||||
|
username: palera1n
|
||||||
|
password: ${{ secrets.NICKCHAN_FTP_PASS }}
|
||||||
|
forceUpload: true
|
||||||
|
dryRun: false
|
||||||
|
localDir: 'usbmuxd-static/'
|
||||||
|
remoteDir: "/palera1n/artifacts/usbmuxd-static"
|
||||||
|
|
||||||
finish-build:
|
finish-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event_name != 'pull_request' }}
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
NAME = Dawn
|
NAME = Dusk
|
||||||
|
|
||||||
SRC = $(shell pwd)
|
SRC = $(shell pwd)
|
||||||
DEP = $(SRC)/dep_root
|
DEP = $(SRC)/dep_root
|
||||||
|
|||||||
@@ -51,4 +51,4 @@ Make sure you provide full details on your device, such as:
|
|||||||
|
|
||||||
Using `-VvL` would help with debugging.
|
Using `-VvL` would help with debugging.
|
||||||
|
|
||||||
Join the [Support Discord](https://dsc.gg/palera1n), and create a thread in [#support](https://discord.com/channels/1028398973452570725/1028730487700738130) or ask in [#general](https://discord.com/channels/1028398973452570725/1028398976640229380).
|
Join the [Support Discord](https://dsc.gg/palera1n)
|
||||||
+6
-12
@@ -2,11 +2,11 @@
|
|||||||
.\" Copyright (c) 2023 Nick Chan
|
.\" Copyright (c) 2023 Nick Chan
|
||||||
.\" SPDX-License-Identifier: MIT
|
.\" SPDX-License-Identifier: MIT
|
||||||
.\"
|
.\"
|
||||||
.Dd "2 July 2023"
|
.Dd "26 October 2023"
|
||||||
.Dt palera1n 1
|
.Dt palera1n 1
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm palera1n
|
.Nm palera1n
|
||||||
.Nd iOS 15.0-16.5 arm64 iOS/iPadOS jailbreaking tool
|
.Nd iOS 15.0-17.1 arm64 iOS/iPadOS jailbreaking tool
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl dDEhILnpRsSvV
|
.Op Fl dDEhILnpRsSvV
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
.Op Fl -force-revert
|
.Op Fl -force-revert
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
jailbreaks any iOS/iPadOS device with an arm64 (arm64e excluded) on iOS 15.0-16.5,
|
jailbreaks any iOS/iPadOS device with an arm64 (arm64e excluded) on iOS 15.0-16.5.1,
|
||||||
utilizing the
|
utilizing the
|
||||||
.Em checkm8
|
.Em checkm8
|
||||||
bootROM exploit.
|
bootROM exploit.
|
||||||
@@ -48,7 +48,7 @@ In the remainder of this document, the term "iOS" and "iPadOS" will be used inte
|
|||||||
as the difference is negligible as far as the jailbreak is concerened.
|
as the difference is negligible as far as the jailbreak is concerened.
|
||||||
.Pp
|
.Pp
|
||||||
.Sh SUPPORTED DEVICES
|
.Sh SUPPORTED DEVICES
|
||||||
As described above, arm64 iOS 15.0-16.5 devices are supported, here is an explicit
|
As described above, arm64 iOS 15.0-16.5.1 devices are supported, here is an explicit
|
||||||
list of supported devicecs:
|
list of supported devicecs:
|
||||||
|
|
||||||
.Bl -tag -compact
|
.Bl -tag -compact
|
||||||
@@ -124,13 +124,6 @@ iOS15 branch or your own fork of it.
|
|||||||
Makes jbinit log to
|
Makes jbinit log to
|
||||||
.Em /cores/jbinit.log
|
.Em /cores/jbinit.log
|
||||||
This file may be viewed from sandboxed applications while jailbroken.
|
This file may be viewed from sandboxed applications while jailbroken.
|
||||||
.It Fl l , -rootless
|
|
||||||
Proceed in rootless mode, this is the default when neither
|
|
||||||
.Fl l , -rootless
|
|
||||||
and
|
|
||||||
.Fl f , -fakefs
|
|
||||||
is specified.
|
|
||||||
>>>>>>> a8e6075 (paleinfo v2)
|
|
||||||
.It Fl n , -exit-recovery
|
.It Fl n , -exit-recovery
|
||||||
Exit recovery mode and exit.
|
Exit recovery mode and exit.
|
||||||
.It Fl o , -override-overlay Ar overlay file
|
.It Fl o , -override-overlay Ar overlay file
|
||||||
@@ -274,4 +267,5 @@ December 13, 2022. Later, the first attempt to rewrite palera1n into C begins on
|
|||||||
01 2023. The
|
01 2023. The
|
||||||
.Nm
|
.Nm
|
||||||
utility described here is the second attempt, which first started on January 16, 2023,
|
utility described here is the second attempt, which first started on January 16, 2023,
|
||||||
using checkra1n 1337 and the plush KPF.
|
using checkra1n 1337 and a custom KPF.
|
||||||
|
Something happened on August 15, 2023.
|
||||||
@@ -174,8 +174,6 @@ extern int pongo_thr_running, dfuhelper_thr_running;
|
|||||||
extern bool device_has_booted;
|
extern bool device_has_booted;
|
||||||
extern char xargs_cmd[0x270];
|
extern char xargs_cmd[0x270];
|
||||||
extern char palerain_flags_cmd[0x30];
|
extern char palerain_flags_cmd[0x30];
|
||||||
extern char dtpatch_cmd[0x20];
|
|
||||||
extern char rootfs_cmd[512];
|
|
||||||
extern char* ext_checkra1n;
|
extern char* ext_checkra1n;
|
||||||
|
|
||||||
void thr_cleanup(void* ptr);
|
void thr_cleanup(void* ptr);
|
||||||
|
|||||||
+7
-2
@@ -8,10 +8,15 @@ Depends: usbmuxd
|
|||||||
Section: Utilities
|
Section: Utilities
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Homepage: https://palera.in
|
Homepage: https://palera.in
|
||||||
Description: iOS 15.0-16.5 semi-tethered checkm8 jailbreak
|
Description: iOS 15.0-16.5.1 semi-tethered checkm8 jailbreak
|
||||||
palera1n is an iOS/iPadOS 15.0-16.5 semi tethered jailbreak
|
palera1n is an iOS/iPadOS 15.0-16.5.1 semi tethered jailbreak
|
||||||
based on the checkm8 exploit.
|
based on the checkm8 exploit.
|
||||||
.
|
.
|
||||||
palera1n is able to jailbreak the device in fakefs-rootful mode,
|
palera1n is able to jailbreak the device in fakefs-rootful mode,
|
||||||
where / is writable, as well as rootless mode, where / cannot be
|
where / is writable, as well as rootless mode, where / cannot be
|
||||||
written to.
|
written to.
|
||||||
|
.
|
||||||
|
IMPORTANT: This does NOT make palera1n untethered or allow you to
|
||||||
|
jailbreak your current device without a computer. It just allows
|
||||||
|
you to jailbreak another iDevice using this device, given you have
|
||||||
|
an appropriate cable. Also, the success rate is likely to be bad.
|
||||||
+2
-2
@@ -137,7 +137,7 @@ libcheckra1nhelper.dylib: chkstk.S
|
|||||||
$(CC) $(CFLAGS) $(LDFLAGS) -shared chkstk.S -o libcheckra1nhelper.dylib
|
$(CC) $(CFLAGS) $(LDFLAGS) -shared chkstk.S -o libcheckra1nhelper.dylib
|
||||||
|
|
||||||
checkra1n-kpf-pongo:
|
checkra1n-kpf-pongo:
|
||||||
curl -LO https://cdn.nickchan.lol/palera1n/artifacts/kpf/checkra1n-kpf-pongo
|
curl -LO https://cdn.nickchan.lol/palera1n/artifacts/kpf/iOS15/checkra1n-kpf-pongo
|
||||||
|
|
||||||
ramdisk.dmg:
|
ramdisk.dmg:
|
||||||
curl -LO https://cdn.nickchan.lol/palera1n/c-rewrite/deps/ramdisk.dmg
|
curl -LO https://cdn.nickchan.lol/palera1n/c-rewrite/deps/ramdisk.dmg
|
||||||
@@ -146,7 +146,7 @@ binpack.dmg:
|
|||||||
curl -LO https://cdn.nickchan.lol/palera1n/c-rewrite/deps/binpack.dmg
|
curl -LO https://cdn.nickchan.lol/palera1n/c-rewrite/deps/binpack.dmg
|
||||||
|
|
||||||
Pongo.bin:
|
Pongo.bin:
|
||||||
curl -LO https://cdn.nickchan.lol/palera1n/artifacts/kpf/Pongo.bin
|
curl -LO https://cdn.nickchan.lol/palera1n/artifacts/kpf/iOS15/Pongo.bin
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf *.o palera1n checkra1n checkra1n.c palera1n.dSYM libcheckra1nhelper.dylib
|
rm -rf *.o palera1n checkra1n checkra1n.c palera1n.dSYM libcheckra1nhelper.dylib
|
||||||
|
|||||||
@@ -34,7 +34,6 @@
|
|||||||
|
|
||||||
unsigned int verbose = 0;
|
unsigned int verbose = 0;
|
||||||
char xargs_cmd[0x270] = "xargs ", palerain_flags_cmd[0x30] = "deadbeef";
|
char xargs_cmd[0x270] = "xargs ", palerain_flags_cmd[0x30] = "deadbeef";
|
||||||
char dtpatch_cmd[0x20] = "deadbeef", rootfs_cmd[512] = "deadbeef";
|
|
||||||
extern char** environ;
|
extern char** environ;
|
||||||
|
|
||||||
niarelap_file_t* kpf_to_upload_1 = &checkra1n_kpf_pongo;
|
niarelap_file_t* kpf_to_upload_1 = &checkra1n_kpf_pongo;
|
||||||
|
|||||||
+1
-3
@@ -71,7 +71,7 @@ static int usage(int e, char* prog_name)
|
|||||||
#endif
|
#endif
|
||||||
"] [-e boot arguments] [-k Pongo image] [-o overlay file] [-r ramdisk file] [-K KPF file] [-i checkra1n file]\n"
|
"] [-e boot arguments] [-k Pongo image] [-o overlay file] [-r ramdisk file] [-K KPF file] [-i checkra1n file]\n"
|
||||||
"Copyright (C) 2023, palera1n team, All Rights Reserved.\n\n"
|
"Copyright (C) 2023, palera1n team, All Rights Reserved.\n\n"
|
||||||
"iOS/iPadOS 15.0-16.5 arm64 jailbreaking tool\n\n"
|
"iOS/iPadOS 15.0-16.5.1 arm64 jailbreaking tool\n\n"
|
||||||
"\t--version\t\t\t\tPrint version\n"
|
"\t--version\t\t\t\tPrint version\n"
|
||||||
"\t--force-revert\t\t\t\tRemove jailbreak\n"
|
"\t--force-revert\t\t\t\tRemove jailbreak\n"
|
||||||
#ifdef DEV_BUILD
|
#ifdef DEV_BUILD
|
||||||
@@ -175,8 +175,6 @@ int optparse(int argc, char* argv[]) {
|
|||||||
snprintf(xargs_cmd, sizeof(xargs_cmd), "xargs %s", optarg);
|
snprintf(xargs_cmd, sizeof(xargs_cmd), "xargs %s", optarg);
|
||||||
break;
|
break;
|
||||||
case 'f':
|
case 'f':
|
||||||
snprintf(rootfs_cmd, sizeof(rootfs_cmd), "rootfs %s", optarg);
|
|
||||||
snprintf(dtpatch_cmd, 0x20, "dtpatch %s", optarg);
|
|
||||||
palerain_flags |= palerain_option_rootful;
|
palerain_flags |= palerain_option_rootful;
|
||||||
palerain_flags &= ~palerain_option_rootless;
|
palerain_flags &= ~palerain_option_rootless;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in new issue
Block a user