Create Android 13.0(Google APIs) AVD
Do not select Google play, Do not select AOSP
Select Google APIs only!
Download latest frida server
Frida
There are many links, but select "frida-server-xx.x.x-android-x86_64.xz".
Extract frida-server's archive
Rename the file "frida-server-xx.x.x-android-x86_64" to "frida-server".
Download or clone Keydive onto your PC.
Keydive
Open AVD
Run following commands on your terminal
adb root adb push frida-server /data/local/tmp adb shell "chmod +x /data/local/tmp/frida-server" adb shell "/data/local/tmp/frida-server -D &" python keydive.py -aw
At device/xxxxxx/private_keys/xxxxxx/xxxxxxx directory, you will find dumped CDM key pair.
Deleting the wiki page "How to dump CDM key pair from AVD" cannot be undone. Continue?