Jump to content

Theos Illegal instruction 4 fix when running NIC


Go to solution Solved by Rook,

10 posts in this topic

Recommended Posts

Posted

Hey i have reinstalled theos on my phone because ive restored it. And iam experiencing this message "illegal instruction 4" when i try to run it with /var/theos/bin/nic.pl :(

Posted

Did you install all the requirements?

Posted

That fix isn't required anymore. Last time I checked they had done the symlinks for 64bit iDevices.The fix is mentioned here: http://iosgods.com/topic/656-tutorialvideo-how-to-set-up-theos-on-your-idevice-ios7ios8/

Yeah i had both files for 64 and not 64 but iam still having the issue :(

You are missing an Unix package... Perl

I have it installed lemme reinstall it (y)

  • Solution
Posted (edited)

Update:

 

Simply install the latest version of Perl from http://coolstar.org/publicrepo

 


 

Architecture (partial) incompatibility

If you get this error while attempting to run the Theos New Instance Creator (NIC):
Illegal instruction: 4

It probably means you are using versions of tools that work on older devices but not on new ones. Read more on the issue here.
It usually affects perl and rsync (installed from the default sources), so to fix this, run these commands as root on the device using SSH or MobileTerminal:

sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' /usr/bin/perl; ldid -s /usr/bin/perl
sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' /usr/bin/rsync; ldid -s /usr/bin/rsync




http://iphonedevwiki.net/index.php/Theos/Setup Updated by DiDA
Posted

Yeah i had both files for 64 and not 64 but iam still having the issue :(

 

I have it installed lemme reinstall it (y)

 

You don't have to. Run this bash script

sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' /usr/bin/perl

Posted

You don't have to. Run this bash script

sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' /usr/bin/perl

Architecture (partial) incompatibility

If you get this error while attempting to run the Theos New Instance Creator (NIC):

Illegal instruction: 4

It probably means you are using versions of tools that work on older devices but not on new ones. Read more on the issue here.

It usually affects perl and rsync (installed from the default sources), so to fix this, run these commands as root on the device using SSH or MobileTerminal:

sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' /usr/bin/perl; ldid -s /usr/bin/perl

sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' /usr/bin/rsync; ldid -s /usr/bin/rsync


http://iphonedevwiki.net/index.php/Theos/Setup

Perfect guys i appreciate  (y) it worked!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines