CE调试模拟器找不到进程
本帖最后由 MengFeiA 于 2023-12-12 15:38 编辑rt,这里先说下我的情况。不太会排版,不知道为什么论坛图片和上传顺序相反。
为了表达清楚,我会把自己的步骤完整说明
工具
CE为7.5版,
ceserver 下载地址https://www.cheatengine.org/downloads.php 如图1.png
mumu模拟器12
第一步
吸取了论坛另一个帖子的经验,先把模拟器ROOT打开了。
MuMu模拟器12安装路径C:\MuMuPlayer-12.0\shell点击地址栏输入CMD,回车键呼出命令提示符窗口
第二步,在命令提示符窗口内输入adb.exe connect 127.0.0.1:16384,回车
cmd窗口内容:
C:\MuMuPlayer-12.0\shell>adb.exe connect 127.0.0.1:16384
* daemon not running; starting now at tcp:5037
* daemon started successfully
connected to 127.0.0.1:16384
第三步,手动把ce桥接文件放在了模拟器目录。如图2.png 3.png。
第四步,cmd输入 adb.exe shell,回车
(这里为止是参考了mumu模拟器官方提供的开启adb连接方法https://mumu.163.com/help/20220721/35047_730476.html#a2)
然后执行:
#cd /data/local/tmp/
#chmod 777 ceserver_x86
#./ceserver_x86
结果如下:
C:\MuMuPlayer-12.0\shell>adb.exe shell
Welcome! If you need help getting started, check out our developer FAQ page at:
https://g.126.fm/04jewvw
We're committed to making our emulator as useful as possible for developers,
so if you have any specific requirements or features that you'd like to see
in the emulator, please let us know. We're always open to new ideas and suggestions.
You can find our contact information on the FAQ page as well.
Thanks for using our emulator, happy coding!
22021211RC:/ $ cd /data/local/tmp/
22021211RC:/data/local/tmp $ chmod 777 ceserver_x86
chmod: chmod 'ceserver_x86' to 0777: Operation not permitted
1|22021211RC:/data/local/tmp $ ./ceserver_x86
process_vm_readv=0xf2d15db0
process_vm_writev=0xf2d15e00
listening on port 52736
---
&s=0xffc00cf0
main=0x630fd0a0
sizeof(off_t)=4
sizeof(off64_t)=8
sizeof(uintptr_t)=4
sizeof(long)=4
CESERVERPATH=/data/local/tmp/ceserver_x86/
MEMORY_SEARCH_OPTION=2
ATTACH_TO_ACCESS_MEMORY=0
ATTACH_TO_WRITE_MEMORY=1
MEMORY_SEARCH_OPTION=2
CEServer. Waiting for client connection
socket=4
successfully bound socket
Listening success
IdentifierThread active
IdentifierThread: setting SO_BROADCAST returned 0
IdentifierThread: Calling recvfrom size 6
accept=5
CMD_SET_CONNECTION_NAME
This thread is called Main GUI Thread
第五步,Windows端另起一个终端,进行端口转发:
这里我遇到了一点小问题,看大佬的教程https://www.52pojie.cn//thread-1118993-1-1.html
我直接用WIN+R,输入cmd打开的命令窗口,输入adb forward tcp:52736 tcp:52736,收到如下提示
C:\Users\18076>adb forward tcp:52736 tcp:52736
'adb' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
懵了一下,想到了第一步,在地址栏打开的CMD,过程如下:
C:\MuMuPlayer-12.0\shell>adb forward tcp:52736 tcp:52736
52736
C:\MuMuPlayer-12.0\shell>
到这里应该是成功了。兴冲冲打开了CE却没看到进程,如图 4.png 5.png 6.png。
反复检查不知道哪里出了问题,求助大家。
页:
[1]