Jump to content

[THEOS] Preference Bundle Code Injection Not Working?


Elreys

10 posts in this topic

Recommended Posts

Posted

Hi Guys,

 

i create succesfully my first debian file,

i see also the Preference Menu on my IPAD, i can switch GOD MODUS, LevelSkip etc.

 

But the game are not affected if i change the code with HEX Editor manually they works perfect.

 

Tweak.xm CODE :

#import <Foundation/Foundation.h>
#import "writeData.h"

BOOL GOD;

%ctor
{
GOD = [[[NSDictionary dictionaryWithContentsOfFile:@"var/mobile/Library/Preferences/com.Zagor1979.plist"] valueForKey:key@"GOD"] boolValue];
if(GOD)
{
	writeData(0x1C2064,0x3501); //------> new  adds r5 , r5 , #0x1)
}

{
	writeData(0x1C2064,0x002E); old
}

}

I try more things but unfortunally they dont work great..

 

I need you Help Master DIDA :)

 

Thanks for your Support

 

Posted

You have the if statement but no else statement.

 

And also the comments need to be removed when compiling because they can cause issues.

 

Your correct tweak.xm should be this:

#import <Foundation/Foundation.h>
#import "writeData.h"

BOOL GOD;
%ctor
{
GOD = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.Zagor1979.plist"]valueForKey:@"GOD"]boolValue];
if(GOD)
{
writeData(0x1C2064, 0x3501);
}
else
{
writeData(0x1C2064, 0x002E);
}

}

Try it and let me know if it works. :)

Posted

I tried but unfortunately won't work, I did exactly this that you writes

Check your offsets and make sure your plist name is "com.Zagor1979.plist" and make sure you have hooked the right key to your preference plist.

Posted

#define PLIST_PATH @"/var/mobile/Library/Preferences/PLISTNAMEHERE.plist"

#import "writeData.h"

