User Tools

Site Tools


howto:windows_subsystem_for_linux_wsl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
howto:windows_subsystem_for_linux_wsl [2018/05/03 07:28]
jezzab
howto:windows_subsystem_for_linux_wsl [2018/07/27 05:55]
d95gas Installing IOS Patched Application & Tweak.js
Line 1: Line 1:
-====== Installing Windows Subsystem for Linux (WSL) along with Ubuntu ======+====== How to install the Patched DJI GO4 App on iPad or iPhone ======
  
-First of all, I dont take credit for all of this, the initial install document is already available all over the webI just pulled things together for the sake of this group.+This relates to the patched IOS IPA currently being worked on within the Slack Grouporiginally produced by "Daniil Zobov", and now been further tweaked by the O.G and others //(Many thanks to all involved)//
  
-Why bother with WSL when the patcher has Windows batch file.  As myself and others have found out, when running the patching application, it runs smoother in Linux than Windows In additionthere is the ability to implement changes to the final DJI GO application from Linux, ie "Icon Colour", "Google API Key", "Cloning" and more.+This is more of "Walkthrough" after the frustrations I had getting the application installed on my iPad Mini 4which I had inadvertantly allowed Apple to update to IOS 11.4which meant I was unable to use the recent jailbreak "Electra".
  
-First part is to install the Windows subsystem for Linux onto your Windows 10 device, then follow this by installing a version of "Ubuntu" You can download my quick guide[[https://drive.google.com/open?id=1yzI70o7EmPJT_7Gfs-jLdmAawgFGhw3v]]+I was therefore left with 2 options:
  
-Once you complete Part 1, **ensure you do a full reboot on your system before proceeding to Part 2**.+  * **Getting the application signed*
 +  * **Sideloading the application** 
 +      
 +Sideloading was the weapon of choice, and nearly everyone advised to use "CydiaImpactor", which I duly tried and failed on a dozen or more occassions.   The Impactor tool just continually failed with all sorts of messages.   Frustrated further that there is a bug in the latest release 0.0.44 that fails to revoke certificates, you need to drop back to 0.9.43 to achieve this.
  
 +In my search, I came across an application "**SuperImpactor**" Plenty of features and similar to CydiaImpactor.   This proved to be the magic tool for me, and enabled me to not only revoke any failed certificates, but also to fully install the patched **DJI GO 4 for IOS**, successfully and without issue.  **Note:** SuperImpactor is a "PC" Application
 +
 +The following is the process I followed to achieve these positive results, I started by generating myself another Apple ID just for the purposes of running this application, //but not totally necessary//.
 +
 +Within the Apple ID Security section, I also generated a "**Application-Specific Password**" for the installs:
 +
 +
 +=====Install Process=====
 +
 +
 +  * Download and install "**SuperImpactor**"
 +  * Connect Ipad/iphone
 +  * Select "**TOOLS**"
 +  * Into "**Account Manager**" and remove any previous entries
 +  * Into "**Revoke Certificate**" enter username and password, select LOAD ACCOUNT and remove the displayed cert(s).
 +
 +**Rebooted iPad**
 +
 +  * Into SuperImpactor
 +  * Into **DEVICE**
 +  * Select "**Install from IPA**" - Navigate to the patched GO file & Select - Follow prompts from the install Pop-up
 +    
 +The pop-up is just **Apple ID & password**  //(if you generated Application-Specific password, then use that)//
 +
 +Install took about 6mins, at one stage I thought it had locked up, but it was just sigining the application.
 +
 +**Once Installed**
 +
 +Onto iPad - **GENERAL** - **DEVICE MANAGEMENT**
 +Select the Developer App and select **TRUST**. //(Dev app should be your Apple ID)//
 +
 +**DO NOT RUN THE APP AT THIS STAGE**.
 +
 +Open iTunes - select "**FILE SHARING**" and select the installed GO Application
 +Switch to the file manager on the right and select "ADD FILE", navigate to the "Tweak.js" file and copy to the ipad/iphone.
 +
 +**NOTE:**  There is also a file "**FridaGadget.config**" that I copied over, although I do need to verify if this is required.
 +
 +Then just run the application and check that all is ok.  You can confirm that the application has picked up the options from "Tweak.js", by the fact that you will be presented with various options to enable/disable, e.g:
 +
 +  * Disable FW update check
 +  * Force FCC
 +  * Force Boost
 +  * Force 2.3G 
 +  * Force 2.5G
 +  * Enable 32Ch
 +  * Etc 
 +    
 +Going forward, you should not need to install a new patched version of the GO 4 application, all you will need is to update "**Tweak.js**" as and when its updated with further tweaks.
 +
 +The above is the route I had to take as I was unable to Jailbreak my iPad, it worked for me, and I see no reason why it shouldn't work for you.
 +
 +__Links to relevant applications__
 +
 +**SuperImpactor**: [[http://superimpactor.net]]
 +
 +**Tweak.js**: [[https://github.com/ddzobov/dji-ios-frida-tweak]]
 +
 +**IOS GO 4 Patched Application**: [[http://polybotes.feralhosting.com/dji/Go4_Frida/]]
 +
 +
 +
 +===== PART 1 - Installing Linux on Windows 10  =====
 +
 +Open PowerShell as administrator and type the following 
 +
 +**Enable‐WindowsOptionalFeature ‐Online ‐FeatureName Microsoft‐Windows‐Subsystem‐Linux **
 +
 +Reboot once prompted to do so 
 +
 +Next, if you’re on build 1625 or later, you can just use the link below to get the installer for Ubuntu, 
 +it will open in the Windows Store 
 +
 +[[https://www.microsoft.com/store/p/ubuntu/9nblggh4msv6|Windows Store Ubuntu Link]]  
 +
 +Once downloaded, you can click the Launch button in the store, you should now also add this your desktop/start menu/taskbar for easy access
  
  
Line 19: Line 98:
 Run the following commands from a "Bash Shell" one at a time: Run the following commands from a "Bash Shell" one at a time:
  
-**sudo apt-get update**+**sudo apt‐get update && sudo apt‐get upgrade **
 (//Run this straight after build and it will pull down any updates)// **then reboot again**. (//Run this straight after build and it will pull down any updates)// **then reboot again**.
  
Line 30: Line 109:
   * sudo apt-get **install webp**   * sudo apt-get **install webp**
   * sudo apt-get **install imagemagick**   * sudo apt-get **install imagemagick**
 +  * sudo apt-get **install dialog**
 +  * sudo apt-get **install python**
 +  * sudo apt-get **install xmlstartlet**
 +
 +Or, you can just run this
 +
 +**sudo apt‐get install build‐essential dos2unix bspatch default‐jre webp imagemagick dialog python 
 +xmlstarlet **
  
 You probably know that **Sudo** is just escalating permissions to admin level. You probably know that **Sudo** is just escalating permissions to admin level.
Line 54: Line 141:
    
 **Other useful commands:** **Other useful commands:**
-  * cd ~ Returns you to root level+  * cd ~ Returns you to your home directory
   * cd .. Drops you back one directory at a time   * cd .. Drops you back one directory at a time
   * help Usual screen full of useful information   * help Usual screen full of useful information
howto/windows_subsystem_for_linux_wsl.txt · Last modified: 2018/07/27 05:59 by d95gas