Administratorteki-iPhone:/Developer/usr/bin root# ./debugserver -x spring host:6789 /var/mobile/Applications/659039CC-974C-4C28-B23C-41D7A9641F2A/fanoronafree.app/fanoronafree
debugserver-199 for armv7.
error: failed to launch process ./debugserver: failed to get the task for process 27413
Administratorteki-iPhone:/Developer/usr/bin root#
Patching for process attachingThe vanilla debugserver cannot attach to any processes due to lack of entitlement to allow task_for_pid(). An entitlement must be inserted to the binary to allow this.
0. cd ~
1. Thin the binary because ldid does not support fat binaries:
lipo -thin armv6 /Developer/usr/bin/debugserver -output ~/debugserver
2. Save for following as ent.xml:
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "7e1K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4N6%4N6#2)9J5k6h3q4H3M7r3I4W2i4K6u0W2j5$3!0E0i4K6u0r3c8q4c8p5M7#2)9J5c8W2m8J5L8%4m8W2M7Y4c8&6e0r3W2K6N6q4)9J5k6o6q4Q4x3X3f1H3i4K6u0W2k6s2c8V1">
<plist version="1.0">
<dict>
<key>com.apple.springboard.debugapplications</key>
<true/>
<key>get-task-allow</key>
<true/>
<key>task_for_pid-allow</key>
<true/>
<key>run-unsigned-code</key>
<true/>
</dict>
</plist>3. Apply the entitlement with ldid:
ldid -Sent.xml debugserver