This article is mostly outdated, please read these instructions instead. |
This page contains instructions for installing Theos and preparing a new project.
Mar 18, 2013 Overview Mountain Tweaks is a brand new tweaking tool to deal with the annoying changes in OS X 10.8 - with just a click of a button. Mountain Tweaks focuses on a user-friendly interface, even more tweaks, and the ability to do simple maintenance on your Mac - we think this makes it the best tweaking tool for Mac, ever! Bluetooth Handoff is a feature of OS X Yosemite 10.10 that allows you to pick up what you were doing on your iOS devices device with your mac. It works for Mail, Safari, iWork, Calendar, and Contacts.
- 3Setting Up Dependencies
- 4Installing Theos
- 5Creating a Project
Definitions
$THEOS
is the directory where Theos is installed on your machine. Theos is self-contained; that is, you simply download it anywhere on your computer and it's ready to go immediately.Typically, the location of Theos one of these:
- /opt/theos, on OS X or Linux
- /var/theos, on iOS
- ~/theos, if you don't have permission to install Theos to one of the above
Requirements
- A modern operating system (Mac OS X, iOS [jailbroken], Windows [using Cygwin], and most variants of Linux should work) with the following set of utilities:
- curl
- git
- make
- openssh
- perl
- rsync
- dpkg (port or homebrew install on Mac OS X)
- python (if on Windows)
- Some form of a toolchain or official SDK
- Cydia mobilesubstrate
- Access to a terminal emulator and some knowledge of how to use it
- Objective-C knowledge
More detailed explanations of these requirements are given in the next section, and are dependent on the environment you use.
(If you've never used a command line before, it may be helpful to practice using it so that you have a better understanding of the commands you're about to run. This tutorial may be useful; it's targeted toward Linux, but almost all of the information is the same for the command line on OS X and iOS.)
Setting Up Dependencies
For Mac OS X
Mac OS X comes with most of the necessary tools (subversion, curl, and perl) by default.
You will still need compilation tools and the iOS SDK, and the easiest way to obtain both of these is by installing Xcode from the App Store.
Install dpkg via your installed package manager, which might be either
brew install dpkg
or port install dpkg
.Your package manager may also have ldid. Fink and Homebrew do. If not, compile and install it yourself:
Or download from one of these sources:
For Linux
Like OS X, most distributions come pre-packaged with the aforementioned tools. On Debian-based distros, APT can be used to install the tools like so:
If your distro uses RPM, the process is very similar.
Ensure you have dpkg and ldid (see above).
For iOS
Dependencies:
Jun 25, 2020 If you want to make use of your Mac's Thunderbolt port, then this is the best external hard drive for Macs. It provides twice the speeds of standard USB 3.0 drives. Carbonite starts at $71.99 per year for a single computer, but if you want to back up external drives and back up videos automatically, that jumps to $111.99. That makes it expensive compared to. Best software to backup to external hard drive.
Theos as a package depends on bash, grep, dpkg, coreutils, ldid, rsync and make, so the utilities mentioned in the requirements are automatically installed.
Install a Toolchain:
See On-device toolchains for details.
For Windows
To do: cygwin, perl, python. Use this.
Installing Theos
On Mac OS X or Linux
- Open a terminal window.
- Choose a location for Theos to be installed. If you are unsure, a good choice is /opt/theos.
- If you chose a location outside of your user's home directory, you will probably need to run some or all of the following commands with root permissions.
- Download the latest version of Theos:
- Using git:
- Add Theos environment variables to your
~/.bash_profile
(or the equivalent for your shell). Open~/.bash_profile
(create it if it does not exist) in your favorite editor and add this on the last line, replacing 'example' with your device's name (replacing spaces with dashes). If you prefer, you can also use your devices IP address. To find you IP, open settings, select wifi, then press the 'i' on the network you are currently connected to. From here you should be able to see your devices IP address:
Load this into the shell with. ~/.bash_profile
, or close the terminal window and launch a new one. - As the Substrate library does not come installed on these platforms nor bundled with Theos, copy
/Library/Frameworks/CydiaSubstrate.framework/CydiaSubstrate
from the device to your local$THEOS/lib
folder and rename it tolibsubstrate.dylib
. (If you don't do this step, or if you use an old version of Substrate, or if something else goes wrong, you may get one of these error messages). Similarly, copy/Library/Frameworks/CydiaSubstrate.framework/Headers/CydiaSubstrate.h
to your local$THEOS/include
folder and rename it tosubstrate.h
. You can alternatively retrieve files directly from the package: ReplaceVERSION
in URL with installedmobilesubstrate
version, which can be found bydpkg -s mobilesubstrate
on the device:
On iOS
Follow the instructions here.
On Windows
To do. Use this.
Also for Linux and iOS (and other operating systems other than Mac OS X): Retrieving SDKs
If you aren't using OS X, you must download an iOS SDK. See Retrieving SDKs for details on this.
Take the SDK and put it in
$THEOS/sdks
(if it does not exist, create it), with a folder name like iPhoneOS7.0.sdk. As of version 0.9.523, Theos accepts multiple SDKs in that folder.We have the technology and entertainment that help your trip fly. Delta is one of the largest providers of in-flight Wi-Fi in the world, and with more than 1,200 equipped aircraft, Wi-Fi access is offered on nearly all flights. In-Flight Wi-Fi powered by Gogo ® is installed on all aircraft with two or more cabins.
Gogo is the leading inflight internet and entertainment provider. Find out more about our products and services for both airlines and travelers. Delta Global Day Pass $28.00. Pass valid for 24 hours of continuous access on any Gogo equipped flight on Delta Air Lines. See Details Expires 1. The new Gogo Entertainment Player brings the magic of the movies and TV to the sky and onto your Android device. Use the Inflight Entertainment service to watch the latest movies and hit TV shows in flight. Just make your selection, download the player, and enjoy the show! Aug 04, 2015 The new Gogo Entertainment Player brings the magic of the movies and TV to the sky and onto your iPad, iPhone, or iPod Touch. Use the Inflight Entertainment service to watch the latest movies and hit TV shows in flight. Just make your selection, download the player, and enjoy the show!
![Delta gogo app for mac Delta gogo app for mac](/uploads/1/2/6/3/126304184/517733596.jpg)
Each SDK folder should have these folders: Developer, System, usr; and these files: ResourceRules.plist, Entitlements.plist, SDKSettings.plist.
Note that if no SDKs are provided, the following error will be displayed (also noted in the Troubleshooting page):
Creating a Project
Theos lets you create new projects based on templates using the New Instance Creator (NIC). You do not need to be root to do this step, nor should you be. Start the NIC wizard using the following command:
NIC will prompt you for all the necessary information before creating a project. Please make sure that the path to your current directory doesn't have spaces in it.
(If you get an error message saying 'Illegal instruction: 4', see this troubleshooting advice.)
NIC Example
Here is an example of what you will see when using the NIC to create a project (with user input shown in bold):
The above will create a folder ./iphonedevwiki in the current working directory - make sure you have permissions to create a folder.
Making your Project
When you have finished developing your tweak/app, you may want to distribute it, either to your own device, or to an external source.
When you are making the project, type this in the terminal, in your project folder:
This will generate a .deb file, which you can distribute to people or to repositories.
If you want to install the latest package, type:
It will then ask for your root password and install the .deb onto your device. If you haven't changed your root password, the default password is alpine. Make sure you change your root password, which you can do with passwd (see 'Root Password How-To' on the Cydia homepage for detailed instructions).
Some wifi spots firewall client devices from each other. That will result in your computer being unable to install onto your iDevice. If this is a problem your computer and your device won't be able to ping each other. It may work for you to set up ad-hoc network. On Mac OS X, under the WiFi menu, this is done with the 'Create Network' item. You will need to use static IP addressing.
If you are developing an application, you need to force the icon cache to be reloaded for your app's icon to show up. Restarting SpringBoard is not effective, since this does not rebuild the cache. Simply run:
Further Reading
You can learn how to do Makefiles with theos on http://uv.howett.net/ipf.html. Start over there.
For general advice on beginning development for jailbroken iOS, see Getting Started.
Getting Help
If you get error messages when compiling your projects, search for your error in Theos/Troubleshooting. It is generalized so it might not be a literal copy of your problem.
If you need further assistance, or if you have other questions about Theos itself, feel free to connect to #theos on irc.saurik.com using your preferred IRC client. If you don't already have a preferred IRC client, you can learn more here: IRC.
Retrieved from 'https://iphonedevwiki.net/index.php?title=Theos/Setup&oldid=5189'
On the weekends, I bring you OS X Power Tips, which usually involve using the Terminal app and a command line to execute a feature or function of OS X that isn't normally exposed within the Mac's graphical user interface. If you're not big on Terminal, however, I'd like to bring your attention to some third-party apps that unlock a lot of these same features and more. The best news is for cheapskates: Some of these apps are free.
TinkerTool
Marcel Bresink's TinkerTool is a utility that gives you access to features and preferences built into the Mac that aren't obvious and that aren't accessible through System Preferences or tools in individual apps. There are a total of nine categories of apps and tools that TinkerTool manages: The Finder, Dock, general system settings, the Desktop, Applications, Fonts, Safari, iTunes, and QuickTime.
TinkerTool helps you access dozens of preferences that affect OS X system and app behavior, so if there are pet peeves of yours — for example, you hate the fact that Help windows are always in the foreground, or you'd really like to change the default fonts used in Safari, you can manage all these things (and much more) using TinkerTool.
Mac Os X Tweak Apps
- Free - Download now
Titanium Software's Onyx provides you with access to a lot of the same features and functionality that TinkerTool does, but it also gives you access to a lot more.
Onyx divides its activities into Maintenance, Cleaning, Automation, Utilities, Parameters, and Info. It also keeps track of its own actions in a log.
Mac Os X Versions
Maintenance lets you read and repair disk permissions; execute weekly maintenance scripts; rebuild caches; and more. Cleaning can delete caches used by the system; your web browser; fonts; and other features. Automation can force the execution of automatic scripts, while the Utilities feature delves in deep with main pages (the text-based help files included with many Unix utilities); showing and hiding disks and folders; managing screen sharing, network diagnostics and other tools; and more. Parameters lets you set a variety of features of commonly used apps.
There are specific versions of Onyx for each major release of OS X since 10.2 'Jaguar,' so make sure to download the one that's right for your Mac.
- Free - Download now
Cocktail is commercial software developed by Swedish developer Maintain: It's long been a standby for individuals and system admins at big companies alike. You can use it to run scripts, purge memory, clear caches, repair disk permissions, tweak network settings, and manage hidden settings of Apple apps including Safari, Mail, and iTunes.
Cocktail is available as a downloadable demo; you must register and pay for it by its tenth launch or it deactivates itself. Family, business, and multipack licenses are available.
- $19 - Download now
MacPilot sports a lot of the same features I've described in utilities elsewhere in this roundup, but adds a lot more too. Koingo Software says that MacPilot sports more than 1000 features designed to help tweak and customize your Mac use. You can download a trial version for free; student and household licenses are available, as well as business licenses.
Mac Os X Tweak App Free
There's also a MacPilot Lite version available for download from the Mac App Store, but Koingo had to extensively tailor it for release because of Apple's sandboxing restrictions for Mac App Store apps. Just go straight to the vendor's site for the latest version, unencumbered by Mac App Store restrictions.
![Mac Os X Tweak App Mac Os X Tweak App](/uploads/1/2/6/3/126304184/290725649.jpg)
- $29.95 - Download now
Mac Os X Download
Your pick?
I've had my say. What am I leaving off the list that you think is an excellent choice for tweaking OS X? Let me know in the comments.
We may earn a commission for purchases using our links. Learn more.