Skip to content

Commit 3f9c76a

Browse files
pollito05pollito05
pollito05
authored and
pollito05
committed
Merge remote-tracking branch 'kpwn/master'
2 parents ebaf006 + 11ed504 commit 3f9c76a

File tree

11 files changed

+550
-240
lines changed

11 files changed

+550
-240
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
This is not a support forum or generic mailing list.
2+
3+
This form is exclusively for reporting issues caused directly by the inner workings of yalu.
4+
5+
Direct your jailbreaking questions to one of these fine communities:
6+
7+
* https://reddit.com/r/jailbreak
8+
* http://www.jailbreakqa.com/
9+
10+
Issues, which are not related to yalu's code, may be closed without comment. Do NOT post about: Cydia, tweak, respring/bootloop or app issues UNLESS you have evidence that they are caused by an error in the jailbreaking software itself.
11+
12+
(Delete this bit after reading, and replace it by "I read the issue posting guidelines.")

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
2+
Version 2, December 2004
3+
4+
Copyright (C) 2004 Sam Hocevar <[email protected]>
5+
6+
Everyone is permitted to copy and distribute verbatim or modified
7+
copies of this license document, and changing it is allowed as long
8+
as the name is changed.
9+
10+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
11+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
12+
13+
0. You just DO WHAT THE FUCK YOU WANT TO.

