r/FacebookPortal • u/Mysterious-Heron3382 • 1d ago
PORTAL-CARPLAY
I turned an old **Facebook Portal** into a CarPlay screen for my **iPhone 7 (iOS 15)** with no adapter, using the open-source app **DiPlay**. Here's what worked, what didn't, and the fixes I needed.
## What you need
- Facebook Portal (mine: Android 10, 1280×800) with **ADB enabled**. Mine has **Settings → Debug → ADB**. Not every Portal/firmware shows this.
- A computer with `adb`
- An iPhone and a Wi-Fi network both devices can join
- **DiPlay** APK from the official GitHub release: https://github.com/shihabal3amri/DiPlay (I used 0.2.22)
## Install
adb install -r DiPlay-0.2.22.apk
No Play Store needed. I also uninstalled/disabled a couple of third-party kiosk/launcher apps that were auto-starting.
## Setup that worked: wireless over home Wi-Fi
The Portal has **no Wi-Fi Direct**, so DiPlay's default wireless mode fails (`WifiP2pManager is unavailable`). Use this instead:
- DiPlay → Settings → Connection → Connection setup → **Existing Wi-Fi / Same LAN**
- Enter the **exact** SSID and WPA2 password of the network the Portal is on
- Put the iPhone on the **same** network (watch out for separate 2.4/5 GHz SSIDs)
- Pair the iPhone with the Portal over Bluetooth
- Tap **Connect phone** and accept CarPlay on the iPhone
How it works: Bluetooth handles the handshake + authentication, then video/audio go over Wi-Fi.
## Fix: music stopped after ~3 seconds
CarPlay showed up, but music paused by itself after 2–3 s. Cause: the Portal is also a **Bluetooth speaker (A2DP sink)** for the iPhone. When music started, Bluetooth grabbed audio focus, lost it to DiPlay, and sent **pause** to the iPhone over AVRCP.
Fix: stop the Bluetooth app from taking audio focus:
adb shell appops set com.android.bluetooth TAKE_AUDIO_FOCUS ignore
Undo:
adb shell appops set com.android.bluetooth TAKE_AUDIO_FOCUS allow
Side effect: the Portal no longer works as a normal Bluetooth speaker. (Setting the A2DP priority to off didn't help, and the Portal blocks the Bluetooth device settings page.)
Also check the media volume. Mine was very low:
adb shell media volume --stream 3 --set 12
## What does NOT work (iPhone 7 / iOS 15)
| Thing | Result |
|---|---|
| Wired CarPlay over USB | ❌ iOS 15 refuses to switch into wired CarPlay mode (`CarPlay configuration request transferred -1 of 1 bytes`). Known issue #509. Needs iOS 17+. |
| CarPlay + AirPlay speaker at the same time | ❌ Picking an AirPlay speaker on the iPhone drops CarPlay (wireless CarPlay itself uses AirPlay). |
| Portal as a Bluetooth remote for music | ❌ No player screen on the Portal; pause didn't reach the iPhone. |
## Tips
- Turn **off** "Connect when the selected iPhone reconnects" if you also use AirPlay speakers, otherwise CarPlay keeps grabbing the phone.
- Keep the iPhone's Personal Hotspot **off**.
- `adb logcat` on DiPlay is very detailed (look for `CONNECTION_DIAGNOSTIC`) and shows exactly which step fails.
## Caveats
- DiPlay is a **public preview made for BYD cars**. Other devices are unsupported.
- It's **not Apple-certified**. It uses an accessory identity taken from public Carlinkit firmware, so a future iOS update could break it.
If you want something more reliable, a Carlinkit adapter + AutoKit app is the "proper" route.