Jump to content

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


ThePianoGuy

5 posts in this topic

Recommended Posts

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

 

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

Archived

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

  • Our picks

    • Modded/Hacked App: 城の戦争防衛 By MOBIRIX
      Bundle ID: com.mobirix.dfpt
      iTunes Store Link: https://apps.apple.com/jp/app/%E5%9F%8E%E3%81%AE%E6%88%A6%E4%BA%89%E9%98%B2%E8%A1%9B/id6654911232?uo=4

      🤩 Hack Features

      - Currency [ Earn Some After Disable Hack ]

      - Units Unlocked

      - Unit Cost 0

      - Unit CD

      - Unit Limit No Unlimited Deploy [ Use Only When Enter The Battle ]

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack
      • 1 reply
    • Castle War Defense 城の戦争防衛 v1.2.0 [ +5 Jailed ] Currency Max
      Modded/Hacked App: 城の戦争防衛 By MOBIRIX
      Bundle ID: com.mobirix.dfpt
      iTunes Store Link: https://apps.apple.com/jp/app/%E5%9F%8E%E3%81%AE%E6%88%A6%E4%BA%89%E9%98%B2%E8%A1%9B/id6654911232?uo=4
       
      🤩 Hack Features

      - Currency [ Earn Some After Disable Hack ]

      - Units Unlocked

      - Unit Cost 0

      - Unit CD

      - Unit Limit No Unlimited Deploy [ Use Only When Enter The Battle ]

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 0 replies
    • Modded/Hacked App: Sweet Cube Blast By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.sweetcubesmatchblast
      iTunes Store Link: https://apps.apple.com/us/app/sweet-cube-blast/id6444350503?uo=4


      🤩 Hack Features

      - Coins

      - Lives

      - Stars No Need [ Task ]

      - Booster

      - Auto Win

       

      ⬇️ iOS Hack Download IPA Link
      • 0 replies
    • Sweet Cube Blast v25.0124.00 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Sweet Cube Blast By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.sweetcubesmatchblast
      iTunes Store Link: https://apps.apple.com/us/app/sweet-cube-blast/id6444350503?uo=4 

      🤩 Hack Features

      - Coins

      - Lives

      - Stars No Need [ Task ]

      - Booster

      - Auto Win

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack
      • 3 replies
    • Frost & Flame: King of Avalon Cheats v20.7 +2
      Modded/Hacked App: Frost & Flame: King of Avalon By FunPlus International AG
      Bundle ID: com.diandian.kingofavalon
      iTunes Store Link: https://apps.apple.com/us/app/frost-flame-king-of-avalon/id1084930849?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense

      NOTE: Cheat maybe buggy so make sure you have both features on. Don't ask me why cuz I have no idea

       

      Free Non-Jailbroken Hack: https://iosgods.com/topic/188621-frost-flame-king-of-avalon-v1990-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/188620-frost-flame-king-of-avalon-cheats-v2000-2/
      • 42 replies
    • Dream League Soccer 2024 v12.110 +12 Cheats
      Modded/Hacked App: Dream League Soccer 2024 By First Touch Games Ltd.
      Bundle ID: com.firsttouch.dls7
      iTunes Store Link: https://apps.apple.com/us/app/dream-league-soccer-2024/id1462911602?uo=4


      Hack Features:
      - Stupid AI
      - No Foul
      - No Injuries
      - No Offside
      - Freeze Stamina
      - No Substitutions Limit
      - No Forfeit Penalty
      - Custom Logo Unlocked
      - Custom Kit Unlocked
      - Unlock Customizations
      - Throw In to End Current Half
      - Freeze Match Clock

      Notes: Play offline if you get kicked out of match.


      Non-Jailbroken & No Jailbreak required hack(s): 
       

      iOS Hack Download Link: https://iosgods.com/topic/138633-dream-league-soccer-2024-v11230-12-cheats/
      • 2,096 replies
    • Candy Crush Soda Saga Cheats v1.287.3 +3
      Modded/Hacked App: Candy Crush Soda Saga By King.com Limited
      Bundle ID: com.midasplayer.apps.candycrushsodasaga
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-soda-saga/id850417475?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

      - Freeze Moves
      - Freeze Lives
      - Freeze Boosters


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191667-candy-crush-soda-saga-v12861-jailed-cheats-3/

       

      📥 iOS Hack Download Link: https://iosgods.com/topic/191666-candy-crush-soda-saga-cheats-v12873-3/
      • 3 replies
    • Evil Hunter Tycoon Cheats v1.384 +10
      Modded/Hacked App: Evil Hunter Tycoon by SuperPlanet corp.
      Bundle ID: com.superplanet.evilhunter
      iTunes Store Link: https://apps.apple.com/us/app/evil-hunter-tycoon/id1493512288?uo=4&at=1010lce4


      Hack Features:
      - Hero Legendary when visit the village
      - God Mode PvE
      - Huge Damage PvE
      - Infinite Coin (Turn on before tap to enter the game, earn some or spend some)
      - Freeze Material (Upgrade, create new weapon, armor, etc ...)
      - Free Store  
      - Free iAP
      - Disabled Anti Cheat

      iOS Hack Download Link: https://iosgods.com/topic/121180-arm64-evil-hunter-tycoon-cheats-v124-10/

      Credit: Laxus
      • 2,325 replies
    • Magical Girl Dungeon v1.1.6 +3 Jailed Cheats [ Damage ]
      Modded/Hacked App: Magical Girl Dungeon By Kenjirou Uesaka
      Bundle ID: com.KCG.MahoDungeon
      iTunes Store Link: https://apps.apple.com/us/app/magical-girl-dungeon/id6741759536?uo=4

       


      🤩 Hack Features

      - God Mode
      - Damage Multiplier
      -- No Ads
      • 0 replies
    • Magical Girl Dungeon v1.1.6 +3 Cheats [ Damage ]
      Modded/Hacked App: Magical Girl Dungeon By Kenjirou Uesaka
      Bundle ID: com.KCG.MahoDungeon
      iTunes Store Link: https://apps.apple.com/us/app/magical-girl-dungeon/id6741759536?uo=4

       


      🤩 Hack Features

      - God Mode
      - Damage Multiplier
      -- No Ads
      • 3 replies
    • Racing Kingdom v0.34.126 +2 Jailed Cheats [ Auto Win ]
      Modded/Hacked App: Racing Kingdom By SUPERGEARS OYUN YAZILIM TEKNOLOJI VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.supergears.racingkingdom
      iTunes Store Link: https://apps.apple.com/us/app/racing-kingdom/id6468027706?uo=4

       


      🚀 Hack Features

      - Auto Win
      - Freeze Rival


      🍏 Jailbreak iOS hacks: [Mod Menu Hack] Racing Kingdom v0.33.6 +2 Cheats [ Auto Win ] - ViP Cheats - iOSGods
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 6 replies
    • Racing Kingdom v0.34.126 +2 Cheats [ Auto Win ]
      Modded/Hacked App: Racing Kingdom By SUPERGEARS OYUN YAZILIM TEKNOLOJI VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.supergears.racingkingdom
      iTunes Store Link: https://apps.apple.com/us/app/racing-kingdom/id6468027706?uo=4

       
       

      🚀 Hack Features

      - Auto Win
      - Freeze Rival


      🍏 For Non-Jailbroken & No Jailbreak required hacks: [IPA Mod Menu] Racing Kingdom v0.33.6 +2 Jailed Cheats [ Auto Win ] - ViP Non-Jailbroken Hacks & Cheats - iOSGods
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 27 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