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 


Cheat Engine and Android
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
oLaudix
Expert Cheater
Reputation: 3

Joined: 25 Mar 2010
Posts: 138

PostPosted: Sat Sep 17, 2011 9:47 am    Post subject: Cheat Engine and Android Reply with quote

While reading random topics on forum o found this one
Code:
http://forum.cheatengine.org/viewtopic.php?t=540553&sid=542f48ff936bbcf6577b8b88a6aeb522

The part that especially cought my attention was
Quote:
there is only a server for linux and android.

Does that mean i can use cheat engine to hack games on android? If yes how can i do that?
In other topic i found
Quote:
(there is already a ce network interface implementation for android)

which is kinda confirmation that I can use it but there is no topic nor help nor nothing about how to do it.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Sat Sep 17, 2011 10:35 am    Post subject: Reply with quote

make sure your android device has ROOT. If not, root it, or buy one that has the ability to get root.

download the beta of ce 6.2 (sign up with the beta tester usergroup)

extract the ceserver-linux_arm_android to your android device and execute it using the sdk's ADB tool, or using a local terminal app running as root
you might have to make it executable so a "chmod 777 ceserver-linux_arm_android" from the proper dir might be needed before you can execute it (./ceserver-linux_arm_android )

autodiscoverport: 3296 (only needed if you do not know the ip of your device, and only works if your device is not in sleepmode)
used port: 52736 (works even in sleep)

Then run the ce version in this archive, go to the processlist and click the network button. Connect to your android device and target the process you want to cheat on
Now you can scan and edit memory (no debugging or other fancy stuff)

_________________
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


Last edited by Dark Byte on Wed Jan 18, 2012 5:26 pm; edited 2 times in total
Back to top
View user's profile Send private message MSN Messenger
oLaudix
Expert Cheater
Reputation: 3

Joined: 25 Mar 2010
Posts: 138

PostPosted: Sun Sep 18, 2011 4:26 am    Post subject: Reply with quote

No cheats for me then since i still have warranty and rooting makes it invalid. Thx anyway Smile
Back to top
View user's profile Send private message
anc3s
How do I cheat?
Reputation: 0

Joined: 20 Mar 2011
Posts: 3

PostPosted: Sun Sep 25, 2011 6:44 pm    Post subject: Reply with quote

Can't seem to use "chmod 777 ceserver-linux_arm_android" on the terminal emulator. Says "operation not permitted" I am rooted with s-off on cm7.0.3.

Edit1: Preceded chmod with su command now it doesnt say anything after chmod 777 ceserver-linux_arm_android but when i try to open it, I get "permission denied"
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Sun Sep 25, 2011 8:46 pm    Post subject: Reply with quote

start ceserver with su as well
Also, make sure the chmod you used is the actual chmod and not a fake one pointing to a program that does nothing (my rooted asus transformer does this)

It might also be that it may not be on an sdcard. Move it to the /data/ folder if possible (writable)

_________________
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
Undead Maleficar
How do I cheat?
Reputation: 0

Joined: 12 Apr 2012
Posts: 2

PostPosted: Thu Apr 12, 2012 12:38 pm    Post subject: Reply with quote

