Jump to content

How to add a postinst & postrm file to a project?


Go to solution Solved by castix,

28 posts in this topic

Recommended Posts

Posted

as far as i know, this only works when your postinst is real C code, not bash.

 

so if you write a 1337hax0r kinda echo "this is my badass hack" postinst, only way is packaging manually.

 

@@castix lzma doesnt seem to work on some devices for deb compression, the normal gzip does it.

i still dont know why that is.

Posted (edited)

:dunno: I just do it this way all the time

I got errors when packaging my deb with your method. :/

After reading compiler errors, I figured out an alternate method.

 

Alternate solution:

 

Create a directory in your tweak's root directory and name it com.yourname.yourcompanyname

Inside that directory, create a directory called DEBIAN. Enter your newly created DEBIAN directory and add your postinst, preinst, prerm, and postrm scripts inside there. Also, you have to take your control file from your tweak's root directory and copy it into ./com.yourname.yourcompanyname/DEBIAN

 

To compile do this:

 

Open MobileTerminal and type the following lines of code

 

su
alpine //or your root password
cd /var/mobile/tweakdirectory
dpkg-deb -Z gzip -b com.yourname.yourcompanyname
Your deb will stil be unarchiveable without using lzma and you don't have to make any modifications to your project beforehand. :)

 

Hope this helps fix any errors you may encounter ^_^

 

@@DiDA

Updated by KingRalph
Posted

Hi there,

I'd tried to read this topic over and over again. But just couldn't understand what is it talking about. Can anyone give me a detail guide on how to thin the binary file for the PVZ2 v4.0.1? Thanks.

Posted

Hi there,

I'd tried to read this topic over and over again. But just couldn't understand what is it talking about. Can anyone give me a detail guide on how to thin the binary file for the PVZ2 v4.0.1? Thanks.

You need to follow this tutorial: http://iosgods.com/topic/9598-tutorial-how-to-perform-a-binary-patch-how-to-thin-your-binary/

:)

Posted

Thanks DiDa for your reply. But when I tried to Clutch my PvZ2 binary file, it couldn't Clutch on Mobile Terminal and return the error "Cannot Clutch unswapped arm64 portion of the binary".

 

Also, I have problems finding and installing the Darwin CC Tools as my "theBigBoss" repo didn't work on my jailbroken I-pad running on ios8.3.

 

I've tried to fix these problems but still cannot resolve, so less to say I can follow the tut to clutch my binary. Please help  you can. Thanks.

Posted

Thanks DiDa for your reply. But when I tried to Clutch my PvZ2 binary file, it couldn't Clutch on Mobile Terminal and return the error "Cannot Clutch unswapped arm64 portion of the binary".

 

Also, I have problems finding and installing the Darwin CC Tools as my "theBigBoss" repo didn't work on my jailbroken I-pad running on ios8.3.

 

I've tried to fix these problems but still cannot resolve, so less to say I can follow the tut to clutch my binary. Please help  you can. Thanks.

