• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Error when watching DRM content on G935F

Search This thread


Sep 15, 2014
I am having trouble watching DRM protected content after installing this rom.

The app works well on stock rom but after installing this rom, when I tried watching with the app, I get this error:

Error Code: PER 1
Error: com.google.android.exoplayer2.ExoPlaybackException: android.media.MediaCodec$CryptoException: Operation not supported in this configuration Operation not supported in this configuration
Timestamp: 2021-10-19T12:09:05.974Z
Request URL:
Response Code: PER 1
Response duration:
App version: 2.4.0 - 217020400
Device model: SM-G935F
OS version: 30 Android R
User ID: IT3480VW5AL525B1HH864FWB000G
Device ID: 7a224d93b67d7626c4ef0bba69ce3311670500b8
Free disk space available: 21.58 GB/24.67 GB
IP address: N/A
Widevine properties:
vendor: Google
version: 14.0.0
description: Widevine CDM
algorithms: AES/CBC/NoPadding,HmacSHA256
securityLevel: L1
systemId: 6895
privacyMode: disable
sessionSharing: disable
usageReportingSupport: True
hdcpLevel: Disconnected
maxHdcpLevel: Disconnected
maxNumberOfSessions: 64
numberOfOpenSessions: 1
provisioningUniqueId: Exx+i1CPvTLtoRGTsmCYzA==

I did a wipe and re-installed the rom but the issue persists. Please anyone experienced this kind of issue before and what are possible solutions.



Sep 15, 2014
After some digging around I found some solution to the problem.
"Inside the /system/lib/ or the /system/vendor/lib/ partition there is a file stored by the name of liboemcrypto.so. The aforementioned apps make use of this file to play the DRM protected contents"

To solve the problem one can use rename/delete the file. This solution is not recommended.
Recommended solution is to use Magisk to install a module named liboemcrypto disabler .

Details can be found here: https://www.techregister.co.uk/fix-video-drm-errors-on-samsung-for-prime-video-netflix-and-others/