Difference between revisions of "Theos on MAC OS"

From Hawk Wiki
Jump to: navigation, search
Line 27: Line 27:
 
<pre>
 
<pre>
 
$THEOS/bin/nic.pl
 
$THEOS/bin/nic.pl
 +
</pre>
 +
 +
After making you tweak, do
 +
<pre>
 +
// add THEOS_DEVICE_IP = 10.101.66.113 <your device ip> into makefile
 +
make package install
 +
// enter your ssh password
 
</pre>
 
</pre>
  

Revision as of 23:52, 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

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