My solution to Matifow problem was ...
I cannot extract the token because my device was not rooted.
I bought a new microSD and clone in it the microSD from my device.
When i put this new card the phone recognize as the old one.
I recover photos, media from whatsapp, apps ...
no, rooting does not affect encryption
encryption remains safe. depending on user (who is responsible for granting root access) it is not vulnerable as long as malicious app has no root permissions
rooting does no factory reset. once rooted, the simplest straight forward backup method is (FDE)
adb pull /dev/block/dm-0
rooting system is outdated. ...