Skip to content

Commit b947cb1

Browse files
committed
An update
1 parent c5d8ac4 commit b947cb1

File tree

6 files changed

+13
-12
lines changed

6 files changed

+13
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ EverPwnage has an **"Install Untether" toggle**, which controls the installation
2020

2121
## Untether
2222

23-
- **A6(X) devices (iOS 8.08.4.1)** and **A5(X) devices (iOS 8.38.4.1)** use **daibutsu untether**
23+
- **A6(X) devices (iOS 8.0-8.4.1)** and **A5(X) devices (iOS 8.3-8.4.1)** use **daibutsu untether**
2424
- daibutsu untether utilizes dyld_shared_cache patch for bypassing codesigning and sock_port_2_legacy for the untether executable, developed by kok3shidoll (v2.0.3)
25-
- **A5(X) devices (iOS 8.08.2)** and **all devices on iOS 9.0-9.0.2** use **EverUntether**, which combines:
25+
- **A5(X) devices (iOS 8.0-8.2)** and **all devices on iOS 9.0-9.0.2** use **EverUntether**, which combines:
2626
- [jsc_untether](https://github.com/staturnzz/jsc_untether) by staturnz (thanks to their work and assistance)
2727
- A [forked version](https://github.com/LukeZGD/daibutsu) of daibutsu untether (based on v1.2.3), updated to replace Trident with sock_port_2_legacy, and some fixes for 9.0.x support
2828

ios8-jailbreak/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.1</string>
20+
<string>1.1.1</string>
2121
<key>CFBundleVersion</key>
2222
<string>1</string>
2323
<key>LSRequiresIPhoneOS</key>

ios8-jailbreak/ViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ - (void)viewDidLoad {
5555
_deviceinfo_label.text = [NSString stringWithFormat:@"%@ | iOS %@", system_machine, system_version];
5656
NSLog(@"Running on %@ with iOS %@", system_machine, system_version);
5757

58+
// iOS 9.1-9.3.4? for later
59+
// ([nkernv containsString:@"3248.60"] || [nkernv containsString:@"3248.5"] || [nkernv containsString:@"3248.4"] ||
60+
// [nkernv containsString:@"3248.3"] || [nkernv containsString:@"3248.2"] || [nkernv containsString:@"3248.10"] ||
5861
// iOS 9.0.x
5962
if ([nkernv containsString:@"3248.1."] || [nkernv containsString:@"3247"] || [nkernv containsString:@"3216"])
6063
ios9 = true;

ios8-jailbreak/everuntether.tar

0 Bytes
Binary file not shown.

ios8-jailbreak/jailbreak.m

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <spawn.h>
1111
#include <sys/sysctl.h>
1212
#include <sys/stat.h>
13-
#include <copyfile.h>
1413

1514
#include "jailbreak.h"
1615
#include "mac_policy_ops.h"
@@ -60,7 +59,7 @@ uint32_t find_kernel_pmap(uintptr_t kernel_base) {
6059
uint32_t pmap_addr;
6160
if(isA5orA5X()) {
6261
//A5 or A5X
63-
if ([nkernv containsString:@"3248"] || [nkernv containsString:@"3247.1.88"]) { //9.0-9.0.2
62+
if ([nkernv containsString:@"3248.1."] || [nkernv containsString:@"3247.1.88"]) { //9.0-9.0.2
6463
printf("9.0-9.0.2\n");
6564
pmap_addr = 0x3f7444;
6665
} else if ([nkernv containsString:@"3247.1.56"]) { //9.0b4
@@ -90,7 +89,7 @@ uint32_t find_kernel_pmap(uintptr_t kernel_base) {
9089
}
9190
} else {
9291
//A6 or A6X
93-
if ([nkernv containsString:@"3248"]) { //9.0-9.0.2
92+
if ([nkernv containsString:@"3248.1."] || [nkernv containsString:@"3247.1.88"]) { //9.0-9.0.2
9493
printf("9.0-9.0.2\n");
9594
pmap_addr = 0x3fd444;
9695
} else if ([nkernv containsString:@"3247.1.56"]) { //9.0b4
@@ -712,8 +711,6 @@ void postjailbreak(bool untether_on) {
712711
(access("/.installed_daibutsu", F_OK) != -1)) || reinstall_strap) {
713712
printf("installing bootstrap...\n");
714713

715-
//printf("copying tar\n");
716-
//copyfile(getFilePath("tar"), "/bin/tar", NULL, COPYFILE_ALL);
717714
FILE *f1 = fopen("/bin/tar", "wb");
718715
if (f1) {
719716
size_t r1 = fwrite(tar, sizeof tar[0], tar_len, f1);
@@ -780,13 +777,13 @@ void postjailbreak(bool untether_on) {
780777
}
781778

782779
if (untether_on) {
783-
if ([nkernv containsString:@"3248.1."] || [nkernv containsString:@"3247"] || [nkernv containsString:@"3216"] ||
784-
(isA5orA5X() && [nkernv containsString:@"2783"])) {
785-
// all 9.0.x and a5(x) 8.0-8.2
780+
if ([nkernv containsString:@"3248"] || [nkernv containsString:@"3247"] || [nkernv containsString:@"3216"] ||
781+
[nkernv containsString:@"2784.30"] || (isA5orA5X() && [nkernv containsString:@"2783"])) {
782+
// all 9.0.x, 8.4, a5(x) 8.0-8.2
786783
printf("extracting everuntether\n");
787784
run_tar(getFilePath("everuntether.tar"));
788785
} else {
789-
// a6(x) 8.x and a5(x) 8.3-8.4.1
786+
// a6(x) 8.x, a5(x) 8.3-8.4.1
790787
printf("extracting daibutsu untether\n");
791788
run_tar("%s", getFilePath("untether.tar"));
792789
}

ios8-jailbreak/patchfinder8.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ uint32_t find_vm_map_protect_patch_84(uint32_t region, uint8_t* kdata, size_t ks
2121
uint32_t find_tfp0_patch(uint32_t region, uint8_t* kdata, size_t ksize);
2222
uint32_t find_i_can_has_debugger_1(uint32_t region, uint8_t* kdata, size_t ksize);
2323
uint32_t find_i_can_has_debugger_2(uint32_t region, uint8_t* kdata, size_t ksize);
24+
uint32_t find_vm_fault_enter_patch_84(uint32_t region, uint8_t* kdata, size_t ksize);
2425

2526
uint32_t find_vm_map_protect_patch(uint32_t region, uint8_t* kdata, size_t ksize);
2627
uint32_t find_mount_90(uint32_t region, uint8_t* kdata, size_t ksize);

0 commit comments

Comments
 (0)