U9-H-CE FW001 Android 7.1.2 20191120 [Community Edition Nougat Firmware]

Sorry to belabor this - it's frustrating not having root to be able to review this problem directly and hope for your continued support.

A question about which Audio Policy format is being used on this 7.1.2 ROM

From Android 7.0, ASOP introduces a new audio policy configuration file format (XML) for describing the audio topology. Refer this link audio_config.xml file for example XML format config file.
Note: Android 7.0 preserves support for using audio_policy.conf; this legacy format is used by default.
To use the XML file format, include the build option USE_XML_AUDIO_POLICY_CONF := 1 in device makefile.

Both files are actually present in the ETC folder - when the image was built, was the above reference instruction to use the newer XML file included in the makefile?
If not, then it would be running the .conf file as default.

Since the Audio_Policy.conf file appears to be virtually identical to another (different model) S912 device running 7.1.2 (which has no issues playing Audio to LG) - nor did changing the Audio_policy.conf file to have default output device as AUX_DIGITAL - I'm wondering if this ROM (or indeed the other device) is utilizing the .xml file
And if it IS using the .xml file, perhaps the issue is there?

developers @gufone @KAR @rmestrum can you validate which it was built with, the .xml or the .conf?
 
Last edited:
Sorry to belabor this - it's frustrating not having root to be able to review this problem directly and hope for your continued support.

A question about which Audio Policy format is being used on this 7.1.2 ROM



Both files are actually present in the ETC folder - when the image was built, was the above reference instruction to use the newer XML file included in the makefile?
If not, then it would be running the .conf file as default.

Since the Audio_Policy.conf file appears to be virtually identical to another (different model) S912 device running 7.1.2 (which has no issues playing Audio to LG) - nor did changing the Audio_policy.conf file to have default output device as AUX_DIGITAL - I'm wondering if this ROM (or indeed the other device) is utilizing the .xml file
And if it IS using the .xml file, perhaps the issue is there?

developers @gufone @KAR @rmestrum can you validate which it was built with, the .xml or the .conf?
With the conf. (Will recheck as well)
See your pm as well.

Kar

Verstuurd vanaf mijn SM-G960F met Tapatalk
 
Hi. What should I do if update process shown such an error. I have with both Image official and unofficial (Nougat and Marshmallow) tryed but it does'nt work. THX

screencapt. 2020-03-27 154117.jpg
 
Ok. Old official firmware worked OK, but the new one not. It was a wrong USB port plus a cable change solve the problem. But this update isnt working. Burning tool shows that update was sucessfully, but my display(TV) remain blank after restart (without minix logo blinking).
 
Ok. Old official firmware worked OK, but the new one not. It was a wrong USB port plus a cable change solve the problem. But this update isnt working. Burning tool shows that update was sucessfully, but my display(TV) remain blank after restart (without minix logo blinking).
try hot unplug/plug the hdmi lead
 
try hot unplug/plug the hdmi lead
It doesn't work. TV still remains blank (dark grey, so it receive some signal, but nothing happens) factory reset doesn't work. The Minix A3 remote is without function, except the power button. I try to put it back the old firmware but same simptoms shown. I hope there is some recovery option...
 
No, it doesn't. Screen remains blank, blue led shows power on state, but nothing happens after. Somebody any ideea? I have my box bricked?
Remove the power en try to start again as reset after flash is not selected?

Kar

Verstuurd vanaf mijn SM-G960F met Tapatalk
 
I've done a quick search and nothing comes up in this thread. Should this firmware theoretically work with any webcam that's been tested with the U9-H? I ask because I want to buy a camera to use with the box but if it's not viable, I'll look for another solution for what I'm trying to accomplish.

Thanks in advance,

Kid
 
Regarding the LG TV HDMI Audio issue experienced by myself and @Datore and others with 7.1.2 Community ROM

The problem exhibits as no audio playing from HDMI - ONLY when connected to an LG Brand TV - it works fine on other TV brands
And further, randomly (it appears - nothing specific seems to trigger it) after system has been up for a while (could be 30-60 mins), the audio suddenly starts working. Datore's system behaves the same - randomly starts the audio after a while.

The audio_policy.conf has been modified to make AUX_DIGITAL (HDMI) the default Audi Device - no difference;
also another Android box (different brand) with a near identical Audio_Policy file and also running 7.1.2 works fine with the LG TV (as does the OEM FW008 ROM)

CoreELEC also works perfectly directly from boot.

Also the headphone jack plays sound through earpiece if connected

