Skip to content

OpenXPlay Relay for Android 0.2.3

Choose a tag to compare

@github-actions github-actions released this 31 Oct 03:30
· 122 commits to main since this release
android-v0.2.3
d0a08f8

Android 0.2.3 — a Home drawn as cables, high performance mode, background access, logs that explain stalls and interruptions, and iOS 16 wireless experiments

New

  • Home draws the connection top to bottom: the iPhone, this phone and the car joined by cables that fill as steps finish, with the steps done on each cable; this phone's own steps fill a ring around it. The iPhone is drawn from the back and this phone as the Android robot. Only steps that need you (!) or failed (x) carry a badge. The step drawer's handle says "Swipe up for all steps" with the overall count.
  • High performance mode in Settings > Display, on by default: 20 s after CarPlay connects, the screen dims and every animation stops; only "CarPlay connected" stays. Tap the screen to bring Home back.
  • Settings > Background shows whether OpenXPlay Relay may run unrestricted in the background, asks the system for it with one tap, and opens the phone maker's autostart and battery saver pages where they exist. The Background step on Home and the last page of the setup guide open it.
  • Suggest working modes: the relay learns whether this phone turns Wi-Fi off while its hotspot is on. When the chosen setup needs both, it suggests the modes that work: the car browser or USB for Carlink or Miracast on this phone's hotspot; this phone's hotspot, the car's hotspot or USB when the hotspot is on and the iPhone connection needs Wi-Fi. A choice opens its settings page with the change made.
  • Watch for stalls: the exported log records process pauses, blocked threads with their stacks, connection steps that stop moving and the power state. It keeps a heartbeat for the next start and restarts a log recorder that went silent.
  • Three options for iPhones, for example on iOS 16, that connect wirelessly but never show a picture: Open the iAP2 Wi-Fi channel only when the iPhone offers it, Release Bluetooth when the iPhone asks, and Wait for the iPhone to reconnect. The last one also stops a restart queued by an earlier session from ending a newer one.
  • Settings > Sound: while "CarPlay audio over the car's Bluetooth" is on, a tip says what to do when the sound plays on the phone: open the Bluetooth settings on the car's centre screen, find the iPhone and switch the icon on its right from muted to play.

Changes

  • The exported log records how every link of the connection ended: which link, how far it had got, who ended it (the other side, the relay, a timeout or the system) and why. Each interrupted iPhone attempt gets one summary with what the relay did next and the phone's Wi-Fi, hotspot, Bluetooth, screen and power state. The car's browser page reports how its previous connection ended.
  • The exported log records every start wait (network, Carlink, car screen, restart) and every refused start with its reason, and notes when the log recorder ended, went silent or left a gap. info.txt adds the Wi-Fi and hotspot facts, the power state, the previous process and recent exit reasons.
  • The Experimental page lists its options under one header per release, newest first.
  • The browser admin page names the relay's real Bluetooth name in the pairing steps, shows one dialog or sheet at a time with time-limited prompts such as the Carlink PIN first, makes Cancel the main button when confirming something destructive, and keeps the setup step that stopped marked with the reason.

Notes

  • High performance mode is on by default; turn it off in Settings > Display.
  • The five new options in Settings > Experimental are on by default. Each can be turned off there; the master switch turns them all off.
  • Known issues: the two iOS 16 options (the iAP2 Wi-Fi channel and releasing Bluetooth) have not been checked on an iPhone with current iOS. If an iPhone stops showing a picture after this update, turn those two off first. The working-mode suggestions have been tested on an emulator only.

Android 0.2.3 — 线缆式主页、高性能模式、后台运行权限、记录卡顿和连接中断原因、iOS 16 无线连接实验

