Android 8.0+ (API 26–35) · Kotlin & Jetpack Compose · Wi-Fi LAN & BLE · Direct Boot · In-App OTA
Tiếng Việt · English · Releases · Contributing · Security · License
CarBridge là ứng dụng Android hợp nhất (1 file APK duy nhất cho cả hai vai trò Điện thoại gửi và Android Box nhận) giúp gửi nhanh liên kết bản đồ, video/nhạc, trang web, clipboard và tệp/APK từ điện thoại sang màn hình Android Box trên ô tô qua Wi-Fi / LAN (Hotspot) hoặc Bluetooth Low Energy (BLE).
| Nhóm tính năng | Chi tiết hoạt động |
|---|---|
| Dẫn đường thông minh | Hỗ trợ Google Maps (kể cả tên miền quốc gia như google.com.vn/maps), Waze, Vietmap Live & Vietmap S2. Giữ chuẩn tọa độ ghim đích (!3d!4d / query điểm dừng), tự chuyển đổi sang ứng dụng bản đồ có sẵn trên Box nếu thiếu app đích. |
| 3 chế độ kết nối đồng bộ | Tự động (LAN + BLE) ưu tiên Wi-Fi/Hotspot tốc độ cao và tự chuyển BLE khi không chung mạng; Chỉ Wi-Fi LAN; hoặc Chỉ BLE khóa chặt kênh Bluetooth LE. |
| Media, Web & Tiện ích | Tự chuyển link YouTube / YT Music (video, Shorts, Live, Playlist) sang app YT Music Morphe / RVX / ReVanced / gốc trên Box; hỗ trợ đồng bộ Clipboard 2 chiều, mở liên kết web, truyền tệp / APK, Share Sheet (Gửi lên Xe (CarBridge)) và Widget gửi nhanh. |
| Ghép nối & Bảo mật | Ghép nối nhanh bằng mã QR, nhập IP/MAC thủ công hoặc tự dò thiết bị; bảo vệ bằng mã PIN 6 chữ số ngẫu nhiên chống brute-force; lưu bền tối đa 10 Android Box gần đây. |
| Ổn định trên Android Box | Hỗ trợ Direct Boot (LOCKED_BOOT_COMPLETED), sao lưu cấu hình sang Device-Protected Storage, Foreground Service (connectedDevice | specialUse | dataSync), BoxWatchdogJobService và tùy chọn RootHelper (tự mở / giữ split-screen / cài APK). |
| Cập nhật OTA trong app | Tự kiểm tra bản phát hành mới từ GitHub Releases qua HTTPS, ưu tiên ABI arm64-v8a và giữ tiến trình tải bền vững khi xoay màn hình. |
| Kênh | Thông số kỹ thuật | Vai trò |
|---|---|---|
| TCP Socket | Cổng 48291 |
Truyền lệnh điều hướng, liên kết, clipboard và tệp/APK trên LAN / Hotspot |
| UDP Discovery | Cổng 48292 |
Quảng bá sự hiện diện của Android Box trong mạng nội bộ |
| UDP Probe | Cổng 48293 |
Thăm dò trực tiếp trạng thái trực tuyến của Box đã lưu |
| NSD (mDNS) | _carmap._tcp. |
Khám phá thiết bị IPv4 tự động trong cùng mạng Wi-Fi / Hotspot |
| Bluetooth LE | BLE GATT + Mutex ACK | Dự phòng hoặc chạy độc lập khi không dùng Wi-Fi, khử trùng lặp MAC xoay (RPA) |
- Tải file
CarBridge-vX.Y.Z.apkmới nhất từ trang Releases. - Cài đặt APK trên cả Điện thoại và Android Box.
- Trên Android Box: mở CarBridge → chọn vai trò Android Box (Nhận) → cấp quyền Thông báo, Vị trí/Bluetooth (nếu dùng BLE), Cài đặt ứng dụng (nếu dùng OTA/truyền APK) và cho phép chạy nền không giới hạn pin.
- Trên Điện thoại: mở CarBridge → chọn vai trò Điện thoại (Gửi) → quét QR Code trên màn hình Box (hoặc chọn Box từ danh sách dò tự động LAN/BLE) và xác nhận mã PIN 6 số.
- Mở Google Maps / Waze / Vietmap / YouTube trên điện thoại → nhấn Chia sẻ (Share) → chọn Gửi lên Xe (CarBridge) hoặc dùng Widget trên màn hình chính.
- Hệ điều hành: Android 8.0 trở lên (
minSdk = 26,targetSdk = 35, kiến trúcarm64-v8a). - Tài liệu liên quan: Hướng dẫn phản hồi & đóng góp · Chính sách bảo mật · Giấy phép bản quyền.
CarBridge is a unified Android application (a single APK serving both Phone Sender and Car Android Box Receiver roles) that sends navigation links, media, web URLs, clipboard text, and files/APKs from your phone to your car's Android Box over Wi-Fi / LAN (Hotspot) or Bluetooth Low Energy (BLE).
| Category | Capabilities |
|---|---|
| Smart Navigation Bridge | Supports Google Maps (including regional domains such as google.com.vn/maps), Waze, Vietmap Live, and Vietmap S2. Preserves exact destination pin coordinates (!3d!4d / destination query) and automatically falls back to an installed map app on the Box if needed. |
| 3 Synced Connection Modes | Auto (LAN + BLE) prioritizes high-speed LAN/Hotspot and seamlessly falls back to BLE; Wi-Fi LAN Only; or BLE Only for strict Bluetooth LE operation. |
| Media, Web & Utilities | Routes YouTube / YT Music links (videos, Shorts, Live, Playlists) directly to YT Music Morphe / RVX / ReVanced / official on the Box; supports 2-way Clipboard sync, web links, file/APK transfer, Android Share Sheet, and a quick-send Home Screen Widget. |
| Pairing & Security | Instant QR Code pairing, automatic LAN/BLE discovery, or manual IP/MAC entry; protected by a randomly generated 6-digit PIN with brute-force lockout; persists up to 10 recent Boxes. |
| Android Box Reliability | Built for unattended automotive head units with Direct Boot (LOCKED_BOOT_COMPLETED), Device-Protected Storage config backup, Foreground Services, BoxWatchdogJobService, and optional RootHelper support. |
| In-App OTA Updater | Checks GitHub Releases over HTTPS, selects compatible arm64-v8a builds, and preserves download progress across configuration changes. |
| Channel | Technical Spec | Purpose |
|---|---|---|
| TCP Socket | Port 48291 |
Reliable payload delivery (navigation, media, clipboard, files/APKs) over LAN/Hotspot |
| UDP Discovery | Port 48292 |
Local network broadcast discovery for Android Box receivers |
| UDP Probe | Port 48293 |
Direct online status check for saved Box endpoints |
| NSD (mDNS) | _carmap._tcp. |
Automatic IPv4 service discovery on shared Wi-Fi / Hotspot networks |
| Bluetooth LE | BLE GATT + Mutex ACK | Low-power transport when Wi-Fi is unavailable, with RPA MAC deduplication |
- Download the latest
CarBridge-vX.Y.Z.apkfrom Releases. - Install the APK on both your Android Phone and Car Android Box.
- On the Android Box, choose Android Box (Nhận / Receiver) and grant Notifications, Bluetooth/Location (for BLE), Unknown Sources (for APK/OTA), and unrestricted battery optimization.
- On the Phone, choose Điện thoại (Gửi / Sender), scan the Box QR Code (or pick the discovered Box), and verify the 6-digit PIN.
- Share any place, route, or YouTube link from your phone and select Gửi lên Xe (CarBridge).
- Platform: Android 8.0+ (
minSdk = 26,targetSdk = 35,arm64-v8a). - Policies: Contributing Guidelines · Security Policy · Proprietary License.