Skip to content

Instantly share code, notes, and snippets.

@jakeajames
Last active March 26, 2024 19:32
  • Star 60 You must be signed in to star a gist
  • Fork 20 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jakeajames/b44d8db345769a7149e97f5e155b3d46 to your computer and use it in GitHub Desktop.
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
@stoiiii
Copy link

stoiiii commented Mar 12, 2022

is here anybody there have a patched ipa for sideloady ?? with no scam or tracker in the ipa file ?? thx ..nothing works anymore :( ui cache failed

@Techgeek2011
Copy link

is here anybody there have a patched ipa for sideloady ?? with no scam or tracker in the ipa file ?? thx ..nothing works anymore :( ui cache failed

What do you mean?

@Techgeek2011
Copy link

On Ipad 4 - 10.3.3 with sign\patched IPA h3lix crush on patching pmap and nothing. Any solutions ?

That’s strange, I used this on my iPad 4, and it worked fine

@lh0976371372
Copy link

B dùng windown 32 hay 64 bit

@moebiussurfing
Copy link

moebiussurfing commented Mar 16, 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! 👍

Hey @diegosousa88 ,
thanks a lot,

Some weeks ago I used 3uTools jailbreak gui and it worked.
But these days I am getting the "ui cache error" when running h3lix on the iPad.

Using this guide,
when clicking start on Sideloadly,
I am getting this error:

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

Any idea?

EDIT:
I tried to add an apple one use password too...

@moebiussurfing
Copy link

Use my patched ipa. ;) https://e1.pcloud.link/publink/show?code=XZfpM0Zbaz2SJNaTLL4iUtxk1kq1LGT40OV

this is signed for your device ONLY, if I am not wrong...

@Techgeek2011
Copy link

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! 👍

Hey @diegosousa88 , thanks a lot,

Some weeks ago I used 3uTools jailbreak gui and it worked. But these days I am getting the "ui cache error" when running h3lix on the iPad.

Using this guide, when clicking start on Sideloadly, I am getting this error:

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

Any idea?

EDIT: I tried to add an apple one use password too...

Hi there, so basically; app specific passwords do not work, if you have any “guru mediation” errors, try 2 things:

unistalling and reinstalling sideloadly
And changing the bundle ID

Hope this helps, have a nice day!

@moebiussurfing
Copy link

unistalling and reinstalling sideloadly And changing the bundle ID

Hope this helps, have a nice day!

Thanks,
not worked.
I changed the bundle name to "something" but same error.

@diegosousa88
Copy link

Hey @moebiussurfing

Well, running the procedure which I mentioned I achieved the jailbreak of my iPad 4th generation gracefully and that's the reason why I shared those instructions... Anyway, the log entry Guru Meditation 0db732@217:3aea77 Login failed (-36607): Unable to sign you in to your Apple ID. Try again later. says that you cannot authenticate your Apple ID via the Sideloadly app, then I would suggest:

  1. Check if you have restrictions to access this URL https://appleid.apple.com through your default web browser in the device which you are running the Sideloadly app (maybe you can have some proxy network restrictions and you will need to workaround it somehow)
  2. Check if your Apple ID which you are inputting in the Sideloadly app is the same as which you registered in your Apple Device (iPhone/iPad) (I succeeded by doing it this way)
  3. Check if your USB/Lightning cable is working properly when you connect your Apple Device to your device running Windows. Maybe you can try another cable (a new one would be great)

I hope it can help you somehow.

@moebiussurfing
Copy link

Ok.
Thanks a lot for your replies.

I can log to appleid.apple.com con my browser,
but now I see that this trigs the two-factor authentication asking for a code on other devices.

I can check to disable this two-factor code,
and also I can try an alternative way with a macOS.

@Techgeek2011
Copy link

unistalling and reinstalling sideloadly And changing the bundle ID
Hope this helps, have a nice day!

Thanks, not worked. I changed the bundle name to "something" but same error.

Okay, try changing it to: com.hackuriphone.h3lix.jb

@moebiussurfing
Copy link

Hello folks,
back on this ...
I tried again after some days...

I restored my iPad 4th to 10.3.3 (last one that iTunes offers for 32bits / A6X / wifi) without user settings at all.

I tried the 3uTools way that worked 2 months ago, also that Sideloadly path, with all the above tests
(bundle re named, browser to apple checked, new cable and USB ports... etc)

But still getting:

Sideloadly version 0.25, Windows 10.0, amd64
Using IPA file: C:/cygwin64/home/moebi/h3lix-RC6-patched.ipa: b6d7e6666042266664d16db15cfdf4a9
Custom BundleID is set, will not mangle
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.

For me, the more valuable thing is to allow the use of the YouTube app...

Any help or workarounds to test are appreciated !

@moebiussurfing
Copy link

... 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

... 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

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

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

@getr00t
Copy link

getr00t commented Dec 7, 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个参数。

不明白,为什么我们只下载了一个文件h3lix RC6,为什么还要传两个参数?这行得通吗?, h3lix-RC6-patched.ipa 是什么?我没有下载,文章也没有提到h3lix-RC6-patched.ipa是什么。h3lix RC6官网好像关了,下载链接也打不开。

那是输出文件……您不用下载它,它会创建它……它只是一个名称。

只要运行它告诉你的命令,你就会明白(2个参数)

从其他来源获取螺旋 IPA

So if I need to use doubleH3lix-RC8 to jailbreak a 64-bit mobile phone, does this sh script need to be modified? How do you need to modify Ni? Or can you just use the ready-made sh script directly?So if I need to use doubleH3lix-RC8 to jailbreak a 64-bit mobile phone, does this sh script need to be modified? How do you need to modify Ni? Or can you just use the ready-made sh script directly?

@moebiussurfing
Copy link

That guide finally did the job! iOS 10.3.4. Windows 10 using 3uTool.
the missing link:
https://youtu.be/m4f84_nDm2w

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