Jump to content

How to connect GDB to your rooted Android device


Swagter123

10 posts in this topic

Recommended Posts

 

 

 
 
Note: This is for testing. Gcore and watchpoint may work or not work. gdbserver won't work with emulators because they are emulating network that a computer can't access it directly.


I will make a tutorial about compiling GDB for all platforms for peoples who want to try fixing gcore.


Tested on Android 4.4.4 and 5.1.1 and it works


Requirements:

A rooted device

Android 4.x.x-6.x.x (marshmallow is untested)

Terminal app


Downloads:

GDB server by Google (Android NDK 11c March 2016)

Check your device's Kernel architecture before adding gdbserver!

You can check it using GPU-Z and go to "SYSTEM" tab to see your kernel architecture










GDB v7.11 by Google (Android NDK 11c March 2016)





GDB v7.11 by iAndroHacker (target: arm-linux-androideabi)

 (gcore: have "g" packet error)

 (gcore: working but slow to save)

linux-x86_64 (coming)


Other

 (stable)


How to download the file?


pxNkcdC.png

On your Android device, open Xplore, open confuguration and enable root access


MJcz0iS.png

ZYqf5JN.png

Copy the file gdbserver to /system/bin


sL1ldTS.png

Open the Terminal app, input:

Code (Text):
su
and hit enter. input


Code (Text):
dumpsys meminfo
and hit enter to show all the processes.


SePQSGm.png

pick one of the process you want to attach and input


Code (Text):
gdbserver :<port> --attach <pid>
Replacing <pid> with the PID number and <port> with the port number. you can put any ports from range 0-65536 but make sure that the port you input is not in use


NXI0xN1.png

Hit enter and the gdbserver will attach the process and listen to the port


NcSdbzm.png

Open Wi-Fi settings and check your local IP


nxzLk8n.png

On Linux/Mac OS X, open the "gdb" file


On Windows, open the "gdb.exe" file


input:


Code (Text):
target remote 192.168.1.25:1234
to connect to your device


6vvIhkq.png

That's all. Now you can use GDB remotely


GYd5zzU.png

Credit:

iAndroHacker
 

 

 

You have to connect it remotely to as it wont support some so for that type in tcp tcp: port port(port number)

And then target remote ip address:port

And this will work on 2 or 3 devices like nexus 9 and nexus 8 with exception of watchpoints like you can only use breakpoints not all and maybe it supports any other devices to make it support to other devices like note 3 you will have to convert it with adb and forward the port .

You have to connect it remotely to as it wont support some so for that type in tcp tcp: port port(port number)

And then target remote ip address:port

And this will work on 2 or 3 devices like nexus 9 and nexus 8 with exception of watchpoints like you can only use breakpoints not all and maybe it supports any other devices to make it support to other devices like note 3 you will have to convert it with adb and forward the port .

 

I am gonna add it tommrow saw it in the comments u know what i mean in a... .

I am gonna add it tommrow saw it in the comments u know what i mean in a... .

Thats all i know ik some more about breakpoints with it like how to support it with other devices using gcore and dumping lib file of the game then removing syscall from it ik you got shocked but there is syscall in android also removing it will support all the breakpoints so.. cannot say more here.

And do u have the permission to share iAndroidhacker tuts or i shall asko him bout that?

Thats all i know ik some more about breakpoints with it like how to support it with other devices using gcore and dumping lib file of the game then removing syscall from it ik you got shocked but there is syscall in android also removing it will support all the breakpoints so.. cannot say more here.And do u have the permission to share iAndroidhacker tuts or i shall asko him bout that?

I do

Archived

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

Guest
This topic is now 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
        • Thanks
        • Like
      • 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
        • Like
      • 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/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 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/
        • Agree
        • Like
      • 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
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 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
        • Winner
        • Like
      • 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
        • Agree
        • Like
      • 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/
        • Informative
        • Like
      • 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/
        • Agree
        • Winner
        • Like
      • 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