Difference between revisions of "Theos on MAC OS"

From Hawk Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
==Install theos==
 
This procedure works on Mac OS Yosemite. <br>
 
This procedure works on Mac OS Yosemite. <br>
 
First, set the os path. <br>
 
First, set the os path. <br>
Line 26: Line 27:
 
<pre>
 
<pre>
 
$THEOS/bin/nic.pl
 
$THEOS/bin/nic.pl
 +
</pre>
 +
 +
==How to watch syslog in ios 8==
 +
<pre>
 +
apt-get install socat
 +
socat - UNIX-CONNECT:/var/run/lockdown/syslog.sock
 
</pre>
 
</pre>

Revision as of 23:51, 18 August 2015

Install theos

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

How to watch syslog in ios 8

apt-get install socat
 socat - UNIX-CONNECT:/var/run/lockdown/syslog.sock