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 8353917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:24:07+00:00 2026-06-09T09:24:07+00:00

I have been developing a Cydia tweak called BrightnessControl (I am very new to

  • 0

I have been developing a Cydia tweak called BrightnessControl (I am very new to developing). For now, all it does is use Winterboard to patch var/stash/Applications/Brightness.plist with my modified version. Is there a way, maybe with Theos, that I can patch this file without Winterboard? I am wanting to back this file up somehow and replace it with my modified .plist upon imstall, and then upon un-install delete my modified .plist and restore the original .plist. I have seen something like this done with other tweaks, but I don’t know how this is done. May anyone please push me in the right direction?

  • 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-06-09T09:24:09+00:00Added an answer on June 9, 2026 at 9:24 am

    You don’t even need to know programming to do this. The trick is inside the Debian packages’ postinst and prerm scripts.

    Edit: as per @Nate’s comments: beware, because these scripts also run upon updating a package. So, for example, a package with one update which is then removed would do this:

    1st installation:
    run preinst
    (APT installs your package)
    run postinst
    
    update:
    run prerm of the old version
    (APT removes old version)
    run postrm of old version
    
    run preinst of new version
    (APT installs new version)
    run postinst of new version
    
    removal:
    run prerm of new version
    (APT removes the new version... you no longer have the package)
    run postrm of new version
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been developing Android application where I use this code: Date d=new Date(new
I have been developing a new online game for the past year now. The
I have been developing a game in the HTML5/Javascript new canvas feature, and all
I have been developing with cappuccino for a while now and all of a
I have been developing in Android for approximately two months now. Yesterday, my eclipse
i have been developing a URL shortener and would now like to add the
I have been developing an app using the very easy-to-pickup Flask system and I
I have been developing the application which must catch all input sms. For it
I have been developing a basic app. Now at the deployment stage it has
I have been developing the Android application and I use Timer and TimerTask objects

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.