I downloaded an app named chmod (because the terminal emulator couldn't find chmod on my phone) and set it to 777 but cheatengine isn't detecting my phone as a server.

So i think that set the file permisions to 777 which was the point of the chmod, right? You didn't explain this at all.

Now how do I execute ceserver? It's not an executable or an adb, it doesn't have a filetype so how am I supposed to execute it?

I ran adb.exe in the sdk but all it does is bring up a command prompt flashes a bunch of work way too fast to read and then closes. Is it supposed to do something else?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Thu Apr 12, 2012 1:53 pm    Post subject: Reply with quote

ceserver-linux_arm_android is an executable (linux doesn't use file extensions for that)
go to the folder it is installed and type ./ceserver-linux_arm_android
or su ./ceserver-linux_arm_android if you're currently not using a root shell (or sudo)

if it has been set to executable with chmod, it will run and show some details

If your device does not show up, then give the ip manually

and give the /shell parameter to adb

_________________
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
booingthetroll
Expert Cheater
Reputation: 0

Joined: 30 Aug 2011
Posts: 114
Location: ::1

PostPosted: Fri Apr 13, 2012 1:49 pm    Post subject: Reply with quote

Why do I get this output? I'm sorry to bump, but I really want to get CE on android...
C:\Users\booing\Desktop\ANDROID\Magic>adb shell
# cd /mnt/sdcard
cd /mnt/sdcard
# chmod 777 ceserver-linux_arm_android
chmod 777 ceserver-linux_arm_android
# ./ceserver-linux_arm_android
./ceserver-linux_arm_android
./ceserver-linux_arm_android: permission denied
Why do I get the above error?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Fri Apr 13, 2012 3:17 pm    Post subject: Reply with quote

What kind of device is this? A transformer

I think your chmod is not correct, see if you can findit somewhere. Perhaps in /root or /sbin

Alternatively, it could be your device does not allow execution from the sdcard. Copy it to /data and make it executable there

Tip, use "ls -l" to see if the x flags are set

_________________
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
booingthetroll
Expert Cheater
Reputation: 0

Joined: 30 Aug 2011
Posts: 114
Location: ::1

PostPosted: Sat Apr 14, 2012 4:51 pm    Post subject: Reply with quote

It's not in /root or /sbin. I tried looking in /system/bin, but nothing there either, so I went back to using the default /system/xbin/chmod.
Apparently, LS670ZVH with CM7 can not set executable files on the sdcard... thanks!
Back to top
View user's profile Send private message
Theliel
How do I cheat?
Reputation: 0

Joined: 13 Apr 2009
Posts: 7

PostPosted: Fri May 25, 2012 10:10 am    Post subject: Reply with quote

Im was playing a little with the new CE 6.2 and my Galaxy Nexus, but ceserver_linux_arm_android dont work here: "not executable: magic 7F45"

Some cross compiler problem?

_________________
blog.theliel.es
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Fri May 25, 2012 11:38 am    Post subject: Reply with quote

it's compiled for arm 7 processors. Not sure what the Galaxy nexus uses
Also, perhaps it's just because the binary isn't marked as executable?

Anyhow, the server sourcecode is in the svn, see if you can get it to compile

_________________
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
Theliel
How do I cheat?
Reputation: 0

Joined: 13 Apr 2009
Posts: 7

PostPosted: Fri May 25, 2012 1:51 pm    Post subject: Reply with quote

Thank for your time Dark Byte.

Indeed, Galaxy Nexus its a 2-core ARM Cortex A9 (ARMv7+Neon+VFP), so in theory should work fine them.


I have checked the file:

ceserver-linux_arm_android: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x3e1fffdaa0a0db6f00b5a55784dbd76ab6fb80d1, not stripped


Binary seems to have been compiled for x86-64 instead, and not for ARMv7.

If I have time, I will try compile the source code for the correct platform.

Thank

_________________
blog.theliel.es
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Fri May 25, 2012 2:54 pm    Post subject: Reply with quote

Doh, thanks for pointing it out. It's the installer's fault (the destination filename for x86_64 is ceserver-linux_arm_android, copy/paste error)

download http://cheatengine.org/download/CheatEngine62NoSetup.rar and copy the files from that archive over the one you have now (or just extract the android binary)

I'll be updating the installers in the meantime

_________________
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
Theliel
How do I cheat?
Reputation: 0

Joined: 13 Apr 2009
Posts: 7

PostPosted: Fri May 25, 2012 3:42 pm    Post subject: Reply with quote

Thank Dark, working now.

its a excellent feature. Dont work perfectly, but hey!

Memory map viewer work fine, searching only time to time, to many "Peer has disconnected", some times work, some times CE its frozen.

I have test linux version now.

Thank again for your time.

_________________
blog.theliel.es
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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