This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
howto:iosmod [2019/01/15 23:04] czokie [IOSMOD] |
howto:iosmod [2019/01/15 23:15] (current) czokie |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== IOSMOD ====== | ====== IOSMOD ====== | ||
- | **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 | + | **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 |
- | ** | + | |
- | **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 [[howto: | + | |
+ | **.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 [[howto: | ||
This page will explain how to go about modding iOS apps. It's work in progress, so please excuse the mess. | 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 ===== | ===== 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. | 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 ===== | ===== 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 " | + | 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 " |
* [[howto: | * [[howto: | ||
+ | |||
===== 3. Unpack the file ===== | ===== 3. Unpack the file ===== | ||
IPA files are ZIP files. If you're going to tweak, just unzip it to a directory. | IPA files are ZIP files. If you're going to tweak, just unzip it to a directory. | ||
Line 37: | Line 40: | ||
===== 4. Mod the file ===== | ===== 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' | + | 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 [[https:// |
Inside the IPA there are several interesting files: | Inside the IPA there are several interesting files: | ||
+ | |||
+ | ==== .DJI.configs ==== | ||
Payload/ | Payload/ | ||
Line 45: | Line 50: | ||
This is the default .DJI.configs file. | This is the default .DJI.configs file. | ||
- | < | + | Replace default configuration with modified one (like force_boost), |
+ | |||
+ | ==== ParamList.plist ==== | ||
Payload/ | Payload/ | ||
Line 74: | Line 81: | ||
</ | </ | ||
</ | </ | ||
- | <todo # | + | |
+ | ==== nib files ==== | ||
Payload/ | Payload/ | ||
Line 119: | Line 127: | ||
adding: Payload/DJI GO 4.app/ | adding: Payload/DJI GO 4.app/ | ||
adding: Payload/DJI GO 4.app/ | adding: Payload/DJI GO 4.app/ | ||
- | ===== 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 | + | ===== 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 | ||
- | 2. Download the latest version of Cydia Impactor. You can find it here: | + | If you DOWNLOADED a decrypted binary, this will NOT be signed and you will need to sign as shown below. |
- | [[http:// | ||
- | 3. After installation check for updates | + | ===== 6a. Resign and install your file (with Cydia) ===== |
+ | Install your file with Cydia Impactor. Follow step below: | ||
- | 4. Connect your device with the PC using the USB cable. | + | - Make it sure you have already installed the latest version of iTunes on your Computer. |
+ | - Download the latest version of Cydia Impactor. You can find it here: [[http:// | ||
+ | - After installation check for updates (current version is 0.9.42 works well with IOS10 and IOS11) | ||
+ | - Connect your device with the PC using the USB cable. | ||
+ | - Now launch the Impactor. | ||
+ | - Go to “Device” and select “Install Package…” option on Cydia Impactor. | ||
+ | - The application will ask for Apple ID username and Apple ID password. **Warning! If you enabled 2FA (2 factor authentication) you have to visit http:// | ||
+ | - Please be patient and let Cydia Impactor perform different tasks to sign and install the IPA file. | ||
+ | - Once you see the “Complete” message on it, wake up your iPhone and go to “Settings > General > Device Management”. | ||
+ | - Open the just installed profile, and trust the developer. | ||
- | 5. Now launch the Impactor. | + | **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. |
- | + | ||
- | 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. | + | |
- | + | ||
- | 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. | + | |
- | + | ||
- | **Warning! | + | |
- | + | ||
- | or you can watch it here: | + | |
* [[https:// | * [[https:// | ||
Line 154: | Line 156: | ||
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. | 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 the following repository: | + | To achieve it please clone [[https:// |
- | + | ||
- | [[https:// | + | |
- | + | ||
- | and follow the steps in the README. | + |