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
@AnnBilibibol
Copy link

AnnBilibibol commented Apr 24, 2020

Hi, i did everything correctly (from a mac) but cydia crashes when i try to open it, any help, please?

@njerschow
Copy link

njerschow commented May 15, 2020

You sir, are a genius. How did you figure out how to do this?

@ssybesma
Copy link

ssybesma commented Sep 26, 2020

I'm here because I got the error "uicache failed!" after finally managing to use Xcode 7.3 to get the IPA loaded onto my iPad an app and then trusted it. Do you have to use the patch before you use iOS App Signer or before? I guess it has to be signed again...this is a huge hassle...I've been at this for hours already and get closer and closer but never get there; in my case I cannot use Cydia or AltStore; Cydia gives the Xcode 7.3 error no matter what and AltStore expects an iOS I can't upgrade to...I use 10.3.3

@jakeajames
Copy link
Author

jakeajames commented Sep 26, 2020

@ssybesma
Copy link

ssybesma commented Sep 27, 2020

@supreet20
Copy link

supreet20 commented Feb 22, 2021

Thank You So much @jake

Download the patch.sh
Extract it.
Copy it the patch.sh to the desktop
Copy the iPA to the desktop
Open a terminal and run cd ~/Desktop
Run chmod +x patch.sh
Run ./patch.sh h3lix-RC6.ipa h3lix-RC6-patch.ipa

Side load new ipa named H3lix-RC6-patch.ipa

Enjoy

how to sideload the ipa without the impactor , please help ,as using impactor gives me the error :
image
Really need the help.

I have the patch ipa , really appreciate any help

@WaleedAlassaf
Copy link

WaleedAlassaf commented Mar 3, 2021

This worked great. thanks!

@bigern75
Copy link

bigern75 commented Mar 14, 2021

Anyway to patch it with a PC? I don't have a Mac. Or can someone send me the patched .ipa?

@incIined
Copy link

incIined commented Apr 29, 2021

Anyway to patch it with a PC? I don't have a Mac. Or can someone send me the patched .ipa?

https://dbree.org/v/3660ef (this site has nasty ads, use an adblocker)

https://udl.to/ad98a0b3b328977d

https://dropbay.net/4z7/h3lix-RC6-patch.ipa

IPA from here

@diegosousa88
Copy link

diegosousa88 commented Feb 3, 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<user> 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! 👍

@cybercom684
Copy link

cybercom684 commented Feb 9, 2022

I tryd the Windows Version with cygwin but no luck!
It doesnt Patch the h3lix ipa..
It says: /tmp/h3lix_unpacked/ exists
Mkdir ....

What i should do?

@t0mi
Copy link

t0mi commented Feb 9, 2022

@diegosousa88
Copy link

diegosousa88 commented Feb 9, 2022

@cybercom684, run the commands below before run whole script, and I think it will work.

rm -rf /tmp/unpacked_h3lix

and then

rmdir /tmp/unpacked_h3lix

Seems that you ran it more than once and the script patch.sh is not ready for it, requiring workarounds. If it does not work, send us the exact error message, with line number, etc.

@Techgeek2011
Copy link

Techgeek2011 commented Feb 23, 2022

Thank you so much! this worked for me! :-)

@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

Techgeek2011 commented Mar 15, 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

What do you mean?

@Techgeek2011
Copy link

Techgeek2011 commented Mar 15, 2022

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

lh0976371372 commented Mar 15, 2022

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

moebiussurfing commented Mar 16, 2022

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

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

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

moebiussurfing commented Mar 16, 2022

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

diegosousa88 commented Mar 16, 2022

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

moebiussurfing commented Mar 18, 2022

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

Techgeek2011 commented Mar 19, 2022

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

moebiussurfing commented Apr 5, 2022

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

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?

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