Skip to content
Guest Big Announcement

Featured Replies

Hey Gods hehe ? , been using a lot of tweaks from iosgods awhile now and wanted to look into making my own tweaks / mods I asked a friend on here where to start he sent me to Theos, I've got all the tools needed etc but when trying to initially install theos after copying and linking perl to where it needs to be found I still get the same message in mterminal -- 

Bizzy:~ mobile$ su
Password:
Bizzy:/var/mobile root# /var/theos/bin/nic.pl
NIC 2.0 - New Instance Creator
------------------------------
Can't stat /private/var/theos/templates: No such file or directory
 at /var/theos/bin/nic.pl line 263.
[error] No file specified with --nic and no templates found.

ive done it over and over and just get same result ?

Can any of you GoDs help me out please much appreciated thanks 

biz

  • Author
2 hours ago, DiDA said:

Seems like your theos is not installed properly.

Have you seen this? https://github.com/theos/theos/wiki/Installation

Hi i got Theos dependencies from here but found a very useful page from chirs Harris now it works ? --- Bizzy:/var/mobile root# /var/theos/bin/nic.pl
NIC 2.0 - New Instance Creator
------------------------------
  [1.] iphone/application
  [2.] iphone/library
  [3.] iphone/preference_bundle
  [4.] iphone/tool
  [5.] iphone/tweak
Choose a Template (required): 

thank you for your help Dida

Here's a useful link also to any one else that comes across a problem installing Theos on iOS 10 

http://chrisharrisdev.com/blog/2016/09/22/tutorial-install-theos-on-idevice-for-jailbreak-development/

  • Author

Haha I'm still trying came across a few lumps on the road lol 

I get this error when making a package (tweak) ------
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.

Had a look a aliased.pm line 42 and because it's all abit new I don't know if it's telling me I need to add something to it or it because I have tweak already , 

tried to do a simple alert message this is my tweak.xm if any one can help much appreciated thank you 

biz

 

%hook SBPowerDownController


-(void)orderfront{

UIAlertView *alert = [UIAlertView alloc]initwithtitle:@"Bizzy" message"??"
delegate:self cancelButtonTitle:@"dismiss"
Otherbuttontitles:nil];

[alert show];


)

%end 

@staybizzy BTW make sure to quote or mention me for me to see it.

"aliased.pm line 42" I think I get that too, it might be a minor error, as long as your tweak is successfully compiled into a deb file.

#import <substrate.h>
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

%hook SBPowerDownController

-(void)orderfront{

UIAlertView *alert = [UIAlertView alloc]initwithtitle:@"Bizzy"

message:@"??"

delegate:self

cancelButtonTitle:@"Dismiss"

Otherbuttontitles:nil];

[alert show];

}
%end 

That looks a little nicer and might actually work then.  :)

You may want someone else to confirm that as i'm not the most experienced but it looks right.

Updated by Fadexz
Fixed code.

  • Author

@Fadexz It took that aliased.pm line 42 away thank you , now last errors that show up on each thing I try make application,tweak patch etc which are ----

Bizzy:~ mobile$ su
Password:
su: incorrect password
Bizzy:~ mobile$ cd hello
Bizzy:~/hello mobile$ ls
Makefile  Tweak.xm  control  hello.plist  obj/  theos@
Bizzy:~/hello mobile$ make package
/var/mobile/hello/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/hello/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak hello...
 Preprocessing Tweak.xm...
/bin/sh: ./obj/Tweak.xm.mm: Permission denied
make[2]: *** [obj/Tweak.xm.4d4aef16.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [hello.all.tweak.variables] Error 2

 

nearly there ?

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.