How to get Adoptable SD card encryption key with root access? When I use adoptable storage on my device, then my SD card will be encrypted. Is there a way to get the  "encryption key" with root access? So if my phone dies, I can still retrieve my data from the SD card by using the key?

Related: How does Marshmallow encryption work technically?

I am running Cyanogenmod 13, rooted.
There's some interesting pointer found in Decrypting Android M adopted storage (emphasis mine):


  Android M allows for adoptable storage, which is implemented similarly to internal storage FDE -- using dm-crypt with a per-volume, static 128-bit AES key, stored in /data/misc/vold/. Once the key is extracted from the device, adopted storage can be mounted and read/written on any Linux machine. Adoptable storage encryption is done purely in software (at least in the current preview build), so its performance is likely comparable to encrypted internal storage on devices that don't support hardware-accelerated FDE.


Also take a look at Corrupt SD card formatted as internal storage, which gives a quite detailed tutorial on how to do it :)