Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6380877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:19:27+00:00 2026-05-25T02:19:27+00:00

I have a few questions about developing mobile substrate tweaks. First of all, how

  • 0

I have a few questions about developing mobile substrate tweaks.
First of all, how do you make them?

Do you have to use XCode?

What kind of files are needed and where do you place your code?

How do you hook into an app?

For example if I want to change something in the Messages app, how could I program it to hook into Messages.app?

I am pretty familiar with developing regular apps for the app store, and I am very interested in mobile substrate. I would really like to know how to do it and where to start. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:19:28+00:00Added an answer on May 25, 2026 at 2:19 am

    By far, the easiest way to develop MS tweaks is to use Theos

    Follow the instructions given on the link above to install theos, navigate to the folder you want to store the project in and run $THEOS/bin/nic.pl to generate a template for your tweak.

    The generated Tweak.xm file is where you put your code. To build the project just navigate to the project directory in Terminal and run make. If have dpkg on your system, then you can package up and install the project easily. Make sure OpenSSH is installed on your iDevice and add this line to your project’s makefile:

    THEOS_DEVICE_IP = [INSERTDEVICESIPHERE]
    

    Then run make package install to build your project, package it in a .deb, transfer it over to your device and install it.

    The code that actually goes in the Tweak.xm file is objective-C with a language that simplifies Mobile Substrate tasks called Logos, which is explained here: http://iphonedevwiki.net/index.php/Logos. Generally though, the code follows this format:

    %hook classname //declares the class from your application you're going to override
    
    -(void)functionyouwanttooveride {
    
        dosomethingnew(); //put all your new code for the method here
        return %orig;     //this calls the original definition of the method and returns the result
    }
    %end //end hooking classname
    

    To find out what classes and methods you need to override to do whatever you want to do, install class-dump from cydia, ssh into your device and run class-dump -H path/to/your/binary -o /path/where/you/want/your/classheaders. Then you just have to look through the resulting headers to find classes and methods that have names that seem relevant to what you’re doing, and experiment with them.

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few questions about Xcode and interaction with GCC 4.2.1: It doesn't
There have been several questions over the past few days about the proper use
I have a few questions about security using PHP, I dont want to use
I have a few questions about sessions and login/logout systems. In my system, first
I have few questions about using lock to protect my shared data structure. I
I have a few questions about this after reading the iPhone documentation on it:
I have a few questions about cross-page posting in ASP.NET: What is cross-page posting
I have a few questions about Core Location. 1) Should the user refuse permission
I have a few questions about the eq() property of jQuery and how to
I have a few quick questions about the Microsoft Detours Library. I have used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.