Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Harleyyyu

Members
  • Joined

  • Last visited

  1. sorry formatting went duped. i asked ai to summarize it since there has been a lot of code changes.
  2. Version 3.3.0 is out! Since my last post (3.1.0, February 2026) development stopped for about eight months and picked up again at the end of November 2026. Everything below landed in the last three days, split over 3.2.0, 3.2.1 and 3.3.0. The short version: the box now boots into the UI on its own, the stock IR remote drives it properly, Bluetooth lives inside autoapp, and the onboard ESP8089 WiFi works - including a settings page to scan, join and forget networks. WHAT THIS IS ------------ - Android Auto over USB on cheap RK3229 TV boxes. - Armbian "current" (rk322x-box), kernel 6.6.22-current-rockchip. - Full-screen QML UI, designed for 1280x720 and for the stock IR remote (d-pad only); touch and USB keyboards also work. - H.264 decoded by RKVDEC through v4l2-request, output through FFmpeg DRM, so projection stays at low latency on a 4-core A7. - Bluetooth runs inside autoapp (one process): pairing agent and A2DP sink, tested with a TP-Link UB500 (RTL8761BU). Its firmware and initramfs hook are bundled so Bluetooth survives a reflash. TESTED SETUP ------------ - Box: MXQ_RK3229_EMCP_V4.0 (RK3229, 1 GB RAM, 8 GB eMMC, Mali-400MP2) - Armbian 24.2.5, board rk322x-box, branch current - Kernel 6.6.22-current-rockchip (lima, v4l2-request/RKVDEC, gpio_ir_recv) - 1280x720 HDMI, stock RK322x IR remote - WiFi: onboard ESP8089, 2.4 GHz only - Bluetooth: TP-Link UB500 USB dongle WHAT'S NEW SINCE 3.1.0 ---------------------- 3.2.0 - the rebuild (Nov 29 - Dec 1) Runtime and video - Hardware H.264 decode fixed (RKVDEC via v4l2-request) with FFmpeg DRM output, so projection is no longer CPU-bound. - Fixed a crash in the GPS path. - RK3229-specific runtime configuration instead of desktop defaults. - Native Docker cross-build, board deploy and preflight tooling; releases are now built and verified from source, not patched by hand. Remote and UI - The RK322x IR remote works with both Android Auto and the local UI: its 0x01 NEC scancodes are mapped, held keys repeat, and input works under libinput. - The remote can drive the whole settings page, including sliders and option lists. - Real seeking in the music player (the bar follows the drag instead of snapping back), and the clock shows seconds where requested. - Fixed the 12-hour clock and added a real debug mode with a Debug category. - Settings page state, navigation and dead controls fixed. - UI scaled for the 1280x720 panel, with car-sized buttons, full-width option pills and full-width volume/DPI sliders. Bluetooth and media - Bluetooth moved fully inside autoapp: pairing agent, A2DP sink and the Android Auto RFCOMM service, all in one process. - Pair from the phone, not the head unit; full adapter and per-device management in Settings. - The A2DP stream is kept owned, so playback no longer cuts out. - The phone's own volume is honoured instead of overdriving the output. - Media controls drive phone playback, and the music page detects the audio source instead of showing Local/Bluetooth pills. - Wireless Android Auto advertising stays off unless the setting is on. Boot, install, notifications, handedness - openauto-app.service starts at boot; Restart=always brings the UI back after a crash instead of leaving a black screen. - One-command installer for a freshly flashed board, plus a self-contained offline bundle (binaries, aasdk/aap_protobuf, configs, systemd units). - One-line notifications for Bluetooth connections/media, USB drives and Android Auto. - LHD/RHD: the local UI mirrors for right-hand drive, and the handedness is sent to Android Auto instead of always assuming RHD. - UB500 firmware + initramfs hook bundled. Debian's firmware-realtek is deliberately NOT installed (it conflicts with armbian-firmware). 3.2.1 - onboard ESP8089 WiFi (Dec 1) - This is the one that made "the box has no WiFi" go away. - Many RK322x boxes use an ESP8089 SDIO WiFi chip. With the 6.6.x kernel the DTB powers it through only one of its three enable pins and with no power-on delay. Because the MMC host is non-removable, the kernel tries once and gives up: mmc1: Failed to initialize a non-removable card and wlan0 never appears. It is a device-tree problem, not a driver or firmware problem - esp8089.ko and the eagle_fw blobs were already in armbian-firmware. - The installer now adds rk322x-wlan-pwrseq.dtbo: the newer upstream sequencing (GPIO2 PD2, PD5, PD3 + 100 ms delay) as a U-Boot overlay, enabled in /boot/armbianEnv.txt, plus crystal=1 for the 26 MHz part. - Result on this box: the SDIO card enumerates, wlan0 at 18:fe:34:c3:ee:d6, 2.4 GHz scan works, and it survives a reboot. 3.3.0 - WiFi settings (Dec 1) - Settings > WiFi is a working network manager instead of a status readout. - Radio on/off, live status and IP address. - Scan plus a network list with security, signal and saved state; the list re-polls every 15 s. - Connect / Disconnect per network, two-tap Forget for saved profiles. - On-screen keyboard for passphrases, driven by the d-pad or touch (the image ships no virtual-keyboard package, so it is built in). - Hidden Network: joins an SSID the scan cannot see. It creates a hidden=yes NetworkManager profile first, because "nmcli device wifi connect" only works for visible APs. - The top status bar now shows the connected SSID, hidden networks included. - Wireless Projection sits next to the WiFi switch. INSTALL (fresh Armbian install) ------------------------------- Flash an Armbian image for rk322x-box, boot it, get it on the network, then: wget https://github.com/Harleythetech/openauto-rk3229-armbian/releases/download/oark322x-3.3.0/openauto-rk3229.tar.gz tar -xzf openauto-rk3229.tar.gz sudo bash openauto/install-openauto.sh sudo reboot The installer is idempotent and needs internet for apt. It installs the runtime, Qt/QML/BlueZ/Mesa, aasdk/aap_protobuf, the EGLFS/ALSA/IR config, the RTL8761BU firmware and initramfs hook, the ESP8089 overlay, enables openauto-app.service and runs a board preflight (check-board.sh). Upgrading a 3.1.0 or 3.2.x install is the same command: binaries are replaced in place and your openauto.ini is left alone. The image must already expose lima, v4l2-request/RKVDEC and gpio_ir_recv. check-board.sh names anything that is missing. DOWNLOAD -------- Release page: https://github.com/Harleythetech/openauto-rk3229-armbian/releases/tag/oark322x-3.3.0 Asset: openauto-rk3229.tar.gz (58.3 MB, 61093312 bytes) SHA256: 465EC8E2DA4037E3CD5B8B97D86DB89C6D5BB067B7B0A15467F24A56059ABE27 Source and build docs: https://github.com/Harleythetech/openauto-rk3229-armbian OTHER RK322x BOARDS: STANDALONE ESP8089 FIX ------------------------------------------- If you only want the WiFi fix, or you run another RK322x box with the same ESP8089 wiring, there is a standalone script in the repo: scripts/rk322x-esp8089-wifi-fix.sh sudo bash rk322x-esp8089-wifi-fix.sh sudo bash rk322x-esp8089-wifi-fix.sh --crystal 40 # 40 MHz board sudo bash rk322x-esp8089-wifi-fix.sh --reboot sudo bash rk322x-esp8089-wifi-fix.sh --remove # undo It is self-contained (embedded DTS plus a prebuilt dtbo fallback), it merge-tests the overlay before touching /boot, it skips boards that already drive two or more power GPIOs, and it is safe to re-run. After a reboot: dmesg | grep -i mmc1 ip -br link show wlan0 KNOWN LIMITS ------------ - ESP8089 is 2.4 GHz only. No 5 GHz on this hardware. - Android Auto is wired USB; there is no wireless AA. - Bluetooth expects a supported USB dongle (UB500/RTL8761BU tested). Do not assume the box has working onboard Bluetooth. - The WiFi overlay assumes the ESP8089 enable pins are wired as on the MXQ EMCP v4.0. The standalone script checks for that and refuses to touch a board that already drives the pins itself. - 1 GB of RAM is enough for the UI and projection, but this is a 2016-era A7, not a phone. CREDITS / FEEDBACK ------------------ Built on OpenAuto by f1x.studio (GPLv3) and aasdk, on top of Armbian's rk322x-box target. Thanks to the Armbian rk322x maintainers and to everyone who reported issues on the previous releases. If you try this on another RK322x box - especially one with an ESP8089 or a different power-pin wiring - please post whether wlan0 comes up, and paste "dmesg | grep -i mmc1" if it does not. Issues are also welcome on GitHub.
  3. multitool.img.xzHere's Multi-Tool, as always exercise caution and backup your system image first before doing anything.
  4. Version 3.1.0 Has been released! I won't be going into details like last time, this build also includes the fixes for "known issues" from version 3 Alpha build. Bugs Found? Open a ticket in https://github.com/Harleythetech/openauto-rk3229-armbian/issues Download: Github: OpenAuto RK322x - oark322x-3.1.0-beta
  5. @ArturHey Try flashing the TrustOS at 0x2000 since that's where your board is looking for TOS, then flash U-Boot at 0x4000. Basically swapping them out. if anything different happens, let us know.
  6. @ArturHey I Happen to have a backup of multitool on my pc, I have uploaded it to my github page for everyone to download. https://github.com/Harleythetech/RK322x-multitool/releases/tag/rk322x-multitool if you don't need to backup your current operating system you can also just use RKDevelopTool to flash your armbian image to your board. https://github.com/rockchip-linux/rkdeveloptool
  7. Version 3 Has been released! Complete UI Overhaul The entire user interface has been rebuilt from the ground up using Qt QML, delivering a modern automotive HMI experience optimized for touchscreen displays. New Home Screen - Large centered clock with configurable 12-hour/24-hour format - Gradient background (#00021A → #001D3F) - Swipe navigation to media player - Clean, minimal design with Readex Pro typography New Bottom Navigation Dock - 5-button dock: Home | Music | Android Auto | Volume | Settings - Always visible for quick access (except when running AA) - Icon-based navigation with visual feedback New Music Player - Album art display with track metadata - Playback controls (Previous, Play/Pause, Next) - Integrated with system media Redesigned Settings - Modern two-column layout with left sidebar navigation - 8 categories: General, Video, Audio, Input, Bluetooth, WiFi, System, About - Toggle switches, sliders, and radio buttons - Real-time system info (CPU temp, memory, frequency) - Live date/time display in header New Features - 12/24-Hour Time Toggle: Switch between time formats in Settings → General - Readex Pro Font: Variable weight font for consistent automotive typography - Modernized UI: The Original Crankshaft-NG was just not suitable for car use so i had to refresh it Technical Changes - Qt Widgets → QML Migration — Complete rewrite of UI layer - UIBackend Bridge — New C++ backend class exposing 50+ properties to QML - EGLFS Optimized — Designed for direct framebuffer rendering - No Animations — Instant transitions for 1GB RAM constraint - Centralized Theming — Theme.qml singleton for consistent styling Removed - GPIO settings (not applicable to TV Boxes) - DAC settings (using ALSA directly) - RTC settings (no CMOS battery, NTP only) - TSL2561 light sensor support (Pi-specific) - Camera module settings (Pi-specific) Bug Fixes - Fixed Cursor issue by utilizing Cursor plane (41, z-pos 2) - Fixed std::mutex missing include in RtAudioOutput - Fixed ColorOverlay import for Qt GraphicalEffects - Fixed time display showing 24hr with AM/PM suffix - Fixed buffer overflow warning in FFmpegDrmVideoOutput - Fixed QCursor conversion error in autoapp.cpp Known Issues: - Music player metadata not populated (requires media service integration, will be done in the next patch) - Volume popup not implemented (this require modifying the asound.conf before implementing) Issues? Open a ticket in https://github.com/Harleythetech/openauto-rk3229-armbian/issues Download https://github.com/Harleythetech/openauto-rk3229-armbian/releases/tag/oark322x-V3.0.0-alpha
  8. Update: The reason i haven't released the cursor patch is because im working on the GUI. I managed to now use EGLFS with FFMPEG, so it feels right that we modernized the crankshaft-ng GUI to feel more modern and usable.
  9. @jock Thank you for the information, I just updated the thread removing the requirement to use CMA=256. as per openauto it doesn't require cma to be set at 256. Will release the cursor patch with some adjustments to ffmpeg and some GUI changes (mostly settings adjustment)
  10. @jock I figured out why the cursor doesn't show and it's not an armbian issue, the issue is more on how i implemented ffmpeg (previously Kmssink) on openauto and also the same reason why i can't use eglfs for the gui is that i had set ffmpeg to use plane 31 (primary plane, zpos 0) when streaming Android Auto. Since I am forcing the video stream directly onto the Primary Plane (Plane 31) via DRM, the hardware VOP (Video Output Processor) stops scanning out the Linux Framebuffer (/dev/fb0). This means that while Qt is still technically "running" and drawing the mouse cursor to the framebuffer in software, that buffer is simply never sent to the screen. The video stream completely overrides the UI layer. I did manage to fix it tho, since the RK322x SOCs support Tri-Plane, I had to patch ffmpeg to utilize the Cursor Plane (plane 41). Now when AA starts ffmpeg initializes the video on the Primary plane as usual, but simultaneously commits the ARGB cursor buffer to Plane 41 using the shared DRM file descriptor. This allows the VOP to hardware-composite the mouse cursor directly on top of the video stream, finally making it visible without breaking the zero-copy pipeline. As per CMA=256M, ffmpeg was throwing buffer allocation warnings. Interestingly, these warnings persist even with CMA set to 256MB—so the larger CMA didn't actually silence the logs as I initially thought. ffmpeg benchmarks actually run successfully on both 16MB and 256MB despite the warnings. However, I decided to keep the requirement at 256MB purely as a precaution. Given that a 1080p NV12 pipeline with multiple buffers can eat up memory quickly, leaving it at the default 16MB felt risky for long-term stability in a car environment, even if it 'technically' runs. PS: i haven't posted the build with the cursor patch
  11. Inspired by the incredible work @jock and @ilmich have done to make the RK322x platform stable on mainline Linux, I decided to tackle the application side of things. My goal was to turn these "e-waste" TV boxes into fully functional, low-latency Android Auto head units for our cars. This fork of OpenAuto is built as one of my "Is it possible to turn this into that?" projects. It turned out to be one heck of a nightmare to pull off, but at the same time a lot of fun because I can see the potential of these TV Boxes as something you can actually put in your car and turn into a usable head unit! System Requirements Target Device: RK322x TV Box (e.g., MXQ Pro 4K). OS: Armbian Bookworm or Trixie (Kernel 6.1+ recommended). RAM: 1GB recommended. FFMPEG Installed: This build requires a specific build of ffmpeg that can be found here. Release: v2.0.0-alpha This release represents a major architectural overhaul. I have removed heavy dependencies (PulseAudio, QtAudio, GStreamer) in favor of a lean, direct-to-hardware pipeline using RtAudio (ALSA) and FFmpeg v4l2_request. Download: https://github.com/Harleythetech/openauto-rk3229-armbian/releases Technical Details Video Engine: Switched from GStreamer to a custom FFmpeg + V4L2-Request backend. Leverages the v4l2drmprime patch set for Zero-Copy rendering. Enables full hardware H.264 decoding on Rockchip stateless decoders. Result: Stable 1080p 60fps stream on a 1GB RAM device. Audio Overhaul: Replaced PulseAudio and QtAudio with RtAudio. This creates a direct, low-latency path to the ALSA hardware driver. Display: Targets linuxfb (Framebuffer) by default instead (eglfs and ffmpeg have issues when you run them together due to DRM master lock) Configuration This release requires a specific ALSA configuration to allow audio mixing (dmix) without PulseAudio. Create/Edit /etc/asound.conf: pcm.!default { type asym playback.pcm "dmix_hdmi" capture.pcm "plug_null" } ctl.!default { type hw card 0 } pcm.plug_null { type plug slave.pcm "null" } pcm.dmix_hdmi { type dmix ipc_key 1024 ipc_perm 0666 slave { pcm { type hw card 0 device 0 } format S16_LE rate 48000 channels 2 period_size 512 buffer_size 4096 } bindings { 0 0 1 1 } } Known Issues Invisible Cursor: The mouse cursor works but is currently invisible when the FFmpeg video backend is active (rendering layer order issue). Backend Fallback: In rare edge cases where DRM initialization fails, the app may incorrectly default to Qt software output. Probably more, i haven't tested it that much Development Status: Active & Seeking Contributors Currently, I am the sole maintainer focusing on the RK322x platform (specifically the RK3229). I am actively looking for developers interested in expanding support to other devices (such as RK3328, RK3399, or Allwinner H3/H6). If you have experience with C++, Qt, or V4L2/DRM and want to help turn these TV boxes into capable head units, contributions are highly welcome! Repository: https://github.com/Harleythetech/openauto-rk3229-armbian Credits: @jock and @ilmich for ffmpeg patches and the csc-armbian-for-rk322x-tv-box-boards opencardev for openauto and aasdk
  12. Okay here's a huge update and a win for me: While i stopped playing with the kernel, i focused on improving openauto by replacing GStreamer with ffmpeg and utilizing the same RTAudio to Alsa Patch which achieved the following things: 720p 60 1080p 60 FPS Stream (cma set to 265) RTAudio to Alsa (Video and Audio are synced) Low Latency Touch or Mouse Response Now while there is still some bugs like when i disconnect my phone by pulling the usb cord results into a segment fault i'd say that's just a minor bug that can be fixed along the way. Huge thanks to the experimental ffmpeg patches and the guide @jock PS: hopefully someone can help me improve the code even more, i know this board is capable of being an android auto head unit for those who like to build it on their own: Github: Openauto-rk3229-armbian (requires you to compile aasdk)
  13. For now i just went back to 6.6.22 version and ill focus on applying ffmpeg patches instead to openauto. Not gonna lie, it was fun seeing even just a small result from trying to build a kernel with hantro vpu working.
  14. @jock thanks for the information! The reason I was experimenting with the kernel is because I’m testing OpenAuto (Android Auto) on top of Armbian-minimal. While MPV works fine with hardware decoding, I noticed that using things like kmssink to process the Android feed (720p, 30/60fps) introduces significant latency between touch input and screen response. For example, in today’s test I tried decoding a 720p 60fps H.264 stream using GStreamer with this command: gst-launch-1.0 filesrc location=test.h264 ! \ h264parse ! v4l2h264dec capture-io-mode=dmabuf ! \ queue max-size-buffers=2 leaky=downstream ! kmssink sync=false While the pipeline runs, the latency is too high for Android Auto responsiveness clicks and touch inputs visibly lag behind the video output. This is why I also tried patching Armbian to kernel 6.16-rc1, which gave me the following devices: [ 1.340230] rockchip-rga 20060000.rga: Registered rockchip-rga as /dev/video0 [ 1.345260] hantro-vpu 20020000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video2 [ 1.345656] hantro-vpu 20020000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video3 …but unfortunately, HDMI output stopped working completely, so that approach wasn’t usable for my setup. The goal is still to achieve smooth, low-latency video decoding that can keep up with real-time Android Auto interaction, which is why I’m exploring alternatives like the FFmpeg v4l2-request interface, even if it requires patching OpenAuto. PS: i also just like to explore how the rk322x works, so yeah I've been testing a lot for a few days now. Another thing is i plan to make a DIY head unit with this unused rk3229 box i have
  15. Update 3: almost there! root@rk322x-box:~# dmesg | grep -i drm [ 6.738341] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm... [ 6.912602] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 6.914174] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm. [ 11.565138] [drm] Initialized lima 1.1.0 for 20000000.gpu on minor 0 root@rk322x-box:~# dmesg | grep -i rockchip [ 0.068016] rockchip-gpio 11110000.gpio: probed /pinctrl/gpio@11110000 [ 0.069475] rockchip-gpio 11120000.gpio: probed /pinctrl/gpio@11120000 [ 0.070736] rockchip-gpio 11130000.gpio: probed /pinctrl/gpio@11130000 [ 0.071810] rockchip-gpio 11140000.gpio: probed /pinctrl/gpio@11140000 [ 1.330865] rockchip-rga 20060000.rga: HW Version: 0x04.01 [ 1.339866] rockchip-rga 20060000.rga: Registered rockchip-rga as /dev/video0 [ 1.360435] dwmmc_rockchip 30000000.mmc: IDMAC supports 32-bit address mode. [ 1.360814] dwmmc_rockchip 30010000.mmc: IDMAC supports 32-bit address mode. [ 1.361387] dwmmc_rockchip 30020000.mmc: IDMAC supports 32-bit address mode. [ 1.371466] dwmmc_rockchip 30000000.mmc: Using internal DMA controller. [ 1.371502] dwmmc_rockchip 30000000.mmc: Version ID is 270a [ 1.371594] dwmmc_rockchip 30000000.mmc: DW MMC controller at irq 49,32 bit host data width,256 deep fifo [ 1.372013] dwmmc_rockchip 30000000.mmc: Got CD GPIO [ 1.395186] dwmmc_rockchip 30010000.mmc: Using internal DMA controller. [ 1.395237] dwmmc_rockchip 30010000.mmc: Version ID is 270a [ 1.395356] dwmmc_rockchip 30010000.mmc: DW MMC controller at irq 50,32 bit host data width,256 deep fifo [ 1.395646] dwmmc_rockchip 30010000.mmc: allocated mmc-pwrseq [ 1.402395] dwmmc_rockchip 30020000.mmc: Using internal DMA controller. [ 1.402458] dwmmc_rockchip 30020000.mmc: Version ID is 270a [ 1.402603] dwmmc_rockchip 30020000.mmc: DW MMC controller at irq 51,32 bit host data width,256 deep fifo [ 11.719472] hantro-vpu 20020000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video2 [ 11.723548] hantro-vpu 20020000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video3 [ 25.632131] rk_gmac-dwmac 30200000.ethernet end0: PHY [stmmac-0:00] driver [Rockchip integrated EPHY] (irq=POLL) root@rk322x-box:~# dmesg | grep -i hdmi [ 0.055584] /vop@20050000: Fixed dependency cycle(s) with /hdmi@200a0000 [ 0.055722] /hdmi@200a0000: Fixed dependency cycle(s) with /vop@20050000 [ 22.293730] platform 200a0000.hdmi: deferred probe pending: (reason unknown) [ 22.293761] platform hdmi-sound: deferred probe pending: asoc-simple-card: parse error root@rk322x-box:~# ls -l /dev/dri total 0 drwxr-xr-x 2 root root 80 Jan 28 11:49 by-path crw-rw---- 1 root video 226, 0 Jan 28 11:49 card0 crw-rw---- 1 root render 226, 128 Jan 28 11:49 renderD128

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.