iDevice:~ root#ldid -e `which bash` > ent.xml
iDevice:~ root# cat ent.xml
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>platform-application</key>
<true/>
<key>com.apple.private.security.no-container</key>
<true/>
<key>com.apple.private.skip-library-validation</key>
<true/>
</dict>
</plist>
iDevice:~ root#ldid -Sent.xml YOUR_BINARY_FILE
iDevice:~ root#chmod 755 YOUR_BINARY_FILE
iDevice:~ root#inject ./YOUR_BINARY_FILE