做了一个用 Android 手机修改 iPhone 定位的 app

2021-02-26 22:42:43 +08:00
 cczhrd

基于 libimobiledevice 开源项目开发的 ,Android 设备 OTG 连接 iPhone 后,修改 iPhone 的经纬度的功能。

演示视频 开源地址

12740 次点击
所在节点    分享创造
94 条回复
harrysun
2021-03-05 05:55:15 +08:00
@cczhrd 收到 试一下
sunulin
2021-03-16 22:02:24 +08:00
这个区域以内(大约是白令海峡往东一直到格陵兰岛从北往南到一直到南极洲,包括在这个区域内的 美洲大陆以及澳洲),点选位置虚拟,不起作用,区域以外没问题,例如远北极圈美洲,不起作用,点选俄罗斯 就没问题;选欧洲的英国没问题,选格陵兰岛到不起作用
cczhrd
2021-03-17 09:03:06 +08:00
@sunulin 好的 谢谢反馈
cczhrd
2021-03-18 17:41:21 +08:00
harrysun
2021-03-25 09:49:02 +08:00
升级新版出现
[09:45:02.234][3] usbmuxd v1.1.2 starting up
[09:45:02.236][4] Creating socket
[09:45:02.236][4] socket port:27015
[09:45:02.237][0] bind() failed: Address already in use
usage: kill [-s signame | -signum | -signame] { job | pid | pgrp } ...
kill -l [exit_status ...]
cczhrd
2021-03-26 08:52:33 +08:00
@harrysun 是一直都是这样?
harrysun
2021-03-26 09:24:30 +08:00
是的啊 之前都是正常的 还有就是建议加百度地图 有国外的地址比较准确
harrysun
2021-03-26 09:25:10 +08:00
Android 是 10 ios 是 14.5 最近 没升级系统
cczhrd
2021-03-26 11:20:20 +08:00
@harrysun 连接 iphone 部分的代码我没动过 重启安卓手机后再用这个软件也不行么 ? 百度地图的话我下个版本加吧。
harrysun
2021-03-28 19:02:41 +08:00
@cczhrd
@cczhrd 两台都重启也试过了 不好用 OTG 有数据就是提示检测不到 iOS 设备
cczhrd
2021-03-29 10:56:34 +08:00
@harrysun https://www.jianguoyun.com/p/DQRxnogQ0vrjCBjpwekD 试试这个版本 应该是有其它软件占用端口了
harrysun
2021-04-26 09:03:30 +08:00
/system/bin/sh: <stdin>[2]: kill:-: arguments must be jobs or
process IDs
[08:31:18.807][3] usbmuxd v1.1.2 starting up [08:31:18.808][4] Creating socket
[08:31:18.809][4] socket port:27015
[08:31:18.809][0] bind() failed: Address already in use
usage: kill [-s signame 1-signum 1-signame] { job I pid I pgrp}... kill -I [exit_s t atus …]
/system/bin/sh: <stdin>[3]: kill:-: arguments must be jobs or
process IDs

