How to decrypt Adopted Storage? Using the SD card as Adopted Storage encrypts it. How can it be decrypted?
How to decrypt adopted storage.

Your device must be rooted.

Using a file browser like ES Explorer, browse to /data/misc/vold.

The .key file there is the encryption key of your adopted storage.  You can read it with this command: hexdump -e '1/1 &quot;%.2x&quot;' the_key_file.key

Open that file with a hex editor to view the 16-byte key.

On any GNU/Linux distro you can do this first mount your SD card, in my case SD card was mounted at /dev/sdb2.

Then run this command:
dmsetup create crypt1 --table &quot;0 `blockdev --getsize /dev/sdb2` crypt aes-cbc-essiv:sha256 &lt;Put the 16-byte hex key here&gt; 0 /dev/sdb2 0&quot;



Some types of errors/warnings can be ignored.

If your key is correct you can mount it by mount -t ext4 /dev/mapper/crypt1 /mnt/1/
Finally you can run cd /mnt/1 to browse the decrypted storage.