Jump to content

[New 2018] How to fix and Install Theos on iOS 11 (Electra JB)


sn0wqt

17 posts in this topic

Recommended Posts

Updated

Heyya! let’s just get into the tutorial...

 

1st. Add this repo to cydia: repo.bingner.com and if there are packages that are asking for updates, update them

2nd. Install CA Certs, cURL, Rsync, Git, iOS Toolchain (LLVM+Clang, LD64, ldid and Make), Perl (FROM SBINGNER’s REPO! cos you might have Perl from coolstar's repo too...) libcompress... and libiocompress... from the same repo.

3rd. now everything is fixed and the only thing you need to do is install theos and set it up!

 

HOW to install theos?

first: add these 2 lines to

/var/root/.profile

so you can just use “theos” in terminal instead of a long ass command:

 

 

export THEOS=/var/theos
alias theos=$THEOS/bin/nic.pl
	

 

then run this command so this profile can run in Terminal:

source ~/.profile

 

second: run these commands to install Theos and Theos headers:

1st:

git config --global http.sslVerify false

 

2nd:

git clone --recursive https://github.com/theos/theos.git $THEOS

 

install the sdk yourself ¯\_()_/¯

 

This is how it works on iOS 11:

 MSj1PS6.png&key=172aae490bad3adee3974504

 

IF you face an error like this:

find: 'plutil': No such file or directory
/var/theos/bin/fakeroot.sh: line 46: /usr/bin/env: No such file or directory
make: *** [/var/theos/makefiles/package/deb.mk:40: internal-package] Error 127

then install “plutil” from the same repo!

and Credits to this Amazing guy called Samuel Bingner for fixing Theos and all the dependencies of Theos for iOS 11
here is his twitter, give him a follow! https://twitter.com/sbingner

Posted

soo i followed your tut i installed theos no error's but once i get to /var/bin/nic.pl and i pick what template it dnt save to my /var/mobile like on ios 9 ??

eg i pick a template iphone/tweak > project name: test and i get to the bit instantiating iphone/tweak in test/ ... done. 

and i search for file name and i cant find it ??? 

Posted
26 minutes ago, iiskillz said:

soo i followed your tut i installed theos no error's but once i get to /var/bin/nic.pl and i pick what template it dnt save to my /var/mobile like on ios 9 ??

eg i pick a template iphone/tweak > project name: test and i get to the bit instantiating iphone/tweak in test/ ... done. 

and i search for file name and i cant find it ??? 

its okay fixed

Posted

Thanks for the guide but i cant find headers and my tweak wont compile.

I found iOS 9.2 sdk but all the headers i put in the "include" folder are missing Foundation.h

 

Posted
Spoiler

/var/theos/sdks/iPhoneOS9.3.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h:8:9: fatal error: could not build module 'Darwin'
23 errors generated.
make[3]: *** [/var/theos/makefiles/instance/rules.mk:297: /var/root/tweaker/.theos/obj/debug/armv7/Tweak.xm.40e072a6.o] Error 1
make[2]: *** [/var/theos/makefiles/instance/library.mk:32: /var/root/tweaker/.theos/obj/debug/armv7/Tweaker.dylib] Error 2
make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2
make: *** [/var/theos/makefiles/master/rules.mk:106: Tweaker.all.tweak.variables] Error 2
 

 

The errors I get in PUTTY
 

Archived

This topic is now archived and is closed to further replies.

×
  • 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