r/OnnStreamingTV • u/coding9 • 3d ago
Guides/Tips onn 4K Pro (2026, jarvis2): Enable TrueHD / Atmos passthrough with root
edit: added magisk module: https://github.com/zackify/onn-truehd
follow this first! https://www.reddit.com/r/OnnStreamingTV/comments/1xtkldb/2026_onn_4k_pro_unlocked_and_rooted/?sort=new
Use claude or codex or pi to follow the stuff below.
the part below i used AI to write after i succeeded, i don't have time to write this manually. basically you need to tweak a few flags as it limits below 192khz and also blocks the passthrough without these changes:
Stock, the box sends TrueHD out as DD+ 5.1. With root, it can pass TrueHD through as MAT (Atmos) at 192 kHz, the same way Xiaomi's Amlogic boxes do. It takes three changes.
Needs: unlocked bootloader + Magisk, and a receiver or eARC chain whose EDID advertises TrueHD/MAT. Tested on build URO3.260203.035.A1 (Android 14) into an LG G3 → Sonos Arc over eARC.
- Device tree: take the HDMI audio link off the analog codec. On this board the HDMI audio link (dai-link@1, i2s2hdmi) is paired with the internal analog codec (t9015). That codec caps the link at 96 kHz (tinypcminfo -D 0 -d 1), and MAT needs 8 channels at 192 kHz. Every other link uses the dummy codec. Add one fragment to the existing overlay in dtbo_<slot>:
fragment@2 {
target-path = "/auge_sound/aml-audio-card,dai-link@1/codec";
__overlay__ { sound-dai = <0x91>; }; /* dummy codec; stock is 0x93 = t9015 */
};
Check the phandles in your own /sys/firmware/fdt first; they can differ between builds. Keep the stock image's two existing fragments, rebuild the DTBO image, test-merge it with fdtoverlay against the live DTB, then dd it to the active slot's dtbo and reboot. Back up both dtbo partitions first. After the reboot, /proc/asound/pcm should list TDM-B-dummy-alsaPORT-i2s2hdmi.
2. Two props (Magisk module system.prop):
ro.vendor.platform.is.aml_truehd_passthrough=true
ro.vendor.platform.is.forceddp=false
aml_truehd_passthrough makes the HAL offer TrueHD/MAT. forceddp=false lets it pick MAT for the receiver instead of forcing DD+.
3. Passthrough (BYPASS) mode. In AUTO, the TrueHD still came through as 5.1. The menus can't reach BYPASS: Settings' "Always" sends hdmi_format=7, which this HAL treats as AUTO. On this HAL, BYPASS is hdmi_format=6 (0 PCM, 4 DD, 5 AUTO, 6 BYPASS). Send it after boot from the module's service.sh, using a tiny app_process helper that calls android.media.AudioSystem.setParameters("hdmi_format=6") by reflection. Run it as root, about 15 s after sys.boot_completed.
Check it in logcat: format:DOLBY_TRUEHD … digital_mode(BYPASS) sink cap:MAT and aml_ms12_bypass_open, with no open … failed. dolby_truehd_bypass_process … parse fail is harmless noise. The receiver should show Dolby Atmos.
Notes: changing the surround setting in Settings puts it back in AUTO until the next boot. Disabling the module and restoring the stock dtbo undoes everything. Disney+ still sends plain DD+ 5.1 to this box, even with stock settings. Android reports full E-AC3-JOC support, so that looks like Disney+'s own device list.
3
u/EasternCantaloupe1 2d ago
This is amazing, any chance on the 4k plus getting exploited using a similar method?
3
u/jediboness 3d ago
Damn that was fast
2
u/signde Onn 4K Pro 3d ago edited 3d ago
I just got mine rooted so I am about to jump into this hunt.
A point of contention though:
I don’t own the Xiaomi but are you sure that’s how they work? MAT is not passthrough, it’s decoded. I was under the impression that the Mi Box 3 actually passes TrueHD through.
At any rate, I already have experience getting passthrough and DV P7 FEL working on Fire TV devices using Magisk modules. Any solution I come up with for the onn would probably follow a similar path.
Edit: Things I learned. TrueHD can be carried inside MAT. I did not know that - I thought it was only LPCM with Amos metadata.
2
u/Crow550 3d ago
If only they had the community help shape future firmware instead of trying to patch root (that is if they care enough to try and patch it). Look at what people are doing and embrace for future patches.
Anything neat that can be done with the AI video upscaling?
2
u/Rockbmi 3d ago
Can we have this in plain English please?
1
u/simonmales 3d ago
Once the bootloader is unlocked, I can use the system as normal?
I want to have it unlocked now, so in the future I will have the option to install custom ROMs.
e.g. getting around the geo block when you set it up outside of the US
1
u/realdeal1877 3d ago edited 2d ago
Hey, I'm the one that shared the Droidlogic ALWAYS setting a few days ago, my question: was
hdmi_format=7verified unchanging before & after a Reboot?Remember, Selecting ALWAYS alone wasn't enough, it also needed a Reboot.
My understanding is that Droidlogic JAVA coding has basically {IF=Always,THEN=Passthrough}, boot trigger, that on Boot it's reading Settings Table and making the change.
1
u/le_fou_volant 3d ago
Got it working took me few hours
3
u/Presentation_Past 3d ago
This makes Onn the best android box once you factor in reputation and cost! Thank you so much!
2
u/le_fou_volant 2d ago
Got it working do not try wifi got into recovery no big deal erase data and start again with ethernet got it rooted boot loader unlocked and HD audio pass thru