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 


android ceserver APK
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
abystus
Expert Cheater
Reputation: 1

Joined: 09 Dec 2010
Posts: 140

PostPosted: Thu Aug 07, 2014 4:14 am    Post subject: Reply with quote

Dark Byte wrote:
I'll see about saving it. Out of curiosity, what compression level did you set it to for best results? (Up from default, down from default?)


Well since it didn't save my settings for network compression, I cannot check it to see what it was set at, but I believe it was about a quarter of the way down from the top (default being at the bottom). I noticed that it was no longer taking a full 2 minutes for an initial search to complete, and more like 6-12 seconds. I'm sure this all depends on the memory occupied by said android application, so results could vary (need to test this a bit more).

By the way, isn't there a setting you can apply on the application side to keep it from changing orientation (I've seen other applications that will not rotate regardless of what setting the phone has). I'll have to revisit it again tomorrow evening to see if there were 0's in the title when I couldn't change the value, but I don't think anything had changed since I was and wasn't able to change the value outside of enabling/disabling the debugger. I'll give it a more thorough run-through tomorrow evening with some different applications to see if the same issues occur.
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 Aug 07, 2014 5:03 pm    Post subject: Reply with quote

i've uploaded a new version that deals with the rotation issue (keep in mind, the logging is still disabled when it's not the foreground activity, so if something goes wrong while you're playing the game, it won't be logged)

(Might need a reboot/force close ceserver with the terminal app command kill )

_________________
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
abystus
Expert Cheater
Reputation: 1

Joined: 09 Dec 2010
Posts: 140

PostPosted: Fri Aug 08, 2014 1:46 am    Post subject: Reply with quote

Tried your latest, and your orientation fix seems to be working. I was able to re-hack the points address in "Bubble Burst Free", but again when attempting to see what accessed it nothing was found. As soon as you attach the debugger, you are no longer able to modify values (at least in this game, but may apply to others). I then closed Cheat Engine (had to force close it to stop the connection to the server on the phone), force close the server on my phone, and restarted the game. Since then the server reports the following every time I attempt to start it after a force close:

Code:

Welcome to the CEServer test app
Expect it to not work
Trying to fetch ceserver from the package...
stage 1 success
Failure... You're screwed:java.io.FileNotFoundException: /data/data/org.cheatengine.cetest/ceserver: open failed: ETXTBSY (Text file busy)


I know this has been reported before, though it usually goes away if I force close the server software. Also, I get the following error when attempting to start the service sometimes:

Code:

main=0xe590
CEServer. Waiting for client connection
socket=4
bind=-1
Terminate server
goodbye


I'd assume restarting my phone would resolve the issue, but that would be quite the hassle to have to do regularly when having to force close the server. Also to answer your question previously asked about the compression, it is 2 notches down from the top of the slider near Max Compression which usually yields a fast search. I know the server software is kinda an alpha atm, so I'll give further judgement later on when it is more "complete". Let me know if you want more tests, or if you would like to just take a look at what has been reported thus far.
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 Aug 08, 2014 3:34 am    Post subject: Reply with quote

Did you make sure to add the address as an hexadecimal address? (Don't doubleclick the address, especially when it's green)

And yeah, as i said in the first post right now there is no way to terminate it (force closing the app makes it worse when the ceserver hasn't crashed as that will sever the link)

When you get bind -1 open a terminal and do a "ps | grep ceserver" and then as root execute "kill -9 <pid>" to get rid of it

Edit: i just got this game and i'll check it out later. Anyhow, from first glance i see it doesn't have a /lib part, which means that it's most likely that if debugging will work, the code you'll find will either be jitted, or part of the dalvik/art virtual machine

edit2:
It seems to work. This is the code that writes score
Code:

40827B18 - 02 01 95 E7 - LDR R0,[R5, R2 LSL 2]
40827B1C - B4 70 F4 E1 - MVNS R7,R4,LSR R0
40827B20 - 01 00 83 E7 - STR R0,[R3, R1] <<
40827B24 - FF C0 07 E2 - AND IP,R7,FF
40827B28 - 0C F3 88 E0 - ADD PC,R8,IP,LSL 6

R10=00000074
R11=00000090
R12=00000001
R13=41180B38
R14=5B3B75E8
R15=50A37D8C
R16=0054B828
R17=000030F4
R18=40823DC0
R19=00000001
R10=00000000
FP=00000002
IP=000000F5
SP=BEB18858
LR=00000000
PC=40827B20
CPSR=20000010
ORIG_R0=FFFFFFFF

Also, as I suspected, that code belongs to libdvm.so, which means it's used by everything else as well. (for this game you'll need to specifically target the java part)

(and yeah, it looks like after debugging the log gets flooded with messages)

_________________
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
Radiation
Grandmaster Cheater
Reputation: 14

Joined: 17 Jun 2009
Posts: 842
Location: Chernobyl

PostPosted: Tue Aug 12, 2014 5:24 pm    Post subject: Reply with quote

When I scan for values in a process on android, most of the addresses show up as [module+base] notation which display values as ??, but the addresses that do not have this notation (straightforward address without offset) have a value next to them. Refer to screenshot below.

PS: I'd like to mention that my SELinux is Enforced. I will be changing that to Permissive on my next reboot.



Screenshot 2014-08-12 14.34.12.png
 Description:
 Filesize:  60.99 KB
 Viewed:  43774 Time(s)

Screenshot 2014-08-12 14.34.12.png



_________________
Jesus loves you, Hitler! Smile

Playing/Embedding XM and MOD files in Visual Basic 6

.erutangis ruoy ni siht esu neht ,sdrawkcab siht daer ot hguone trams erew uoy fI
I can spell your name backwards: ‮Hitler
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: Tue Aug 12, 2014 5:57 pm    Post subject: Reply with quote

yeah, it's an issue with the symbol handler. Since your version of libc's malloc apparently gives a name to memory regions the symbol handler thinks it's a symbol that can be used. I'll need to add a filter for modules and module symbols only
_________________
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
Radiation
Grandmaster Cheater
Reputation: 14

Joined: 17 Jun 2009
Posts: 842
Location: Chernobyl

PostPosted: Sat Aug 30, 2014 5:20 am    Post subject: Reply with quote

is there any more development going on with ceserver? looking forward to testing out more builds and providing feedback
_________________
Jesus loves you, Hitler! Smile

Playing/Embedding XM and MOD files in Visual Basic 6

.erutangis ruoy ni siht esu neht ,sdrawkcab siht daer ot hguone trams erew uoy fI
I can spell your name backwards: ‮Hitler
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 Aug 30, 2014 5:40 am    Post subject: Reply with quote

nothing special right now besides the gui looking a little more ordered. Currently i'm designing a local gui and still learning android gui stuff. (trying to get the hang of this listview thing for the results and addresslist)
After that i'll need to convert the most important parts of CE to a library with java jni calls, and attach the gui to that.

In the end it'll probably require an android system with at least 2GB RAM, but I'll see about using less buffers so it'll eat less memory (but will be slower)

And after that i'll look into the issues with ceserver like the symbol issue, and add in some speedboosts in the ceserver side itself (e.g perhaps a scan done from inside ceserver itself, assuming I can get the memory usage down)

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

Joined: 26 Nov 2014
Posts: 1

PostPosted: Wed Nov 26, 2014 6:02 pm    Post subject: Reply with quote

Hey guys!

Since i knew about the release of CE Server it was like exploring a new world!
And it turned out some things are too hard to handle for someone like me: not dumb, still not a profi.

I've managed to find a ceserver script for Android OS to run it and being able to connect with CE 6.4, but then I wanted to make a faster connection.
That's where I had to retreat and find myself right here.

What's happened: I've found out that I can set a connection for my android gadget using USB cable, to do this I had to use USB tether. I don't know how it works, to be honest, so I had to try several to find the working one: the one realeased by clockworkmod.
To connect using wi-fi connection I had to change none of the network settings (I mean setting the IP adress, mask, DNS etc.), but using the tether I said aout requires such things.
In the manual in russian (my native language) that I've found was said to set particular IP and mask (idk why, I know very little about network configuration since I'm not an IT specialist), but the clockworkmod's Tether app makes all the settings in auto mode.
The result: tether is running well, according to the status monitor, but CE doesn't find the server in Network list.

Any comments on this situation? I'd love to use CE for Android, but can't fix the problem since I can't analyze it due to lack of knowledge.
Mb something should be done to modify the CEServer script or is it the Tether which works wrong...

Hope to see a reply from you! I count on you! Very Happy
Thank you!
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: Wed Nov 26, 2014 7:30 pm    Post subject: Reply with quote

Try runnin this on your windows system (from the path where you have ADB, or if it's in the path anywhere)
Code:

adb forward tcp:52736 tcp:52736


then connect to 127.0.0.1 port 52736
If i'm correct the connection will then go through the usb connection

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

Joined: 02 Dec 2014
Posts: 6

PostPosted: Tue Dec 02, 2014 8:29 pm    Post subject: Reply with quote

For those experiencing slowness issues over USB, I can highly recommend running CE Server on an emulator (I'm using Andy, because it's easy to root).

Scanning is very quick - almost as fast as an app running natively on Windows.

I had to recompile CEServer as x86 to get it to run on the emulator, but that only took an hour or so, including code modifications. Some functions are not supported (speedhack etc) but memory reading/writing works perfectly well.
Back to top
View user's profile Send private message
0xq1
How do I cheat?
Reputation: 0

Joined: 05 Jul 2013
Posts: 2

PostPosted: Sat Dec 13, 2014 8:10 pm    Post subject: Reply with quote

Related Question: Was this succesfully tested with ART Runtime (>= Android 5.0) ?
Back to top
View user's profile Send private message
zang3tsu
How do I cheat?
Reputation: 0

Joined: 23 Dec 2014
Posts: 1

PostPosted: Tue Dec 23, 2014 11:51 pm    Post subject: Reply with quote

I'm getting this error when running it in Android 5.0:

Code:
Error:error: only position independent executables (PIE) are supported.


EDIT: I applied the patch found here:http://forum.xda-developers.com/showpost.php?p=57467067&postcount=65
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 Feb 07, 2015 8:27 pm    Post subject: Reply with quote

check out http://cheatengine.org/temp/ceserverupdate.rar

you'll need to replace your cheat engine exe with the one in this archive to use it. (64-bit build only for now)

it's compiled with -fPIC so should work on Android 5, and therefore won't work on old android versions (there are some android versions that can handle both)

(oh yes, it also contains an untested x86 build)

edit: armv7 where it compiles with -fPIE and -pie when linking http://cheatengine.org/temp/ceserver

_________________
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
Goto page Previous  1, 2
Page 2 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