Netflix / Amazon 5.1 on HDMI ARC / Optical

jxordan

Senior Member
Nov 10, 2012
77
12
0
With surround sound set to "Always" I get an error when attempting to play anything with surround sound on amazon/netflix. However, with it set to auto, or even never surround sound seems to work when playing an episode of game of thrones through amazon. For reference I'm using a usb audio dac on a 5.1 receiver. USB audio mode is set to 5.1

edit: 5.1 is not working for me. Receiver is getting stereo from amzn/netflix. Turns out it didn't copy over correctly. I was having issues via adb so used x-plore as root and it seems like it worked but really didn't. I rooted with magisk. Might have to switch to the dev image. Having issues writing to /system
 
Last edited:

kjacksonmusic

Senior Member
Dec 26, 2010
247
19
0
Ft Myers
HBO Now streamed fine when I first installed this after a few reboots it gave an error code until I switched back to auto surround mode. ??*♂.

Netflix and Amazon still work fine in forced surround mode.

Update:
After streaming something from hbonow and then setting surround to forced again it worked again..
 
Last edited:

fryheit

Senior Member
Jul 28, 2010
53
3
0
Suddenly my 5.1 stopped working in Netflix, it's going for some seconds but then silence. My Sonos is showing 5.1 is working and then it's showing silence. The video continues to play. If I switch to normal stereo stream everything is working. Does anybody have an idea or the same problem? I don't know what to do and I just was so happy to watch 5.1 with my shield.. it's strange because it's working but just mutes after some seconds..
 

BXM500

Senior Member
Dec 4, 2010
112
19
38
Suddenly my 5.1 stopped working in Netflix, it's going for some seconds but then silence. My Sonos is showing 5.1 is working and then it's showing silence. The video continues to play. If I switch to normal stereo stream everything is working. Does anybody have an idea or the same problem? I don't know what to do and I just was so happy to watch 5.1 with my shield.. it's strange because it's working but just mutes after some seconds..
Yes. Exactly the same problem here.

I have the 7.2.3 DTS patch applied.
 

jxordan

Senior Member
Nov 10, 2012
77
12
0
With surround sound set to "Always" I get an error when attempting to play anything with surround sound on amazon/netflix. However, with it set to auto, or even never surround sound seems to work when playing an episode of game of thrones through amazon. For reference I'm using a usb audio dac on a 5.1 receiver. USB audio mode is set to 5.1

edit: 5.1 is not working for me. Receiver is getting stereo from amzn/netflix. Turns out it didn't copy over correctly. I was having issues via adb so used x-plore as root and it seems like it worked but really didn't. I rooted with magisk. Might have to switch to the dev image. Having issues writing to /system
Update: installed the dev image w/o magisk and was able to install this mod correctly via adb. However, still get an error on netflix/amazon with surround sound forced. Setting it to auto sends 2.0 to my receiver. Testing using a usb dac and an hdmi spdif extractor. No dts patch

edit: actually just started working via hdmi extractor. This hdmi extractor is kinda ****ty though I'l probably replace it with another. Would be nice if it worked via usb but I'll take it!
 
Last edited:

jkaero

New member
Dec 27, 2011
2
0
0
First off this hack is awesome! I am however having issues with HBO Go, it works fine until i try to play something like an extra for GOT (maybe they are in 2 chan vs 5.1) after than all HBO shows stop working and wont work again until i go back to auto and back to surround. It appears non of the extras for GOT will play with it set to Surround....only with Auto. Anyone else seeing this?
 

Koying

Senior Member
Jan 12, 2007
88
54
0
Brussels
It *also* transcodes DTS to AC3, for those whose TV *only* decides AC3.

Re quality, well, it's decoding-encoding, so it's just pointless if your audio output supports DTS. As if the quality of AC3 vs DTS, I'd say DTS is better
 
  • Like
Reactions: BXM500

PhaedraCorruption

Senior Member
Dec 23, 2010
150
11
0
Thanks Koying for this great patch. I'm having an issue with the latest NF51-723-20190315.zip. In the netflix app, the 5.1 is working fine for about 15 seconds when I hit PLAY on a movie, then the entire app closes by itself and I'm back to the nvidia shield homescreen. I have my stereo mode set to "Always" and my receiver supports both AC3 and DTS.
 

beatskk

New member
Aug 11, 2009
2
0
0
hi,
This will come in handy once I get a 4K TV.

until then I have a question:
Since the stream is processed on the shield, is it possible to control the outgoing volume? Changing volume with CEC/IR is unreliable on my system, so it would be great to be able to control 5.1 audio directly on the shield.
 

I_did_it_just_tmrrow

Senior Member
Feb 27, 2011
337
53
0
See OP. If you root just for this, the Nvidia way is the simplest and safest, IMO
I am having root with Magisk and running the nvidia 7.2.3 dev-rom.

Sadly I am not able to follow your steps from the OP.
Code:
adb root
does not work on my machine and then
Code:
adb remount
just says "Not running as root. Try "adb root" first."

Then I thought I can do it with adb and su but I got:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
foster:/ $ su
foster:/ # mv /sdcard/NF51+DTS-723-20190505/
libaudioflinger.so                      libavcodec.so                           libswresample.so
libaudiopolicymanagerdefault.so         libavformat.so
libaudiospdif.so                        libavutil.so
foster:/ # mv /sdcard/NF51+DTS-723-20190505/lib* /system/lib/
mv: /system/lib//libaudioflinger.so: Read-only file system
mv: /system/lib//libaudiopolicymanagerdefault.so: Read-only file system
mv: /system/lib//libaudiospdif.so: Read-only file system
mv: /system/lib//libavcodec.so: Read-only file system
mv: /system/lib//libavformat.so: Read-only file system
mv: /system/lib//libavutil.so: Read-only file system
mv: /system/lib//libswresample.so: Read-only file system
1|foster:/ # mount -o remount,rw /system
mount: '/dev/block/platform/tegra-sata.0/by-name/APP'->'/system': Device or resource busy
1|foster:/ # mount -o remount,rw /system
At the moment I am not able to run the foster-experimental twrp. I flashed the last version with twrp.

I hope for any help. Perhaps anybody can explain how you flash the libs on a runnung system....???

Greetings by Idijt


EDIT:
I was able to boot the experimental twrp after a lot different constealtions on my foster-device. Sadly I had still the same problem with netflix app on my Shield Pro. After about 15 seconds of Dolby-Digital 5.1 sound, my sound system getting no sound anymore. @Koying what did you thing about a Magisk module. I think it would be wonderfull for the people.
 
Last edited:

mLgz0rn

Senior Member
Jan 4, 2016
192
44
28
Copenhagen
I am having root with Magisk and running the nvidia 7.2.3 dev-rom.

Sadly I am not able to follow your steps from the OP.
Code:
adb root
does not work on my machine and then
Code:
adb remount
just says "Not running as root. Try "adb root" first."

Then I thought I can do it with adb and su but I got:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
foster:/ $ su
foster:/ # mv /sdcard/NF51+DTS-723-20190505/
libaudioflinger.so                      libavcodec.so                           libswresample.so
libaudiopolicymanagerdefault.so         libavformat.so
libaudiospdif.so                        libavutil.so
foster:/ # mv /sdcard/NF51+DTS-723-20190505/lib* /system/lib/
mv: /system/lib//libaudioflinger.so: Read-only file system
mv: /system/lib//libaudiopolicymanagerdefault.so: Read-only file system
mv: /system/lib//libaudiospdif.so: Read-only file system
mv: /system/lib//libavcodec.so: Read-only file system
mv: /system/lib//libavformat.so: Read-only file system
mv: /system/lib//libavutil.so: Read-only file system
mv: /system/lib//libswresample.so: Read-only file system
1|foster:/ # mount -o remount,rw /system
mount: '/dev/block/platform/tegra-sata.0/by-name/APP'->'/system': Device or resource busy
1|foster:/ # mount -o remount,rw /system
At the moment I am not able to run the foster-experimental twrp. I flashed the last version with twrp.

I hope for any help. Perhaps anybody can explain how you flash the libs on a runnung system....???

Greetings by Idijt


EDIT:
I was able to boot the experimental twrp after a lot different constealtions on my foster-device. Sadly I had still the same problem with netflix app on my Shield Pro. After about 15 seconds of Dolby-Digital 5.1 sound, my sound system getting no sound anymore. @Koying what did you thing about a Magisk module. I think it would be wonderfull for the people.
if you got magisk installed you need to disable magisk hide and then reboot, that way you will be able to do adb root.
Magisk hide sets the build as user build to hide it being rooted hence why adb root dosnt work.
disabling magisk hide sets the build to debug.
https://forum.xda-developers.com/showpost.php?p=79173888&postcount=205
 

milenko79

Member
Feb 26, 2009
14
3
0
Does this method still work? I want to force my shield to output Dolby digital, but read some users were having issues recently after Netflix started scaling audio bitrate based on available bandwidth.
Has this been solved and does it still work correctly. If so, what file do I flash.
I would really hate to unlocky bootloader and wipe my shield in the process of this no longer works.
Thanks in advance.
 

milenko79

Member
Feb 26, 2009
14
3
0
So I installed the 7.2.3 Dev image and applied your files. In order to do that I had to disable verity. When I enabled verity again after copying the files the shield went into a bootloop. Is this normal?
I would like to protect my system files. If I can not enable verity, can I install something like super su. If yes, what version should I use?

Sorry, I'm new to modding my shield. So any help would be great.

Thanks.
 

mLgz0rn

Senior Member
Jan 4, 2016
192
44
28
Copenhagen
So I installed the 7.2.3 Dev image and applied your files. In order to do that I had to disable verity. When I enabled verity again after copying the files the shield went into a bootloop. Is this normal?
I would like to protect my system files. If I can not enable verity, can I install something like super su. If yes, what version should I use?

Sorry, I'm new to modding my shield. So any help would be great.

Thanks.
Do you use magisk?
 

I_did_it_just_tmrrow

Senior Member
Feb 27, 2011
337
53
0
Do you use magisk?
I think he is talking about dm-verity. So it should be magisk.

But @milenko79 let us know if you have still problems. You did not need super-su if you have installed magisk. Magisk had a build in su/root method.


To my problem:

Jihpyyy! I fixed my 'netflix after 16 seconds no DolbyDigital' bug.

My hardware is:
ShieldTV Pro (HDMI) > Samsung TV F-Series (Optical cable) > Teufel 5.1 sound system (can handle DTS and DD)

Solution was to root my Samsung TV. See here for F-Series.
Then I enable this DTS passthough hack: [App] HDMI 5.1 audio passthrough patch E/F/H (MST only)
I set it to DTS not to auto.

I thought the newest release would be the best for me but with the NF51+DTS-723-20190505.zip release I was able to play DD/DTS with amazon-prime-video but with netflix I had still the 'no sound after 16 seconds' bug. So I flashed again the NF51-723-20190315.zip
Now everything is running like a charm!

So amazing! I can now play Netflix, kodi and Amazon-Video-Prime contents in 5.1!


Greetings by I_did_it_just_tmrrow