<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lucas &#8211; Gary&#039;s &#8230;Lasamia</title>
	<atom:link href="https://garynil.tw/tag/lucas/feed/" rel="self" type="application/rss+xml" />
	<link>https://garynil.tw</link>
	<description>🍎 📱 🖥 🔨 😄</description>
	<lastBuildDate>Sat, 07 Jul 2018 13:50:30 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.3</generator>

<image>
	<url>https://i0.wp.com/garynil.tw/wp-content/uploads/2017/01/cropped-Gary_v3.0.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>Lucas &#8211; Gary&#039;s &#8230;Lasamia</title>
	<link>https://garynil.tw</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">147732124</site>	<item>
		<title>Yalu102 &#8211; iOS 10.2 Jailbreak</title>
		<link>https://garynil.tw/2017/01/295/yalu-ios-10-jailbreak/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=yalu-ios-10-jailbreak</link>
					<comments>https://garynil.tw/2017/01/295/yalu-ios-10-jailbreak/#comments</comments>
		
		<dc:creator><![CDATA[Gary]]></dc:creator>
		<pubDate>Thu, 26 Jan 2017 14:49:18 +0000</pubDate>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Cydia]]></category>
		<category><![CDATA[iOS 10]]></category>
		<category><![CDATA[Jailbreak]]></category>
		<category><![CDATA[JB]]></category>
		<category><![CDATA[Lucas]]></category>
		<category><![CDATA[qwertyoruiopz]]></category>
		<category><![CDATA[Resign]]></category>
		<category><![CDATA[Yalu]]></category>
		<guid isPermaLink="false">https://garynil.tw/?p=295</guid>

					<description><![CDATA[<p>繼上次寫了 iOS 10.1.x 越獄 &#8211; Yalu beta 3 也快過了一個月，悲觀的 Lucas 終於釋出了新的 beta 1 版本。 這裡補充一下，請大家尊重一下開發者大大們，不要去騷擾拍打、催促他完成 Jailbreak。他是沒有義務要完成這些的，這些騷擾讓他的氫碘鈉化碳碎了..，也聲稱 10.2 版本釋出之後將不會再投入研究 在新版本中， Lucas 加入了對 MobileSubstrate 的相容性 (來源) 有比較深入研究，或者再追蹤 reddit 的人應該都知道在 10.1.x 時，Lucas 釋出的版本是不支援 MobileSubstrate 的 因為目前大部分的 tweak 都依賴 MobileSubstrate，當時大部分的 tweaks 是無法使用的。 &#160; 當時也有人推出 Substrate Fix (iOS 10) Source：http:...</p>
<p>這篇文章 <a rel="nofollow" href="https://garynil.tw/2017/01/295/yalu-ios-10-jailbreak/">Yalu102 &#8211; iOS 10.2 Jailbreak</a> 最早出現於 <a rel="nofollow" href="https://garynil.tw">Gary&#039;s ...Lasamia</a>。</p>
]]></description>
										<content:encoded><![CDATA[<p>繼上次寫了 <a href="https://garynil.tw/2016/12/234" target="_blank">iOS 10.1.x 越獄 &#8211; Yalu beta 3</a> 也快過了一個月，悲觀的 <a href="https://twitter.com/qwertyoruiopz" target="_blank">Lucas</a> 終於釋出了新的 <a href="https://yalu.qwertyoruiop.com/yalu102_alpha.ipa" target="_blank">beta 1</a> 版本。</p>
<p>這裡補充一下，請大家尊重一下開發者大大們，不要去騷擾<del datetime="2017-01-26T13:44:53+00:00">拍打</del>、催促他完成 Jailbreak。他是沒有義務要完成這些的，這些騷擾<del datetime="2017-01-26T15:14:31+00:00">讓他的氫碘鈉化碳碎了..</del>，也<a href="https://twitter.com/qwertyoruiopz/status/823293730857820160" target="_blank">聲稱</a> 10.2 版本釋出之後將不會再投入研究</p>
<p>在新版本中， Lucas 加入了對 MobileSubstrate 的相容性 <a href="https://twitter.com/qwertyoruiopz/status/824508945695997952" target="_blank">(來源)<br />
</a>有比較深入研究，或者再追蹤 reddit 的人應該都知道在 10.1.x 時，Lucas 釋出的版本是不支援 MobileSubstrate 的<br />
因為目前大部分的 tweak 都依賴 MobileSubstrate，當時大部分的 tweaks 是無法使用的。<br />
<span id="more-295"></span></p>
<p>&nbsp;</p>
<p>當時也有人推出 Substrate Fix (iOS 10) Source：<a href="cydia://url/https://cydia.saurik.com/api/share#?source=http://83.218.67.215/~ijapija00/cydia" target="_blank">http://83.218.67.215/~ijapija00/cydia</a><br />
但在當時我自己測試之下，是蠻不穩定的.. 不過目前 iOS 10.1.1 使用 Yalu beta 3 的人只能使用這套來支援 Cydia Substrate<br />
而使用 Yalu 102 新版的人，直接安裝 Cydia Substrate 即可，在 1 月底也有為了 iOS 10 釋出的 0.96301 的更新檔</p>
<p>&nbsp;</p>
<p>而此次 beta 1 版本，修正了這些不穩定性，就我自己使用上知道改正了以下錯誤：</p>
<ul>
<li>可以正常 Log 出錯誤訊息，NSLog 和 printf 正常使用</li>
<li>支援 MobileSubstrate</li>
<li><code>killall -9 Springboard</code> 在我的機器上是穩定的，這有待換到別的機器測試</li>
<li><code>killall -9 backboardd</code> 可以正常使用，不會讓手機重啟</li>
</ul>
<p>但透過 Yalu app 越獄失敗的情況還是存在，需要多嘗試一兩次才能成功</p>
<p><a href="https://flic.kr/p/RkDR2E"><img data-recalc-dims="1" fetchpriority="high" decoding="async" src="https://i0.wp.com/farm1.staticflickr.com/474/32383879132_986dccfb52_z.jpg?resize=640%2C418&#038;ssl=1" alt="螢幕快照 2017-01-26 下午7.41.25" width="640" height="418" /></a><br />
&nbsp;</p>
<p>================== 更新 ====================</p>
<p><strong>2017/02/01 更新</strong><br />
現在設備情況分為兩種：是 iPhone 7 以及非 iPhone 7 系列</p>
<ul>
<li>如果你是使用 iPhone 7 在 iOS 10.1.1 ，請使用<a href="https://garynil.tw/2016/12/234" target="_blank">這篇教學</a>配上 <a href="https://yalu.qwertyoruiop.com/mach_portal+yalu-b3.ipa" target="_blank">Yalu beta 3</a> (註：beta 4-1 作者沒有包好，也註明是損毀的，不要聽信網路傳言用 4-1 。)。</p>
</li>
<li>
<p>如果你是使用其他 64 bit 裝置並在 iOS 10，請使用 <a href="https://yalu.qwertyoruiop.com/yalu102_beta7.ipa" target="_blank">Yalu 102 beta 7</a>，詳請再參照此篇教學</a></p>
</li>
</ul>
<p><strong>2017/01/30 更新</strong><br />
推出 <a href="https://yalu.qwertyoruiop.com/yalu102_beta6.ipa" target="_blank">beta 6 版本</a><br />
現已支援所有 iOS 10 64 bit 的裝置除了 iPhone7, iPad Air 2 和 iPad Mini 4<br />
<em>fixes some issues some device/fw combos were having with the tfp0 / nonceEnabler patch</em></p>
<p>iPhone 7 可以使用 Yalu 舊版 <a href="https://yalu.qwertyoruiop.com/mach_portal+yalu-b3.ipa" target="_blank">beta 3</a></p>
<p>詳細更新項目可以參照<a href="https://yalu.qwertyoruiop.com" target="_blank">原始網頁</a></p>
<p><strong>2017/01/29 更新</strong><br />
推出 beta 5 版本<br />
<em>placebo effect</em></p>
<p><strong>2017/01/26 補充</strong><br />
我用兩台裝置 6s (iOS 10.2) 及 6s Plus (iOS 10.1.1) 做的測試<br />
在 6s Plus (iOS 10.1.1) 上使用 Yalu102 會出現幾個不能運作的情況：<br />
1.OpenSSH 無法運作，完全連不進去<br />
2.Log 失效</p>
<p>#註：後來證實是自己用 Github 上的版本 build 出來才會有問題，用官方版本是正常的</p>
<p>&nbsp;<br />
&nbsp;<br />
<del datetime="2017-02-04T14:39:21+00:00">但這些問題在 6s (iOS 10.2) 上一切正常<br />
而 OpenSSH 問題，只要透過 Yalu beta 3 就可以解決，但舊版又超不穩定..</del></p>
<p><strong>0127 補充</strong><br />
在 10.2 越獄之後，我有遇到裝完 iFile 和 Cydia Substrate 之後，除了系統 app 以外其他 app 點開馬上閃退的情況<br />
交叉測試之後發現：<br />
在第一次越獄之後，要先單獨安裝 Cydia Substrate，其他套件等此次安裝完 respring 之後在另外安裝<br />
便不會發升上述問題了<br />
&nbsp;</p>
<p>而進入文章重點，那此次 Jailbreak 要如何安裝使用呢？<br />
其實跟<a href="http://www.pangu.io" target="_blank">盤古 iOS 9 越獄</a> 一樣，是透過安裝一個 app 來觸發漏洞建立越獄環境<br />
當你每次重新啟動手機之後，是需要重新越獄的</p>
<p>而安裝 Yalu App 主要分為以下三個方法：</p>
<h3>方法1：透過 Cydia Impactor 和開發者帳號來安裝 (最簡易懶人)</h3>
<p>你需要準備的是作者編譯好的 <a href="https://yalu.qwertyoruiop.com/yalu102_alpha.ipa" target="_blank">ipa 安裝檔</a>以及 <a href="http://www.cydiaimpactor.com" target="_blank">Cydia Impactor</a><br />
然後使用 Cydia Impactor 將 ipa resign 後裝至你的手機<br />
詳細教學可以看我<a href="https://garynil.tw/2016/12/234" target="_blank">上次這篇</a></p>
<p>缺點就是因為 Apple 佛心讓大家可以成為開發者，但限制是你每 7 天要 resign 一次<br />
然後強烈建議不要使用自己的付費開發者帳號，他會將你 revoke ，之後在 Xcode 開發還要設定一次很麻煩..</p>
<h3>方法2：使用付費開發者帳號 Resign</h3>
<p>相信有付費開發者帳號的人有開發經驗會比較聰明，我也懶得截圖，就將步驟寫的簡易一點：<br />
主要的目的就是透過你的帳號將 ipa resign，</p>
<h1>以下這一小段可以略過，因為使用 Yalu 10.2 beta 1 不需要這麼做</h1>
<p>在 Yalu 第一版除了 ipa 本身以外，還要 resign 裡面的 dylib，先將 ipa 副檔名改為 zip 後打開找到以下檔案<br />
並透過 codesign指令，加上你的 iPhone Developer 描述檔及代號重新簽名<br />
這裡會發生問題有一種特殊情況，你必需要開一個在<a href="http://developer.apple.com/" target="_blank">開發者後台</a>去新增一個 APP ID 符合 ipa 的 bundle idintifier，才可以正常的 resign dylib</p>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">codesign -f -s "iPhone Developer: XXX (XXXXXXXXXX)" ./Frameworks/libswiftCore.dylib
codesign -f -s "iPhone Developer: XXX (XXXXXXXXXX)" ./Frameworks/libswiftCoreGraphics.dylib
codesign -f -s "iPhone Developer: XXX (XXXXXXXXXX)" ./Frameworks/libswiftCoreImage.dylib
codesign -f -s "iPhone Developer: XXX (XXXXXXXXXX)" ./Frameworks/libswiftDarwin.dylib
codesign -f -s "iPhone Developer: XXX (XXXXXXXXXX)" ./Frameworks/libswiftDispatch.dyli
codesign -f -s "iPhone Developer: XXX (XXXXXXXXXX)" ./Frameworks/libswiftFoundation.dylib
codesign -f -s "iPhone Developer: XXX (XXXXXXXXXX)" ./Frameworks/libswiftObjectiveC.dylib
codesign -f -s "iPhone Developer: XXX (XXXXXXXXXX)" ./Frameworks/libswiftQuartzCore.dylib
codesign -f -s "iPhone Developer: XXX (XXXXXXXXXX)" ./Frameworks/libswiftUIKit.dylib</pre><p></p>
<p>============================================</p>
<p>而 ipa resign 的部分可以透過 <a href="http://mac.softpedia.com/get/Developer-Tools/iModSign.shtml" target="_blank">iModSign</a> 或者 <a href="https://github.com/maciekish/iReSign" target="_blank">iResign</a> 有 GUI 的簽名工具完成<br />
你只需要導入你的開發者帳號的 Provisioning Profile，可以從 Xcode 的設定來尋找，要使用 Provisioning Profile:* 的那一個<br />
路徑在：<code>~/Library/MobileDevice/Provisioning\ Profiles</code></p>
<p><a href="https://flic.kr/p/Qhz9wh"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/farm1.staticflickr.com/519/31692656164_1740abae3a_z.jpg?resize=640%2C539&#038;ssl=1" alt="螢幕快照_2017-01-26_下午10_36_47" width="640" height="539" /></a></p>
<p>之後再透過 <a href="http://www.i-funbox.com" target="_blank">iFunbox</a> 之類的工具安裝 ipa 即可完成</p>
<h3>方法3：當你擁有了原始碼</h3>
<p>因為這次作者直接<a href="https://github.com/kpwn/yalu102">公開原始碼</a>，便可以用這種特殊的形式來操作</p>
<p>以 Xcode 開啟專案，</p>
<p>這裡會有個小問題，作者的 code 中會使用到 IOKit 這個 framework，正常開啟是會顯示失敗無法 build 的，我將解決方法寫在<a href="https://garynil.tw/?p=298" target="_blank">這篇 &#8211; Import IOKit framework into Xcode project</a></p>
<p>1.直接 Archive，Export for development 匯出成擁有你簽名的 ipa ，然後安裝、結束。<br />
2.接上手機直接 build 進去<br />
這方法好處是可以隨時 pull 作者 update 的新版本，隨時 build 保持最新版～</p>
<p><a href="https://flic.kr/p/QZD9rE"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/farm1.staticflickr.com/759/32157412680_c542db0aba_z.jpg?resize=640%2C466&#038;ssl=1" alt="螢幕快照_2017-01-26_下午11_09_13" width="640" height="466" /></a></p>
<p>這篇文章 <a rel="nofollow" href="https://garynil.tw/2017/01/295/yalu-ios-10-jailbreak/">Yalu102 &#8211; iOS 10.2 Jailbreak</a> 最早出現於 <a rel="nofollow" href="https://garynil.tw">Gary&#039;s ...Lasamia</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://garynil.tw/2017/01/295/yalu-ios-10-jailbreak/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">295</post-id>	</item>
	</channel>
</rss>
