Hi folks - big thanks to balbes150 for bringing newer LE builds to our S812 devices!
My Device: MXIII-G 2G/8G S812
I don’t actually know what “brand” it is the box itself and packaging don’t really say so I guess it’s a clone, maybe of a Tronsmart?
Model: MXIII-G 4K
Android Version: 5.1.1
Build: 108L1
There are several links to original Android firmware available here (some may expire but they seem to replace them):
download-new-firmware-108l1-tronsmart-mxiii-plus.html
I was running Wilro’s build LibreELEC-MX3G.arm-7.0.1c, from Freaktab - installed that into Internal storage (not SDCard).
It ran well, but obviously is an older build and I saw these newer builds by balbes150, and wanted to upgrade due to the subtitle parsing vulnerabilities...
Installed LibreELEC-S812.arm-17.4_20170822-MXIII_Plus build by copying the tar file into /update dir across the network, rebooted and after replacing the correct remote.conf, things are (mostly) running well!
Many thanks to balbes150 for all the hard work!
I have only one issue - the HDMI port will not output sound correctly.
I plug my MXIII-G into a Yamaha AVR (RX-A3020), which supports DTS-HD MA, DDTrueHD etc.
Now I realise that I may not get the MA or TrueHD stream with one of these little boxes, but I SHOULD at least get the “core” audio streams being passed through HDMI to my AVR.
So in the case of:
DTS-HD MA stream, I should still get the DTS5.1 (lossy core) stream, and, for,
DD TrueHD stream, I should still at least get the DolbyDigital5.1 (lossy core).
Under Wilro’s build that’s how things worked.
With this build (20170822-MXIII_Plus):
I am (mostly) only getting Kodi GUI navigation sounds.
Even if a video contains ONLY a single “regular” DTS5.1 (lossy) stream - I get no sound at all.
I have one exception - a full BD iso image of a movie with multiple audio streams.
Stream 1/10 is a DD TrueHD Atmos 7.1 track - if I select this one, then I get LPCM 2.1 working audio on my AVR!
Explain that! (I can’t).
Anyway, this seems like a driver issue to me.
I have reviewed the Audio settings, I can choose from the following 3 options:
ALSA: AML-M8AUDIO (@:CARD=AMLM8AUDIO,DEV=0),S/PDIF
ALSA: AML-M8AUDIO (iec958:CARD=AMLM8AUDIO,DEV=0),S/PDIF
PULSE: Default, Bluetooth Audio (PULSEAUDIO)
I cannot find any difference between the first two options in terms of impact on working multichannel sound (or not), but am I correct that the HDMI port is not properly detected?
I honestly do not recall what Wilro’s older working build had under Audio devices.
At this point, I should point out that while I have flashed a few ROMs onto Android phones (so I found the original installation of Wilro’s build onto internal storage easy), I am newish to OpenELEC/LibreELEC in general.
But from reading this thread, it seems I would be asked for the fw_printenv:
bootargs=rootfstype=ramfs init=/init console=ttyS0,115200n8 no_console_suspend earlyprintk ramoops.mem_address=0x04e00000 ramoops.mem_size=0x100000 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive storage=2 cvbsdrv=0 vdaccfg=0xa000 logo=osd1,loaded,0x07900000,1080p,full hdmimode=1080p cvbsmode=576cvbs androidboot.firstboot=1 hdmitx=cecf
bootfromsd=if test ${bootfromnand} = 1; then setenv bootfromnand 0; saveenv; exit; fi; if test ${reboot_mode} = switch_system; then exit; fi; if mmcinfo; then if fatload mmc 0 ${loadaddr} kernel.img; then setenv bootargs ${bootargs} bootfromsd; bootm; fi; fi
check_rebootmode=get_rebootmode; clear_rebootmode; echo reboot_mode=${reboot_mode};if test ${reboot_mode} = factory_reset; then defenv; fi;
factory_reset_poweroff_protect=echo wipe_data=${wipe_data}; echo wipe_cache=${wipe_cache};if test ${wipe_data} = failed; then run prepare; run storeargs; run recovery;fi; if test ${wipe_cache} = failed; then run prepare; run storeargs; run recovery;fi;
initargs=rootfstype=ramfs init=/init console=ttyS0,115200n8 no_console_suspend earlyprintk ramoops.mem_address=0x04e00000 ramoops.mem_size=0x100000 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive storage=2
preboot=run factory_reset_poweroff_protect;if itest ${upgrade_step} == 3; then run prepare; run storeargs; run update; fi; if itest ${upgrade_step} == 1; then defenv_reserve_env; setenv upgrade_step 2; saveenv;fi; run check_rebootmode;run prepare;run storeargs;run update_key; run switch_bootmode
prepare=logo size ${outputmode}; video open; video clear; video dev open ${outputmode};imgread res logo ${loadaddr_logo}; unpackimg ${loadaddr_logo}; logo source ${outputmode}; bmp display ${bootup_offset}; bmp scale;
recovery=echo enter recovery;run bcb_cmd; setenv bootargs ${bootargs} wipeinstaboot;if mmcinfo; then if fatload mmc 0 ${loadaddr} recovery.img; then bootm;fi;fi; if usb start 0; then if fatload usb 0 ${loadaddr} recovery.img; then bootm; fi;fi;if imgread kernel recovery ${loadaddr}; then bootm; else echo no recovery in flash; fi;
storeargs=setenv bootargs ${initargs} cvbsdrv=${cvbs_drv} vdaccfg=${vdac_config} logo=osd1,loaded,${fb_addr},${outputmode},full hdmimode=${hdmimode} cvbsmode=${cvbsmode} androidboot.firstboot=${firstboot} hdmitx=${cecconfig}
storeboot=if test ${reboot_mode} = charging; then run try_auto_burn; fi;secukey auto;secukey write keyexample 1234567890; echo Booting...; run bcb_cmd; if unifykey get usid; then setenv bootargs ${bootargs} androidboot.serialno=${usid};fi;if unifykey get mac; then setenv bootargs ${bootargs} mac=${mac};fi;imgread kernel boot ${loadaddr};bootm;run recovery
switch_bootmode=if test ${reboot_mode} = factory_reset; then run recovery;else if test ${reboot_mode} = update; then run update;else if test ${reboot_mode} = usb_burning; then run usb_burning;else if test ${wipe_data} = failed; then echo wipe_data=${wipe_data}; run recovery;else fi;fi;fi;fi
update=run usb_burning; if mmcinfo; then if fatexist mmc 0 ${sdcburncfg}; then run sdc_burning; else if fatload mmc 0 ${loadaddr} aml_autoscript; then autoscr ${loadaddr}; fi;run recovery;fi;else run recovery;fi;
Also, here is the output of lsmod:
And further info from:
I did also obtain the dmesg output, it’s quite large (probably too big for here!) and I may be wrong but it looks like for some reason the S/PDIF output is being sent to HDMI???
Or that the system is sending only to S/PDIF port, OR as PCM only.
I’ve read this whole thread a few times, and see mention of dtb files and replacing one of these with different one for slightly different hardware revisions.
I’ve looked under the filesystem, but I must be stupid, I can't find these dtb files.
I also can’t see it mentioned anywhere in the posts WHERE these files are in the filesystem?
(recall, mine is running from internal storage, NOT SDcard or USB drive).
Any help gratefully received!
If I can get the sound working I will be super-stoked - donation to the community for sure!
Everything else about this build is working well for me (I haven't tested Bluetooth, but I don't care about that)
Cheers,
tU