README.md

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,76 @@
11
# yalu102
2-
incomplete iOS 10.2 jailbreak for 64 bit devices by qwertyoruiopz and marcograssi
2+
3+
![Yalu logo](https://github.com/kpwn/yalu102/blob/master/yalu102/Assets.xcassets/AppIcon.appiconset/[email protected]?raw=true)
4+
5+
A "work in progress" iOS jailbreak for 64-bit devices created by [qwertyoruiopz](https://twitter.com/qwertyoruiopz) and [marcograssi](marcograss).
6+
7+
Please use the "Issues" tab for **code related** issues only. If you need support please search on [/r/jailbreak](https://reddit.com/r/jailbreak) before posting a question there.
8+
9+
## Supported Devices and iOS versions
10+
11+
| Device | Version |
12+
|---------|----------|
13+
| iPad Pro | iOS 10.0.0 -> iOS 10.2 |
14+
| iPhone 6S | iOS 10.0.0 -> iOS 10.2 |
15+
| iPhone SE | iOS 10.0.0 -> iOS 10.2 |
16+
| iPhone 5S | iOS 10.0.0 -> iOS 10.2 |
17+
| iPad Air| iOS 10.0.0 -> iOS 10.2 |
18+
| iPad Mini 2| iOS 10.0.0 -> iOS 10.2 |
19+
| iPhone 6 | iOS 10.0.0 -> iOS 10.2 |
20+
| iPad Mini 3| iOS 10.0.0 -> iOS 10.2 |
21+
| iPad Air 2| iOS 10.0.0 -> iOS 10.2 |
22+
| iPad Mini 4 | iOS 10.0.0 -> iOS 10.2 |
23+
| iPod touch (6G) | iOS 10.0.0 -> iOS 10.2 |
24+
25+
### Planned Support:
26+
27+
In the near future, the jailbreak will support the following devices:
28+
29+
| Device | Version |
30+
|---------|----------|
31+
| iPhone 7 | iOS 10.0.0 -> iOS 10.1.1 |
32+
33+
**Note, the iPhone 7 is only supported till iOS 10.1.1**
34+
If you are already on iOS 10.2 with an iPhone 7, **stay there**. The actual exploit behind this still works, but the KPP bypass does not.
35+
36+
## Compiling:
37+
38+
1. `git clone` the repo.
39+
2. Open the repo in Xcode
40+
3. Change the bundle ID, as shown [here](https://www.reddit.com/r/sideloaded/wiki/how-to-sideload#wiki_changing_the_bundle_identifier_and_team)
41+
4. Include the IOKit headers, and add them to your search path.
42+
5. Run the project.
43+
44+
## Warnings
45+
46+
This jailbreak is a work in progress. Some things do not work, but most things do.
47+
48+
Do not install things that are untested.
49+
50+
**AppSync and other unsupported and untested software will probably throw your device into a bootloop or do other bad things.** Do not open an issue complaining that your device has been bootlooped because you installed other software. You have been warned.
51+
52+
## Installing
53+
54+
> DO NOT DOWNLOAD THIS SOFTWARE FROM OTHER SOURCES OTHER THAN THESE LINKS UNDER ANY CIRCUMSTANCE. IT IS VERY EASY TO BACKDOOR THIS SORT OF SOFTWARE TO CONTAIN MALWARE. PLEASE BE EXTREMELY CAREFUL. THESE MIRRORS ARE TRUSTED, BUT STILL CHECK THE SHA1.
55+
56+
* Download the pre-compiled version from the table below.
57+
* [Check the SHA1 hash](http://onlinemd5.com) of the downloaded file (optional but recommended).
58+
* Install using [Cydia Impactor](http://www.cydiaimpactor.com/).
59+
* Open the application and follow instructions.
60+
61+
62+
| Version | Download | SHA1 |
63+
|---------|----------|------|
64+
| Beta 7 | [Link](https://yalu.qwertyoruiop.com/yalu102_beta7.ipa) | 4afa99d4b568aa8cbb9ac61fddd584111fed79c5 |
65+
| Beta 6 | [Link](https://yalu.qwertyoruiop.com/yalu102_beta6.ipa) | 0130ebe60c97e2013a4b849b7d9bc321d749f304 |
66+
| Beta 5 | [Link](https://yalu.qwertyoruiop.com/yalu102_beta5.ipa) | f8eb6cd37054a9d25b818e3bddd13bfedbf72df1 |
67+
| Beta 4 | [Link](https://yalu.qwertyoruiop.com/yalu102_beta4.ipa) | f8270e59d7d7267613ffa63217b91fea425eec36 |
68+
| Beta 3 | [Link](https://yalu.qwertyoruiop.com/yalu102_beta3.ipa) | b2e0bdd31566f876d67cba036b5d29aef7ff257d |
69+
| Beta 2 | [Link](https://yalu.qwertyoruiop.com/yalu102_beta.ipa) | 4fddad7cca8aa0c0a6579c1d63d00917f15efc86 |
70+
| Beta 1 | [Link](https://yalu.qwertyoruiop.com/yalu102_alpha.ipa) | 2fe14f1c1e1a0d26203bbb123f6747a978dd2b4f |
71+
72+
## Contributing
73+
74+
Create a fork of the repository, make your changes and then create a pull request.
75+
Please be sure to check if the pull request has been made before, before creating a new one. Note, any pull requests adding IOKit headers will be closed. Please respect copyright laws, and do not distribute / download IOKit headers from unofficial sources: they are bundled legally with macOS SDK
76+

yalu102.xcodeproj/project.pbxproj

Lines changed: 5 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,14 @@
2424
EA9901141E21A1B00056FEBD /* iokitmig64.o in Frameworks */ = {isa = PBXBuildFile; fileRef = EA9901131E21A1B00056FEBD /* iokitmig64.o */; };
2525
EA9901171E21A1D90056FEBD /* devicesupport.m in Sources */ = {isa = PBXBuildFile; fileRef = EA9901161E21A1D90056FEBD /* devicesupport.m */; };
2626
EA9901191E21A2180056FEBD /* IOKit.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = EA9901181E21A2180056FEBD /* IOKit.tbd */; };
27+
EAA7F7C71E3EE4AF00BE3C64 /* dropbear.plist in Resources */ = {isa = PBXBuildFile; fileRef = EAA7F7C61E3EE4AF00BE3C64 /* dropbear.plist */; };
2728
/* End PBXBuildFile section */
2829

29-
/* Begin PBXContainerItemProxy section */
30-
EA1A3BA41E398E28009CA025 /* PBXContainerItemProxy */ = {
31-
isa = PBXContainerItemProxy;
32-
containerPortal = EA1A3BA01E398E28009CA025 /* mach_portal.xcodeproj */;
33-
proxyType = 2;
34-
remoteGlobalIDString = B0FB96FC1DEB2C8600C0D3C4;
35-
remoteInfo = mach_portal;
36-
};
37-
/* End PBXContainerItemProxy section */
38-
3930
/* Begin PBXFileReference section */
4031
EA1A3B9B1E38BBDB009CA025 /* patchfinder64.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = patchfinder64.h; sourceTree = "<group>"; };
4132
EA1A3B9C1E391C4F009CA025 /* patchfinder64.o */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.objfile"; path = patchfinder64.o; sourceTree = "<group>"; };
42-
EA1A3BA01E398E28009CA025 /* mach_portal.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = mach_portal.xcodeproj; path = "../../Downloads/mach_portal_redist-1/mach_portal/mach_portal.xcodeproj"; sourceTree = "<group>"; };
4333
EA1A3BA61E398E33009CA025 /* 0.reload.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = 0.reload.plist; sourceTree = "<group>"; };
44-
EA1A3BAC1E399006009CA025 /* reload */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; path = reload; sourceTree = "<group>"; };
34+
EA1A3BAC1E399006009CA025 /* reload */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = reload; sourceTree = "<group>"; };
4535
EA1A3BC41E39D1FF009CA025 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
4636
EA9900E31E1E9F060056FEBD /* yalu102.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = yalu102.app; sourceTree = BUILT_PRODUCTS_DIR; };
4737
EA9900E71E1E9F060056FEBD /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
@@ -63,6 +53,7 @@
6353
EA9901151E21A1D90056FEBD /* devicesupport.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = devicesupport.h; sourceTree = "<group>"; };
6454
EA9901161E21A1D90056FEBD /* devicesupport.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = devicesupport.m; sourceTree = "<group>"; };
6555
EA9901181E21A2180056FEBD /* IOKit.tbd */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = "sourcecode.text-based-dylib-definition"; path = IOKit.tbd; sourceTree = "<group>"; };
56+
EAA7F7C61E3EE4AF00BE3C64 /* dropbear.plist */ = {isa = PBXFileReference; explicitFileType = file.bplist; path = dropbear.plist; sourceTree = "<group>"; };
6657
/* End PBXFileReference section */
6758

6859
/* Begin PBXFrameworksBuildPhase section */
@@ -79,14 +70,6 @@
7970
/* End PBXFrameworksBuildPhase section */
8071

8172
/* Begin PBXGroup section */
82-
EA1A3BA11E398E28009CA025 /* Products */ = {
83-
isa = PBXGroup;
84-
children = (
85-
EA1A3BA51E398E28009CA025 /* mach_portal.app */,
86-
);
87-
name = Products;
88-
sourceTree = "<group>";
89-
};
9073
EA9900DA1E1E9F060056FEBD = {
9174
isa = PBXGroup;
9275
children = (
@@ -106,10 +89,10 @@
10689
EA9900E51E1E9F060056FEBD /* yalu102 */ = {
10790
isa = PBXGroup;
10891
children = (
92+
EAA7F7C61E3EE4AF00BE3C64 /* dropbear.plist */,
10993
EA1A3B9B1E38BBDB009CA025 /* patchfinder64.h */,
11094
EA9901021E219C210056FEBD /* offsets.c */,
11195
EA9901031E219C210056FEBD /* offsets.h */,
112-
EA1A3BA01E398E28009CA025 /* mach_portal.xcodeproj */,
11396
EA99010D1E21A1560056FEBD /* jailbreak.m */,
11497
EA9900E91E1E9F060056FEBD /* AppDelegate.h */,
11598
EA1A3BA61E398E33009CA025 /* 0.reload.plist */,
@@ -190,29 +173,13 @@
190173
mainGroup = EA9900DA1E1E9F060056FEBD;
191174
productRefGroup = EA9900E41E1E9F060056FEBD /* Products */;
192175
projectDirPath = "";
193-
projectReferences = (
194-
{
195-
ProductGroup = EA1A3BA11E398E28009CA025 /* Products */;
196-
ProjectRef = EA1A3BA01E398E28009CA025 /* mach_portal.xcodeproj */;
197-
},
198-
);
199176
projectRoot = "";
200177
targets = (
201178
EA9900E21E1E9F060056FEBD /* yalu102 */,
202179
);
203180
};
204181
/* End PBXProject section */
205182

206-
/* Begin PBXReferenceProxy section */
207-
EA1A3BA51E398E28009CA025 /* mach_portal.app */ = {
208-
isa = PBXReferenceProxy;
209-
fileType = wrapper.application;
210-
path = mach_portal.app;
211-
remoteRef = EA1A3BA41E398E28009CA025 /* PBXContainerItemProxy */;
212-
sourceTree = BUILT_PRODUCTS_DIR;
213-
};
214-
/* End PBXReferenceProxy section */
215-
216183
/* Begin PBXResourcesBuildPhase section */
217184
EA9900E11E1E9F060056FEBD /* Resources */ = {
218185
isa = PBXResourcesBuildPhase;
@@ -222,6 +189,7 @@
222189
EA99010C1E21A0520056FEBD /* launchctl in Resources */,
223190
EA9901061E219FF10056FEBD /* bootstrap.tar in Resources */,
224191
EA1A3BA81E398E33009CA025 /* 0.reload.plist in Resources */,
192+
EAA7F7C71E3EE4AF00BE3C64 /* dropbear.plist in Resources */,
225193
EA9900F61E1E9F060056FEBD /* LaunchScreen.storyboard in Resources */,
226194
EA1A3BAD1E399006009CA025 /* reload in Resources */,
227195
EA1A3BC51E39D1FF009CA025 /* Assets.xcassets in Resources */,

yalu102/ViewController.m

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,62 @@ - (void)viewDidLoad {
5151
not_natural_t io_bits;
5252
not_natural_t io_references;
5353
char io_lock_data[1337];
54+
/*
55+
56+
https://www.youtube.com/watch?v=ZADJ8S1qH3U
57+
58+
59+
[Intro]
60+
Lets get it
61+
Steve Drive
62+
R.I.P L'A Capone
63+
OTF
64+
These nigga's steady woofing like they want beef, want beef?
65+
You want smoke? You want smoke? Just tell me
66+
67+
[Hook]
68+
These niggas steady woofing like they want beef, want beef?[You want smoke?]
69+
I can make that happen if you want beef, you want beef?[You want smoke?]
70+
Catch you while you're capping with this semi, semi
71+
Put the semi-automatic to your kidney, kidney
72+
73+
[Verse 1]
74+
Put the semi-automatic to your kidney, kidney
75+
I'm off the dope I got the pole you talking tough you getting smoked
76+
These nigga's steady woofing like they want beef, but I really know
77+
Glock or nickel yeah that bitch go, I'm going like I'm at a fucking show
78+
I'm off Tu pack saying fuck Jojo[Fuck Jojo]
79+
Talking shit get your life took no joke
80+
I'm with my nigga's and my niggas ain't no joke
81+
And if you got that fucking bag then you getting poked
82+
And if you acting tough, I'ma fucking blow, and that's on Pluto[On Pluto]
83+
Me and Durk finna spaz, and I put that on the guys, it's homicides
84+
Cause we dropping Y's[Die Y, Die Y], head shot got him traumatized
85+
And you want beef?[You want beef fu nigga?] but when I see you, you don't speak?[You don't even talk]
86+
I got my 9 on me[Rondo] and I'ma blow and that's on me[I'm Rondo]
87+
I'm getting tree tree[Getting dope], getting top from a bitch named Kiki
88+
89+
[Chorus]
90+
91+
[Verse 2]
92+
And if you really want smoke[You want smoke little nigga?]
93+
I will give your ass smoke[Give your ass smoke little nigga?]
94+
This Glock 9 bitch I tote, and I will put it to your throat
95+
I'm off this Tooka pack and no L'A, I'ma go crazy
96+
You supposed to be my nigga but actin' like a fan that’s crazy
97+
What the fuck wrong with these nigga's, they fugazi
98+
I made this song for the niggas, cause they crazy
99+
Separate me from them niggas[Separate Rondo]
100+
Pull up on your block, with the mops
101+
Then I hit the dip and put him up in case of attempts[Incase a nigga survive]
102+
But we don't make throws, we shoot like Pimp[We shoot to kill]
103+
I got 23[Two three] So i don't fucking speak[I don't speak]
104+
Riding fast, I hit the dash, ain't gon last[You ain't gonna last nigga], I'ma blast[Cause ima blast on a nigga]
105+
Numba Nine, bitch [I'm #9 lil nigga], and I'm a sav, bitch
106+
107+
[Chorus]
108+
*/
109+
54110
};
55111

56112

@@ -210,7 +266,7 @@ - (IBAction)yolo:(UIButton*)sender
210266
*(uint64_t*)(((uint64_t)fakeport) + 0x68) = textbase + i*0x100000 + 0x500000 + k;
211267
*(uint64_t*)(((uint64_t)fakeport) + 0xa0) = 0xff;
212268

213-
kern_return_t kret = clock_sleep_trap(foundport, 0x12345, 0, 0, NULL);
269+
kern_return_t kret = clock_sleep_trap(foundport, 0, 0, 0, 0);
214270

215271
if (kret != KERN_FAILURE) {
216272
goto gotclock;

0 commit comments

Comments
 (0)