Thanks for the excellent how-to, one additional note to it:
Here again I have not test all the Version of the OS but Android Pie works fine.
Download the Android Version you want for your virtual device, choose it and click on "next"
Basically you can choose any OS Version (Goggle APIs) in Android Studio but stay away from the Google Play ones, otherwise you can't excecute the su-command later on.
+ Reply to Thread
Results 331 to 360 of 787
-
-
-
Probably you did nothing wrong.
WKS-KEYS is configured to use a CDM key and Blog inside 'android_generic'.
This thread is about an emulator CDM and I'm not sure how Cedric treats placing your key and blob (Haven't read it Sorry Cedric :blush )
My post, 'Temple of Doom', is about a real android device CDM. .
Anyone using an emulator CDM could, most likely just shove it inside WKS-KEYS' android_generic and it would work. It all depends on where you got your WKS-KEYS from. They are not all configured the same..
But you have corrected it now and probably know how to add extra CDMs when you get them. So win-win! -
Thank you @cedric8528 for this guide. I've been following it over the past few days because I used
to rely on CDRM-Project, which went down of course.
I need some guidance please, maybe someone else has had the same problem and sorted it.
I have the emulator running and can use the 'phone' to browse the web and use bitmovin.
But when I run adb.exe devices I get the following error message(s).
C:\sdk\platform-tools>adb devices
* daemon not running; starting now at tcp:5037
could not read ok from ADB Server
* failed to start daemon
adb.exe: failed to check server version: cannot connect to daemon
-----------------------------------------------------------------
If I run just adb I get:
Android Debug Bridge version 1.0.41
Version 34.0.4-10411341
Installed as C:\sdk\platform-tools\adb.exe
Running on Windows 10.0.19045
global options:
-a listen on all network interfaces, not just localhost
-d use USB device (error if multiple devices connected)
etc. etc. list of all parameters etc..
-------------------------------------------------
You'll notice that I have the sdk directory on C:\ and I'm on Widows 10.
I turn the firewall off an run Android Studio, and the command line, as administrator.
If I run any other command I get the above error message or a variation of, always
referencing daemon.
As shown below frida 16.1.3 is installed and frida-server-16.1.3-android-x86_64 is in my
platform-tools directory. I tried everything below using frida-server-16.1.3-android-X86 first.
C:\>pip list
Package Version
-------------- -------
colorama 0.4.6
frida 16.1.3
frida-tools 12.2.1
pip 23.2.1
prompt-toolkit 3.0.39
Pygments 2.16.1
setuptools 65.5.0
wcwidth 0.2.6
Directory of C:\sdk\platform-tools
17/08/2023 12:37 <DIR> .
17/08/2023 12:37 <DIR> ..
17/08/2023 12:36 31,611,260 .xz
15/08/2023 14:13 5,916,440 adb.exe
15/08/2023 14:13 108,312 AdbWinApi.dll
15/08/2023 14:13 73,496 AdbWinUsbApi.dll
15/08/2023 14:13 252,184 dmtracedump.exe
15/08/2023 14:13 441,112 etc1tool.exe
15/08/2023 14:13 1,843,480 fastboot.exe
17/08/2023 12:36 108,121,848 frida-server-16.1.3-android-x86_64
15/08/2023 14:13 54,552 hprof-conv.exe
15/08/2023 14:13 242,120 libwinpthread-1.dll
15/08/2023 14:13 477,464 make_f2fs.exe
15/08/2023 14:13 477,464 make_f2fs_casefold.exe
15/08/2023 14:13 1,157 mke2fs.conf
15/08/2023 14:13 755,992 mke2fs.exe
15/08/2023 14:13 1,073,895 NOTICE.txt
15/08/2023 14:13 18,335 package.xml
15/08/2023 14:13 38 source.properties
15/08/2023 14:13 1,340,696 sqlite3.exe
Ive searched the web and it seems to be a relatively common problem.
I have tried these fixes, and variations of, but nothing has worked. I now
have to ask for help please.
1. adb.exe start-server and adb.exe kill-server
2. Look for alternative adb.exe that may be running using Start Task Manager, and end process.
3. Start > All Programs > Accessories > System Tools > Resource Monitor > Network > Listening Port
Port 5037 not listed.
4. net stop winnat and net start winnat
5. adb disconnect and adb connect
6. Remove platform-tool: go to SDK Manager -> SDK tools Uncheck "Android SDK platform-tools" Click Apply
Going to folder android -> SDK and download new platform-tools
7. SDK Manager -> SDK tools
Uncheck "Android SDK Platform - Tool"
Click Apply
8. The symptom usually happens after enabling Hyper-V service, as Hyper-V reserves ports for internal usage [1],
which could be verified by running netsh int ipv4 show dynamicport tcp.
After my machine (Windows 10) having Hyper-V enabled, the output looks like this:
C:\>netsh int ipv4 show dynamicport tcp
Protocol tcp Dynamic Port Range
---------------------------------
Start Port : 49152
Number of Ports : 16384
The reserved ports don't cover the ones adb uses.
If they did the following was suggested:
To solve the problem permanently, you need to set the reserved ports to a higher range, for example:
netsh int ipv4 set dynamic tcp start=49152 num=16384
netsh int ipv6 set dynamic tcp start=49152 num=16384
Remember to reboot your machine. This will move WinNAT reserved port range to 49152~65534, and is the true
answer to this problem.
9. adb.exe nodaemon server
10. adb reconnect offline
I don't know what the following, number 11, means except I understand that Android Studio is based on IntelliJ IDEA:
11. In my case the issue was in IntelliJ IDEA plugin - Aladdin Logcat. Turned it off and everything works now.
Sorry for the long post, any help will be much appreciated. -
-
This thread is about an emulator CDM and I'm not sure how Cedric treats placing your key and blob (Haven't read it Sorry Cedric :blush )
-
-
in <module>
libraries = scanner.find_widevine_process(device, process.name)
please help me -
Awesome guide. I'm probably going to ask stuff that has been answered but couldn't find anything searching through this forum. Please allow it!
This method, can you use it for Verified Media Path (VMP) streams? If no, is there a public method of obtaining a cdm which could work with streams like that or is it all about finding a phone or device that has not an updated OEMCrypto-version that can be used for dumping keys? -
Hello, Can someone help me?
Frida is missing and I don't know how to create it for me -
There is a space in your Frida File name
Code:adb.exe push frida-server-16.1.3-android-x86 /sdcard
-
-
This tells me that you haven't read through the stickied threads. Yes I know it's a lot, but there is a LOT of information in there.
And since you won't do it, I just looked it up for you:
https://streamable.com/f1ajvi
Credit to Magicians, it's his video
Also, having a space in your command is CLI 101 tbh, you should know that. If that is beyond your knowledge, I'm afraid that you're out of your depth. -
-
[Attachment 73436 - Click to enlarge]
I managed to do almost all the procedure. But in the end it is giving this error when I run Dumper-main -
-
[Attachment 73442 - Click to enlarge]
I have no idea how I got it, but I saw in a comment here that the guy uninstalled everything and installed it again and I did that.
I even installed the same version of Python he installed.
python-3.10.7
And in the end it worked. -
Thank you for the guide. I have got the two files
device_client_id_blob
device_private_key
This post is simple yet straight to the point.Last edited by Jelov; 4th Sep 2023 at 01:10.
-
Completely new to this. First of all, thank you for these guides! It's interesting to learn
Second, I'm running into an issue. Every time I want to install Friday, I get an error message regarding multiple devices.
I deleted all android devices I created (just the one, but tried multiple times), but I keep seeing that there is one device, despite having none created.
List of devices attached
emulator-5562 offline
^ It's not an android device that I have created. How can I get rid of this device? Or - alternatively - how can I do the frida command for the correct device? I can't seem to figure that out.
EDIT: here's a screenshot what I see when I have a device created. It won't allow me to install frida.
[Attachment 73466 - Click to enlarge]Last edited by JamesTKirk; 27th Aug 2023 at 14:41.
-
try restarting the adb server with this command
Code:adb kill-server
Code:adb devices -l List of devices attached emulator-5554 device product:sdk_gphone_x86 model:sdk_gphone_x86 device:generic_x86_arm transport_id:1
ie.
Code:adb -t 1 push frida-server-16.1.3-android-x86 /sdcard/
-
-
-
if anyone gets after doing the python dump keys.py
cannot import name 'not required' from 'typing_extensions'
The suggested solution is:
Update pydantic
pip install --upgrade pydantic -
Hey All
I think I have tried everything I can think of without luck to get "my own l3 cdm files". These files are still not generating. Any Ideas? All is well since I reach the "hooks completed" point
Windows 10/64 bit
Tried python 3.9/3.7/3.1
Tried playing drm video from bitmovin and disneyplus
Tried new windows installation
Tried unistalling and reinstalling python from the windows store
Tried Pixel 6 and Pixel XL Virtual Devices
** I am stuck with using ONLY the API 34 System Image because Oreo, Pie, Nougat and all others are not selectable plus are "greyed" out Could this be my problem?
** I have not tried a Windows 32 x86 installation, could this be my problem?
** Could me be my problem?
Any ideas would help -
its greyed out because you havent downloaded the system image for Pie - click on the download button next to Pie and once its downloaded you will be able to select it.
[Attachment 73618 - Click to enlarge]
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