inline bool GetPrefBool(NSString *key) {

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

%ctor {

if(GetPrefBool(@"kGOD")) {

writeData(0x1C2064,0x3501); //hack here

}

else

{

writeData(0x1C2064,0x002E); //old hex here

}

}

Posted

actually:

 

 

#import "writeData.h"
 
#define PLIST_PATH @"/var/mobile/Library/Preferences/PLISTNAMEHERE.plist"
 
inline bool GetPrefBool(NSString *key)
{
         return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%ctor {
if(GetPrefBool(@"kGOD")) 
{
      writeData(0x1C2064,0x3501); //hack here
} 
 
}

 

if and only if the plist key kGOD is on, does anything actually happen. if switch is off, why write to memory when the memory is exactly what it needs to be?

Posted

I try now to create simply a tweak without button, i like to remember you that i have a Ipad Air ,

i change also the Make file for 64 Device, the creation work fine, but if the game are still not affected, if a change this manually with hex editor they work perfectly.

 

I dont know if the problem are the code:

#import <Foundation/Foundation.h>
#import "writeData.h"


%ctor{
	writeData(0x29E0CC,0x8042);

}

Please help me :wallbash: :wallbash: :wallbash: :wallbash: :wallbash:

Posted

DiDA, please look on my Picture i prepare all the information that you need for a diagnose, @

http://imgur.com/45D...WuIR81Z,uMEhVW1

 

Its really crazy i tried to create a new Tweak with a simply Game, but again the same problem, also i tried to created a Packed on my Iphone 6 Plus ios 8

 

I wait of your Support Guys smile.png

 

Thanks

Posted

Hi DiDA i check the folde avery single file, i found one interesting differetnt beetween my Plist struct and this of Zahir Folder, but this are generate auotmatically from $THEOS.

and an other difference are in the structure, he has one folder more there as me.

 

http://imgur.com/4xLEkPz

 

My Plist content: dungeon.plist

{ Filter = { Bundles = ( "com.orca.dungeonm" ); }; }

Zahir Plist content: dh4.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Filter</key>
	<dict>
		<key>Bundles</key>
		<array>
			<string>com.gameloft.DungeonHunter4</string>
		</array>
	</dict>
</dict>
</plist>

Posted

 

Hi DiDA i check the folde avery single file, i found one interesting differetnt beetween my Plist struct and this of Zahir Folder, but this are generate auotmatically from $THEOS.

and an other difference are in the structure, he has one folder more there as me.

 

http://imgur.com/4xLEkPz

 

My Plist content: dungeon.plist

{ Filter = { Bundles = ( "com.orca.dungeonm" ); }; }

Zahir Plist content: dh4.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Filter</key>
	<dict>
		<key>Bundles</key>
		<array>
			<string>com.gameloft.DungeonHunter4</string>
		</array>
	</dict>
</dict>
</plist>

Can you send me your project folder so I can take a look?

Archived

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

  • Our picks

    • Hero Dungeon: Cube Action RPG v1.1.16 [+3 Cheats]
      Modded/Hacked App: Hero Dungeon: Cube Action RPG By Egor Iurchenko
      Bundle ID: com.jtg.battleknight
      iTunes Store Link: https://apps.apple.com/us/app/hero-dungeon-cube-action-rpg/id6476866516?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Items
      - Unlimited Currency
      • 0 replies
    • Hero Dungeon: Cube Action RPG v1.1.16 [+3 Jailed Cheats]
      Modded/Hacked App: Hero Dungeon: Cube Action RPG By Egor Iurchenko
      Bundle ID: com.jtg.battleknight
      iTunes Store Link: https://apps.apple.com/us/app/hero-dungeon-cube-action-rpg/id6476866516?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Items
      - Unlimited Currency
      • 0 replies
    • Margonem Adventures v1.14.1 [+3 Jailed Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4

       

      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 8 replies
    • Margonem Adventures v1.14.1 [+3 Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4



      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
        • Informative
        • Like
      • 4 replies
    • (Jujutsu Kaisen: Phantom Parade) 呪術廻戦 ファントムパレード v2.2.2 +5 Jailed Cheats
      Modded/Hacked App: 呪術廻戦 ファントムパレード By Sumzap Inc.
      Bundle ID: jp.co.sumzap.pj0014
      iTunes Store Link: https://apps.apple.com/jp/app/%E5%91%AA%E8%A1%93%E5%BB%BB%E6%88%A6-%E3%83%95%E3%82%A1%E3%83%B3%E3%83%88%E3%83%A0%E3%83%91%E3%83%AC%E3%83%BC%E3%83%89/id1551798277?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
      - Unlimited BP
      - Unlimited EN
      - Special Skill Always Active


      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
        • Like
      • 173 replies
    • (Jujutsu Kaisen: Phantom Parade) 呪術廻戦 ファントムパレード v2.2.2 +5 Cheats
      Modded/Hacked App: 呪術廻戦 ファントムパレード By Sumzap Inc.
      Bundle ID: jp.co.sumzap.pj0014
      iTunes Store Link: https://apps.apple.com/jp/app/%E5%91%AA%E8%A1%93%E5%BB%BB%E6%88%A6-%E3%83%95%E3%82%A1%E3%83%B3%E3%83%88%E3%83%A0%E3%83%91%E3%83%AC%E3%83%BC%E3%83%89/id1551798277?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
      - Unlimited BP
      - Unlimited EN
      - Special Skill Always Active


      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
      • 100 replies
    • Ninja Must Die v1.0.83 +2 Jailed Cheats
      Modded/Hacked App: Ninja Must Die By Pandada Games Limited
      Bundle ID: com.pandadagames.ninja.global
      iTunes Store Link: https://apps.apple.com/us/app/ninja-must-die/id1628517224?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:
      - Never Die
      - Unlimited Jumps


      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
      • 33 replies
    • Ninja Must Die v1.0.83 +2 Cheats
      Modded/Hacked App: Ninja Must Die By Pandada Games Limited
      Bundle ID: com.pandadagames.ninja.global
      iTunes Store Link: https://apps.apple.com/us/app/ninja-must-die/id1628517224?uo=4


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


      Hack Features:
      - God Mode 
      - No Cooldown on Skill


      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:
      - K_K


      Cheat Video/Screenshots:

      N/A
        • Haha
      • 83 replies
    • Skullgirls Fighting RPG V7.1.3 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:

      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
        • Agree
      • 14 replies
    • Skullgirls Fighting RPG V7.1.3 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:
      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
        • Like
      • 108 replies
    • (Isekai & Isekai) 異世界 異世界 ~次はどの作品を、集めよう~ v1.5.1 +2 Jailed Cheats
      Modded/Hacked App: 異世界 異世界 ~次はどの作品を、集めよう~ By COLOPL, Inc.
      Bundle ID: jp.colopl.isekai
      iTunes Store Link: https://apps.apple.com/jp/app/%E7%95%B0%E4%B8%96%E7%95%8C-%E7%95%B0%E4%B8%96%E7%95%8C-%E6%AC%A1%E3%81%AF%E3%81%A9%E3%81%AE%E4%BD%9C%E5%93%81%E3%82%92-%E9%9B%86%E3%82%81%E3%82%88%E3%81%86/id6468440641?uo=4

       

       

      🔧 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🚀 Hack Features

      - Damage Multiplier
      - Defense Multiplier


      🍏 Jailbreak iOS hacks: 

       

      📥 iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email when prompted, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: 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 8: 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. 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 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
      • 19 replies
    • Cryptogram Word Brain Puzzle v2.7.0 [ +4 Cheats ] Auto Win
      Modded/Hacked App: Cryptogram: Word Brain Puzzle By Joyteractive Limited
      Bundle ID: com.puzzle.cryptogram
      iTunes Store Link: https://apps.apple.com/us/app/cryptogram-word-brain-puzzle/id1644099880?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:
      - Lives
      - Hint Max 
      - Auto Win [ Put Any Word ]
      - No ADS


      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
        • Like
      • 7 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