VideoHelp Forum




+ Reply to Thread
Page 26 of 26
FirstFirst ... 16 24 25 26
Results 751 to 763 of 763
  1. Originally Posted by eloxole View Post
    Image
    [Attachment 84781 - Click to enlarge]


    I'm wondering if anyone can help me with this. Getting this error early in the steps.
    Try putting a smash ("/") at the end of that "mv" command?
    Quote Quote  
  2. Hi Guys.
    I'm running frida-server on, Pixel 7 Pro with API Level 28 and Target Android 9. But when I try to open udemxx in the browser, I get the following message:
    Application error: a client-side exception has occurred (see the browser console for more information).

    What is the problem?

    Thanks!
    Quote Quote  
  3. hi all, newbie to the forum here. I have followed all steps and get to the point of playing the video on the device, but i receive no info in the dump screen
    Image Attached Thumbnails Click image for larger version

Name:	fvfvfvffvfvfvffvvf.jpg
Views:	118
Size:	167.1 KB
ID:	85187  

    Last edited by copyrightr; 30th Jan 2025 at 04:57.
    Quote Quote  
  4. Member
    Join Date
    Feb 2025
    Location
    germany
    Search PM
    hello
    thnx for this tutorial
    Last edited by muiacir; 1st Feb 2025 at 15:44.
    Quote Quote  
  5. Hello folks,

    This post will revisite the famous Dumping Your own L3 CDM with Android Studio, but updated for 2025.

    This will be written from the perspective of a Linux user, but you can translate it easily for Windows.

    Prerequisites

    This assumes you have a PC with a x86_64 processor (AMD or Intel), either with Linux or Windows. It is possible to do it under ARM64 but I don't have such machine available.

    Step 1: softwares needed
    It is available for Windows and Linux and will allow us to create a virtual android.

    On Linux, you can use Flatpak:

    Code:
    flatpak install com.google.AndroidStudio
    or Snap

    Code:
    sudo snap install android-tools
    It is in the AUR for Arch users:

    Code:
    sudo pacman -S android-studio
    • Install Android platform-tools
    On linux, it's eitheir:

    Code:
    sudo dnf install android-tools
    Code:
    sudo apt install android-tools-adb
    Code:
    sudo pacman -S android-sdk-platform-tools
    On Windows, grab it from https://developer.android.com/tools/releases/platform-tools and extract the zip to an easily accessible directory.
    • Install python3
    If you're on Linux, it is most likely already installed, if not I assume you know how to install it. On Windows, you can get it from https://www.python.org/downloads/windows/ or from a package manager like Chocolatey.
    • Install frida
    In a command line, type:
    Code:
    pip install frida frida-tools
    Please note the version number of frida (currently it is 16.6.6).
    On Windows, after installing Python, I think you can go to the Start menu, then Python, and launch a command line there to type that command.
    • Download the frida-server corrresponding to your Frida version at https://github.com/frida/frida/releases
      • Click either "Show all assets" or "Assets" under the release corresponding to the version of Frida you have (usually the last one if you just installed Frida)
      • Search for frida-server-XX.X.X-android-x86_64.xz and download it. Please make sur to use the Android, x86_64 version.
      • Extract the file with your favorite archive extractor. On Windows, you can use 7zip.
      • Rename the extracted file to frida-server
    • Download the utility to dump the keys
    On linux, if you have git, you can git clone https://github.com/wvdumper/dumper in a directory easiy accessible.
    On Windows or Linux, you can also just download the archive from https://github.com/wvdumper/dumper/archive/refs/heads/main.zip. In that case, just extract the zip afterward.
    • Install Protobuf 3.20.0
    In a command line, type:
    Code:
    pip install --force-reinstall -v "protobuf==3.20.0"
    We use this specific version to use the dump keys utility.
    On Windows, after installing Python, I think you can go to the Start menu, then Python, and launch a command line there to type that command.

    Step 2: creating a virtual Android device
    • Launch Android Studio

      On Linux, go to the extracted android-studio/bin/ and launch ./studio.sh

      If you have installed any other way, there is probably a shorcut somewhere to start it.
    • We will then create the virtual device. First follow the first startup wizard:





    • After everything is downloaded, just create a new project and select No activity:


    • Select API28 ("Pie"; Android 9.0):


    • After the project is created, click on the Device Manager icon on the right toolbar:


    • Then click on the "+" button and Create Virtual Device:


    • Select an Android device like Pixel 9 Pro XL for example:


    • On the next window popping up, go to the second tab called x86 Images, then scroll down until you find Android Pie, API28, x86_64, Android Pie (Google APIs), and click the down arrow to download it:



      In any case, do not select any images more recent than Android Pie/API28 or we won't be able to root it.
      Select x86_64 if you have an AMD or Intel processor. If you are on ARM64, go to the 3rd tab to download the same image for ARM64.
      Do not download images where it says Google Play in the Target column.
    • Wait for the image to download:


    • After the download is finished, scroll down again to select Android Pie, API28, x86_64, Android Pie (Google APIs) that you've just downloaded and click Next:


    • Click Finish on the following window:


    • Then click the Start arrow to load the virtual Android device we've just created:


    • Wait a bit, you should have soon a Android device ready like this:


    Step 3: copy frida-server and start it

    On Linux, type the following command in a terminal, in the directory where you have extracted frida-server:

    Code:
    adb root
    adb push frida-server /data/local/tmp/
    adb shell
    chmod 755 /data/local/tmp/frida-server
    /data/local/tmp/frida-server &
    On Windows, open a command line (cmd) then go to the directory where you extracted adb.exe from the platform-tools, and do the same:

    Code:
    adb.exe root
    adb.exe push /path/to/extracted/frida-server /data/local/tmp/
    adb.exe shell
    chmod 755 /data/local/tmp/frida-server
    /data/local/tmp/frida-server &
    Note, on both Windows and Linux, you can change directory with cd path/to/the/directory and go to the parent directory with cd ..

    In any case, do not close that terminal window.

    Step 4: start dump_keys.py

    On Linux, open a new terminal, go to the directory where you extracted or cloned dumper, and launch
    Code:
    python dump_keys.py
    On Windows, after installing Python, I think you can go to the Start menu, then Python, and launch a command line there. Then use the command cd path/to/the/dumper/directory to go to the correct directory, than launch
    Code:
    python dump_keys.py
    The program is starting, when it is ready, you should see something like

    Code:
    2025-02-09 06:09:31 AM - root - 25 - INFO - Hooks completed
    Step 5: load a webpage with DRM on the virtual device

    Launch Chrome on the virtual phone (do not sign in). Then go to the following URL: https://bitmovin.com/demos/drm

    Click Allow when prompted to play protected content:



    Then click Load and play the video:



    Step 6: copy the keys

    In the background, dump_keys should have been doing its work:



    In the directory where you have cloned or extracted dumper, you should have the following directories: key_dumps/Android Emulator XXXX/private_keys/XXXX/

    In this directory, you can have one or more folder with a number, and inside them you will find two files:
    - client_id.bin
    - private_key.pem

    (do not share them)

    Copy or backup them to a safe place.

    You can now stop the virtual device, quit Android studio, stop dump_keys.py (Ctrl+C) and close adb too.

    Step 7: Profit!
    Quote Quote  
  6. Thanks a lot for that, much appreciated.
    Quote Quote  
  7. @rvlnnb

    thanks a lot for your work!

    unfortunately i get this error whenever i try to start dump_keys.py:
    Image
    [Attachment 85501 - Click to enlarge]


    can someone help me? thanks


    Edit: i figured it out. it downloaded the wrong android system image (i should have downloaded the x86_64 version instead of the x86 version)
    Last edited by Pepnek; 16th Feb 2025 at 11:29.
    Quote Quote  
  8. I'm currently stuck on @rvlnnb's instructions on step 4 - running the dumper returns: frida.TransportError: failed to open USB device: Input/Output Error
    Does anyone have any ideas to fix this?
    Image
    [Attachment 85518 - Click to enlarge]
    Quote Quote  
  9. Change your version of frida.

    pip install frida==16.5.2
    Quote Quote  
  10. Member
    Join Date
    Feb 2025
    Location
    Netherlands
    Search Comp PM
    This is still working!! Thanks a lot
    Quote Quote  
  11. Originally Posted by cedric8528 View Post
    Change your version of frida.

    pip install frida==16.5.2
    This worked perfectly! Thank you!
    Quote Quote  
  12. Hi everyone! I think I got a problem. When dumping it said unable to save keybox. I scrolled the entire page and didn't find the same situation. Can someone help me? Thanks!Image
    [Attachment 85744 - Click to enlarge]

    And the Chinese 拒绝访问 means access denied, I believe. I live in China so the system here is Chinese.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!