User Tools

Site Tools

Translations of this page:



Stay away from iTunes 12.7: This version removes the Apps section. This option has been removed by Apple forcing you to redownload IPA directly from your iDevice. If you still want to download previous versions of any program stay with iTunes 12.6. If you want to upload IPA files using method described below use iTunes 12.6 or external tool like iMazing

.dji_configs Also note, from version 4.1.15 onward, the .dji_configs trick to force FCC mode no longer works, the file isnt parsed by the app. Alternative techniques are available here

This page will explain how to go about modding iOS apps. It's work in progress, so please excuse the mess.

1. Get an IPA file

If you want to mod, you will need to get an IPA file to modify. This is available in iTunes. If you want an earlier package, this can be obtained using Charles Proxy (Mac users) or Fiddler (Windows users)or similar methods. Both methods use man-in-the-middle attack to sniff SSL traffic.

2. Decrypt the file

Currently you can't decrypt iOS apps without a device. The encryption keys are ultimately protected by an unknown key which is burned into the processor and cannot be extracted using software, That's why no “offline” decryption app has been made. You can decrypt iOS app if you have jailbroken device. If you don't have one please use links below with already decrypted DJI Go 4 app (thanks to @kilrah for the files and @cs2000 for the torrents). NOTE: If you are NOT doing a Frida modification and just changing parameters, you don't have to decrypt the application. The text components can be modified without requiring binary decryption.

3. Unpack the file

IPA files are ZIP files. If you're going to tweak, just unzip it to a directory.

master@k0:~# unzip djigo4.ipa
Archive:  djigo4.ipa
inflating: Payload/DJI GO
inflating: iTunesMetadata.plist
inflating: iTunesArtwork
inflating: Payload/DJI GO GO 4
inflating: Payload/DJI GO
inflating: Payload/DJI GO
master@k0:~# ls -la 
total 578192
drwxr-xr-x  7 mbiernacki  staff        224  7 wrz 14:19 .
drwxr-xr-x  7 mbiernacki  staff        224  1 wrz 13:18 ..
drwxr-xr-x@ 3 mbiernacki  staff         96  7 wrz 14:19 Payload
-rw-r--r--@ 1 mbiernacki  staff  295964720  1 wrz 13:12 djigo4.ipa
-rwxr-xr-x@ 1 mbiernacki  staff      55282 29 sie 05:21 iTunesArtwork
-rw-r--r--@ 1 mbiernacki  staff       2873 29 sie 05:21 iTunesMetadata.plist

4. Mod the file

Some interesting stuff can be found inside the IPA (you can locate it after unzipping). Another nice place to look is your iDevice (after you install DJI Go app and run it at least once). We suggest using the iMazing tool to view these files (remember to tick 'Show hidden files and folders' in Preferences→Storage).

Inside the IPA there are several interesting files:


Payload/DJI\ GO\

This is the default .DJI.configs file.

Replace default configuration with modified one (like force_boost), repack, resign IPA and make some tests. Note: These settings don't work on DJI go from 4.1.15 onwards.


Payload/DJI\ GO\

This is the parameter list that can be modified with an iOS application. For example it contains this block:


nib files

Payload/DJI\ GO\*.nib

Each NIB file corresponds to a single view element and can be laid out in the Interface Builder, making it a visual tool as well. Note that the name “NIB” is derived from the file extension (previously .nib and now .xib, although the old pronunciation has persisted).

Build an NIB decoder and analyze contents of each file

Below you can find a very simple script the will patch the NIB file, so you will be able to use it with XCode.

read -d '' EMPTYPLIST <<"EOF"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
if [ -e "$NIBFILENAME" ]
	if [ -f "$NIBFILENAME" ]
		mkdir "$NIBFILENAME"
		mv "$NIBFILENAME~" "$NIBFILENAME/keyedobjects.nib"
	echo $EMPTYPLIST > "$NIBFILENAME/classes.nib"
	echo $EMPTYPLIST > "$NIBFILENAME/info.nib"

5. Zip the file

Re-zip the file with your tweaks.

master@k0:~# zip -r djigo4.ipa *
adding: Payload/ (stored 0%)
adding: Payload/DJI GO (stored 0%)
adding: Payload/DJI GO (deflated 49%)
adding: Payload/DJI GO (deflated 62%)
adding: Payload/DJI GO (deflated 44%)
adding: Payload/DJI GO (deflated 53%)
adding: Payload/DJI GO (stored 0%)
adding: Payload/DJI GO (deflated 74%)

6. Resign and install your file

NOTE: If you have NOT changed any of the executable files and you downloaded your own file using iTunes, you should not need to re-sign the file. The signatures are applied on the binary and framework components only.

If you DOWNLOADED a decrypted binary, this will NOT be signed and you will need to sign as shown below.

6a. Resign and install your file (with Cydia)

Install your file with Cydia Impactor. Follow step below:

  1. Make it sure you have already installed the latest version of iTunes on your Computer.
  2. Download the latest version of Cydia Impactor. You can find it here: Cydia Impactor Home
  3. After installation check for updates (current version is 0.9.42 works well with IOS10 and IOS11)
  4. Connect your device with the PC using the USB cable.
  5. Now launch the Impactor.
  6. Go to “Device” and select “Install Package…” option on Cydia Impactor.
  7. The application will ask for Apple ID username and Apple ID password. Warning! If you enabled 2FA (2 factor authentication) you have to visit and generate one-time password. This generated password has to be entered instead your Apple ID password!
  8. Please be patient and let Cydia Impactor perform different tasks to sign and install the IPA file.
  9. Once you see the “Complete” message on it, wake up your iPhone and go to “Settings > General > Device Management”.
  10. Open the just installed profile, and trust the developer.

NOTE! If you are using the Apple ID registered with Apple’s Developer Program, you get the developer certificate which will remain valid for one year. In case you are using a non-developer ID, you get the certificate with 7 days validity only.

6b. Resign and install your file (with Xcode)

If you don't trust external programs like Cydia Impactor and you have your own developer keys from Apple (I mean you pay $99 per year) you can use Xcode to sign IPA file and then upload it with iTunes.

To achieve it please clone this following repository and follow the steps in the README.

howto/iosmod.txt · Last modified: 2019/01/15 23:15 by czokie