<?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>build &#8211; Gary&#039;s &#8230;Lasamia</title>
	<atom:link href="https://garynil.tw/tag/build/feed/" rel="self" type="application/rss+xml" />
	<link>https://garynil.tw</link>
	<description>🍎 📱 🖥 🔨 😄</description>
	<lastBuildDate>Tue, 27 Feb 2018 14:51:47 +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>build &#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>[Tutorial] How to build Electra ( iOS 11 Jailbreak app ) with ldid2</title>
		<link>https://garynil.tw/2018/01/691/tutorial-build-electra-ios-11-jailbreak-app-ldid2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tutorial-build-electra-ios-11-jailbreak-app-ldid2</link>
					<comments>https://garynil.tw/2018/01/691/tutorial-build-electra-ios-11-jailbreak-app-ldid2/#comments</comments>
		
		<dc:creator><![CDATA[Gary]]></dc:creator>
		<pubDate>Fri, 26 Jan 2018 07:20:35 +0000</pubDate>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[Electra]]></category>
		<category><![CDATA[ios11]]></category>
		<category><![CDATA[Jailbreak]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Xcode]]></category>
		<category><![CDATA[越獄]]></category>
		<guid isPermaLink="false">https://garynil.tw/?p=691</guid>

					<description><![CDATA[<p>Coolstar has released a new beta version of Electra jailbreak toolkit for iOS 11 – iOS 11.1.2. The author also release the source code of the jailbreak toolkit on Github. I would like to try to find out how the toolkit work by building it on my own. So I wrote this guide for people (who may be a developer) can follow instructions and build Electra toolkit successfully. The most important of all, b...</p>
<p>這篇文章 <a rel="nofollow" href="https://garynil.tw/2018/01/691/tutorial-build-electra-ios-11-jailbreak-app-ldid2/">[Tutorial] How to build Electra ( iOS 11 Jailbreak app ) with ldid2</a> 最早出現於 <a rel="nofollow" href="https://garynil.tw">Gary&#039;s ...Lasamia</a>。</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://twitter.com/coolstarorg">Coolstar</a> has released a new beta version of <a href="https://coolstar.org/electra/">Electra</a> jailbreak toolkit for iOS 11 – iOS 11.1.2. The author also release the source code of the jailbreak toolkit on <a href="https://github.com/coolstar/electra">Github</a>. I would like to try to find out how the toolkit work by building it on my own. So I wrote this guide for people (who may be a developer) can follow instructions and build Electra toolkit successfully.</p>
<p><img fetchpriority="high" decoding="async" src="https://i0.wp.com/lh3.googleusercontent.com/LUQPFWITqe-Tm6oW6rmpTgrB1KbOkKQhDWCJiPrHEVrmlMUAIwdvAvHk6P8" width="1600" height="1427" class="aligncenter size-full" /></p>
<p>The most important of all, before you start to read this guide, make sure you have the ability to handle the problem you meet. You are fully doing this at your own risk, I&#8217;m not responsible for any damage caused.</p>
<p>If you don&#8217;t know what this article is doing, you can download the released ipa on the author <a href="https://coolstar.org/electra/">website</a> resign by tools such as <a href="https://github.com/maciekish/iReSign">iResign</a> and install it to your iPhone without building it youself.</p>
<p><span id="more-691"></span></p>
<h4>Advantage of build the toolkit yourself</h4>
<ol>
<li>Know the structure of the code</li>
<li>Preventing if there were malicious code in toolkit.</li>
<li>Remove unused features. For example, in this toolkit, it will install Anemone tweak after you jailbreak. The last part in this tutorial will told you how to do it.</li>
<li>Keep the latest version, you can pull the latest version from Github and build it yourself.</li>
<li>You need to turn the SIP off of macOS before you did these instructions.</li>
</ol>
<h2>Clone repo</h2>
<p>You can access the Electra repo on <a href="https://github.com/coolstar/electra">Github</a>, which contain a Xcode project.<br />
Clone it to your ~/Desktop or any other path you like to work with.</p>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">git clone https://github.com/coolstar/electra.git</pre><p></p>
<p><a href="//i0.wp.com/lh3.googleusercontent.com/MjLpIWf3lGmh1pvhgDYZ3OSh2Up386AFRXHHF7ejUmnksTJDXGJGT63B1zI" data-featherlight="image"><img decoding="async" alt="Array" src="//i0.wp.com/lh3.googleusercontent.com/MjLpIWf3lGmh1pvhgDYZ3OSh2Up386AFRXHHF7ejUmnksTJDXGJGT63B1zI" width="811" height="600" scale="2"></a></p>
<h2>Build Xcode project</h2>
<p>Open the Xcode project then build. You will meet some error with the clean Xcode environment.</p>
<h2>ldid2 error</h2>
<p>After you build the project, you will meet a error. You will see this error:</p>
<p><a href="//i0.wp.com/lh5.googleusercontent.com/vZU-gDoh2jhgFA8eBncA2CFIBVkgO3Shf3kJ1iVUzIpYQE9CpgunWAQ7y0Y" data-featherlight="image"><img decoding="async" alt="Array" src="//i0.wp.com/lh5.googleusercontent.com/vZU-gDoh2jhgFA8eBncA2CFIBVkgO3Shf3kJ1iVUzIpYQE9CpgunWAQ7y0Y" width="875" height="600" scale="2"></a></p>
<p>At the first test, I tried install ldid original version by</p>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">brew install ldid</pre><p></p>
<p>and the bin of the ldid would be at <code>/usr/local/Cellar/ldid/1.2.1</code>, then link it as ldid2 in <code>/usr/local/bin</code></p>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">ln -s /usr/local/Cellar/ldid/1.2.1/bin/ldid /usr/local/bin/ldid2</pre><p></p>
<p><a href="//i0.wp.com/lh4.googleusercontent.com/s6XTUMGfpfA7ta-e3zueDiD6E66a1I8YJ9U5yEFdcAqyEfhNWoMP0QUMg4Y" data-featherlight="image"><img loading="lazy" decoding="async" alt="Array" src="//i0.wp.com/lh4.googleusercontent.com/s6XTUMGfpfA7ta-e3zueDiD6E66a1I8YJ9U5yEFdcAqyEfhNWoMP0QUMg4Y" width="837" height="600" scale="2"></a></p>
<p>With the ldid, it can work, and you can build the toolkit into your iPhone. However, the jailbreak won&#8217;t success and block on 2/3.</p>
<p>So I tried to find the solution on Github. I found <a href="https://github.com/xerub">xerub</a> make a <a href="ldid2">ldid2</a> with SHA256 support. However, this repo is not complete. The repo are lack of make code and wasn&#8217;t build.</p>
<h2>Add ldid2 to <code>/usr/local/bin/</code></h2>
<p>I completed the ldid2 project and put the binary in release version <a href="https://github.com/GaryniL/ldid/releases/tag/0.1-2">page</a>.<br />
<a href="https://github.com/GaryniL/ldid">Project Link</a></p>
<p><a href="https://github.com/GaryniL/ldid"><img loading="lazy" decoding="async" alt="Array" src="//i0.wp.com/lh6.googleusercontent.com/oEAPtGL4HQ1iq4EKW-VjfpSVeQoTkHU_O1yJZ0XB2kEcHWc6Y2Cmu-w7JqA" width="900" height="484" scale="2"></a></p>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">curl https://raw.githubusercontent.com/GaryniL/ldid/master/ldid2 -o ldid2
sudo mv ldid2 /usr/local/bin/
chmod +x /usr/local/bin/ldid2</pre><p></p>
<p>Then rebuild the project, it will work.<br />
<a href="//i0.wp.com/lh3.googleusercontent.com/HuX8tRwjS2qGOvuRaQdHHw-_knyoBynGLGWemba1jNcauklvrsOrW5DCj-o" data-featherlight="image"><img loading="lazy" decoding="async" alt="Array" src="//i0.wp.com/lh3.googleusercontent.com/HuX8tRwjS2qGOvuRaQdHHw-_knyoBynGLGWemba1jNcauklvrsOrW5DCj-o" width="900" height="153" scale="2"></a><br />
<a href="//i0.wp.com/lh5.googleusercontent.com/B-TmX8yOe6Sd9u0HcBPzLwY_AVToPvguK0r5819RkDfBZmFoLX07xlbJjLU" data-featherlight="image"><img loading="lazy" decoding="async" alt="Array" src="//i0.wp.com/lh5.googleusercontent.com/B-TmX8yOe6Sd9u0HcBPzLwY_AVToPvguK0r5819RkDfBZmFoLX07xlbJjLU" width="277" height="600" scale="2"></a></p>
<h2>Remove Anemone</h2>
<p>Besides, you can remove the line for preventing installing Anemone tweak<br />
<a href="//i1.wp.com/lh3.googleusercontent.com/zymV2cO9wQeooRedfMGl6ceHlGRq-4KacyFSn2O3ljX6fXM0Uk1_4Y19PC4" data-featherlight="image"><img loading="lazy" decoding="async" alt="Array" src="//i1.wp.com/lh3.googleusercontent.com/zymV2cO9wQeooRedfMGl6ceHlGRq-4KacyFSn2O3ljX6fXM0Uk1_4Y19PC4" width="900" height="590" scale="2"></a></p>
<p>這篇文章 <a rel="nofollow" href="https://garynil.tw/2018/01/691/tutorial-build-electra-ios-11-jailbreak-app-ldid2/">[Tutorial] How to build Electra ( iOS 11 Jailbreak app ) with ldid2</a> 最早出現於 <a rel="nofollow" href="https://garynil.tw">Gary&#039;s ...Lasamia</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://garynil.tw/2018/01/691/tutorial-build-electra-ios-11-jailbreak-app-ldid2/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">691</post-id>	</item>
	</channel>
</rss>