I think perhaps this is Kernel conflict issue - given that the other box seems to work with near identical Audio_Policy
(I'm wondering about the line usbcore: registered new interface driver snd-usb-audio ??? - I found a post in search regarding conflicts with LG HDMI audio on a different device, that it was loading the driver first for the USB remote dongle - in that case removing the dongle while it was booting corrected the issue; on this device it makes no difference if nothing is connected to USB)

Can our resident experts take a look at these Dmesg logs to see if anything untoward jumps out
I have filtered them by 'audio' and 'hdmi'

(If there is any other data/info/logs that can help you help me, please let me know and I will provide)

NEO-U9-H:/ $ dmesg | grep -i audio
[ 1.675144@1] hdmtix: set audio
[ 3.238110@3] audio_dsp: [dsp]register dsp to char divece(257)
[ 3.238746@0] amaudio: amaudio: driver amaudio succuess!
[ 3.257480@0] usbcore: registered new interface driver snd-usb-audio
[ 3.261896@1] aml_spdif_dai: set 958 audio clk div 4
[ 3.261903@1] aml_audio_hw: IEC958 16bit
[ 3.261907@1] hdmitx: audio: aout notify rate 48000
[ 3.261909@1] hdmitx: audio: aout notify size 16
[ 3.261911@1] hdmitx: audio: aout notify format CT_PCM
[ 3.261913@1] hdmtix: set audio
[ 3.262005@1] hdmitx: audio: Audio Type: PCM
[ 3.262007@1] hdmitx: audio: set audio param
[ 3.801654@1] aml_snd_card: audio use jtag pinmux as i2s output, read val =0
[ 5.107981@1] #0: AML-M8AUDIO
[ 10.892350@4] type=1400 audit(1585682451.570:28): avc: denied { module_request } for pid=4178 comm="audioserver" kmod="personality-8" scontext=u:r:audioserver:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
[ 10.901762@4] type=1400 audit(1585682451.580:30): avc: denied { getattr } for pid=4178 comm="audioserver" path="/vendor" dev="rootfs" ino=1054 scontext=u:r:audioserver:s0 tcontext=u:eek:bject_r:rootfs:s0 tclass=lnk_file permissive=1
[ 11.669809@6] audio_dsp: buf=0
[ 11.669841@6] audio_dsp: IEC958_mode_raw=0
[ 11.671470@6] hdmitx: config: audio_on
[ 11.675054@6] hdmitx: audio: configure on
[ 32.192235@6] audio_dsp: drc high cut scale set to 100%
[ 32.193174@7] audio_dsp: drc low boost scale set to 100%
[ 32.198048@6] audio_dsp: drc mode set to LINE
[ 38.832586@7] aml_spdif_dai: set 958 audio clk div 2
[ 38.832612@7] aml_audio_hw: IEC958 16bit
[ 38.832623@7] hdmitx: audio: aout notify rate 48000
[ 38.832626@7] hdmitx: audio: aout notify size 16
[ 38.832629@7] hdmitx: audio: no update
[ 41.896348@4] aml_spdif_dai: set 958 audio clk div 4
[ 41.896362@4] aml_audio_hw: IEC958 16bit
[ 41.896376@4] hdmitx: audio: aout notify rate 48000
[ 41.896378@4] hdmitx: audio: aout notify size 16
[ 41.896380@4] hdmitx: audio: no update
[ 46.082134@6] aml_spdif_dai: set 958 audio clk div 2
[ 46.082145@6] aml_audio_hw: IEC958 16bit
[ 46.082151@6] hdmitx: audio: aout notify rate 48000
[ 46.082153@6] hdmitx: audio: aout notify size 16
[ 46.082155@6] hdmitx: audio: no update
[ 51.006485@6] aml_spdif_dai: set 958 audio clk div 4
[ 51.006495@6] aml_audio_hw: IEC958 16bit
[ 51.006502@6] hdmitx: audio: aout notify rate 48000
[ 51.006505@6] hdmitx: audio: aout notify size 16
[ 51.006517@6] hdmitx: audio: no update
[ 121.490996@7] aml_spdif_dai: set 958 audio clk div 2
[ 121.500265@7] aml_audio_hw: IEC958 16bit
[ 121.504118@7] hdmitx: audio: aout notify rate 48000
[ 121.509089@2] hdmitx: audio: aout notify size 16
[ 121.513510@2] hdmitx: audio: no update
[ 132.706325@6] aml_spdif_dai: set 958 audio clk div 4
[ 132.711272@6] aml_audio_hw: IEC958 16bit
[ 132.715181@0] hdmitx: audio: aout notify rate 48000
[ 132.719994@0] hdmitx: audio: aout notify size 16
[ 132.724611@0] hdmitx: audio: no update
[ 188.303982@5] aml_spdif_dai: set 958 audio clk div 2
[ 188.316147@5] aml_audio_hw: IEC958 16bit
[ 188.317226@0] hdmitx: audio: aout notify rate 48000
[ 188.322087@0] hdmitx: audio: aout notify size 16
[ 188.326695@0] hdmitx: audio: no update
[ 193.636512@5] aml_spdif_dai: set 958 audio clk div 4
[ 193.636520@5] aml_audio_hw: IEC958 16bit
[ 193.636526@5] hdmitx: audio: aout notify rate 48000
[ 193.636529@5] hdmitx: audio: aout notify size 16
[ 193.636531@5] hdmitx: audio: no update
[ 195.384030@4] aml_spdif_dai: set 958 audio clk div 2
[ 195.393352@4] aml_audio_hw: IEC958 16bit
[ 195.397226@4] hdmitx: audio: aout notify rate 48000
[ 195.402090@4] hdmitx: audio: aout notify size 16
[ 195.406623@4] hdmitx: audio: no update
[ 201.138862@6] aml_spdif_dai: set 958 audio clk div 4
[ 201.143730@6] aml_audio_hw: IEC958 16bit
[ 201.147632@6] hdmitx: audio: aout notify rate 48000
[ 201.152444@6] hdmitx: audio: aout notify size 16
[ 201.157002@6] hdmitx: audio: no update
NEO-U9-H:/ $


NEO-U9-H:/ $ dmesg | grep -i hdmi
[ 0.000000@0] Kernel command line: rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,2160p60hz maxcpus=8 vout=2160p60hz,enable hdmimode=2160p60hz cvbsmode=576cvbs hdmitx= cvbsdrv=0 pq= androidboot.firstboot=0 jtag=apee androidboot.hardware=amlogic androidboot.slot_suffix=_a buildvariant=userdebug
[ 0.000000@0] logo: get hdmimode: 2160p60hz
[ 1.218081@1] hdmitx: system: Ver: 2014May6
[ 1.221762@1] hdmitx: amhdmitx_probe
[ 1.225569@2] hdmitx: hdmi_init_chip_type: 0
[ 1.229441@2] hdmitx: system: not find match init-data
[ 1.234666@2] hdmitx hpd irq = 89
[ 1.238732@1] hdmitx20: Mapped PHY: 0xc1100000
[ 1.242396@1] hdmitx20: Mapped PHY: 0xc8834400
[ 1.246868@1] hdmitx20: Mapped PHY: 0xd0100000
[ 1.251322@1] hdmitx20: Mapped PHY: 0xc8100000
[ 1.255773@1] hdmitx20: Mapped PHY: 0xc883c000
[ 1.260348@1] hdmitx20: Mapped PHY: 0xc1104400
[ 1.264697@1] hdmitx20: Mapped PHY: 0xc883a000
[ 1.269160@1] hdmitx20: Mapped PHY: 0xda83a000
[ 1.273630@1] hdmitx20: Mapped PHY: 0xd0044000
[ 1.278089@1] hdmitx: alread display in uboot 0x861
[ 1.286002@1] hdmitx: attr 420,12bit
[ 1.296909@0] hdmitx: system: irq 2
[ 1.617690@1] hdmitx: plugin
[ 1.674990@1] hdmitx: edid: maybe invalid dv1 data
[ 1.675010@1] hdmitx: get PMT vic: 97
[ 1.675012@1] hdmitx: edid: find IEEEOUT
[ 1.675021@1] hdmitx: update rx hdr info d at edid parsing
[ 1.675116@1] hdmitx: video: get current mode: 2160p60hz
[ 1.675118@1] hdmitx: update rx hdr info d
[ 1.675120@1] hdmitx: update physcial size: 1600 900
[ 1.675133@1] hdmitx: system: [set_disp_mode_auto] ALREADY init VIC = 353
[ 1.675152@1] hdmitx tx_aud_src = 0
[ 1.675172@1] hdmitx: fs = 0, cd = 6, tmds_clk = 594000
[ 1.675174@1] hdmitx aud_n_para = 6144
[ 2.731942@2] hdmitx_hdcp_init
[ 3.242146@3] [RX]-hdmirx: hdmirx_init.
[ 3.254078@0] cectx aocec: no hdmirx reg resource
[ 3.261907@1] hdmitx: audio: aout notify rate 48000
[ 3.261909@1] hdmitx: audio: aout notify size 16
[ 3.261911@1] hdmitx: audio: aout notify format CT_PCM
[ 3.261925@1] hdmitx tx_aud_src = 0
[ 3.261945@1] hdmitx: fs = 3, cd = 6, tmds_clk = 594000
[ 3.261947@1] hdmitx aud_n_para = 6144
[ 3.262005@1] hdmitx: audio: Audio Type: PCM
[ 3.262007@1] hdmitx: audio: set audio param
[ 3.272052@0] hdmitx: system: irq 80000001
[ 5.090954@0] hdmirx_ext: [hdmiin_drv_init] ver: Jul042016.1
[ 10.858519@6] type=1400 audit(1585682451.530:22): avc: denied { getattr } for pid=4164 comm="hdmi_cec" path="/vendor" dev="rootfs" ino=1054 scontext=u:r:hdmi_cec:s0 tcontext=u:eek:bject_r:rootfs:s0 tclass=lnk_file permissive=1
[ 11.569419@2] hdmitx: set frac_rate_policy as 0
[ 11.671470@6] hdmitx: config: audio_on
[ 11.675054@6] hdmitx: audio: configure on
[ 38.832623@7] hdmitx: audio: aout notify rate 48000
[ 38.832626@7] hdmitx: audio: aout notify size 16
[ 38.832629@7] hdmitx: audio: no update
[ 41.896376@4] hdmitx: audio: aout notify rate 48000
[ 41.896378@4] hdmitx: audio: aout notify size 16
[ 41.896380@4] hdmitx: audio: no update
[ 46.082151@6] hdmitx: audio: aout notify rate 48000
[ 46.082153@6] hdmitx: audio: aout notify size 16
[ 46.082155@6] hdmitx: audio: no update
[ 51.006502@6] hdmitx: audio: aout notify rate 48000
[ 51.006505@6] hdmitx: audio: aout notify size 16
[ 51.006517@6] hdmitx: audio: no update
[ 121.504118@7] hdmitx: audio: aout notify rate 48000
[ 121.509089@2] hdmitx: audio: aout notify size 16
[ 121.513510@2] hdmitx: audio: no update
[ 132.715181@0] hdmitx: audio: aout notify rate 48000
[ 132.719994@0] hdmitx: audio: aout notify size 16
[ 132.724611@0] hdmitx: audio: no update
NEO-U9-H:/ $
 
Last edited:
Hey all!

Due to the sound problem via HDMI to LG TV

One thing I've seen, (but don't know if it has to do with the audio problem with LG via HDMI) is that in the "/etc/audio_policy.conf" file, a number of lines are Remarked (blocked, REM or what it's called) with # (See below).

In another forum I did found a solution to get sound via HDMI to LG TV, but it is not possible to change the stockroom for a regular user.

When I compare to the same file in Android 6 these lines are not blocked with #

I don't know if this is a solution to the audio problem via HDMI on 7.1.2.

This is the solution I found:

Solution below to get sound via HDMI in 7.1.2

global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_AUX_DIGITAL
default_output_device AUDIO_DEVICE_OUT_AUX_DIGITAL
attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_REMOTE_SUBMIX
}


