![]()
This is the result of my attempt, the video cannot be played. I have tried Android 9.0,Android 10.0, Android 11 and 12, but they are still useless.
In addition, I have also tried setting the DNS of the router and my computer to 8.8.8.8, but it still hasn't worked. Please help me, thanks a lot!
+ Reply to Thread
Results 361 to 390 of 774
-
-
if the website https://bitmovin.com/demos/drm does not work then try https://www.nuevodevel.com/nuevo/showcase/drm
-
-
Hi everyone, I'm having trouble getting the keys to dump. I'm using frida-server-16.1.4--android-x86_64 and running it on an emulated Pixel 3a with the Android API 34 x86_64. I can go to the bitmovin DRM demo page and play the video successfully with widevine DRM but I can't get dump_keys.py to detect and grab the keys, it just stays on "Hooks completed". Does this method not work with some of the newer APIs? I've read through the replies on this thread and a couple others and I can't seem to find any obvious reason why this wouldn't work.
Edit: maybe an important thing to note, no popup appeared saying that my device's ID needed to be verified. However the video still played. Does this mean anything? -
The function names that Frida tries to hook are different if using Android 10 and above. Cedric uses Android 9 (pie) You need to give Frida some help and find the function names yourself. if you use anything different
See https://forum.videohelp.com/threads/407196-Dumping-L3-from-Android-10-11-and-12.Last edited by A_n_g_e_l_a; 7th Sep 2023 at 06:30.
-
Hello,
I followed the description step by step.
Then the dumper makes this problem:
C:\dumper-main>Python dump_keys.py
Traceback (most recent call last):
File "C:\dumper-main\dump_keys.py", line 6, in <module>
from Helpers.Scanner import Scan
File "C:\dumper-main\Helpers\Scanner.py", line 7, in <module>
from Helpers.wv_proto2_pb2 import SignedLicenseRequest
File "C:\dumper-main\Helpers\wv_proto2_pb2.py", line 33, in <module>
_descriptor.EnumValueDescriptor(
File "C:\Users\xxx\AppData\Local\Programs\Python\Python 311\Lib\site-packages\google\protobuf\descriptor.py", line 796, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
Could you help?
Thank you. -
-
Here's a thing. If every you need to downgrade a python module, from, say, a series 4 version to a series 3 version, and you are unsure which is the latest module available in series three, Just try
Code:pip install protobuf==3.x.x
Last edited by A_n_g_e_l_a; 8th Sep 2023 at 05:51.
-
I've followed the guide exactly and have 2 command prompt windows open yet I can't connect to frida-server after running
Code:Python dump_keys.py
[Attachment 73826 - Click to enlarge] -
Last edited by brap; 16th Sep 2023 at 01:24.
-
doesn't work on Android 13 x86_64
2023-10-01 09:17:06 PM - main - 39 - INFO - Functions hooked, now open the DRM stream test on Bitmovin from your Android device! https://bitmovin.com/demos/drm - but nothing happen -
-
Hi guys, having issue pushing file to sd card using
adb.exe push frida-server-16.1.4-android-x86 /sdcard
I havefrida-server-16.1.4-android-x86 in my AppData\Local\Android\Sdk\platform-tools folder
comes back with
Code:adb: error: failed to copy 'frida-server-16.1.4-android-x86' to '/sdcard': remote couldn't create file: No such file or directory frida-server-16.1.4-android-x86: 1 file pushed, 0 skipped. 21.3 MB/s (51624572 bytes in 2.313s)
-
Last edited by phantom84; 6th Oct 2023 at 03:22.
-
Yeah I don't know how well it will work, running a VM (cause the AVD is essentially a VM) inside another VM. I've had problems with running it inside a VM on one host, but it was fine on another host, so ymmv.
You could try running it bare metal indeed. You could also just check my signature and use one of those. -
-
Hi, i am stuck at this step
[Attachment 74281 - Click to enlarge]
everything else has worked until now, I get error "python was not found"
[Attachment 74282 - Click to enlarge]
I have python 3.12 and I have updated environment variables
EDIT: after restarting PC, "python dump_keys.py" seems to execute now. But with the following error
[Attachment 74283 - Click to enlarge]
EDIT#3: Reading through previous posts, multiple users had the protobuf error and just need to uninstall current version and install 3.20.1
Following post#249 on page 9.
Last edited by mais22; 9th Oct 2023 at 21:24.
-
Hi Chaps...
I'm Starting right from the beginning...
Win 10... 64bit
Installed android-studio-2022.2.1.20-windows.exe I am then offered the option to download extra components, such as (Packages to install: - Google APIs Intel x86 Atom System Image (system-images;android-28;google_apis;x86) I'm sure this was so that i could emulate 9.0 pie. but on the same page it states that HAXM is not installed, do i wish to install it.
Is this normal, as it is not explained in the first part of Page 1 by cedric.
[Attachment 74307 - Click to enlarge]
I'm sure once the basics are setup the rest should be quite easy to follow.
I decided to install HAXM, oddly it states that it is not installed, so i installed it again, it stated that it was re-installed successfully.... maybe time for a reboot.
my option now..
[Attachment 74308 - Click to enlarge]
The first item seemed to be pre-installed,.. the second I attempted to create. neither has been run yet, as, typical, i am on my second windows update for today.
Should have put this as the first image,.... sorry chaps...
[Attachment 74309 - Click to enlarge]
Should I be selecting SDK Manager or Virtual Device Manager,..... trying my best to follow cedrics images.Last edited by LastResort; 11th Oct 2023 at 13:05. Reason: Error explaining my actions.
-
Ridiculous as this may seem, but I am almost there,.... but after reading many people having the same problem, I too have the same error.
D:\Android\dumper-main>Python dump_keys.py
Traceback (most recent call last):
File "D:\Android\dumper-main\dump_keys.py", line 6, in <module>
from Helpers.Scanner import Scan
File "D:\Android\dumper-main\Helpers\Scanner.py", line 3, in <module>
from Crypto.PublicKey import RSA
ModuleNotFoundError: No module named 'Crypto'
I have made sure that my versions are correct,...
I followed angela's help...
C:\WINDOWS\system32>pip install protobuf==3.x.x
ERROR: Could not find a version that satisfies the requirement protobuf==3.x.x (from versions: 2.0.0b0, 2.0.3, 2.3.0, 2.4.1, 2.5.0, 2.6.0, 2.6.1, 3.0.0a2, 3.0.0a3, 3.0.0b1, 3.0.0b1.post1, 3.0.0b1.post2, 3.0.0b2, 3.0.0b2.post1, 3.0.0b2.post2, 3.0.0b3, 3.0.0b4, 3.0.0, 3.1.0, 3.1.0.post1, 3.2.0rc1, 3.2.0rc1.post1, 3.2.0rc2, 3.2.0, 3.3.0, 3.4.0, 3.5.0.post1, 3.5.1, 3.5.2, 3.5.2.post1, 3.6.0, 3.6.1, 3.7.0rc2, 3.7.0rc3, 3.7.0, 3.7.1, 3.8.0rc1, 3.8.0, 3.9.0rc1, 3.9.0, 3.9.1, 3.9.2, 3.10.0rc1, 3.10.0, 3.11.0rc1, 3.11.0rc2, 3.11.0, 3.11.1, 3.11.2, 3.11.3, 3.12.2, 3.12.4, 3.13.0rc3, 3.13.0, 3.14.0rc1, 3.14.0rc2, 3.14.0rc3, 3.14.0, 3.15.0rc1, 3.15.0rc2, 3.15.0, 3.15.1, 3.15.2, 3.15.3, 3.15.4, 3.15.5, 3.15.6, 3.15.7, 3.15.8, 3.16.0rc1, 3.16.0rc2, 3.16.0, 3.17.0rc1, 3.17.0rc2, 3.17.0, 3.17.1, 3.17.2, 3.17.3, 3.18.0rc1, 3.18.0rc2, 3.18.0, 3.18.1, 3.18.3, 3.19.0rc1, 3.19.0rc2, 3.19.0, 3.19.1, 3.19.2, 3.19.3, 3.19.4, 3.19.5, 3.19.6, 3.20.0rc1, 3.20.0rc2, 3.20.0, 3.20.1rc1, 3.20.1, 3.20.2, 3.20.3, 4.0.0rc1, 4.0.0rc2, 4.21.0rc1, 4.21.0rc2, 4.21.0, 4.21.1, 4.21.2, 4.21.3, 4.21.4, 4.21.5, 4.21.6, 4.21.7, 4.21.8, 4.21.9, 4.21.10, 4.21.11, 4.21.12, 4.22.0rc1, 4.22.0rc2, 4.22.0rc3, 4.22.0, 4.22.1, 4.22.3, 4.22.4, 4.22.5, 4.23.0rc2, 4.23.0rc3, 4.23.0, 4.23.1, 4.23.2, 4.23.3, 4.23.4, 4.24.0rc1, 4.24.0rc2, 4.24.0rc3, 4.24.0, 4.24.1, 4.24.2, 4.24.3, 4.24.4)
ERROR: No matching distribution found for protobuf==3.x.x
I then tried pip show protobuf
C:\WINDOWS\system32>pip show protobuf
Name: protobuf
Version: 3.20.1
Summary: Protocol Buffers
Home-page: https://developers.google.com/protocol-buffers/
Author:
Author-email:
License: BSD-3-Clause
Location: C:\Users\xxxxxxxx\AppData\Local\Programs\Python\Py thon311\Lib\site-packages
Requires:
Required-by: google-api-core, googleapis-common-protos
C:\WINDOWS\system32>
Which I think is the correct one.
I have one folder within C:\Users\xxxxxxxx\AppData\Local\Programs\Python\Py thon311\Lib\site-packages called Cryptodome with a cap C.
I've re-read everything, but still get the same error.
Have re-installed pycryptodome
C:\WINDOWS\system32>pip install pycryptodome
Collecting pycryptodome
Obtaining dependency information for pycryptodome from https://files.pythonhosted.org/packages/87/c4/c979db0914a23541d62c9e4b5e8a30f56a78c6de...4.whl.metadata
Downloading pycryptodome-3.19.0-cp35-abi3-win_amd64.whl.metadata (3.4 kB)
Downloading pycryptodome-3.19.0-cp35-abi3-win_amd64.whl (1.7 MB)
---------------------------------------- 1.7/1.7 MB 3.0 MB/s eta 0:00:00
Installing collected packages: pycryptodome
Successfully installed pycryptodome-3.19.0
[notice] A new release of pip is available: 23.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
My emulator is running,
previous to this i had already followed cedric's detailed instructions,... apart from the version updates. which i copied to a txt file and renamed as necessary.
frida-server-16.1.4-android-x86 unpacked
As said everything worked as it should have done right up to dump_keys.py (had to hunt around for this as the link in page one was dead.
here's my method, of what I did, I kept a text file of each step.
-------------------------------------------------------------------------------------
Microsoft Windows [Version 10.0.19045.3570]
(c) Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>pip install frida
Collecting frida
Obtaining dependency information for frida from https://files.pythonhosted.org/packages/df/3e/8ae933efd51f18bc7b555fac682124a48ed087b7...4.whl.metadata
Downloading frida-16.1.4-cp37-abi3-win_amd64.whl.metadata (2.1 kB)
Downloading frida-16.1.4-cp37-abi3-win_amd64.whl (32.6 MB)
---------------------------------------- 32.6/32.6 MB 5.1 MB/s eta 0:00:00
Installing collected packages: frida
Successfully installed frida-16.1.4
[notice] A new release of pip is available: 23.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
C:\WINDOWS\system32>pip install frida-tools
Collecting frida-tools
Downloading frida-tools-12.3.0.tar.gz (200 kB)
---------------------------------------- 200.5/200.5 kB 3.0 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting colorama<1.0.0,>=0.2.7 (from frida-tools)
Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Requirement already satisfied: frida<17.0.0,>=16.0.9 in c:\users\lianidos\appdata\local\programs\python\py thon311\lib\site-packages (from frida-tools) (16.1.4)
Collecting prompt-toolkit<4.0.0,>=2.0.0 (from frida-tools)
Obtaining dependency information for prompt-toolkit<4.0.0,>=2.0.0 from https://files.pythonhosted.org/packages/a9/b4/ba77c84edf499877317225d7b7bc047a81f7c2ee...y.whl.metadata
Downloading prompt_toolkit-3.0.39-py3-none-any.whl.metadata (6.4 kB)
Collecting pygments<3.0.0,>=2.0.2 (from frida-tools)
Obtaining dependency information for pygments<3.0.0,>=2.0.2 from https://files.pythonhosted.org/packages/43/88/29adf0b44ba6ac85045e63734ae0997d3c58d8b1...y.whl.metadata
Downloading Pygments-2.16.1-py3-none-any.whl.metadata (2.5 kB)
Collecting wcwidth (from prompt-toolkit<4.0.0,>=2.0.0->frida-tools)
Obtaining dependency information for wcwidth from https://files.pythonhosted.org/packages/58/19/a9ce39f89cf58cf1e7ce01c8bb76ab7e2c7aadbc...y.whl.metadata
Downloading wcwidth-0.2.8-py2.py3-none-any.whl.metadata (13 kB)
Downloading prompt_toolkit-3.0.39-py3-none-any.whl (385 kB)
---------------------------------------- 385.2/385.2 kB 4.8 MB/s eta 0:00:00
Downloading Pygments-2.16.1-py3-none-any.whl (1.2 MB)
---------------------------------------- 1.2/1.2 MB 3.7 MB/s eta 0:00:00
Downloading wcwidth-0.2.8-py2.py3-none-any.whl (31 kB)
Building wheels for collected packages: frida-tools
Building wheel for frida-tools (pyproject.toml) ... done
Created wheel for frida-tools: filename=frida_tools-12.3.0-py3-none-any.whl size=209506 sha256=1f0aac898f36d2f0e065f2fa2fd235184dbc807bcb8 eb5016b4a35074fc521bd
Stored in directory: c:\users\lianidos\appdata\local\pip\cache\wheels\9 5\34\46\3e2c3108de4fcae46153d9152c52d1d2f439511718 7847b313
Successfully built frida-tools
Installing collected packages: wcwidth, pygments, prompt-toolkit, colorama, frida-tools
Successfully installed colorama-0.4.6 frida-tools-12.3.0 prompt-toolkit-3.0.39 pygments-2.16.1 wcwidth-0.2.8
[notice] A new release of pip is available: 23.2 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
C:\WINDOWS\system32>
adb.exe push frida-server-16.1.4-android-x86 /sdcard
Microsoft Windows [Version 10.0.19045.3570]
(c) Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>cd C:\Users\xxxxxxxxxx\AppData\Local\Android\Sdk\plat form-tools
C:\Users\xxxxxxxx\AppData\Local\Android\Sdk\platfo rm-tools>adb.exe devices
List of devices attached
emulator-5554 device
C:\Users\xxxxxxxx\AppData\Local\Android\Sdk\platfo rm-tools>adb.exe push frida-server-16.1.4-android-x86 /sdcard
frida-server-16.1.4-android-x86: 1 file pushed, 0 skipped. 112.5 MB/s (51624572 bytes in 0.438s)
C:\Users\xxxxxxxx\AppData\Local\Android\Sdk\platfo rm-tools>
adb.exe shell
su
mv /sdcard/frida-server-16.1.4-android-x86 /data/local/tmp
chmod +x /data/local/tmp/frida-server-16.1.4-android-x86
/data/local/tmp/frida-server-16.1.4-android-x86
my last step before the dumper error... -
I saw jawz22 pip list and there was a file called crypto in there,.... Angela mentioned in another page to probably try pip install crypto... yep it worked. the emulator was unbelievably slow,... said that i could wait for something to run or cancel (sorry i can't remember what it was) but deffo due to the speed of my old machine. but i managed to scroll down to bitmovin's player and clicked play,... nothing really moved, but it seemed to be enough to create my first 2 keys.... wow.... thanks cedric for the guide, and Angela and the others that contributed.
I have one question,... in order to create a new set of keys do i delete my created phone and recreate a new one???? -
Thanks for all the support in the thread.
I was able able to get the files.
Difficulties encountered are:
No knowing that downgrading protobuf package as explained in page 9 is required:
To downgrade the protobuf package in your Python environment, you can use pip, the package manager for Python. Follow these steps:
Write in cmd window -
pip show protobuf
pip uninstall protobuf
pip install protobuf==3.20.3
Python dump_keys.py
Also injecting proper frida server x86 or x86_64 depending on the phone selected in the Android studio in my case.
Making sure frida server in running before running dumper main in a SEPARATE terminal.
Thanks everyone. -
-
Hi Everyone
Everything works fine, but the result is a bit different.
Does anyone know how I can solve it?
I use Studio Android
Android9
frida-server-16.0.2-android-arm64
https://github.com/wvdumper/dumper
[Attachment 74362 - Click to enlarge]Last edited by ennada; 16th Oct 2023 at 23:26.
Similar Threads
-
Dumping L3 from Android 10, 11 and 12
By Diazole in forum Video Streaming DownloadingReplies: 45Last Post: 9th Jan 2023, 07:13 -
Can you set up a working CDM from an Android device running a custom ROM?
By scryclwn in forum Video Streaming DownloadingReplies: 2Last Post: 27th Nov 2022, 12:46 -
Error getting the keys with dumper, cdm L3 android 9
By Brift_Bv in forum Video Streaming DownloadingReplies: 15Last Post: 23rd Sep 2022, 02:33 -
How To Dump L3 CDM From Android Device's (ONLY Talk About Dumping L3 CDMS)
By Dannyboi in forum Video Streaming DownloadingReplies: 226Last Post: 1st Mar 2022, 03:34 -
How To Dump L1 CDM From Android Device's (ONLY Talk About Dumping L1 CDMS)
By mintolik in forum Video Streaming DownloadingReplies: 13Last Post: 20th Feb 2022, 14:33