新增

  • 主页从上到下展示连接:iPhone、这台手机和车机之间用线缆相连,随步骤完成逐段填满,并在每条线缆上显示已完成的步骤数;这台手机自身的步骤显示为图标外的圆环。iPhone 以背面示意,这台手机以 Android 机器人示意。只有需要你处理(!)或失败(x)的步骤带角标。步骤抽屉的把手显示「上滑查看全部步骤」和总进度。
  • 「设置 > 显示」中的高性能模式,默认开启:CarPlay 连接成功 20 秒后,屏幕调暗、停止所有动画,只显示「CarPlay 已连接」。轻点屏幕恢复主页。
  • 「设置 > 后台运行」显示 OpenXPlay Relay 能否在后台不受限制地运行,一键向系统申请,并在有对应页面时打开手机厂商的自启动和省电设置。主页的后台运行步骤和设置向导的最后一页都会打开这个页面。
  • 提示可用的连接方式:Relay 会识别这台手机打开热点时是否关闭 Wi-Fi。当前方式需要两者同时开启时,弹窗建议可用的方式:Carlink 或 Miracast 使用此手机热点时,可改用车机浏览器或 USB;热点已开而 iPhone 连接需要 Wi-Fi 时,可改用此手机热点、车机热点或 USB。选择后会打开对应的设置页面并改好设置。
  • 卡顿监测:导出的日志记录进程暂停、线程卡住(含调用栈)、长时间不动的连接步骤和电源状态,为下次启动保留心跳,并重启停止输出的日志记录。
  • 三项功能,用于无线连接后一直没有画面的 iPhone(如 iOS 16):仅在 iPhone 提出时开启 iAP2 Wi-Fi 通道、按 iPhone 请求释放蓝牙、等待 iPhone 自行重连。最后一项还会防止上一次会话排队的重建结束新的会话。
  • 「设置 > 声音」:开启「通过车辆蓝牙播放 CarPlay 音频」时,下方提示声音从手机播放时的处理方法:在车辆中控屏打开蓝牙设置,找到 iPhone,把它右侧的图标从静音改为播放。

变更

  • 导出的日志记录连接中每一段链路的结束:哪一段、进行到哪一步、由谁结束(对方、Relay、超时或系统)以及原因。每次中断的 iPhone 连接有一条汇总,记录 Relay 接下来的处理,以及手机的 Wi-Fi、热点、蓝牙、屏幕和电源状态。车机浏览器页面会上报上一次连接的结束方式。
  • 导出的日志记录每一次启动等待(网络、Carlink、车机屏幕、重建)和每一次被拒绝的启动及原因,并记录日志记录器结束、停止输出或中断的时间。info.txt 增加 Wi-Fi 和热点情况、电源状态、上一次进程和最近的退出原因。
  • 实验功能页面按版本分组,最新的在前。
  • 浏览器管理页面:配对步骤使用 Relay 实际的蓝牙名称;同一时间只显示一个对话框或面板,Carlink PIN 等有时限的提示优先;确认删除等操作时「取消」为主按钮;设置向导会标出停下的步骤并说明原因。

说明

  • 高性能模式默认开启,可以在「设置 > 显示」中关闭。
  • 「设置 > 实验功能」中的五项新功能默认开启,可以分别关闭,总开关可以全部关闭。
  • 已知问题:两项 iOS 16 功能(iAP2 Wi-Fi 通道和释放蓝牙)还没有在当前 iOS 的 iPhone 上验证。如果更新后 iPhone 不出画面,请先关闭这两项。连接方式提示只在模拟器上测试过。

Built from OpenXPlay-Relay@d0a08f866172, OpenXPlay-Stream@9d5b28a96250 and OpenXPlay-DiPlay@37833a068c87.

  • openxplay-relay-0.2.3.apk: the Android app. Signing certificate SHA-256: fca7b492d0feb3a8401eba8dec5b71766415ea6154aed36c9d1838c4c6a186db
  • openxplay-relay.apk: the same app under a fixed name, for the latest-download link.
  • SHA256SUMS: SHA-256 checksums of these files.

Setup: https://openxplay.org/en/quick-start · 设置:https://openxplay.org/quick-start. No build contains an Apple accessory (MFi) identity; supply your own.