2017-12-11 16:09 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000369Cheat Engine(No Category)public2015-06-11 02:21
Reportergrimmdev 
Assigned ToDark Byte 
PriorityimmediateSeverityblockReproducibilityalways
StatusassignedResolutionopen 
PlatformCESERVEROSAndroidOS Version5.0.2
Summary0000369: error: only position independent executables (PIE) are supported.
DescriptionDevice:Nexus 5
Root Access
Android OS:5.0.2
Tried latest Ceserver files from Cheatengine website. As you can see from the screenshot, it mostly says it all. This error halts the process and keeps me from connecting to it via network.

When I googled the issue I found this.
https://github.com/tatsuhiro-t/aria2/issues/321
Just seems it might need to be compiled with the latest api.
Steps To ReproduceUse any android device with Android L OS.
Run Ceserver with Root privileges.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0000732

Dark Byte (developer)

I've compiled ceserver with -fPIC which should theoretically fix this (untested)

Download http://cheatengine.org/temp/ceserverupdate.rar

Because this build is from the current svn it won't work with the released 6.4 version and requires the current svn build of cheat engine as well.

This archive contains both ceserver and the current 64-bit build of cheat engine. Extract the exe in this archive over the one in your current cheat engine folder (make a backup if you wish)

then replace the ceserver and libceserver-extension.so files on your device with the ones in this archive and see if it works.

Also, there is a 'hack' that removes the PIC requirement in android 5 ( http://forum.xda-developers.com/showpost.php?p=57467067&postcount=65 )

~0000737

grimmdev (reporter)

didn't seem to work, but I'll try the hack with both provided and official ceserver

~0000738

grimmdev (reporter)

well I tried both with the patch/hack, there's an underlying problem still. I just am not really sure what it is, proper way to collect log files? now it shows up and connects.. but after that point.. any app I connect it to, freezes the app and cheat engine on pc also freezes, I tried to make sure they both have the exact same versions. I don't think it worked very well.

~0000739

Dark Byte (developer)

Last edited: 2015-02-09 15:30

View 4 revisions

what does the output of ceserver say?(the last part specifically)


and make sure you only use the new ceserver with the new ce exe. the protocol has changed and there's no handling for different versions yet

try: http://cheatengine.org/temp/ceserver (armv7 version)
I've tested it on an android 5 emulator and it seems to work

~0000819

grimmdev (reporter)

Welcome to the CEServer test app
Expect it to not work
Trying to fetch ceserver from the package...
  stage 1 success
  stage 2 success
    copying.................
  stage 3 success
Extraction successfull
Trying to fetch libceserver-extension.so from the package...
  stage 1 success
  stage 2 success
    copying............
  stage 3 success
Extraction successfull
-BOC-
uid=0(root) gid=0(root) context=u:r:sudaemon:s0
onCommandResult
Welcome
/
drwxrwx--x u0_a212 u0_a212 2015-05-08 03:03 cache
-rwxrwxrwx u0_a212 u0_a212 110112 2015-05-11 23:59 ceserver
lrwxrwxrwx install install 2015-05-04 05:00 lib -> /data/app-lib/org.cheatengine.cetest
-rwxrwxrwx u0_a212 u0_a212 71240 2015-05-11 23:59 libceserver-extension.so
drwxrwx--x u0_a212 u0_a212 2015-05-08 03:03 cache
-rwxrwxrwx u0_a212 u0_a212 110112 2015-05-11 23:59 ceserver
lrwxrwxrwx install install 2015-05-04 05:00 lib -> /data/app-lib/org.cheatengine.cetest
-rwxrwxrwx u0_a212 u0_a212 71240 2015-05-11 23:59 libceserver-extension.so
&s=0xbe9aaa20
main=0xe590
CEServer. Waiting for client connection
socket=3
IdentifierThread active
bind=0
listen=0
Identifier thread received a message :1
sizeof(packet)=6
packet.checksum=3e
packet.checksum=31e4
sendto returned 6
accept=5

~0000820

grimmdev (reporter)

also it seems to freeze my app every time I've opened a process on it, well it's been doing that since I updated to android L (5)

~0000821

grimmdev (reporter)

I have found a real solution, instead of using the the ceserver.
I used this.
http://forum.cheatengine.org/viewtopic.php?t=579943 and I was able to fix it without using the pie hack, in fact the problem seemed to be CM and how it handles Super User, I tried several different options. I found that chainfires Super user app with it's binaries solved the issue completely.
+Notes

-Issue History
Date Modified Username Field Change
2015-02-07 14:35 grimmdev New Issue
2015-02-07 14:35 grimmdev File Added: Screenshot_2015-02-07-06-12-18.png
2015-02-08 03:24 Dark Byte Note Added: 0000732
2015-02-08 03:24 Dark Byte Assigned To => Dark Byte
2015-02-08 03:24 Dark Byte Status new => assigned
2015-02-08 07:08 grimmdev Note Added: 0000736
2015-02-08 07:14 grimmdev File Added: Screenshot_2015-02-07-22-59-31.png
2015-02-08 07:15 grimmdev Note Added: 0000737
2015-02-08 07:39 grimmdev Note Added: 0000738
2015-02-08 08:02 grimmdev Note Deleted: 0000736
2015-02-08 11:58 Dark Byte Note Added: 0000739
2015-02-08 12:14 Dark Byte Note Edited: 0000739 View Revisions
2015-02-08 12:48 Dark Byte Note Edited: 0000739 View Revisions
2015-02-09 15:30 Dark Byte Note Edited: 0000739 View Revisions
2015-05-12 08:39 grimmdev Note Added: 0000819
2015-05-12 09:00 grimmdev Note Added: 0000820
2015-06-11 02:21 grimmdev Note Added: 0000821
2016-02-29 11:30 Carter Greatshow Issue cloned: 0000451
2016-06-05 15:18 Jptnuc Issue cloned: 0000486
+Issue History