Getting Started

OpenOCD

Get OpenOCD + Bonobo patch. The best way is to clone OpenOCD from our github:

git clone https://github.com/lambdaconcept/openocd.git
cd openocd
./bootstrap
./configure --enable-bonobo --disable-werror
make -j
make install

GDB Aarch64

Get aarch64-linux-gnu-gdb from your distribution package manager.

iPhone configuration files

Get the configuration files for your iPhone:

git clone https://github.com/lambdaconcept/bonobo-configs.git

If you do not know which file to choose, refer to Supported targets.

Run

Plug the phone and run OpenOCD (change the .cfg filename according to your target):

openocd -f t8010.cfg

At that stage, OpenOCD should have attached to your phone using Bonobo.

Attach

Run GDB and connect to the target:

aarch64-linux-gnu-gdb

(gdb) target remote :3333
0x0000000100000508 in ?? ()

This will halt the CPU.