For those who got Bad Mode in frida server setup, here is how I fix it,
Follow the instructions here "https://frida.re/docs/android/" and of curse you need root access
Rename "frida-server-16.4.8-android-arm" to "frida-server" and use the command line below
Code:adb root adb push frida-server /data/local/tmp/ adb shell "su -c chmod 755 /data/local/tmp/frida-server" adb shell "su -c /data/local/tmp/frida-server &"
+ Reply to Thread
Results 721 to 750 of 800
-
-
-
Android studio gives an error when I start a virtual deviice (the emulator process for AVD pixel 6 has terminated). Anyone willing to grab a cdm from a avd for me?
-
-
Can someone help me? I don't know what I'm doing wrong... what does this "magic 4D5A" error mean?
-
@sentinel i don't know, but i think you didn't take the right frida-server file...Try the android version ?
-
The problem im having, after getting everything setup and working is apparently some out of date code.
[Attachment 82528 - Click to enlarge] anyone can help? -
Hi
thanks for this post.
i need help...
i try do like this guide and i get this files
[Attachment 82793 - Click to enlarge]
but now, what i need to do?
thanks again and sorry if its the wrong place .. -
-
Hello everyone, where can I download this WKS-KEYS program?
to get movistar -
https://github.com/SASUKE-DUCK/WKS-KEY/releases/tag/WKS-KEY
If you read the sticky threads (top of the forum), you will have new tools to get keys. -
Hi to all and thanks to try to help me here.
I can't continue with this strange CMD results:
Code:PS D:\Android\dumper-main> pip uninstall protobuf Found existing installation: protobuf 4.25.3 Uninstalling protobuf-4.25.3: Would remove: c:\users\xxxxxxxx\appdata\roaming\python\python312\site-packages\google\_upb\_message.pyd c:\users\xxxxxxxx\appdata\roaming\python\python312\site-packages\google\protobuf\* c:\users\xxxxxxxx\appdata\roaming\python\python312\site-packages\protobuf-4.25.3.dist-info\* Proceed (Y/n)? Y Successfully uninstalled protobuf-4.25.3 PS D:\Android\dumper-main> pip install protobuf==3.19 Defaulting to user installation because normal site-packages is not writeable Collecting protobuf==3.19 Downloading protobuf-3.19.0-py2.py3-none-any.whl.metadata (807 bytes) Downloading protobuf-3.19.0-py2.py3-none-any.whl (162 kB) Installing collected packages: protobuf ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pywidevine 1.8.0 requires protobuf<5.0.0,>=4.25.1, but you have protobuf 3.19.0 which is incompatible. Successfully installed protobuf-3.19.0 PS D:\Android\dumper-main> python dump_keys.py Traceback (most recent call last): File "D:\Android\dumper-main\dump_keys.py", line 14, in <module> device = frida.get_usb_device() ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\xxxxxxxx\AppData\Roaming\Python\Python312\site-packages\frida\__init__.py", line 137, in get_usb_device return get_device_manager().get_usb_device(timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\xxxxxxxx\AppData\Roaming\Python\Python312\site-packages\frida\core.py", line 1229, in get_usb_device return self.get_device_matching(lambda d: d.type == "usb", timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\xxxxxxxx\AppData\Roaming\Python\Python312\site-packages\frida\core.py", line 86, in wrapper return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "C:\Users\xxxxxxxx\AppData\Roaming\Python\Python312\site-packages\frida\core.py", line 1252, in get_device_matching return Device(self._impl.get_device_matching(lambda d: predicate(Device(d)), raw_timeout)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ frida.InvalidArgumentError: device not found PS D:\Android\dumper-main>
What else ?
Thanks to help me to find with these elements i've just giving to you. -
Last edited by GilbertA83; 22nd Oct 2024 at 06:28.
-
Hi, I need help. When I try to start the created device for the first time, I get this error. Can you help me? Thank you.
[Attachment 83246 - Click to enlarge] -
Can someone assist in setting this up for me? I have no coding skills whatsoever. And this looks all gibberish to me. I just need the 2 device files
-
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
Hi All hoping someone can help me.
Im trying to do this on mac with apple silicone. Im stuggling to get frida running on my demo phone. Im guessing i need the arm version of frida.
Two things im seeing is odd i cant SU
emu64a:/ $ su
/system/bin/sh: su: inaccessible or not found
Then when i try and run frida
emu64a:/ $ /data/local/tmp/frida-server-16.0.8-android-arm64
Unable to load SELinux policy from the kernel: Failed to open file ?/sys/fs/selinux/policy?: Permission denied
I get this error could be related to not being su ? Theres not metion i can see online about needing to jailbreak the android phone. Im a bit lost now.
Thanks
Extra info
My terminal is below
also im following this guide orginally https://www.ismailzai.com/blog/picking-the-widevine-locks hence old version of Frida
I did try and run x86_64 demo emulator in android studio but it doesnt start guessing i can only run arm ones on apple silcione when i tried the x86_64 emulator got this error "The emulator process for AVD Pixel_7_Pro_x86_64 has terminated."
➜ ~ adb shell
emu64a:/ $ su
/system/bin/sh: su: inaccessible or not found
127|emu64a:/ $ mv /sdcard/frida-server-16.0.8-android-arm64 /data/local/tmp
emu64a:/ $ chmod +x /data/local/tmp/frida-server-16.0.8-android-arm64
emu64a:/ $ /data/local/tmp/frida-server-16.0.8-android-arm64
Unable to load SELinux policy from the kernel: Failed to open file ?/sys/fs/selinux/policy?: Permission denied
exit
«^\Quit
131|emu64a:/ $ exit
➜ ~ adb push frida-server-16.0.8-android-arm /sdcard
frida-server-16.0.8-android-arm: 1 file pushed, 0 skipped. 61.6 MB/s (21414856 bytes in 0.331s)
➜ ~ adb shell
emu64a:/ $ su
/system/bin/sh: su: inaccessible or not found
127|emu64a:/ $ mv /sdcard/frida-server-16.0.8-android-arm /data/local/tmp
emu64a:/ $ chmod +x /data/local/tmp/frida-server-16.0.8-android-arm
emu64a:/ $ /data/local/tmp/frida-server-16.0.8-android-arm
/system/bin/sh: /data/local/tmp/frida-server-16.0.8-android-arm: not executable: 32-bit ELF file
1|emu64a:/ $ -
Ok i have solved the prior post by going back to alot earlier version of android - Android 9 (Google APIs) but will leave post here to help other people !
Though the dump looks sucessful from the logs there is no .pem file, i got a bin ( or two if you count that request file ) and a json any ideas
[Attachment 84104 - Click to enlarge]
EDIT: Doing my own debug today this solves this issue for users os Mac Sonoma, simple one line to replace in the dumper script.
https://github.com/wvdumper/dumper/issues/31Last edited by catsanddownload; 13th Dec 2024 at 11:08.
-
I was able to follow the whole tutorial and download the 2 files
client_id.bin
private_key.pem
I am trying to apply the same by playing this video tv.youtube
in the emulated android phone using android studio, but I can't manage to log into the webpage/stream.
I even tried to sideload to the android phone the yttv apk, but with no luck.
How can I handle this page/stream in the virtual android?
Thanks!Last edited by marco2178; 5th Jan 2025 at 17:52.
-
Hi guys, I have a question about the dumped "device_client_id_blob and device_private_key" files .
The new created files, the CDM's client ID and private key, client_id.bin and client_id.pem respectively, are those specific to what played in https://bitmovin.com/demos/drm, or are they master files to use for decrypting other things?
I generated the files doing these step:
" launch the Google Chrome browser on the emulated Android device and navigate to a site that triggers the Widevine DRM workflow, for instance, https://bitmovin.com/demos/drm " -
-
-
I was able to complete the process! Encountered a few road blocks, but the comments in this thread helped me in overcoming them. Many thanks to all! ❤️
One thing I wonder though... If we all use the same script, and the obtained files work for lots of sites, which variables go into this process? It's not the Android, because we ditch the virtual machine once we have the files. I hope it's not the pc we use, because I want to use the files on another Linux box. Is it our location?
Because if none of the variables matter, wouldn't it be possible to just upload these two files somewhere, and have people download them?
I'm not advocating for this, I'm just trying to understand...
Is the idea that just having them up there for everyone to download is too 'dangerous', and would lead to faster encryption development, making the files useless? And the hope being that having people jump through these hoops makes the amount of people that have these files smaller, so the encryption industry cares less? -
No expiry. You can use and reuse them excepting rare occasion when they might get blocked/revoked. Thats rare(never happened to me, kinda rare) Then all you need to do is re-acquire the files following the same process, but on a new avd.
Also, emu cdms wont work on certain sites that require a real device cdm. -
-
-
[Attachment 84781 - Click to enlarge]
I'm wondering if anyone can help me with this. Getting this error early in the steps.
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