Jump to content

H5GG Full Tutorial [Offset Patching + Hooking] for Non-Jailbroken/Jailbreak Devices !


131 posts in this topic

Recommended Posts

Posted
3 hours ago, 𓄼 . f v c k . 𓄹 said:

then the iPA is not rightly made. Re do Step 1

this is my h5frida-code-patch-test(non-jailbreak).js Script.
is there something wrong with it?

h5gg.require(7.9);
var h5frida=h5gg.loadPlugin("h5frida", "h5frida-15.1.24.dylib");
if(!h5frida) throw "Failed to load h5frida plugin";

function ActiveCodePatch(fpath, vaddr, bytes) {
    if(!h5frida.ActiveCodePatch(fpath, vaddr, bytes)) {
        var result = h5frida.ApplyCodePatch(fpath, vaddr, bytes);
        alert(fpath+":0x"+vaddr.toString(16)+"-修改失败!\n" + fpath+":0x"+vaddr.toString(16)+"-PatchFailed!\n" + result);return false;
    } return true;
}
function DeactiveCodePatch(fpath, vaddr, bytes) {
    return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
}

ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x2XXXX62, "C0XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x259XXXD, "C0XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x25XXX56, "C00XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x25XXXX6, "C00XXXD6");

 

Posted
10 hours ago, Haidar_phantom said:

this is my h5frida-code-patch-test(non-jailbreak).js Script.
is there something wrong with it?

h5gg.require(7.9);
var h5frida=h5gg.loadPlugin("h5frida", "h5frida-15.1.24.dylib");
if(!h5frida) throw "Failed to load h5frida plugin";

function ActiveCodePatch(fpath, vaddr, bytes) {
    if(!h5frida.ActiveCodePatch(fpath, vaddr, bytes)) {
        var result = h5frida.ApplyCodePatch(fpath, vaddr, bytes);
        alert(fpath+":0x"+vaddr.toString(16)+"-修改失败!\n" + fpath+":0x"+vaddr.toString(16)+"-PatchFailed!\n" + result);return false;
    } return true;
}
function DeactiveCodePatch(fpath, vaddr, bytes) {
    return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
}

ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x2XXXX62, "C0XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x259XXXD, "C0XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x25XXX56, "C00XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x25XXXX6, "C00XXXD6");

 

Are you using 2 times the same offset to patch ? 

Seems good with the code, but maybe you did something wrong with the ipa, and so it can’t load frida or frida gadget 

Posted (edited)
36 minutes ago, 𓄼 . f v c k . 𓄹 said:

Are you using 2 times the same offset to patch ? 

Seems good with the code, but maybe you did something wrong with the ipa, and so it can’t load frida or frida gadget 

no i fixed it, i was going wrong with the offsets.
do you know how to convert my code to html and load directly?
i want to test the option "Make Tweak" in H5gg

Updated by Haidar_phantom
Posted
22 minutes ago, Haidar_phantom said:

no i fixed it, i was going wrong with the offsets.
do you know how to convert my code to html and load directly?
i want to test the option "Make Tweak" in H5gg