1.1.1 版本的错误
cczhrd
2021-04-27 17:30:16 +08:00
@harrysun 可以帮测试下 https://github.com/cczhr/OTGLocation/issues/6 里面的安装包么
harrysun
2021-04-28 05:29:30 +08:00
好的
harrysun
2021-04-28 09:49:55 +08:00
@cczhrd 测试过了 有信任提醒了 需 ios 开发者驱动包 拷入就可以了 再有 地图能不能切换 反应慢 我手机 除了 root 了 就这一个软件
cczhrd
2021-04-28 10:13:35 +08:00
@harrysun 好的 ,我这边是准备切换到百度地图的 ,不过暂时没时间去弄 ,打算五一放假抽点时间再改了。
harrysun
2021-04-28 20:17:48 +08:00
@cczhrd 好的 谢谢您了
xxsm
2021-07-15 10:48:47 +08:00
不 root Android 的话,是不是得大量修改源码来绕过那些权限问题了
yanhuijun1996
2022-06-10 16:52:47 +08:00
node=/dev/bus/usb/001/002 fd=65
[15:58:31.693][3] usbmuxd v1.1.2 starting up
[15:58:31.696][3] Sending signal 15 to instance with pid 31853
usage: kill [-s signame | -signum | -signame] { job | pid | pgrp } ...
kill -l [exit_status ...]
[15:58:34.725][3] usbmuxd v1.1.2 starting up
[15:58:34.732][4] Creating socket
[15:58:34.732][4] socket port:27015
[15:58:34.732][4] Listening on /var/run/usbmuxd
[15:58:34.732][4] Initializing USB
[15:58:34.732][3] Using libusb 1.0.24
[15:58:34.733][4] Registering for libusb hotplug events
[15:58:34.733][4] Found new device with v/p 05ac:12a8 at 1-2
[15:58:34.733][4] Found interface 1 with endpoints 04/85 for device 1-2
[15:58:34.733][4] Using wMaxPacketSize=512 for device 1-2
[15:58:34.733][4] USB Speed is 480 MBit/s for device 1-2
[15:58:34.733][4] 1 device detected
[15:58:34.733][3] Initialization complete
[15:58:34.734][4] Got lang ID 1033 for device 1-2
[15:58:34.735][4] Got serial '00008101000E7D321430001E' for device 1-2
[15:58:34.735][3] Connecting to new device on location 0x10002 as ID 1
[15:58:34.735][3] Connected to v2.0 device 1 on location 0x10002 with serial number 00008101-000E7D321430001E
[15:58:34.735][4] preflight_worker_handle_device_add: Starting preflight on device 00008101-000E7D321430001E...
[15:58:34.738][4] Client 10 accepted: /proc/0/cmdline[0]
[15:58:34.739][4] Client connected to device 1 (1->62078)
[15:58:34.748][4] Client 12 accepted: /proc/0/cmdline[0]
[15:58:34.749][4] Client 12 connection closed
[15:58:34.749][4] Client 12 is going to be disconnected: /proc/0/cmdline[0]
[15:58:34.754][4] Client 12 accepted: /proc/0/cmdline[0]
[15:58:34.758][4] Client 12 connection closed
[15:58:34.758][4] Client 12 is going to be disconnected: /proc/0/cmdline[0]
[15:58:35.030][4] preflight_worker_handle_device_add: StartSession success for device 00008101-000E7D321430001E
[15:58:35.031][4] preflight_worker_handle_device_add: Finished preflight on device 00008101-000E7D321430001E
[15:58:35.034][4] Client 10 is going to be disconnected: /proc/0/cmdline[0]
[15:58:35.073][4] Client 8 accepted: /proc/0/cmdline[0]
[15:58:35.073][4] Client 8 connection closed
[15:58:35.073][4] Client 8 is going to be disconnected: /proc/0/cmdline[0]
[15:58:35.074][4] Client 8 accepted: /proc/0/cmdline[0]
[15:58:35.075][4] Client connected to device 1 (2->62078)
[15:58:35.078][4] Client 9 accepted: /proc/0/cmdline[0]
[15:58:35.079][4] Client 9 connection closed
[15:58:35.080][4] Client 9 is going to be disconnected: /proc/0/cmdline[0]
[15:58:35.080][4] Client 9 accepted: /proc/0/cmdline[0]
[15:58:35.081][4] Client 9 connection closed
[15:58:35.081][4] Client 9 is going to be disconnected: /proc/0/cmdline[0]
[15:58:35.086][4] Client 9 accepted: /proc/0/cmdline[0]
[15:58:35.087][4] Client 9 connection closed
[15:58:35.087][4] Client 9 is going to be disconnected: /proc/0/cmdline[0]
[15:58:35.353][4] Client 8 is going to be disconnected: /proc/0/cmdline[0]
Yan
15.4
ERROR: stat: /sdcard/lockdown/drivers/15.4/DeveloperDiskImage.dmg: No such file or directory
ImageSignature[0]:
Status: Complete
yanhuijun1996
2022-06-10 16:54:23 +08:00
这个是因为没把驱动放到 sdcard/lockdown/目录吗?

但是我在文件管理器找不到这个目录,建立这个目录显示目录已经存在,于是我通过远程直接输入目录地址进去了,稍后晚点我测试一下 感谢楼主

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/756640

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX