Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


CE 6.3 - problem with Physical Memory Hacking and Debugging

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Zaladine
Expert Cheater
Reputation: 3

Joined: 14 Oct 2012
Posts: 129
Location: Djokdja, Indonesia

PostPosted: Sun Jun 23, 2013 8:29 am    Post subject: CE 6.3 - problem with Physical Memory Hacking and Debugging Reply with quote

I'm hacking games on an android emulator, and to do so i need to access Physical Memory. There are 2 problems:
- CE 6.2 seems work smother for, in CE 6.3, the game (NOT the emulator) often closes when i search for specific values.
- in both version, CE unable to attach debugger to the emulator.

What i have to do to resolve this matter? Thanks in advance.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25831
Location: The netherlands

PostPosted: Sun Jun 23, 2013 8:43 am    Post subject: Reply with quote

Try 6.2 but 6.3 has made no changes at all in that part though, so shouldn't matter

Also, it doesn't make sense that reading memory by a memoryscan crashes one process inside a emulator. If anything your whole system should have crashed if you acceswed hardware memory like apic

You're sure you don't edit the memory? Also, it could be the game crashes because it's idle

Also, if you have root on that emulator try ceserver. There is an android build you can use (requires root)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Zaladine
Expert Cheater
Reputation: 3

Joined: 14 Oct 2012
Posts: 129
Location: Djokdja, Indonesia

PostPosted: Sun Jun 23, 2013 11:16 am    Post subject: Reply with quote

For the 1st aforementioned problem, it was my mistake and i am sorry. I've just do some quick experiments, and it appears that when scanning address with CE 6.3 i was left my browser (chrome) opened in several tabs. While the previous attempt with CE 6.2 was done in clean state (only the emulator and CE 6.2 running).

So, the problem left is debugging the Physical Memory, at which CE 6.3 (and CE 6.2) still unable to attach the debugger to the process...

Also, i'm about to find out how to use this ceserver. Thanks for the quick reply, Dark Byte. Surely, CE is getting better and better...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25831
Location: The netherlands

PostPosted: Sun Jun 23, 2013 11:36 am    Post subject: Reply with quote

Debugging physical memory is impossible for now. Perhaps in the future when i add physical memory emulation to dbvm i might add it (slow as a snail glued to a table)

Also, debugging an emulator will not help you with anything, as it's the emulator's code you get and not the game, and even if it was the game the instruction set would be ARM which ce doesn't yet support

Your best bet is to launch the target in debug mode and debug with jdb's remote debugging, or if it's using native code gdbserver might be useful (but i think you might need root for that but not sure)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Zaladine
Expert Cheater
Reputation: 3

Joined: 14 Oct 2012
Posts: 129
Location: Djokdja, Indonesia

PostPosted: Mon Jun 24, 2013 3:32 am    Post subject: Reply with quote

I am hacking through BlueStacks by the way. And unlike what i've been through with SNES Emulators while ago, the found addresses are keep changing in BlueStacks so creating pointer trails is what i've been trying to do to avoid the burden of finding the address over and over again.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25831
Location: The netherlands

PostPosted: Mon Jun 24, 2013 4:09 am    Post subject: Reply with quote

You can't root bluestacks?

Pointer paths will be extremely difficult because pointer values are relative to the virtual memory inside android
You first need to find a way to convert the physical address to a virtual address in the windows os, then convert that address to a physical address in the android os, and then convert that physical address to a virtual address in the android os

Also, i only know very little about ARM, but last time i screwed around with those the memory controller was something you could add yourself, so it's possible each arm based system might have their own special way to deal with address translations

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites