Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.theos
20 changes: 20 additions & 0 deletions Entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.springboard.launchapplications</key>
<true/>
<key>platform-application</key>
<true/>
<key>get-task-allow</key>
<true/>
<key>proc_info-allow</key>
<true/>
<key>task_for_pid-allow</key>
<true/>
<key>run-unsigned-code</key>
<true/>
<key>com.apple.system-task-ports</key>
<true/>
</dict>
</plist>
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
THEOS_BUILD_DIR = build
DEBUG = 0

include theos/makefiles/common.mk

TOOL_NAME = ondeviceconsole
ondeviceconsole_FILES = main.m

include $(THEOS_MAKE_PATH)/tool.mk


all::

sync: stage
./jtool --sign --ent ./Entitlements.plist .theos/obj/arm64/ondeviceconsole
mv out.bin .theos/obj/arm64/ondeviceconsole
./jtool --sign --ent ./Entitlements.plist .theos/obj/armv7/ondeviceconsole
mv out.bin .theos/obj/armv7/ondeviceconsole
lipo -create .theos/obj/arm64/ondeviceconsole .theos/obj/armv7/ondeviceconsole -output .theos/ondeviceconsole
rsync -e "ssh -p 2222" -avz .theos/ondeviceconsole root@127.0.0.1:/usr/bin/ondeviceconsole
Binary file added jtool
Binary file not shown.