i will post part 2 and there will be this. Once i have the time

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Wittle Defender v1.1.4.10 [+2 Cheats]
      Modded/Hacked App: Wittle Defender By HABBY PTE. LTD.
      Bundle ID: com.game.kingrush
      App Store Link: https://apps.apple.com/us/app/wittle-defender/id6502815032?uo=4

       

      Important


      Do not Abuse. Not responsible for any bans.

      Visual damage not represent real damage

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

      • 28 replies
    • Wittle Defender v1.1.4.10 [+2 Jailed Cheats]
      Modded/Hacked App: Wittle Defender By HABBY PTE. LTD.
      Bundle ID: com.game.kingrush
      App Store Link: https://apps.apple.com/us/app/wittle-defender/id6502815032?uo=4


       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
       
      • 90 replies
    • Wasteland Survival TD v0.6.1 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Wasteland Survival TD By Mildmania Oyun Sistemleri Anonim Sirketi
      Bundle ID: com.mildmania.wasteland
      App Store Link: https://apps.apple.com/ca/app/wasteland-survival-td/id6749257865?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Unlimited Resources
      - Unlimited Battle Coins
      - Always Last Wave
      - DMG
      • 1 reply
    • Wasteland Survival TD v0.6.1 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Wasteland Survival TD By Mildmania Oyun Sistemleri Anonim Sirketi
      Bundle ID: com.mildmania.wasteland
      App Store Link: https://apps.apple.com/ca/app/wasteland-survival-td/id6749257865?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Unlimited Resources
      - Unlimited Battle Coins
      - Always Last Wave
      - DMG
      • 2 replies
    • Royal Match v31110 +10 Jailed Cheats [ Coins + More ]
      Modded/Hacked App: Royal Match By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalmatch
      iTunes Store Link: https://apps.apple.com/us/app/royal-match/id1482155847?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:
      - Freeze Coins
      - Freeze Lives
      - Freeze Stars
      - Freeze Boosters
      - Freeze Time
      - Freeze Moves
      - Unlock VIP Badges
      - Unlock VIP Name Styles
      - Unlock VIP Frames
      - Auto Win -> Quit the level.


      Jailbreak required hack(s): [Mod Menu Hack] Royal Match v26455 +11 Cheats [ Unlimited Coins + More ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 426 replies
    • Royal Match v31110 +10 Cheats [ Coins + More ]
      Modded/Hacked App: Royal Match By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalmatch
      iTunes Store Link: https://apps.apple.com/us/app/royal-match/id1482155847?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:
      - Freeze Coins
      - Freeze Lives
      - Freeze Stars
      - Freeze Boosters
      - Freeze Time
      - Freeze Moves
      - Unlock VIP Badges
      - Unlock VIP Name Styles
      - Unlock VIP Frames
      - Auto Win -> Quit the level.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Royal Match v26455 +11 Jailed Cheats [ Unlimited Coins + More ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 544 replies
    • Dynasty Warriors ( 真・三國無双 覇 ) v1.0.19 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: 真・三國無双 覇 By SUPERNOVA OVERSEAS LIMITED
      Bundle ID: com.supernova.ssgms.jp.ios
      App Store Link: https://apps.apple.com/jp/app/%E7%9C%9F-%E4%B8%89%E5%9C%8B%E7%84%A1%E5%8F%8C-%E8%A6%87/id6461309538?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 3 replies
    • Ape Rampage v1.1 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Ape Rampage By Vritank Yadav
      Bundle ID: com.hyperpixelgames.apeevolution
      App Store Link: https://apps.apple.com/ca/app/ape-rampage/id6748993588?uo=4

      🤩 Hack Features

      - Unlimited Currency / Earn
      - Unlimited Resources / Earn
      • 0 replies
    • Ape Rampage v1.1 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Ape Rampage By Vritank Yadav
      Bundle ID: com.hyperpixelgames.apeevolution
      App Store Link: https://apps.apple.com/ca/app/ape-rampage/id6748993588?uo=4

      🤩 Hack Features

      - Unlimited Currency / Earn
      - Unlimited Resources / Earn
      • 0 replies
    • MU: Pocket Knights v1.4.8 +3 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: MU: Pocket Knights By WEBZEN INC.
      Bundle ID: com.webzen.muidle.ios
      App Store Link: https://apps.apple.com/ph/app/mu-pocket-knights/id6742208743?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
      • 40 replies
    • MU: Pocket Knights v1.4.8 +3 Cheats [ Damage + More ]
      Modded/Hacked App: MU: Pocket Knights By WEBZEN INC.
      Bundle ID: com.webzen.muidle.ios
      App Store Link: https://apps.apple.com/ph/app/mu-pocket-knights/id6742208743?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
      • 18 replies
    • Good Coffee, Great Coffee v1.5.3 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Coffee, Great Coffee By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.coffeebusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-coffee-great-coffee/id1603584945?uo=4
       


      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Brew Points
      - Unlimited Daily Rewards
      - All Decor Unlocked
      - All Equipment Unlocked
      - All Equipment Upgrades Unlocked
      - All Shop Upgrades Unlocked
      - Perfect Drinks
      • 114 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