Jump to content

Bypass "ptrace: Operation not permitted" or get around small dump size problem


5 posts in this topic

Recommended Posts

Updated (edited)
Have "ptrace: Operation not permitted" error when you try to debug a game using GDB? Follow these steps

 

 

 

 

"PID" stands for Process ID

 

 

 

 

 

The game is EDEN Avalon Legends (th.co.tdp.eden).

 

 

 

 

 

Turn off the Advanced Task Killer app, if it is running.

 

 

Open the game, and press the HOME button to minimize the game.

 

 

 

 

 

GrWpV8w.png

 

 

 

 

 

Type

 

 

 

 

 

dumpsys meminfo

 

 

 

 

 

to view all running processes.

 

 

 

 

 

MPKVgHh.png

 

 

 

 

 

Take note of the number next to "pid" (PID stands for "Process ID" and changes everytime a process starts). In my example, I'll take note of the number "383".

 

 

 

 

 

Now, using the PID you just noted, type:

 

 

 

 

 

 

 

 

 

This will give a list of clones of the main PID and depending on the game, can attach to it regardless of if ptrace is denying the main process id (PID), if that makes sense.

 

 

 

 

 

Attach to a clone of the process

 

 

 

 

 

gdb -pid xxxxx

 

 

 

 

 

Example:

 

 

 

 

 

gdb -pid 4546

 

 

 

 

 

PxdLLI3.png

 

 

 

 

 

The symbols are loaded which means the game is debugged

 

 

 

 

 

noOv1cD.png

 

 

 

 

 

Dump as normal with gcore

 

 

 

 

 

gcore /sdcard/DUMPEDFILE

 

 

 

 

 

Do not worry about any warnings like these you may read in the Terminal app:

 

 

 

 

 

dqXrY2L.png

 

 

 

 

 

Od6iKpQ.png

 

 

 

 

 

Extract the DLL file as normal with cracked Winhex

 

 

 

 

 

Proof:

 

 

 

 

 

VHiQqhi.png

 

 

 

 

 

DRMVwZv.png

 

 

 

 

 

But EDEN Avalon Legends will not run if you replace the modded DLL file, due to crc32 check.

 

 

 

 

 

vJv9p7D.png

 

 

 

Note: Games such as GrandChase M doesnt work. Even the clones found through "ls -l" still deny ptrace it basically depends on the securty the game has but its good info and you never know what seems a really hard game might just work as did avalon legends which like 4 i know are trying to bypass ptrace for

 

 

 

 

 

 

Credits:

 

 

Antiklor (For helping me with ptrace bypass)

 

 

AndnixSH

 

Updated by AndnixSH
Posted

Is there a way to encrypt the files again after modding? the games seem not to work with the decrypted dll's in place