And this is the REMMED lines and different audio output in 7.1.2 (They are not REMMED in 6.0)

#global_configuration {
# attached_output_devices AUDIO_DEVICE_OUT_SPEAKER
# default_output_device AUDIO_DEVICE_OUT_SPEAKER
# attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX|AUDIO_DEVICE_IN_DIA_REMOTE
#}


Please, don't be angry to me, I do not know if this solution would help, only you experts know!
:)

if you having audio problem. try these following solutions may be it help you:
1) if your TV have a ARC HDMI. Connect that to your device. Restart (IF NOT..)
2) Be a developer in settings. To do this go to setting > about > build number (click this many times until DEVELOPER option activated). then go to settings>developer options>MEDIA>.. then click ENABLE >disable USB audio routing (THEN RESTART YOUR DEVICE)

Let me know if it works for you =)
 
if you having audio problem. try these following solutions may be it help you:
1) if your TV have a ARC HDMI. Connect that to your device. Restart (IF NOT..)
2) Be a developer in settings. To do this go to setting > about > build number (click this many times until DEVELOPER option activated). then go to settings>developer options>MEDIA>.. then click ENABLE >disable USB audio routing (THEN RESTART YOUR DEVICE)
Thank you for reply & suggestions
- both of these had already been done, with no affect.
For the first item, tried both ARC and std inputs and also enabled/disabled ARC in Droid settings, none have any positive affect.
 
is there a way to backup the original firmware or once you update you can't go back.
im guessing you can just install the latest firmware from minix if this doesnt work correctly
 
Back
Top