Jump to content

Tweak development problem


Go to solution Solved by Archangel04,

12 posts in this topic

Recommended Posts

Posted (edited)

Hey, im totally new to the tweak development...

So the thing is, i've already installed THEOS and the other tools need it for making a simple tweak. except for the sdks, because i have found a lot of pages to download them, but they all have different folders-files.

Now, im following a youtube tutorial where a guy is making a simple tweak that changes what happend when you hold your power button, instead of the slide to power off, it shows a pop up saying an alert or a messsage. thats it. Now he uses a SBheader, called "SBPowerDownController" and he hooked inside the code of the tweak file.

the problem is, that all of the packages that i have downloaded, none of them has that "SBPowerDownController" SB header function, so i dont know where to find it or how is it called it. when i download an sdk i dont know where to place it, on "include" inside of theos, or in "sdk" inside of theos too, and how do i get those kind of SB functions or from where? and btw: i got an error when trying to finish the tweak with "make package":

  • "no rules to make target" error.

 

EDIT: for now i dont get the "no rules to make target" error anymore. but now it doesnt detect my SDK inside the sdks folder. it says "ERROR: YOU DO NOT HAVE AN SDK IN /VAR/THEOS/SDKS." which of course, i do have them in there.

thanks! (y)

Updated by p0nx77
Posted

Use search bar on "no rules to make target" I think there are some solutions

Posted

Double check pathfiles, and make sure it's referencing the correct SDK things. Otherwise, it shouldn't come up with any errors.

Posted
2 hours ago, p0nx77 said:

Hey, im totally new to the tweak development...

So the thing is, i've already installed THEOS and the other tools need it for making a simple tweak. except for the sdks, because i have found a lot of pages to download them, but they all have different folders-files.

Now, im following a youtube tutorial where a guy is making a simple tweak that changes what happend when you hold your power button, instead of the slide to power off, it shows a pop up saying an alert or a messsage. thats it. Now he uses a SBheader, called "SBPowerDownController" and he hooked inside the code of the tweak file.

the problem is, that all of the packages that i have downloaded, none of them has that "SBPowerDownController" SB header function, so i dont know where to find it or how is it called it. when i download an sdk i dont know where to place it, on "include" inside of theos, or in "sdk" inside of theos too, and how do i get those kind of SB functions or from where? and btw: i got an error when trying to finish the tweak with "make package":

  • "no rules to make target" error.

 

EDIT: for now i dont get the "no rules to make target" error anymore. but now it doesnt detect my SDK inside the sdks folder. it says "ERROR: YOU DO NOT HAVE AN SDK IN /VAR/THEOS/SDKS." which of course, i do have them in there.

thanks! (y)

Did you download SDK file and put it inside /var/theos/sdks?

If not you can manual download from website (google search pls) or use command in putty : installsdk3 (idk still can use this method or not)

Posted
5 hours ago, Avatar Wan said:

Follow the steps given in the link. Read the whole thing thoroughly

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

 

6 hours ago, xiaov said:

Did you download SDK file and put it inside /var/theos/sdks?

If not you can manual download from website (google search pls) or use command in putty : installsdk3 (idk still can use this method or not)

 

6 hours ago, RiG said:

Double check pathfiles, and make sure it's referencing the correct SDK things. Otherwise, it shouldn't come up with any errors.

Everything's fixed right now. Thanks for your help!

Posted (edited)
On 29/06/2017 at 3:37 PM, p0nx77 said:

Hey, im totally new to the tweak development...

So the thing is, i've already installed THEOS and the other tools need it for making a simple tweak. except for the sdks, because i have found a lot of pages to download them, but they all have different folders-files.

Now, im following a youtube tutorial where a guy is making a simple tweak that changes what happend when you hold your power button, instead of the slide to power off, it shows a pop up saying an alert or a messsage. thats it. Now he uses a SBheader, called "SBPowerDownController" and he hooked inside the code of the tweak file.

the problem is, that all of the packages that i have downloaded, none of them has that "SBPowerDownController" SB header function, so i dont know where to find it or how is it called it. when i download an sdk i dont know where to place it, on "include" inside of theos, or in "sdk" inside of theos too, and how do i get those kind of SB functions or from where? and btw: i got an error when trying to finish the tweak with "make package":

  • "no rules to make target" error.

EDIT: for now i dont get the "no rules to make target" error anymore. but now it doesnt detect my SDK inside the sdks folder. it says "ERROR: YOU DO NOT HAVE AN SDK IN /VAR/THEOS/SDKS." which of course, i do have them in there.

thanks! (y)

So you just said you don't have it in the sdks folder then you said you do have it in the folder, I assume you don't.

Put the SDK in this exact folder/file path '/var/theos/sdks', if that folder isn't in Theos create it, exactly the same.

 

Here's what it should look like.

35zjs63.png  nLll6ss.png  pSYqMtn.png

 

Edit: Mark the post as solved if it is.

Updated by aussie g4m3r
Posted
1 hour ago, aussie g4m3r said:

So you just said you don't have it in the sdks folder then you said you do have it in the folder, I assume you don't.

Put the SDK in this exact folder/file path '/var/theos/sdks', if that folder isn't in Theos create it, exactly the same.

 

Here's what it should look like.

35zjs63.png  nLll6ss.png  pSYqMtn.png

 

Edit: Mark the post as solved if it is.

Thanks, how do i mark it as solved???

Posted
1 hour ago, p0nx77 said:

Thanks, how do i mark it as solved???

There will be a tick mark on the left side of the answers from people and click on the best answer. Also you can edit the post and add the Solved tag.

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