Difference between revisions of "Theos on MAC OS"

From Hawk Wiki
Jump to: navigation, search
(Created page with "<pre>export THEOS=/git/theos cd /git git clone https://github.com/DHowett/theos.git sudo $THEOS/bin/bootstrap.sh substrate //There is a bug. Need to copy from iOS device /Libr...")
 
Line 1: Line 1:
<pre>export THEOS=/git/theos
+
This procedure works on Mac OS Yosemite. <br>
 +
First, set the os path. <br>
 +
<pre>export THEOS=/git/theos</pre>
 +
Download from git, you can choose your own folder
 +
<pre>
 
cd /git
 
cd /git
 
git clone https://github.com/DHowett/theos.git
 
git clone https://github.com/DHowett/theos.git
 +
</pre>
 +
Generate substrate
 +
<pre>
 
sudo $THEOS/bin/bootstrap.sh substrate
 
sudo $THEOS/bin/bootstrap.sh substrate
//There is a bug. Need to copy from iOS device /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate to $THEOS/lib/libsubstrate.dylib
+
</pre>
Install dkpg, download from
+
'''There is a bug. Need to copy from iOS device /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate to $THEOS/lib/libsubstrate.dylib'''
http://www.macports.org/install.php
+
Install dkpg, download from<br>
restart terminal after install
+
http://www.macports.org/install.php<br>
 +
restart terminal after install<br>
 +
<pre>
 
sudo port selfupdate
 
sudo port selfupdate
 
sudo port install dpkg
 
sudo port install dpkg
 +
</pre>
  
Additional templates
+
Additional templates<br>
https://github.com/DHowett/theos-nic-templates
+
https://github.com/DHowett/theos-nic-templates<br>
copy and paste to $THEOS/templates/iphone
+
copy and paste to $THEOS/templates/iphone<br>
 
+
Now you can create tweaks from templates
 +
<pre>
 
$THEOS/bin/nic.pl
 
$THEOS/bin/nic.pl
 
</pre>
 
</pre>

Revision as of 17:08, 18 August 2015

This procedure works on Mac OS Yosemite.
First, set the os path.

export THEOS=/git/theos

Download from git, you can choose your own folder

cd /git
git clone https://github.com/DHowett/theos.git

Generate substrate

sudo $THEOS/bin/bootstrap.sh substrate

There is a bug. Need to copy from iOS device /Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate to $THEOS/lib/libsubstrate.dylib Install dkpg, download from
http://www.macports.org/install.php
restart terminal after install

sudo port selfupdate
sudo port install dpkg

Additional templates
https://github.com/DHowett/theos-nic-templates
copy and paste to $THEOS/templates/iphone
Now you can create tweaks from templates

$THEOS/bin/nic.pl