Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Make h3lix work when installed not-via-Impactor. To be used with the latest h3lix.
if [ $# != 2 ]; then
echo "Usage: $0 /path/to/input_ipa /path/to/output_ipa"
exit 1
fi
if ! [ -f $1 ]; then
echo "'$1' does not exist"
exit 1
fi
if [ -f $2 ]; then
echo "'$2' already exists"
exit 1
fi
echo "Setting up environment"
mkdir /tmp/unpacked_h3lix
if [ $? != 0 ]; then
echo "mkdir create temporary directory"
exit 1
fi
echo "Extracting"
unzip $1 -d /tmp/unpacked_h3lix > /dev/null
if [ $? != 0 ]; then
echo "can't unzip '$1'"
rm -rf /tmp/unpacked_h3lix
exit 1
fi
echo "Patching"
# tada tada P\WX+1y~~z??ti.....
(printf '\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11' | dd of=/tmp/unpacked_h3lix/Payload/h3lix.app/h3lix bs=1 seek=30848 count=20 conv=notrunc) 2> /dev/null
(printf '\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11\x11' | dd of=/tmp/unpacked_h3lix/Payload/h3lix.app/h3lix bs=1 seek=32920 count=20 conv=notrunc) 2> /dev/null
# i DoN'T hAz CS_GET_TASK_ALLOW?!?!??
(printf '\x00\x00\x00\x00' | dd of=/tmp/unpacked_h3lix/Payload/h3lix.app/h3lix bs=1 seek=31790 count=4 conv=notrunc) 2> /dev/null
# DeBuG Br34K
(printf '\x70\x47' | dd of=/tmp/unpacked_h3lix/Payload/h3lix.app/h3lix bs=1 seek=40800 count=2 conv=notrunc) 2> /dev/null
echo "Compressing"
CD=$(pwd)
cd /tmp/unpacked_h3lix
if [[ "$2" = /* ]]; then
zip -r $2 Payload/ > /dev/null
else
zip -r "$CD/$2" Payload/ > /dev/null
fi
if [ $? != 0 ]; then
echo "can't zip '$1'"
rm -rf /tmp/unpacked_h3lix
cd - > /dev/null
exit 1
fi
cd - > /dev/null
rm -rf /tmp/unpacked_h3lix
echo "Done"
exit 0
@moebiussurfing
Copy link

moebiussurfing commented Apr 5, 2022

... another log without the tick to automatic bundle id:

Sideloadly version 0.25, Windows 10.0, amd64
Using IPA file: C:/cygwin64/home/moebi/h3lix-RC6-patched.ipa: b6d7e6666042266664d16db15cfdf4a9
Checking iOS version...
iOS version 10.3.3, will not mangle bundleID
Obtaining team ID
Got error: Login failed (-36607): Unable to sign you in to your Apple ID. Try again later.
Retrying with alt Anisette
ERROR: Guru Meditation 0db732@244:3aea77 Login failed (-36607): Unable to sign you in to your Apple ID. Try again later.

@googleflop
Copy link

googleflop commented Apr 16, 2022

... another log without the tick to automatic bundle id:

Sideloadly version 0.25, Windows 10.0, amd64
Using IPA file: C:/cygwin64/home/moebi/h3lix-RC6-patched.ipa: b6d7e6666042266664d16db15cfdf4a9
Checking iOS version...
iOS version 10.3.3, will not mangle bundleID
Obtaining team ID
Got error: Login failed (-36607): Unable to sign you in to your Apple ID. Try again later.
Retrying with alt Anisette
ERROR: Guru Meditation 0db732@244:3aea77 Login failed (-36607): Unable to sign you in to your Apple ID. Try again later.

yes i'm getting the same here.... something changed on the apple server side?

@getr00t
Copy link

getr00t commented Nov 14, 2022

I've managed to make it work for Windows users.

Here is the procedure which I performed:

  1. Download h3lix RC6 from https://h3lix.tihmstar.net/ipa/h3lix-RC6.ipa
  2. Download Cygwin from https://cygwin.com/setup-x86_64.exe
  3. During Cygwin installation process in the "Select Packages" dialog, add "unzip" and "zip" packages required to run the patch.sh file
    Warning: Otherwise, errors with messages mentioning lines 24, 49, 51 of patch.sh script may happen.
  4. Open Cygwin Terminal utility (command prompt)
  5. Download the patch.sh and copy in Cygwin home directory
    Warning: As I installed Cygwin at C:\cygwin64 directory, my Cygwin home directory is located at C:\cygwin64\home directory.
  6. Also, copy the h3lix-RC6.ipa file, downloaded in step 1, in Cygwin home directory
  7. Run the patch.sh script typing ./patch.sh h3lix-RC6.ipa h3lix-RC6-patched.ipa
  8. Download Sideloadly from https://armconverter.com/sideloadly/SideloadlySetup64.exe
  9. Install Sideloadly
  10. Connect iPhone / iPad device
  11. Run Sideloadly
    Warning: Sideloadly may prompt for Apple ID credentials during the transfer and install processes, enter it and you'll be fine.
  12. Add h3lix-RC6-patched.ipa located at Cygwin home directory in Sideloadly drag and drop the file to the app
  13. Click on "start" button to transfer and install h3lix app to the connected iPhone / iPad device
  14. Once, h3lix app is installed, open it and click on the Jailbreak button.

Then, its done! 👍

wyh
iPhone5 10.3.3 does install h3lix using your method, but cydia will crash, why? I get this message when I reinstall, what's wrong?

@sasdallas
Copy link

sasdallas commented Nov 17, 2022

I've managed to make it work for Windows users.
Here is the procedure which I performed:

  1. Download h3lix RC6 from https://h3lix.tihmstar.net/ipa/h3lix-RC6.ipa
  2. Download Cygwin from https://cygwin.com/setup-x86_64.exe
  3. During Cygwin installation process in the "Select Packages" dialog, add "unzip" and "zip" packages required to run the patch.sh file
    Warning: Otherwise, errors with messages mentioning lines 24, 49, 51 of patch.sh script may happen.
  4. Open Cygwin Terminal utility (command prompt)
  5. Download the patch.sh and copy in Cygwin home directory
    Warning: As I installed Cygwin at C:\cygwin64 directory, my Cygwin home directory is located at C:\cygwin64\home directory.
  6. Also, copy the h3lix-RC6.ipa file, downloaded in step 1, in Cygwin home directory
  7. Run the patch.sh script typing ./patch.sh h3lix-RC6.ipa h3lix-RC6-patched.ipa
  8. Download Sideloadly from https://armconverter.com/sideloadly/SideloadlySetup64.exe
  9. Install Sideloadly
  10. Connect iPhone / iPad device
  11. Run Sideloadly
    Warning: Sideloadly may prompt for Apple ID credentials during the transfer and install processes, enter it and you'll be fine.
  12. Add h3lix-RC6-patched.ipa located at Cygwin home directory in Sideloadly drag and drop the file to the app
  13. Click on "start" button to transfer and install h3lix app to the connected iPhone / iPad device
  14. Once, h3lix app is installed, open it and click on the Jailbreak button.

Then, its done! 👍

wyh iPhone5 10.3.3 does install h3lix using your method, but cydia will crash, why? I get this message when I reinstall, what's wrong?

Well, you're not running the script properly.

You're executing ./patch.sh h3lix-RC6-patch.ipa. The script needs to be executed: ./patch.sh h3lix-ORIGINAL.ipa h3lix-patched.ipa. It needs 2 arguments to be passed.

@getr00t
Copy link

getr00t commented Nov 19, 2022

我已经设法让它适用于 Windows 用户。
这是我执行的程序:

  1. 从https://h3lix.tihmstar.net/ipa/h3lix-RC6.ipa下载 h3lix RC6
  2. 从https://cygwin.com/setup-x86_64.exe下载 Cygwin
  3. 在“选择包”对话框中的 Cygwin 安装过程中,添加运行 patch.sh 文件所需的“unzip”和“zip”包
    **警告:**否则,可能会出现消息提及 patch.sh 脚本第 24、49、51 行的错误.
  4. 打开 Cygwin 终端实用程序(命令提示符)
  5. 下载 patch.sh 并复制到 Cygwin 主目录
    **警告:**由于我将 Cygwin 安装在 C:\cygwin64 目录,因此我的 Cygwin 主目录位于 C:\cygwin64\home 目录。
  6. 此外,将步骤 1 中下载的 h3lix-RC6.ipa 文件复制到 Cygwin 主目录中
  7. 运行 patch.sh 脚本键入_./patch.sh h3lix-RC6.ipa h3lix-RC6-patched.ipa_
  8. 从https://armconverter.com/sideloadly/SideloadlySetup64.exe下载 Sideloadly
  9. 侧载安装
  10. 连接 iPhone / iPad 设备
  11. 运行 Sideloadly
    警告: Sideloadly 可能会在传输和安装过程中提示输入 Apple ID 凭据,输入它就可以了。
  12. 在 Sideloadly 中添加位于 Cygwin 主目录的 h3lix-RC6-patched.ipa 并将文件拖放到应用程序
  13. 单击“开始”按钮将 h3lix 应用程序传输并安装到连接的 iPhone / iPad 设备
  14. 一旦安装了 h3lix 应用程序,打开它并单击越狱按钮。

然后,完成了!👍

wyhiPhone5 10.3.3确实用你的方法安装了h3lix,但是cydia会崩溃,为什么?我在重新安装时收到此消息,这是怎么回事?

好吧,您没有正确运行脚本。

你正在执行./patch.sh h3lix-RC6-patch.ipa. 需要执行的脚本:./patch.sh h3lix-ORIGINAL.ipa h3lix-patched.ipa. 它需要传递 2 个参数。

I don't understand, why we only downloaded one file h3lix RC6, but why do we need to pass two parameters? Will this work? , what is h3lix-RC6-patched.ipa? I didn't download it, and the article didn't mention what h3lix-RC6-patched.ipa is. The h3lix RC6 official website seems to be closed, and the download link can't be opened.

@sasdallas
Copy link

sasdallas commented Nov 20, 2022

我已经设法让它适用于 Windows 用户。
这是我执行的程序:

  1. 从https://h3lix.tihmstar.net/ipa/h3lix-RC6.ipa下载 h3lix RC6
  2. 从https://cygwin.com/setup-x86_64.exe下载 Cygwin
  3. 在“选择包”对话框中的 Cygwin 安装过程中,添加运行 patch.sh 文件所需的“unzip”和“zip”包
    **警告:**否则,可能会出现消息提及 patch.sh 脚本第 24、49、51 行的错误.
  4. 打开 Cygwin 终端实用程序(命令提示符)
  5. 下载 patch.sh 并复制到 Cygwin 主目录
    **警告:**由于我将 Cygwin 安装在 C:\cygwin64 目录,因此我的 Cygwin 主目录位于 C:\cygwin64\home 目录。
  6. 此外,将步骤 1 中下载的 h3lix-RC6.ipa 文件复制到 Cygwin 主目录中
  7. 运行 patch.sh 脚本键入_./patch.sh h3lix-RC6.ipa h3lix-RC6-patched.ipa_
  8. 从https://armconverter.com/sideloadly/SideloadlySetup64.exe下载 Sideloadly
  9. 侧载安装
  10. 连接 iPhone / iPad 设备
  11. 运行 Sideloadly
    警告: Sideloadly 可能会在传输和安装过程中提示输入 Apple ID 凭据,输入它就可以了。
  12. 在 Sideloadly 中添加位于 Cygwin 主目录的 h3lix-RC6-patched.ipa 并将文件拖放到应用程序
  13. 单击“开始”按钮将 h3lix 应用程序传输并安装到连接的 iPhone / iPad 设备
  14. 一旦安装了 h3lix 应用程序,打开它并单击越狱按钮。

然后,完成了!👍

wyhiPhone5 10.3.3确实用你的方法安装了h3lix,但是cydia会崩溃,为什么?我在重新安装时收到此消息,这是怎么回事?

好吧,您没有正确运行脚本。
你正在执行./patch.sh h3lix-RC6-patch.ipa. 需要执行的脚本:./patch.sh h3lix-ORIGINAL.ipa h3lix-patched.ipa. 它需要传递 2 个参数。

I don't understand, why we only downloaded one file h3lix RC6, but why do we need to pass two parameters? Will this work? , what is h3lix-RC6-patched.ipa? I didn't download it, and the article didn't mention what h3lix-RC6-patched.ipa is. The h3lix RC6 official website seems to be closed, and the download link can't be opened.

That’s the output file… you don’t download it, it creates it… it’s just a name.

Just run the command it tells you to, you’ll understand (2 params)

Grab the helix IPA from another source

@moebiussurfing
Copy link

moebiussurfing commented Dec 1, 2022

That guide finally did the job!
iOS 10.3.4. Windows 10 using 3uTool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment