-
Notifications
You must be signed in to change notification settings - Fork 156
Getting started
Daniel A. Mayer edited this page Jan 18, 2014
·
17 revisions
- Install ruby
gem install bundler
brew install qt cmake usbmuxd libimobiledevice
git clone --recursive [email protected]:dmayer/idb.git
cd idb
bundle install
ruby gidb.rb
-
Ruby (tested with 1.9 and 2.0)
- With bundler (
gem install bundler
)
- With bundler (
-
qt libraries and
cmake
for compiling the qt ruby bindings.- OS X:
brew install qt cmake
- Ubuntu:
apt-get install cmake libqt4-dev
- OS X:
-
Some helpers used internally by
gidb
: git, rsync, libimobiledevice, plist-util- OS X:
brew install libimobiledevice usbmuxd
(rsync, git, plist-util should already be there. - Ubuntu:
apt-get install git-core libimobiledevice-utils libplist-utils usbmuxd
- OS X:
-
Clone the repo
- Using
--recursive
to include thedumpdecrypted
repo (https://github.com/stefanesser/dumpdecrypted). git clone --recursive [email protected]:dmayer/idb.git
- Using
-
Bundle install ruby dependencies:
bundle install
- This will take a while since qt bindings may need to be compiled.
- If the Qt compilation fails with some linker errors, your ruby does no support shared libraries. If you use
rvm
(http://rvm.io/) you can simply pass--enable-shared
when installing a ruby.
-
Run
ruby gidb.rb
- Jailbroken iOS 6 or 7 (most things tested on 7, but 6 is safer for now).
- SSH server running (get it from Cydia)
-
apt-get
oraptitude
(get it from Cydia)
- Configure the device parameters in the File -> Preferences menu.
- Connect to the device using the Device -> USB Device menu.
- There will be a status dialog opening up which allows you to install some additional tools automatically. IF you don't do this, there will likely be crashes.