Compare commits

..
4 Commits
Author SHA1 Message Date
Nick Chan 2d795c1149 palera1n v2.2
Signed-off-by: Nick Chan <[email protected]>
2025-09-23 19:27:55 +08:00
Nick Chan 01d400af23 Update supported versions 2025-09-08 17:21:21 +08:00
Nick Chan 67805496f3 fix actions 2025-07-10 17:38:01 +08:00
Nick Chan 1389887b84 Initialize stuff_t
Signed-off-by: Nick Chan <[email protected]>
2025-07-10 17:20:57 +08:00
6 changed files with 12 additions and 13 deletions

No files matched your search

+3 -3
View File
@@ -504,7 +504,7 @@ jobs:
- name: Get branch name - name: Get branch name
id: branch-name id: branch-name
uses: tj-actions/branch-names@v7 uses: tj-actions/branch-names@v9
- name: Upload artifact - name: Upload artifact
if: ${{ github.event_name != 'pull_request' }} if: ${{ github.event_name != 'pull_request' }}
@@ -554,7 +554,7 @@ jobs:
- name: Download toolchain checksum - name: Download toolchain checksum
run: | run: |
curl -LO https://musl.cc/SHA512SUMS curl -u ${{ secrets.ACTIONS_RESOURCES_LOGIN }} -LO https://static.palera.in/action-resources/musl-cross/SHA512SUMS
echo "TOOLCHAIN_CHECKSUM="$(grep ${{ matrix.triple }}-cross.tgz SHA512SUMS | cut -d' ' -f1) >> $GITHUB_ENV echo "TOOLCHAIN_CHECKSUM="$(grep ${{ matrix.triple }}-cross.tgz SHA512SUMS | cut -d' ' -f1) >> $GITHUB_ENV
- name: Download toolchain (cached) - name: Download toolchain (cached)
@@ -567,7 +567,7 @@ jobs:
- name: Download toolchain - name: Download toolchain
if: steps.toolchain_cache.outputs.cache-hit != 'true' if: steps.toolchain_cache.outputs.cache-hit != 'true'
run: | run: |
curl -LO https://musl.cc/${{ matrix.triple }}-cross.tgz curl -u ${{ secrets.ACTIONS_RESOURCES_LOGIN }} -LO https://static.palera.in/action-resources/musl-cross/${{ matrix.triple }}-cross.tgz
- name: Setup environment - name: Setup environment
run: | run: |
+5 -5
View File
@@ -6,7 +6,7 @@
.Dt palera1n 1 .Dt palera1n 1
.Sh NAME .Sh NAME
.Nm palera1n .Nm palera1n
.Nd arm64 iOS/iPadOS/tvOS 15.0-18.3, bridgeOS 5.0-9.3 jailbreaking tool .Nd arm64 iOS/iPadOS/tvOS 15.0-26.0, bridgeOS 5.0-10.0 jailbreaking tool
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl cCdDEfhIlLnpRsSTvV .Op Fl cCdDEfhIlLnpRsSTvV
@@ -20,14 +20,14 @@
.Op Fl -force-revert .Op Fl -force-revert
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
jailbreaks an arm64 (arm64e excluded) iOS/iPadOS/tvOS 15.0-18.3, bridgeOS 5.0-9.2 device, jailbreaks an arm64 (arm64e excluded) iOS/iPadOS/tvOS 15.0-26.0, bridgeOS 5.0-10.0 device,
utilizing the utilizing the
.Em checkm8 .Em checkm8
bootROM exploit. bootROM exploit.
.Pp .Pp
.Nm .Nm
provides rootful and rootless jailbreak modes. provides rootful and rootless jailbreak modes.
On iOS/iPadOS 15.0 and later and on tvOS 18.3 or later, On iOS/iPadOS 15.0 and later and on tvOS 18.2 or later,
.Nm .Nm
is able to jailbreak the device in fakefs-rootful mode, where / is able to jailbreak the device in fakefs-rootful mode, where /
is writable, as well as rootless mode, where / cannot be written to. is writable, as well as rootless mode, where / cannot be written to.
@@ -139,13 +139,13 @@ Like
but the size of the created fakefs is smaller at the expense of having unwritable but the size of the created fakefs is smaller at the expense of having unwritable
parts in rarely-written paths. When jailbreaking 16 GB devices, this option must be used parts in rarely-written paths. When jailbreaking 16 GB devices, this option must be used
when setting up fakefs for rootful, as they do not have enough storage for full fakefs. when setting up fakefs for rootful, as they do not have enough storage for full fakefs.
This flag is supported on iOS/iPadOS 15.0 or later and tvOS 18.3 or later, as they This flag is supported on iOS/iPadOS 15.0 or later and tvOS 18.2 or later, as they
require fakefs for rootful. require fakefs for rootful.
.It Fl c , -setup-fakefs .It Fl c , -setup-fakefs
When used with When used with
.Fl f , -fakefs , .Fl f , -fakefs ,
creates the new APFS volume required for rootful. Will fail if one already exists. creates the new APFS volume required for rootful. Will fail if one already exists.
This flag is supported on iOS/iPadOS 15.0 or later and tvOS 18.3 or later, as they This flag is supported on iOS/iPadOS 15.0 or later and tvOS 18.2 or later, as they
require fakefs for rootful. require fakefs for rootful.
.It Fl C , -clean-fakefs .It Fl C , -clean-fakefs
This option is not currently supported and is a no-operation in this version of This option is not currently supported and is a no-operation in this version of
+1 -1
View File
@@ -72,7 +72,7 @@ usb_ret_t USBBulkUpload(usb_device_handle_t handle, void *data, uint32_t len);
#endif #endif
#ifndef PALERAIN_VERSION #ifndef PALERAIN_VERSION
#define PALERAIN_VERSION "2.1" #define PALERAIN_VERSION "2.2"
#endif #endif
#if defined(__APPLE__) #if defined(__APPLE__)
+1 -1
View File
@@ -77,7 +77,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) 2024, palera1n team, All Rights Reserved.\n\n" "Copyright (C) 2024, palera1n team, All Rights Reserved.\n\n"
"iOS/iPadOS/tvOS 15.0-18.3, bridgeOS 5.0-9.3 arm64 jailbreaking tool\n\n" "iOS/iPadOS/tvOS 15.0-26.0, bridgeOS 5.0-10.0 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
+1 -1
View File
@@ -208,7 +208,7 @@ static const int pongo_usb_product = PONGO_USB_PRODUCT;
int wait_for_pongo(void) { int wait_for_pongo(void) {
kern_return_t ret; kern_return_t ret;
stuff_t stuff; stuff_t stuff = {0};
io_iterator_t found, lost; io_iterator_t found, lost;
void* cfdict_keys[3]; void* cfdict_keys[3];
+1 -2
View File
@@ -180,8 +180,7 @@ static int LostDevice(libusb_context *ctx, libusb_device *dev, libusb_hotplug_ev
int wait_for_pongo(void) int wait_for_pongo(void)
{ {
stuff_t stuff; stuff_t stuff = {0};
stuff.handle = NULL;
libusb_hotplug_callback_handle hp[2]; libusb_hotplug_callback_handle hp[2];
libusb_context* ctx = NULL; libusb_context* ctx = NULL;