Jump to content

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


Rook

28 posts in this topic

Recommended Posts

  • Replies 27
  • Created
  • Last Reply
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

: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

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.

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Falltopia: Epic Space Idle RPG v0.0.107 [ +12 Cheats ] Currency
      Modded/Hacked App: Falltopia: Epic Space Idle RPG By Pusilung HK Limited
      Bundle ID: com.threehp013.idle.plane.shooting.space.force.game
      App Store Link: https://apps.apple.com/ph/app/falltopia-epic-space-idle-rpg/id6748329424?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Speed Boost Active
      - Currency / NO Need
      - Resources / NO Need
      - Defensec Pass
      - Upgrade Pass
      - Season Pass
      - Battle Pass
      - Blessings Active
      - HP / Equip & Unequip
      - ATK / Equip & Unequip
      - Def / Equip & Unequip
      • 0 replies
    • Falltopia: Epic Space Idle RPG v0.0.107 [ +12 Jailed ] Currency
      Modded/Hacked App: Falltopia: Epic Space Idle RPG By Pusilung HK Limited
      Bundle ID: com.threehp013.idle.plane.shooting.space.force.game
      App Store Link: https://apps.apple.com/ph/app/falltopia-epic-space-idle-rpg/id6748329424?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Speed Boost Active
      - Currency / NO Need
      - Resources / NO Need
      - Defensec Pass
      - Upgrade Pass
      - Season Pass
      - Battle Pass
      - Blessings Active
      - HP / Equip & Unequip
      - ATK / Equip & Unequip
      - Def / Equip & Unequip
      • 0 replies
    • Dopamine Hit Cheats v3.5.0 +5
      Modded/Hacked App: Dopamine Hit By Mobigames INC.
      Bundle ID: com.mobigames.fakeroem
      App Store Link: https://apps.apple.com/us/app/dopamine-hit/id6736514242?uo=4

       

      📌 Mod Requirements

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

       

      🤩 Hack Features

      - God Mode
      - Multiply Attack
      - No Skills Cooldown
      - Freeze Currencies
      - PREMIUM

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/196879-dopamine-hit-cheats-v2120-5/
        • Agree
        • Thanks
        • Winner
        • Like
      • 46 replies
    • Royal Knights GO v1.1.29 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Royal Knights GO By Super Candy Inc.
      Bundle ID: com.supercandy.royalknights
      App Store Link: https://apps.apple.com/ph/app/royal-knights-go/id6478957981?uo=4

      🤩 Hack Features

      - Unlimited Gems / Linked With Store Rewards
      - Quest / Claim All
      - Premium & Stage Pass Unlocked
      - Hero Status / ATK HP DEF / Just Upgrade Faster Increase
      - Skill CD
        • Winner
      • 2 replies
    • Royal Knights GO v1.1.29 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Royal Knights GO By Super Candy Inc.
      Bundle ID: com.supercandy.royalknights
      App Store Link: https://apps.apple.com/ph/app/royal-knights-go/id6478957981?uo=4

      🤩 Hack Features

      - Unlimited Gems / Linked With Store Rewards
      - Quest / Claim All
      - Premium & Stage Pass Unlocked
      - Hero Status / ATK HP DEF / Just Upgrade Faster Increase
      - Skill CD
      • 3 replies
    • Among Us! Cheats v2025.9.9 +10
      Modded/Hacked App: Among Us! by InnerSloth LLC
      Bundle ID: com.innersloth.amongus
      iTunes Store Link: https://apps.apple.com/us/app/among-us/id1351168404?uo=4&at=1010lce4


      Hack Features:
      - All Skins Unlocked
      - All Pets Unlocked
      - All Hats Unlocked
      - No Ads
      - Custom Move Speed
      - Display Who is Impostor by faking them
      - No ban when quitting too much
      - Increase Light FOV
      - Destroy Room (Turn on the turn it off)
      - Instant Kill


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/132854-arm64-among-us-v202091-jailed-cheats-4/


      iOS Hack Download Link: https://iosgods.com/topic/132860-arm64-among-us-cheats-v202091-7/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 17,153 replies
    • Creature Hunter Idle v1.2.1 +4 Jailed Cheats [ Cheat Menu ]
      Modded/Hacked App: Creature Hunter Idle By DRAKEMOUNT
      Bundle ID: com.drakemount.creature.hunter
      App Store Link: https://apps.apple.com/us/app/creature-hunter-idle/id6743888703?uo=4

       
       

      🤩 Hack Features

      - Freeze Enemy -> They will still attack.
      - Speed Multiplier

      VIP
      - Auto Win
      - Cheat Menu -> Head into Settings > Accounts > Scroll down and tap on the Discord button.
        • Winner
        • Like
      • 3 replies
    • Creature Hunter Idle v1.2.1 +4 Cheats [ Cheat Menu ]
      Modded/Hacked App: Creature Hunter Idle By DRAKEMOUNT
      Bundle ID: com.drakemount.creature.hunter
      App Store Link: https://apps.apple.com/us/app/creature-hunter-idle/id6743888703?uo=4

       
       

      🤩 Hack Features

      - Freeze Enemy -> They will still attack.
      - Speed Multiplier

      VIP
      - Auto Win
      - Cheat Menu -> Head into Settings > Accounts > Scroll down and tap on the Discord button.n.
        • Agree
        • Winner
        • Like
      • 5 replies
    • Dragoneer Squad: Idle v1.0.15 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dragoneer Squad: Idle By DAERI SOFT
      Bundle ID: com.daerigame.dragon
      App Store Link: https://apps.apple.com/us/app/dragoneer-squad-idle/id6746182414?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Informative
        • Winner
        • Like
      • 20 replies
    • Pudgy Party - Battle Royale v0.12.4 +7 Jailed Cheats [ Speed, Gravity + More ]
      Modded/Hacked App: Pudgy Party - Battle Royale By Mythical, Inc.
      Bundle ID: com.mythical.pudgyparty
      App Store Link: https://apps.apple.com/us/app/pudgy-party-battle-royale/id6744258913?uo=4

       
       

      🤩 Hack Features

      - Jump Height Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Gravity Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Speed Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Friction Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Freeze Bots
      - Dumb Bots
      - Free In-App Purchases
        • Informative
        • Agree
        • Winner
        • Like
      • 11 replies
    • Pudgy Party - Battle Royale v0.12.4 +7 Cheats [ Speed, Gravity + More ]
      Modded/Hacked App: Pudgy Party - Battle Royale By Mythical, Inc.
      Bundle ID: com.mythical.pudgyparty
      App Store Link: https://apps.apple.com/us/app/pudgy-party-battle-royale/id6744258913?uo=4

       


      🤩 Hack Features

      - Jump Height Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Gravity Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Speed Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Friction Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Freeze Bots
      - Dumb Bots
      - Free In-App Purchases
        • Thanks
        • Winner
        • Like
      • 22 replies
    • Dragoneer Squad: Idle v1.0.15 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Dragoneer Squad: Idle By DAERI SOFT
      Bundle ID: com.daerigame.dragon
      App Store Link: https://apps.apple.com/us/app/dragoneer-squad-idle/id6746182414?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Thanks
        • Winner
        • Like
      • 31 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