Difference between revisions of "Theos on MAC OS"

From Hawk Wiki
Jump to: navigation, search
(How to watch syslog in ios 8)
Line 39: Line 39:
 
<pre>
 
<pre>
 
apt-get install socat
 
apt-get install socat
socat - UNIX-CONNECT:/var/run/lockdown/syslog.sock
+
socat - UNIX-CONNECT:/var/run/lockdown/syslog.sock
 +
watch
 
</pre>
 
</pre>

Revision as of 00:09, 19 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

After making you tweak, do

// add THEOS_DEVICE_IP = 10.101.66.113 <your device ip> into makefile
make package install
// enter your ssh password

How to watch syslog in ios 8

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