jakeajames / rootlessJB_EL

A rootless jailbreak concept with tweak support and SSH
82 stars 21 forks source link

[How to] (Patcher) #3

Open iambenmitchell opened 6 years ago

iambenmitchell commented 6 years ago

Hello, to use patcher you must have dpkg installed.

To install it on Mac do the following:

  1. Open Terminal

  2. $ sudo ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

  3. press Enter

  4. Once finished: $ sudo ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  5. One installed: $ brew install dpkg

To prepare patcher:

  1. Create a folder called Process and one called Processed
  2. Search and download your tweak. (I use cydiaupdates.com)
  3. Drag and drop the .deb into Process
  4. Open Terminal
  5. $ cd path_to_where_patcher_is_located
  6. $ sudo chmod +x patcher

Running:

  1. sudo ./patcher press space drag and drop the .deb from the process folder. press space drag and drop processed folder.
  2. press Enter

Done. Now follow the install guide.

mmshivesh commented 6 years ago

If while installing Homebrew, you get the following error,

Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink share/man/man5/deb-buildinfo.5
/usr/local/share/man/man5 is not writable.

In such a case, on High Sierra, only way is to uninstall Homebrew using this below command and reinstall it:

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

cowpod commented 6 years ago

You don't need sudo for the patcher. ./patcher /path/to/deb /path/to/output

Also, it may happen that the patcher script is broken. If so, edit it and add #!/bin/bash to the beginning of the file, remove the ".txt" extension (if any), and run chmod a+x /path/to/patcher