Jump to content

How to fix theos for iOS 9.0.2


12 posts in this topic

Recommended Posts

Updated (edited)

yo guys, a lot of people have been having problems with theos and iOS 9, today I accomplished the mission and successfully compiled a tweak on my phone! I will tell you exactly what I did :)

 

- Requirements -

iOS9

setuptheos by Kingralph

old versions of Darwin CC Tools and LD64 Links here

iPhone headers -> mine

Mobile terminal

iPhone

 

---

 

Step 1. Download Kingralphs script (he made it in a deb already for you :) you can save it to a Dropbox then open it with Ifile and click installer)

 

Step 2. Open terminal and login (type su then click enter/return) then it will ask for a password, the default password is alpine if you have changed your password use that one, then click enter/return)

 

Step 3. now type "setuptheos.sh setupAll" without the quotes

 

Step 4. Once it's done you are going to need to downgrade Darwin CC tools and LD64 use the debs I have provided, don't forget to download perl

 

Step 5. Copy all the perl files from /usr/local/bin to /usr/bin

 

Step 6. Reopen terminal and cd into /usr/bin so type "cd /usr/bin" without quotes

 

Step 7. Now you will need to sign a lot of the files ;(

 

Step 6. Type "ldid -S clang++", "ldid -S clang", "ldid -S perl" , "ldid -S make" , "ldid -S git" without quotes :)

 

Step 7. Try to compile ;)

 

 

if you get missing header errors use this

https://db.tt/IhsIPqUf<- my headers

https://db.tt/775qEyGF<- setuptheos,Darwin and ld64

https://db.tt/lvAdG185<- compile this as a test

 

*make sure to sign*

 

 

EDIT 1:

clang++: error: unable to execute command: posix_spawn failed: Bad executable (or shared library)
clang++: error: lipo command failed with exit code 1 (use -v to see invocation)
make[2]: *** [obj/Tweak.xm.ee01af3c.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Kik8.all.tweak.variables] Error 2

People are getting errors after this, so what you will have to do is use the ldid command like before, in this case it would be ldid -S lipo since the error says lipo command

Updated by niro

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