I want to make sure that using adb backup -apk -shared -all -f ~/backup.ab will also save /data/misc/vold?

I am trying to backup before rooting, in order to be able to gain access to the encryption key in /data/misc/vold (got corrupted SD card adopted as internal). So I want to make sure ih something bad happens during the rooting, I could still access the backup version of /data/misc/vold?


  • It doesn't get backed up. For verification you can backup with that command, unpack the backup file and see the contents yourself.
    – Firelord
    Commented Sep 29, 2019 at 23:41
  • Mmh, does not seem trivial to verify that by unpacking. Would that work anyway if I encrypted the system? More importantly, is there then a way to back up also /data/misc/vold ? Thanks!!
    – Matifou
    Commented Sep 30, 2019 at 1:46
  • Try this to unpack the backup file. As for vold, it can only be backed up using root access.
    – Firelord
    Commented Sep 30, 2019 at 2:23
  • thanks! So you are saying that it is not possible to backup vold without being root? This is a conundrum, as I am precisely trying to root to access vold, and the process of rooting is likely to erase that file
    – Matifou
    Commented Oct 3, 2019 at 16:48
  • Unfortunately, this is just not possible without root. :(
    – Firelord
    Commented Oct 3, 2019 at 18:41

1 Answer 1


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 installed ...

I lost some files ( the corrupted I assume) but can recover the most.

  • nice idea! in case dd not working use gddrescue for cloning
    – alecxs
    Commented Feb 7, 2020 at 6:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .