Also, it's recommended to reset to factory defaults before flashing the image.
Beiträge von Uukrul
-
-
This is what I use for Linux with the rooted image (if you want to disable update notifications)
sudo apt install android-tools-adb
sudo apt install android-tools-fastbootadb devices (Authorize device on Shield)
adb reboot bootloader
fastboot devices
fastboot oem unlock (Only if you don't have the bootloader unlocked. Follow Shield TV screen steps)
fastboot flash staging blob
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot rebootDisable updates:
adb root
adb remount
adb shell
mv /system/priv-app/TegraOTA/TegraOTA.apk /system/priv-app/TegraOTA/TegraOTA.bak
sync
reboot -
In my case, the problem is 720p / 4000000 Amazon streams drop quite a lot of frames so I have to reduce the bitrate to 3M. That means streams from Youtube are limited to that bitrate and there are a lot of videos that need more than that to be played at 1080p. That's the reason of the patch I posted above, so I can limit the bitrate for secure streams and play normal ones at the maximum quality possible.
-
It can be done patching the inputstream.adaptive source code:
https://pastebin.com/raw/Tcas6hfY
This adds a setting for max bandwidth allowed for secure streams (tested on an S905X box, so I can play Youtube 1080p videos)
@peak3d: what do you think?
-
Der Chipsatz ist amlogic s905x.
Latest inputstream.adaptive compiled for S905 (tested and working on my Mecool M8S Pro+ with CoreELEC) -
For those having problems with the addon on Android, here is a tip that worked for me:
I have a Mecool M8S Pro+ (a very cheap (I paid 26€) Android box with Widevine L1, that can be upgraded to Android TV thanks to this rom) that didn't work with the addon until I checked the ESN with the Netflix app.
The addon assigns this ESN: "NFANDROID1-PRV-NEXUSPLAYERFUGU-AMLOGICNEXUS=M8S=PRO+" and the Netflix app this one: "NFANDROID2-PRV-NEXUSPLAYERFUGU-AMLOGICNEXUS=M8S=PRO=-**bunch of chars**", so I simply removed the "+" char from the ESN and now it works flawlessly at 1080p
My assumption is that Netflix doesn't like chars other that numbers and letters on the name of the device.
-
@asciidisco: Thanks for the tip. I got it working after replacing this line with
Also, it's important to delete the old esn entry from the settings.xml file before launching Kodi. -
Also auf meinem Shield TV funktioniert mit Netflix gar kein Video mehr. Play Symbol und Filmtitel oben rechts kommen, ansonsten sehe ich den Spinner für ewig ohne das das Video startet. SkyGo und Amazon laufen problemlos...
I have the same problem on my Shield (that used to work fine). I tried with a fresh Kodi install and Netflix as the only addon installed but it seems that there is a license issue:Code
Alles anzeigen00:44:47.414 T:1478613296 DEBUG: [Netflix] Error getting license: {"result": {"errorDetails": "No Details Available", "errorSubCode": 1331, "errorExternalCode": "P7", "errorDisplayMessage": "", "errorEdgeCode": 2300, "data": {"REQUEST_CONTEXT_CLIENT_ID": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "CLIENT_RETRYABLE": "false", "CODE": 2300, "LOCAL_MESSAGE": "Device Model received does not match configured values! modelNameReceived: Foster, modelNamesConfigured: [ChromeCDM-ChromeOS-ARM, ChromeCDM-ChromeOS-x86, ChromeCDM-CrOS]", "DESCRIPTION": "Widevine device model mismatch", "SUCCESS": false, "REQUEST_CONTEXT_REQUEST_ID": "8b58e9c5-ce3d-4343-860a-082e0c845c41-30487185", "REQUEST_CONTEXT_ESN": "NFCDCH-01-DYQLA6A8WMP25GXXXJL9Q27Y3V4M39", "REQUEST_CONTEXT_ENDPOINT_PATH": "/cbp/cadmium-13", "ROOT_CAUSE_STACK_TRACE": "Not available.", "DRM_LICENSE_TYPE": "standard", "REQUEST_CONTEXT_STACK": "prod", "EXCEPTION_TYPE": "PLAYBACK_SERVICE_FAULT", "REQUEST_CONTEXT_ENVIRONMENT": "prod", "REQUEST_CONTEXT_COUNTRY": "ES", "REQUEST_CONTEXT_APP_ID": 0, "TRANSLATED": true, "REQUEST_CONTEXT_IP_ADDRESS": "xx.xx.xx.xx", "TYPE": "FATAL", "REQUEST_CONTEXT_CLOCK_TIME": 1508625887, "REQUEST_CONTEXT_DEVICE_TYPE_ID": 781}}, "success": false} 00:44:47.416 T:1478613296 DEBUG: ---------------------------------------- 00:44:47.416 T:1478613296 DEBUG: Exception happened during processing of request from 00:44:47.416 T:1478613296 DEBUG: ('127.0.0.1', 52283) 00:44:47.416 T:1478613296 ERROR: Traceback (most recent call last): 00:44:47.416 T:1478613296 ERROR: File "/opt/kodi18-depends/arm-linux-androideabi-21-release/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock 00:44:47.416 T:1478613296 ERROR: File "/opt/kodi18-depends/arm-linux-androideabi-21-release/lib/python2.7/SocketServer.py", line 318, in process_request 00:44:47.417 T:1478613296 ERROR: File "/opt/kodi18-depends/arm-linux-androideabi-21-release/lib/python2.7/SocketServer.py", line 331, in finish_request 00:44:47.417 T:1478613296 ERROR: File "/opt/kodi18-depends/arm-linux-androideabi-21-release/lib/python2.7/SocketServer.py", line 652, in __init__ 00:44:47.417 T:1478613296 ERROR: File "/opt/kodi18-depends/arm-linux-androideabi-21-release/lib/python2.7/BaseHTTPServer.py", line 340, in handle 00:44:47.417 T:1478613296 ERROR: File "/opt/kodi18-depends/arm-linux-androideabi-21-release/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request 00:44:47.417 T:1478613296 ERROR: File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.netflix/resources/lib/MSLHttpRequestHandler.py", line 41, in do_POST 00:44:47.420 T:1478613296 ERROR: self.wfile.write(base64.standard_b64decode(b64license)) 00:44:47.420 T:1478613296 ERROR: File "/opt/kodi18-depends/arm-linux-androideabi-21-release/lib/python2.7/base64.py", line 96, in standard_b64decode 00:44:47.420 T:1478613296 ERROR: File "/opt/kodi18-depends/arm-linux-androideabi-21-release/lib/python2.7/base64.py", line 75, in b64decode 00:44:47.420 T:1478613296 ERROR: TypeError: a2b_base64() argument 1 must be string or buffer, not bool
-
-
To get it working on my Shield TV, I had to revert those "Change search path logic for decrypter" commits.
edit: it seems peak3d pushed a fix two minutes ago
-
Yes, you have to remove the "_DEBUG" preprocessor definition from bento4 and ssd_wv:
Externer Inhalt i.imgur.comInhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt. -
-
-
@leonard21: To compile Kodi, if you have downloaded the required dependencies and have all the needed tools, you only have to run \project\Win32BuildSetup\BuildSetup.bat.
But before that, if you want to compile the inputstream addon easily, edit \cmake\addons\bootstrap\repositories\binary-addons.txt and change the line to
After that, you'll need to generate the wvdecrypter .sln with
and compile it.
Copy the ssd_wv.dll you got and widevinecdm.dll to the cdm folder (I recommend you running Agile builds in portable mode with "Kodi -p") and you'll get Netflix working on Windows
-
koyings MediaCodecAudio was a P(roove)O(f)C(oncept) and there are some audio codecs missing from implementation side wich has to be added.<br style="background-color: rgb(241, 245, 250);">I don't like the idea switching MediaCodec off if stream is not encrypted, more we should try to add the missing codecs.
My hope was that you are able to help on this part, but to make it simple: let me know if you want to go into it to avoid double work.....
The [definition='1','0']log[/definition] shows problems with amc-aac so it isn't a matter of a missing codec. Anyway, my coding skills are pretty basic (at the end, all I did was to add Koying's code for mediacodec audio from Jarvis and the needed changes for Krypton) so it may be something that I'm not capable of. -
My hard drive with the dev stuff failed and I could save most of the stuff but not my Ubuntu VM, so I have to start one from scratch and these days won't have much time
Looking at the debug file, the audio stream isn't encrypted so a solution would be to use mediacodec only for encrypted audio: (DVDFactoryCodec.cpp)
Code
Alles anzeigenif (!(hint.extrasize > 6 && strncmp((char*)hint.extradata,"CRYPTO", 6) == 0)) { // we don't use passthrough if "sync playback to display" is enabled if (allowpassthrough) { pCodec = OpenCodec(new CDVDAudioCodecPassthrough(processInfo), hint, options); if (pCodec) return pCodec; } pCodec = OpenCodec(new CDVDAudioCodecFFmpeg(processInfo), hint, options); if (pCodec) return pCodec; } #if defined(TARGET_ANDROID) else { pCodec = OpenCodec(new CDVDAudioCodecAndroidMediaCodec(processInfo), hint, options); if (pCodec) return pCodec; } #endif
-
So we need the credentials from a device with plays 1080p + DD+.
I think this will be one of the AF devices and we have to move away from html parsing and use directly the JSON api wich is used by the android apps.I've been doing some experiments with Charles Proxy on my Shield TV with the Amazon app and I got the DeviceTypeId: AR8DE21S8PINM but it doesn't seem to work.
This url seems interesting:
For those interested, here is a tutorial (the post with pictures) on how to install Charles Proxy. To install the certificate, you need your Android device rooted and Root Certificate Manager (I tried all the methods I could find for non-rooted devices but, at least on the Shield, they didn't work) -
Unfortunately, they changed something and, now, if we delete the /1$....../ from the mpd url, 720p is the max resolution but if we do not delete it, that means we do not get DD+ audio.
So, if you want 1080p (but no DD+) you must delete this line from the default.py:
-
@Uukrul can you pls post the configure call you use?
I edited my post with the configure I use. -
I only could compile it after reverting https://github.com/peak3d/xbmc/co…6d5de1a49dc324f
edit: the link I posted before wasn't the correct one. These are my configure options: