ldid

From iPhone Development Wiki
Revision as of 19:36, 31 March 2020 by NSExceptional (talk | contribs) (Make usage syntax more clear)


ldid is a tool made by saurik for modifying a binary's entitlements easily. ldid also generates SHA1 hashes for the binary signature, so the iPhone kernel executes the binary. The package name in Cydia is "Link Identity Editor", hosted by the Cydia/Telesphoreo repository.

Usage

ldid -e <binary> dumps the binary's entitlements.

ldid -Sent.xml <binary> sets the binary's entitlements, where ent.xml is the path to an entitlements file.

ldid -S <binary> pseudo-signs a binary with no entitlements.

For example, if you wanted to add the entitlements in a file on your desktop named Entitlements.xml to debugserver in your current directory, you would run:

ldid -S/Users/you/Desktop/Entitlements.xml

Installation

Via Brew or Fink, or from source:

git clone git://git.saurik.com/ldid.git
cd ldid
git submodule update --init
./make.sh
cp -f ./ldid $THEOS/bin/ldid

Mirrors

External links