Skip to content

Commit eb5e706

Browse files
committed
Remove forced verbose boot
1 parent 28a4340 commit eb5e706

File tree

4 files changed

+9
-15
lines changed

4 files changed

+9
-15
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ DEP = $(SRC)/dep_root
33
STRIP = strip
44
CC ?= cc
55
CFLAGS += -isystem $(DEP)/include -I$(SRC)/include -I$(SRC) -D_XOPEN_SOURCE=500
6-
CFLAGS += -Wall -Wextra -Wno-unused-parameter -DPALERAIN_VERSION=\"2.0.2\" -DHAVE_LIBIMOBILEDEVICE
6+
CFLAGS += -Wall -Wextra -Wno-unused-parameter -DPALERAIN_VERSION=\"2.1\" -DHAVE_LIBIMOBILEDEVICE
77
CFLAGS += -Wno-unused-variable -I$(SRC)/src -std=c99 -pedantic-errors -D_C99_SOURCE -D_POSIX_C_SOURCE=200112L
88
LIBS += $(DEP)/lib/libimobiledevice-1.0.a $(DEP)/lib/libirecovery-1.0.a $(DEP)/lib/libusbmuxd-2.0.a
99
LIBS += $(DEP)/lib/libimobiledevice-glue-1.0.a $(DEP)/lib/libplist-2.0.a -pthread -lm

docs/palera1n.1

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.Dt palera1n 1
77
.Sh NAME
88
.Nm palera1n
9-
.Nd arm64 iOS/iPadOS/tvOS 15.0-18.1, bridgeOS 5.0-9.1 jailbreaking tool
9+
.Nd arm64 iOS/iPadOS/tvOS 15.0-18.2, bridgeOS 5.0-9.2 jailbreaking tool
1010
.Sh SYNOPSIS
1111
.Nm
1212
.Op Fl cCdDEfhIlLnpRsSTvV
@@ -20,14 +20,14 @@
2020
.Op Fl -force-revert
2121
.Sh DESCRIPTION
2222
.Nm
23-
jailbreaks an arm64 (arm64e excluded) iOS/iPadOS/tvOS 15.0-18.0, bridgeOS 5.0-9.0 device,
23+
jailbreaks an arm64 (arm64e excluded) iOS/iPadOS/tvOS 15.0-18.2, bridgeOS 5.0-9.2 device,
2424
utilizing the
2525
.Em checkm8
2626
bootROM exploit.
2727
.Pp
2828
.Nm
2929
provides rootful and rootless jailbreak modes.
30-
On iOS/iPadOS,
30+
On iOS/iPadOS 15.0 and later and on tvOS 18.2 or later,
3131
.Nm
3232
is able to jailbreak the device in fakefs-rootful mode, where /
3333
is writable, as well as rootless mode, where / cannot be written to.
@@ -139,12 +139,14 @@ Like
139139
but the size of the created fakefs is smaller at the expense of having unwritable
140140
parts in rarely-written paths. When jailbreaking 16 GB devices, this option must be used
141141
when setting up fakefs for rootful, as they do not have enough storage for full fakefs.
142-
This flag is only supported on iOS/iPadOS.
142+
This flag is supported on iOS/iPadOS 15.0 or later and tvOS 18.2 or later, as they
143+
require fakefs for rootful.
143144
.It Fl c , -setup-fakefs
144145
When used with
145146
.Fl f , -fakefs ,
146147
creates the new APFS volume required for rootful. Will fail if one already exists.
147-
This flag is only supported on iOS/iPadOS.
148+
This flag is supported on iOS/iPadOS 15.0 or later and tvOS 18.2 or later, as they
149+
require fakefs for rootful.
148150
.It Fl C , -clean-fakefs
149151
This option is not currently supported and is a no-operation in this version of
150152
.Nm

include/palerain.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ usb_ret_t USBBulkUpload(usb_device_handle_t handle, void *data, uint32_t len);
7272
#endif
7373

7474
#ifndef PALERAIN_VERSION
75-
#define PALERAIN_VERSION "2.0.2"
75+
#define PALERAIN_VERSION "2.1"
7676
#endif
7777

7878
#if defined(__APPLE__)

src/optparse.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#endif
2020

2121
uint64_t* palerain_flags_p = &palerain_flags;
22-
static bool force_use_verbose_boot = false;
2322
char* gOverrideLibcheckra1nHelper = NULL;
2423

2524
static struct option longopts[] = {
@@ -148,11 +147,9 @@ int optparse(int argc, char* argv[]) {
148147
case 'B':
149148
palerain_flags |= palerain_option_setup_partial_root;
150149
palerain_flags |= palerain_option_setup_rootful;
151-
palerain_flags |= palerain_option_verbose_boot;
152150
break;
153151
case 'c':
154152
palerain_flags |= palerain_option_setup_rootful;
155-
palerain_flags |= palerain_option_verbose_boot;
156153
break;
157154
case 'C':
158155
palerain_flags |= palerain_option_clean_fakefs;
@@ -175,7 +172,6 @@ int optparse(int argc, char* argv[]) {
175172
break;
176173
case 'V':
177174
palerain_flags |= palerain_option_verbose_boot;
178-
force_use_verbose_boot = true;
179175
#ifdef TUI
180176
tui_options_verbose_boot = true;
181177
#endif
@@ -364,10 +360,6 @@ int optparse(int argc, char* argv[]) {
364360
LOG(LOG_WARNING, "telnetd is enabled, this is a security hole");
365361
}
366362

367-
if ((strstr(xargs_cmd, "serial=") != NULL) && !force_use_verbose_boot && (palerain_flags & palerain_option_setup_rootful)) {
368-
palerain_flags &= ~palerain_option_verbose_boot;
369-
}
370-
371363
if ((palerain_flags & (palerain_option_tui)) && (palerain_flags & (palerain_option_cli))) {
372364
LOG(LOG_FATAL, "cannot specify both --tui and --cli");
373365
return -1;

0 commit comments

Comments
 (0)