Try rasticrac if clutch is unsuccessful.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Lucky Offense v1.1.7 [ +4 Cheats ] Battle Coins
      Modded/Hacked App: Lucky Offense By Crater Co., Ltd.
      Bundle ID: com.percent.ios.luckyrolling
      iTunes Store Link: https://apps.apple.com/us/app/lucky-offense/id6511224968?uo=4


      🤩 Hack Features

      - Battle Coins
      - ATK
      - ATK Range
      - ATK Speed

      ATK Linked Enemy
      • 27 replies
    • Dragon Village Survival v1.119 [ +9 Cheats ] Never Die
      Modded/Hacked App: Dragon Survival By Alchemist Games Inc
      Bundle ID: com.alchemist.games.dvs
      iTunes Store Link: https://apps.apple.com/us/app/dragon-survival/id6453701946?uo=4


      Hack Features:
      - No ADS

      - Never Die

      - DMG

      - Max Ammo

      - Pick Up Range [ Enter The Game Then Use ]

      - Movement Speed

      - Enemy No Limit 

      - Fire Radius

      - Max Revive 


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 98 replies
    • Dragon Survival v1.119 [ +9 Jailed ] Never Die
      Modded/Hacked App: Dragon Survival By Alchemist Games Inc
      Bundle ID: com.alchemist.games.dvs
      iTunes Store Link: https://apps.apple.com/us/app/dragon-survival/id6453701946?uo=4


      Hack Features:
      - No ADS [ Rewards Free]

      - Immortal

      - Damage

      - Ammo

      - Pick Up Range

      - Movement Speed

      - Enemy No Limit

      - Revive

      - Fire Radius


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 23 replies
    • Dream Resort - Match 3 Games v1.2.8 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Dream Resort - Match 3 Games By F.O.G LIMITED
      Bundle ID: com.dream.resort.candy.match.mania.ios
      iTunes Store Link: https://apps.apple.com/us/app/dream-resort-match-3-games/id6737011572?uo=4
       

      🚀 Hack Features

      - Auto ADS Disable

      - Coins

      - Diamonds

      - Lives Cost

      - Moves Freeze

      - Booster [ Buy Get Unlimited After use Then work ]

      - Auto win 


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 5 replies
    • Dream Resort - Match 3 Games v1.2.8 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Dream Resort - Match 3 Games By F.O.G LIMITED
      Bundle ID: com.dream.resort.candy.match.mania.ios
      iTunes Store Link: https://apps.apple.com/us/app/dream-resort-match-3-games/id6737011572?uo=4

       

      🔧 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Cydia, Sileo or Zebra).

       

      🚀 Hack Features

      - Auto ADS Disable

      - Coins

      - Diamonds

      - Lives Cost

      - Moves Freeze

      - Booster [ Buy Get Unlimited After use Then work ]

      - Auto win 


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 7 replies
    • Meow Tower - Nonogram Puzzle v3.2.101 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Meow Tower - Nonogram Puzzle By HyperBeard Inc.
      Bundle ID: com.grapetree.meowtower
      iTunes Store Link: https://apps.apple.com/us/app/meow-tower-nonogram-puzzle/id1579122980?uo=4


      🚀 Hack Features

      - ADS NO
      - Gold CANS
      - Pencil Max 
      - Hints Max
      • 2 replies
    • Meow Tower - Nonogram Puzzle v3.2.101 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Meow Tower - Nonogram Puzzle By HyperBeard Inc.
      Bundle ID: com.grapetree.meowtower
      iTunes Store Link: https://apps.apple.com/us/app/meow-tower-nonogram-puzzle/id1579122980?uo=4
       

      🚀 Hack Features

      - ADS NO
      - Gold CANS
      - Pencil Max 
      - Hints Max 
      • 5 replies
    • DomiNations v12.1460.1461 +40++ Cheats [ Exclusive ]
      Modded/Hacked App: DomiNations by NEXON M Inc.
      Bundle ID: com.nexonm.dominations
      iTunes Store Link: https://itunes.apple.com/us/app/dominations/id922558758


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Unlimited Crowns/Food/Oil/Gold -> Resources will add instead of subtracting. Works with Crowns. Read note inside the feature for more information! This does not work for speeding up buildings.
      - All Achievements Unlocked
      - Freeze Crowns/Food/Oil/Gold -> Freezes Resources so they do not decrease when used! This does not work for speeding up buildings.
      - No Citizens Cost
      - Place Multiple of Same Building
      - 0 Cost to Speed Up Training Troops
      - 0 Cost to Speed Up Tactics
      - 0 Food Cost to Train Troops
      - 0 Food Cost to Upgrade Troops
      - No Timer to Upgrade Troops
      - 0 Food Cost to Train Spells
      - 0 General Train Cost
      - No General Train Cooldown
      - 0 Food Cost to Build Wonder
      - 0 Food Cost to Research Troops
      - 0 Food Cost to Upgrade Tactics
      - No Timer to Library Research
      - No Timer to Upgrade Spells
      - 0 Cost to Upgrade Buildings
      - 0 Workers Required to Upgrade
      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app.
      • 4,962 replies
    • Gang Battle Party: Animals 3D v2.0.12 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Gang Battle Party: Animals 3D By LLP Take Top Entertainment
      Bundle ID: com.taketopios.chillybash
      iTunes Store Link: https://apps.apple.com/us/app/gang-battle-party-animals-3d/id1664783935?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      - God Mode
      - One-Hit Kill
      -- No Ads
      • 0 replies
    • Gang Battle Party: Animals 3D v2.0.12 +4 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Gang Battle Party: Animals 3D By LLP Take Top Entertainment
      Bundle ID: com.taketopios.chillybash
      iTunes Store Link: https://apps.apple.com/us/app/gang-battle-party-animals-3d/id1664783935?uo=4

       
       

      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      - God Mode
      - One-Hit Kill
      -- No Ads
      • 2 replies
    • (Kinnikuman Extreme Japan) キン肉マン 極・タッグ乱舞 v1.2.01 +2 Jailed Cheats
      Modded/Hacked App: キン肉マン 極・タッグ乱舞 By COPRO Co., Ltd.
      Bundle ID: jp.kcopro.kin001
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%82%AD%E3%83%B3%E8%82%89%E3%83%9E%E3%83%B3-%E6%A5%B5-%E3%82%BF%E3%83%83%E3%82%B0%E4%B9%B1%E8%88%9E/id1623345808?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier


      Jailbreak required hack(s): 


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer, connect your iOS Device, and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login, press "Start" & then you will be asked to enter your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 8: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles/VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 9: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. Jailbroken iDevices can also use Sideloadly/Filza/IPA Installer to normally install the IPA with AppSync. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
      • 20 replies
    • (Kinnikuman Extreme Japan)キン肉マン 極・タッグ乱舞 v1.2.01 +2 Cheats
      Modded/Hacked App: キン肉マン 極・タッグ乱舞 By COPRO Co., Ltd.
      Bundle ID: jp.kcopro.kin001
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%82%AD%E3%83%B3%E8%82%89%E3%83%9E%E3%83%B3-%E6%A5%B5-%E3%82%BF%E3%83%83%E3%82%B0%E4%B9%B1%E8%88%9E/id1623345808?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download Link:

      Hidden Content

      Download Hack








      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above. Use Safari/Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If necessary, tap on the downloaded file, and then, you will need to press 'Install' from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
      • 18 replies
×
  • 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