-
Posts
25 -
Joined
-
Last visited
Everything posted by bigtimelegend
-
TuT How to make a simple mobile substrate tweak
bigtimelegend replied to bigtimelegend's topic in Tutorials
There might have been but I just wanted people to also know how to learn objective c -
For this you will need to have theos installed, ifile and mobile terminal installed. You will also need to have your header files installed as these will be placed in /var/theos/include. STEP BY STEP 1) Open mobile terminal and login as root. su alpine (this is the default password but if you have changed the password use that instead) 2) Run your theos shortcut which is $THEOS/bin/nic.pl 3) Choose 5 as this will be a tweak that we are creating. 4) Fill in the name and the author and keep hitting return until it's done. 5) Go into ifile and go to /var/mobile and find your tweak name. for example mine will be called "welcome" 6) So when creating a tweak we do not edit any file except for the makefile and your tweak.xm file. In your tweak.xm delete everything file add this code. #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #import <SpringBoard/SpringBoard.h> %hook SpringBoard -(void)applicationDidFinishLaunching:(id)application{ %orig; UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Hello User" message:@"Welcome Stranger" delegate:self cancelButtonTitle:@"OK thanks for the UIAlert!" otherButtonTitles:nil]; [alert show]; [alert release]; } %end First we are importing header files. The %hook Springboard will hook our tweak to the springboard. The void section means that we are declaring a method and the method here is what happens when your phone resprings so whatever code we write, the code will run one that method has been preformed. The %orig; keeps the original method as the original method is to launch your springboard so if we don't use the original method the phone will be trying to use the code that we have wrote and this could lead to a bootloop. The code that we are running is a UIAlertview which is a little popup view. the %end is obvious. Now save this and go to your makefile and add these two lines of code at the top: ARCHS = armv7 arm64 SDK = iPhoneOS8.3 (if you are using a older sdk then write that in instead of 8.3) then add this line of code in tweak_FRAMEWORKS = UIKit after that save this and go into mobile terminal. now type in this command " cd /var/mobile/tweakname" type "make package install" and your device will respring and once one you will see a UIAlertView Congrats you just developed your own tweak and you are now a developer ----------------- To create tweaks you MUST know a lot about objective c. People ask me how do I learn. If you are a new coder then learn something easy like html and css and once you know this then you can learn objective c. to learn html and css use codecademy.com ------------- To learn objective c Download the theos tutorials app from cydia and learn from here (THIS IS A MUST) take the treehouse course learn from codeschool look at open source projects and ask other devs with any questions you have as you will learn a lot. it takes time so don't worry if you don't understand at first and hope this helped guys Happy coding
-
This error comes up when trying to install a package http://imgur.com/FI6JuA4
-
Help/Support Battivator - Stuck on Apple Boot Logo
bigtimelegend replied to bigtimelegend's topic in Help & Support
I had to put phone into DFU mode and restore it -
Help/Support Battivator - Stuck on Apple Boot Logo
bigtimelegend replied to bigtimelegend's topic in Help & Support
nope and I do have openssh installed -
Help/Support Battivator - Stuck on Apple Boot Logo
bigtimelegend replied to bigtimelegend's topic in Help & Support
ifunbox is not letting me browse through the file system -
Help/Support Battivator - Stuck on Apple Boot Logo
bigtimelegend replied to bigtimelegend's topic in Help & Support
Ill try It may also be a battery problem i'm not sure -
Help/Support Battivator - Stuck on Apple Boot Logo
bigtimelegend replied to bigtimelegend's topic in Help & Support
yes itunes recognizes my phone -
Help/Support Battivator - Stuck on Apple Boot Logo
bigtimelegend replied to bigtimelegend's topic in Help & Support
nope -
Help/Support Battivator - Stuck on Apple Boot Logo
bigtimelegend replied to bigtimelegend's topic in Help & Support
I tried it still doesn't work -
Hey so today my I was using the battivator tweak and i switched of my phone. My phone would not then switch on. (I'm not sure if this is because of the tweak) My phone does not switch on no mater what you do unless you press the power and home button at the same time. If you do this the Apple logo appears and then dims and then goes back to the same old black screen. I've tried holding down the volume up key to boot my phone into safe mode and the same thing still happens. I then left my phone for a while and then it showed the dead battery logo and that I had to charge it. I charged my phone and it booted up on the Apple logo and turns into a black screen again. This may be a hardware issue but can anyone help me please. I've tried my best to explain .
-
Hey how do I link a preference bundle to a tweak?
-
Hey does anyone know how to create aUITapGestureRecognizer in objective c?
-
Help/Support theos compile error: symbol(s) not found
bigtimelegend replied to bigtimelegend's topic in Help & Support
Hey I have another problem, when I run "make package install" the tweak installs but after it resprings my UIAlertView does not show up Hey I have another problem, when I run "make package install" the tweak installs but after it resprings my UIAlertView does not show up -
Does anyone know how to get this xcode template for theos? image: http://imgur.com/TmxAyrJ(this is not my image)
-
Help/Support theos compile error: symbol(s) not found
bigtimelegend replied to bigtimelegend's topic in Help & Support
IT WORKED OMG THANKS -
Help/Support theos compile error: symbol(s) not found
bigtimelegend replied to bigtimelegend's topic in Help & Support
https://www.dropbox.com/s/8ru37ggrjdobzwh/welcomeme.zip?dl=0 here is the link to the file. sorry for the late reply -
Help/Support theos compile error: symbol(s) not found
bigtimelegend replied to bigtimelegend's topic in Help & Support
I still get the error any fix? -
Help/Support theos compile error: symbol(s) not found
bigtimelegend replied to bigtimelegend's topic in Help & Support
image is here http://imgur.com/Psu9Ljdsorry about that -
Help/Support theos compile error: symbol(s) not found
bigtimelegend posted a topic in Help & Support
Hey I keep getting this error when trying to make a tweak with theos. Please help The picture is here: https://twitter.com/BigTimeCreation/status/617121122874720260 please help me -
Help/Support Install packages on theos for windows
bigtimelegend replied to bigtimelegend's topic in Help & Support
Which make should I install? -
Help/Support Install packages on theos for windows
bigtimelegend replied to bigtimelegend's topic in Help & Support
I have the same sdk that I use for my device but it's still not working -
Help/Support Install packages on theos for windows
bigtimelegend replied to bigtimelegend's topic in Help & Support
can anyone help? -
Hey, when I run the command "make package install" it says "-bash: make: command not found" any fix for this?