i don't know but encrypting it back doesn't help since the decryption key is different

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

    • [ The Battle Cats JP ] にゃんこ大戦争 Cheats v14.5.0 +3
      Modded/Hacked App: にゃんこ大戦争 By ponos corporation
      Bundle ID: jp.co.ponos.battlecats
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?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

      - Infinite Cash
      - OHK Linked w/ Enemy
      - Infinite Cat Foods & EXP*

       

      Non-Jailbroken Hack: https://iosgods.com/topic/194335-the-battle-cats-jp-%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89-v1432-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/194334-the-battle-cats-jp-%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89-cheats-v1432-3/
        • Agree
        • Thanks
        • Like
      • 20 replies
    • [ Reinforced Wooden Stick Lv99 ] 99강화 나무몽둥이 : 키우기 Cheats v99.1.19 +2
      Modded/Hacked App: 99강화 나무몽둥이 : 키우기 By STUDIO LICO Corp.
      Bundle ID: com.studiolico.woodenstick
      iTunes Store Link: https://apps.apple.com/kr/app/99%EA%B0%95%ED%99%94-%EB%82%98%EB%AC%B4%EB%AA%BD%EB%91%A5%EC%9D%B4-%ED%82%A4%EC%9A%B0%EA%B8%B0/id6737379268?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

       

      Non-Jailbroken Hack: https://iosgods.com/topic/193094-reinforced-wooden-stick-lv99-99%EA%B0%95%ED%99%94-%EB%82%98%EB%AC%B4%EB%AA%BD%EB%91%A5%EC%9D%B4-%ED%82%A4%EC%9A%B0%EA%B8%B0-v9916-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/193095-reinforced-wooden-stick-lv99-99%EA%B0%95%ED%99%94-%EB%82%98%EB%AC%B4%EB%AA%BD%EB%91%A5%EC%9D%B4-%ED%82%A4%EC%9A%B0%EA%B8%B0-cheats-v9916-2/
        • Winner
        • Like
      • 20 replies
    • Raising Beast Friends Cheats v1.2.9 +3
      Modded/Hacked App: 짐승친구들 키우기 By Bigpicture Team Inc.
      Bundle ID: com.bigpictureteam.raisingbeastfriends
      iTunes Store Link: https://apps.apple.com/kr/app/%EC%A7%90%EC%8A%B9%EC%B9%9C%EA%B5%AC%EB%93%A4-%ED%82%A4%EC%9A%B0%EA%B8%B0/id6503225529?uo=4


      Hack Features:
      - God Mode
      - Multiply Attack
      - Multiply Defense


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/187879-raising-beast-friends-%EC%A7%90%EC%8A%B9%EC%B9%9C%EA%B5%AC%EB%93%A4-%ED%82%A4%EC%9A%B0%EA%B8%B0-v114-jailed-cheats-3/


      iOS Hack Download Link: https://iosgods.com/topic/187878-raising-beast-friends-%EC%A7%90%EC%8A%B9%EC%B9%9C%EA%B5%AC%EB%93%A4-%ED%82%A4%EC%9A%B0%EA%B8%B0-cheats-v114-3/
        • Like
      • 6 replies
    • Otherworld Three Kingdoms Cheats v1.0.32 +4
      Modded/Hacked App: Otherworld Three Kingdoms By SuperPlanet corp.
      Bundle ID: com.superplanet.samworld
      iTunes Store Link: https://apps.apple.com/us/app/otherworld-three-kingdoms/id6496345383?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Instant Skills


      iOS Hack Download Link: https://iosgods.com/topic/183743-otherworld-three-kingdoms-cheats-v103-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 130 replies
    • Tap Tap Fish - AbyssRium Cheats v1.85.0 +1
      Modded/Hacked App: Tap Tap Fish - AbyssRium By SangHeon Kim
      Bundle ID: com.idleif.abyssrium
      iTunes Store Link: https://itunes.apple.com/us/app/tap-tap-fish-abyssrium/id1068366937?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Vitality, Gem, etc ... (Increase When Used) / Untested with Pearl
       

      Hack Download Link: https://iosgods.com/topic/81337-arm64-tap-tap-fish-abyssrium-cheats-v179-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 369 replies
    • Cooking Craze: Restaurant Game Cheats v2.6.1 +1
      Modded/Hacked App: Cooking Craze: Restaurant Game By Big Fish Games, Inc
      Bundle ID: com.bigfishgames.cookingempireuniversalf2p
      iTunes Store Link: https://apps.apple.com/us/app/cooking-craze-restaurant-game/id1029094059?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

      - Free Store (not Free iAP)


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191693-cooking-craze-restaurant-game-v240-jailed-cheats-1/

       

      📥 iOS Hack Download Link: https://iosgods.com/topic/191694-cooking-craze-restaurant-game-cheats-v250-1/
        • Agree
        • Like
      • 6 replies
    • Chef & Friends: Cooking Game Cheats v1.32.5 +1
      Modded/Hacked App: Chef & Friends: Cooking Game By MYTONA Ltd.
      Bundle ID: com.mytona.cheftales
      iTunes Store Link: https://apps.apple.com/us/app/chef-friends-cooking-game/id1586951898?uo=4


      Hack Features:
      - Infinite Currencies (Hats, Coins, Gems)

      NOTE: May bug out the game so better try on your throw away account first 


      iOS Hack Download Link: https://iosgods.com/topic/178904-chef-friends-cooking-game-cheats-v141-1/
        • Thanks
        • Winner
        • Like
      • 28 replies
    • Cats & Soup Cheats v2.72.0 +2
      Modded/Hacked App: Cats & Soup By HIDEA Co.,Ltd
      Bundle ID: com.hidea.cat
      iTunes Store Link: https://apps.apple.com/us/app/cats-soup/id1581431235?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

      - Infinite Currencies
      - Unlocked All Specials and No Ads

       

      Non-Jailbroken Hack: https://iosgods.com/topic/157486-cats-soup-v2630-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/157484-cats-soup-cheats-v2640-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 305 replies
    • AdVenture Communist v6.47.0 +2 Cheats
      Modded/Hacked App: AdVenture Communist By Hyper Hippo Publishing Ltd.
      Bundle ID: com.kongregate.mobile.adventurecommunist
      iTunes Store Link: https://apps.apple.com/us/app/adventure-communist/id1225683141?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

      - Freeze Currencies
      - Unlimited Cards [Get Some]

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/149902-adventure-communist-v6430-2-cheats/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 131 replies
    • Choices: Stories You Play Cheats v4.3.0 +4
      Modded/Hacked App: Choices: Stories You Play By Pixelberry Studios
      Bundle ID: com.pixelberrystudios.choices
      iTunes Store Link: https://apps.apple.com/us/app/choices-stories-you-play/id1071310449?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

      - Free Premium Choices
      - Free Outfits
      - Free Hairstyles
      - Free Looks

      Note: able to purchase without having enough gems.

       

      Non-Jailbroken Hack: https://iosgods.com/topic/147462-choices-stories-you-play-v410-4-cheats-for-jailed-idevices/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/147155-choices-stories-you-play-cheats-v412-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 360 replies
    • Family Island — Farm game v2025148.1.76088 Jailed Cheats +1
      Modded/Hacked App: Family Island™ — Farm game by Melsoft
      Bundle ID: com.MelsoftGames.FamilyIsland
      iTunes Store Link: https://apps.apple.com/us/app/family-island-farm-game/id1464689103?uo=4&at=1010lce4


      Hack Features:
      - Cheat Engine Enabled


      iOS Hack Download Link: https://iosgods.com/topic/115337-arm64-family-island-%E2%80%94-farm-game-v20190824862-jailed-cheats-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,312 replies
    • Eternium Cheats v1.38.22 +11
      Modded/Hacked App: Eternium By Making Fun, Inc.
      Bundle ID: com.makingfun.mageandminions
      iTunes Store Link: https://apps.apple.com/us/app/eternium/id579931356?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

      - 5K Gems When Completed Stage
      - Infinite Gold
      - Infinite Cosmetic
      - Infinite Yellow Stone
      - Multiply Attack (Linked with Enemy)
      - No Skills Cooldown
      - No Consumable Cooldown
      - Multiply Attack Speed
      - Instant Regen Health
      - Always Crit
      - Material Drops (When you killed an Enemy it will drop materials for crafts)



      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/194526-eternium-cheats-v13355-6/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 85 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